UNPKG

@aws-amplify/amplify-appsync-simulator

Version:

An AppSync Simulator to test AppSync API.

3 lines 791 kB
/*! For license information please see main.df7f05d6.js.LICENSE.txt */
(()=>{var e={9863:(e,t)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,E=n?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case p:case i:case s:case a:case f:return e;default:switch(e=e&&e.$$typeof){case c:case d:case v:case m:case l:return e;default:return t}}case o:return t}}}function T(e){return _(e)===p}t.isForwardRef=function(e){return _(e)===d}},3363:(e,t,n)=>{"use strict";e.exports=n(9863)},3351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3535);n(5360);var o=n(2176);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})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var f=function(){function e(t){a(this,e),c(this,"handlers",void 0),this.handlers=t.slice(0)}return l(e,[{key:"addHandlers",value:function(t){for(var n=this.handlers.slice(0),r=t.length,o=0;o<r;o+=1)n.push(t[o]);return new e(n)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlers.length-1;if(t){for(var r=n;r>=0;r-=1)this.handlers[r].called||(this.handlers[r].called=!0,this.handlers[r](e));for(var o=n;o>=0;o-=1)this.handlers[o].called=!1}else(0,this.handlers[n])(e)}},{key:"hasHandlers",value:function(){return this.handlers.length>0}},{key:"removeHandlers",value:function(t){for(var n=[],r=this.handlers.length,o=0;o<r;o+=1){var i=this.handlers[o];-1===t.indexOf(i)&&n.push(i)}return new e(n)}}]),e}();function h(e){var t=new Map;return e.forEach((function(e,n){t.set(n,e)})),t}function m(e){return Array.isArray(e)?e:[e]}function v(e){return"document"===e?document:"window"===e?window:function(e){return null!==e&&"object"===i(e)&&e.hasOwnProperty("current")}(e)?e.current||document:e||document}var y=function(){function e(t,n){a(this,e),c(this,"handlerSets",void 0),c(this,"poolName",void 0),this.handlerSets=n,this.poolName=t}return l(e,[{key:"addHandlers",value:function(t,n){var r=h(this.handlerSets);if(r.has(t)){var o=r.get(t);r.set(t,o.addHandlers(n))}else r.set(t,new f(n));return new e(this.poolName,r)}},{key:"dispatchEvent",value:function(e,t){var n=this.handlerSets.get(e),r="default"===this.poolName;n&&n.dispatchEvent(t,r)}},{key:"hasHandlers",value:function(e){if(!e)return this.handlerSets.size>0;var t=this.handlerSets.get(e);return!!t&&t.hasHandlers()}},{key:"removeHandlers",value:function(t,n){var r=h(this.handlerSets);if(!r.has(t))return new e(this.poolName,r);var o=r.get(t).removeHandlers(n);return o.hasHandlers()?r.set(t,o):r.delete(t),new e(this.poolName,r)}}]),e}();c(y,"createByType",(function(e,t,n){var r=new Map;return r.set(t,new f(n)),new y(e,r)}));var g=function(){function e(t){var n=this;a(this,e),c(this,"handlers",new Map),c(this,"pools",new Map),c(this,"target",void 0),c(this,"createEmitter",(function(e){return function(t){n.pools.forEach((function(n){n.dispatchEvent(e,t)}))}})),this.target=t}return l(e,[{key:"addHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e);this.pools.set(e,r.addHandlers(t,n))}else this.pools.set(e,y.createByType(e,t,n));this.handlers.has(t)||this.addTargetHandler(t)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e,t,n){if(this.pools.has(e)){var r=this.pools.get(e).removeHandlers(t,n);r.hasHandlers()?this.pools.set(e,r):this.pools.delete(e);var o=!1;this.pools.forEach((function(e){return o=o||e.hasHandlers(t)})),o||this.removeTargetHandler(t)}}},{key:"addTargetHandler",value:function(e){var t=this.createEmitter(e);this.handlers.set(e,t),this.target.addEventListener(e,t,!0)}},{key:"removeTargetHandler",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e),!0),this.handlers.delete(e))}}]),e}(),b=new(function(){function e(){var t=this;a(this,e),c(this,"targets",new Map),c(this,"getTarget",(function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=v(e);if(t.targets.has(r))return t.targets.get(r);if(!n)return null;var o=new g(r);return t.targets.set(r,o),o})),c(this,"removeTarget",(function(e){t.targets.delete(v(e))}))}return l(e,[{key:"sub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var o=n.target,i=void 0===o?document:o,a=n.pool,s=void 0===a?"default":a;this.getTarget(i).addHandlers(s,e,m(t))}}},{key:"unsub",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(r.canUseDOM){var o=n.target,i=void 0===o?document:o,a=n.pool,s=void 0===a?"default":a,l=this.getTarget(i,!1);l&&(l.removeHandlers(s,e,m(t)),l.hasHandlers()||this.removeTarget(i))}}}]),e}()),E=function(){function e(){return a(this,e),d(this,u(e).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(e,o.PureComponent),l(e,[{key:"componentDidMount",value:function(){this.subscribe(this.props)}},{key:"componentDidUpdate",value:function(e){this.unsubscribe(e),this.subscribe(this.props)}},{key:"componentWillUnmount",value:function(){this.unsubscribe(this.props)}},{key:"subscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,o=e.target;b.sub(t,n,{pool:r,target:o})}},{key:"unsubscribe",value:function(e){var t=e.name,n=e.on,r=e.pool,o=e.target;b.unsub(t,n,{pool:r,target:o})}},{key:"render",value:function(){return null}}]),e}();c(E,"defaultProps",{pool:"default",target:"document"}),E.propTypes={},t.instance=b,t.default=E},4912:(e,t,n)=>{"use strict";var r;r=n(3351),e.exports=r.default,e.exports.instance=r.instance},3793:(e,t,n)=>{"use strict";var r=n(6174),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,s,l,c,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=e,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(p){n&&console.error("unable to copy using execCommand: ",p),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(p){n&&console.error("unable to copy using clipboardData: ",p),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},7736:e=>{"use strict";var t=/["'&<>]/;e.exports=function(e){var n,r=""+e,o=t.exec(r);if(!o)return r;var i="",a=0,s=0;for(a=o.index;a<r.length;a++){switch(r.charCodeAt(a)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==a&&(i+=r.substring(s,a)),s=a+1,i+=n}return s!==a?i+r.substring(s,a):i}},3535:(e,t,n)=>{var r;!function(){"use strict";var o=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},647:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.defaultValue=S;var s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(2176)),l=n(3861);function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function d(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);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)}function f(e){return e.charAt(0).toUpperCase()+e.slice(1)}var h={keyword:"#B11A04",def:"#D2054E",property:"#1F61A0",qualifier:"#1C92A9",attribute:"#8B2BB9",number:"#2882F9",string:"#D64292",builtin:"#D47509",string2:"#0B7FC7",variable:"#397D13",atom:"#CA9800"},m=s.createElement("svg",{width:"12",height:"9"},s.createElement("path",{fill:"#666",d:"M 0 2 L 9 2 L 4.5 7.5 z"})),v=s.createElement("svg",{width:"12",height:"9"},s.createElement("path",{fill:"#666",d:"M 0 0 L 0 9 L 5.5 4.5 z"})),y=s.createElement("svg",{style:{marginRight:"3px",marginLeft:"-3px"},width:"12",height:"12",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.createElement("path",{d:"M16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0ZM16 16H2V2H16V16ZM14.99 6L13.58 4.58L6.99 11.17L4.41 8.6L2.99 10.01L6.99 14L14.99 6Z",fill:"#666"})),g=s.createElement("svg",{style:{marginRight:"3px",marginLeft:"-3px"},width:"12",height:"12",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s.createElement("path",{d:"M16 2V16H2V2H16ZM16 0H2C0.9 0 0 0.9 0 2V16C0 17.1 0.9 18 2 18H16C17.1 18 18 17.1 18 16V2C18 0.9 17.1 0 16 0Z",fill:"#CCC"}));function b(e){return e.checked?e.styleConfig.checkboxChecked:e.styleConfig.checkboxUnchecked}function E(e){var t=e.getFields();if(t.id){var n=["id"];return t.email?n.push("email"):t.name&&n.push("name"),n}if(t.edges)return["edges"];if(t.node)return["node"];if(t.nodes)return["nodes"];var r=[];return Object.keys(t).forEach((function(e){(0,l.isLeafType)(t[e].type)&&r.push(e)})),r.length?r.slice(0,2):["__typename"]}function _(e){return(0,l.isNonNullType)(e.type)&&void 0===e.defaultValue}function T(e){for(var t=e;(0,l.isWrappingType)(t);)t=t.ofType;return t}function k(e,t){if("string"!==typeof t&&"VariableDefinition"===t.kind)return t.variable;if((0,l.isScalarType)(e))try{switch(e.name){case"String":return{kind:"StringValue",value:String(e.parseValue(t))};case"Float":return{kind:"FloatValue",value:String(e.parseValue(parseFloat(t)))};case"Int":return{kind:"IntValue",value:String(e.parseValue(parseInt(t,10)))};case"Boolean":try{var n=JSON.parse(t);return"boolean"===typeof n?{kind:"BooleanValue",value:n}:{kind:"BooleanValue",value:!1}}catch(o){return{kind:"BooleanValue",value:!1}}default:return{kind:"StringValue",value:String(e.parseValue(t))}}}catch(o){return console.error("error coercing arg value",o,t),{kind:"StringValue",value:t}}else try{var r=e.parseValue(t);return r?{kind:"EnumValue",value:String(r)}:{kind:"EnumValue",value:e.getValues()[0].name}}catch(o){return{kind:"EnumValue",value:e.getValues()[0].name}}}var w=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._getArgSelection=function(){return r.props.selection.fields.find((function(e){return e.name.value===r.props.arg.name}))},r._removeArg=function(){var e=r.props.selection,t=r._getArgSelection();r._previousArgSelection=t,r.props.modifyFields(e.fields.filter((function(e){return e!==t})),!0)},r._addArg=function(){var e=r.props,t=e.selection,n=e.arg,o=e.getDefaultScalarArgValue,i=e.parentField,a=e.makeDefaultArg,s=T(n.type),u=null;if(r._previousArgSelection)u=r._previousArgSelection;else if((0,l.isInputObjectType)(s)){var p=s.getFields();u={kind:"ObjectField",name:{kind:"Name",value:n.name},value:{kind:"ObjectValue",fields:x(o,a,i,Object.keys(p).map((function(e){return p[e]})))}}}else(0,l.isLeafType)(s)&&(u={kind:"ObjectField",name:{kind:"Name",value:n.name},value:o(i,n,s)});if(u)return r.props.modifyFields([].concat(c(t.fields||[]),[u]),!0);console.error("Unable to add arg for argType",s)},r._setArgValue=function(e,t){var n=!1,o=!1,a=!1;try{"VariableDefinition"===e.kind?o=!0:null===e||"undefined"===typeof e?n=!0:"string"===typeof e.kind&&(a=!0)}catch(f){}var s=r.props.selection,c=r._getArgSelection();if(c){var u=T(r.props.arg.type);if((0,l.isLeafType)(u)||o||n||a){var p=void 0,d=void 0;return null===e||"undefined"===typeof e?d=null:!e.target&&e.kind&&"VariableDefinition"===e.kind?d=(p=e).variable:"string"===typeof e.kind?d=e:e.target&&"string"===typeof e.target.value&&(p=e.target.value,d=k(u,p)),r.props.modifyFields((s.fields||[]).map((function(e){return e===c?i({},e,{value:d}):e})),t)}console.warn("Unable to handle non leaf types in InputArgView.setArgValue",e)}else console.error("missing arg selection when setting arg value")},r._modifyChildFields=function(e){return r.props.modifyFields(r.props.selection.fields.map((function(t){return t.name.value===r.props.arg.name?i({},t,{value:{kind:"ObjectValue",fields:e}}):t})),!0)},p(r,n)}return d(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return s.createElement(O,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._modifyChildFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(s.PureComponent);function S(e){if((0,l.isEnumType)(e))return{kind:"EnumValue",value:e.getValues()[0].name};switch(e.name){case"String":default:return{kind:"StringValue",value:""};case"Float":return{kind:"FloatValue",value:"1.5"};case"Int":return{kind:"IntValue",value:"10"};case"Boolean":return{kind:"BooleanValue",value:!1}}}function A(e,t,n){return S(n)}var N=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r._getArgSelection=function(){return(r.props.selection.arguments||[]).find((function(e){return e.name.value===r.props.arg.name}))},r._removeArg=function(e){var t=r.props.selection,n=r._getArgSelection();return r._previousArgSelection=n,r.props.modifyArguments((t.arguments||[]).filter((function(e){return e!==n})),e)},r._addArg=function(e){var t=r.props,n=t.selection,o=t.getDefaultScalarArgValue,i=t.makeDefaultArg,a=t.parentField,s=t.arg,u=T(s.type),p=null;if(r._previousArgSelection)p=r._previousArgSelection;else if((0,l.isInputObjectType)(u)){var d=u.getFields();p={kind:"Argument",name:{kind:"Name",value:s.name},value:{kind:"ObjectValue",fields:x(o,i,a,Object.keys(d).map((function(e){return d[e]})))}}}else(0,l.isLeafType)(u)&&(p={kind:"Argument",name:{kind:"Name",value:s.name},value:o(a,s,u)});return p?r.props.modifyArguments([].concat(c(n.arguments||[]),[p]),e):(console.error("Unable to add arg for argType",u),null)},r._setArgValue=function(e,t){var n=!1,o=!1,a=!1;try{"VariableDefinition"===e.kind?o=!0:null===e||"undefined"===typeof e?n=!0:"string"===typeof e.kind&&(a=!0)}catch(f){}var s=r.props.selection,c=r._getArgSelection();if(c||o){var u=T(r.props.arg.type);if((0,l.isLeafType)(u)||o||n||a){var p=void 0,d=void 0;return null===e||"undefined"===typeof e?d=null:e.target&&"string"===typeof e.target.value?(p=e.target.value,d=k(u,p)):e.target||"VariableDefinition"!==e.kind?"string"===typeof e.kind&&(d=e):d=(p=e).variable,r.props.modifyArguments((s.arguments||[]).map((function(e){return e===c?i({},e,{value:d}):e})),t)}console.warn("Unable to handle non leaf types in ArgView._setArgValue")}else console.error("missing arg selection when setting arg value")},r._setArgFields=function(e,t){var n=r.props.selection,o=r._getArgSelection();if(o)return r.props.modifyArguments((n.arguments||[]).map((function(t){return t===o?i({},t,{value:{kind:"ObjectValue",fields:e}}):t})),t);console.error("missing arg selection when setting arg value")},p(r,n)}return d(t,e),a(t,[{key:"render",value:function(){var e=this.props,t=e.arg,n=e.parentField,r=this._getArgSelection();return s.createElement(O,{argValue:r?r.value:null,arg:t,parentField:n,addArg:this._addArg,removeArg:this._removeArg,setArgFields:this._setArgFields,setArgValue:this._setArgValue,getDefaultScalarArgValue:this.props.getDefaultScalarArgValue,makeDefaultArg:this.props.makeDefaultArg,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig,onCommit:this.props.onCommit,definition:this.props.definition})}}]),t}(s.PureComponent);var C=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._handleChange=function(e){r.props.setArgValue(e,!0)},p(r,n)}return d(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this._ref,t=document.activeElement;!e||!t||t instanceof HTMLTextAreaElement||(e.focus(),e.setSelectionRange(0,e.value.length))}},{key:"render",value:function(){var e=this,t=this.props,n=t.arg,r=t.argValue,o=t.styleConfig,i=T(n.type),a="string"===typeof r.value?r.value:"",l="StringValue"===this.props.argValue.kind?o.colors.string:o.colors.number;return s.createElement("span",{style:{color:l}},"String"===i.name?'"':"",s.createElement("input",{style:{border:"none",borderBottom:"1px solid #888",outline:"none",width:Math.max(1,Math.min(15,a.length))+"ch",color:l},ref:function(t){e._ref=t},type:"text",onChange:this._handleChange,value:a}),"String"===i.name?'"':"")}}]),t}(s.PureComponent),O=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={displayArgActions:!1},p(r,n)}return d(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.argValue,r=t.arg,a=t.styleConfig,u=T(r.type),p=null;if(n)if("Variable"===n.kind)p=s.createElement("span",{style:{color:a.colors.variable}},"$",n.name.value);else if((0,l.isScalarType)(u))p="Boolean"===u.name?s.createElement("select",{style:{color:a.colors.builtin},onChange:this.props.setArgValue,value:"BooleanValue"===n.kind?n.value:void 0},s.createElement("option",{key:"true",value:"true"},"true"),s.createElement("option",{key:"false",value:"false"},"false")):s.createElement(C,{setArgValue:this.props.setArgValue,arg:r,argValue:n,onRunOperation:this.props.onRunOperation,styleConfig:this.props.styleConfig});else if((0,l.isEnumType)(u))"EnumValue"===n.kind?p=s.createElement("select",{style:{backgroundColor:"white",color:a.colors.string2},onChange:this.props.setArgValue,value:n.value},u.getValues().map((function(e){return s.createElement("option",{key:e.name,value:e.name},e.name)}))):console.error("arg mismatch between arg and selection",u,n);else if((0,l.isInputObjectType)(u))if("ObjectValue"===n.kind){var d=u.getFields();p=s.createElement("div",{style:{marginLeft:16}},Object.keys(d).sort().map((function(t){return s.createElement(w,{key:t,arg:d[t],parentField:e.props.parentField,selection:n,modifyFields:e.props.setArgFields,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})})))}else console.error("arg mismatch between arg and selection",u,n);var f=function(){var t=r.name,a=(e.props.definition.variableDefinitions||[]).filter((function(e){return e.variable.name.value.startsWith(t)})).length,s=void 0;s=a>0?""+t+a:t;var u=r.type.toString(),p={kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:s}},type:(0,l.parseType)(u),directives:[]},d=void 0,f={};if("undefined"!==typeof n&&null!==n){var h=(0,l.visit)(n,{Variable:function(t){var n,r=t.name.value,o=(n=r,(e.props.definition.variableDefinitions||[]).find((function(e){return e.variable.name.value===n})));if(f[r]=f[r]+1||1,o)return o.defaultValue}}),m="NonNullType"===p.type.kind?i({},p,{type:p.type.type}):p;d=i({},m,{defaultValue:h})}else d=p;var v=Object.entries(f).filter((function(e){var t=o(e,2);t[0];return t[1]<2})).map((function(e){var t=o(e,2),n=t[0];t[1];return n}));if(d){var y=e.props.setArgValue(d,!1);if(y){var g=y.definitions.find((function(t){return!!(t.operation&&t.name&&t.name.value&&e.props.definition.name&&e.props.definition.name.value)&&t.name.value===e.props.definition.name.value})),b=[].concat(c(g.variableDefinitions||[]),[d]).filter((function(e){return-1===v.indexOf(e.variable.name.value)})),E=i({},g,{variableDefinitions:b}),_=y.definitions.map((function(e){return g===e?E:e})),T=i({},y,{definitions:_});e.props.onCommit(T)}}},h=n&&"Variable"===n.kind,m=this.state.displayArgActions?s.createElement("button",{type:"submit",className:"toolbar-button",title:h?"Remove the variable":"Extract the current value into a GraphQL variable",onClick:function(t){t.preventDefault(),t.stopPropagation(),h?function(){if(n&&n.name&&n.name.value){var t=n.name.value,r=(e.props.definition.variableDefinitions||[]).find((function(e){return e.variable.name.value===t}));if(r){var o=r.defaultValue,a=e.props.setArgValue(o,{commit:!1});if(a){var s=a.definitions.find((function(t){return t.name.value===e.props.definition.name.value}));if(!s)return;var c=0;(0,l.visit)(s,{Variable:function(e){e.name.value===t&&(c+=1)}});var u=s.variableDefinitions||[];c<2&&(u=u.filter((function(e){return e.variable.name.value!==t})));var p=i({},s,{variableDefinitions:u}),d=a.definitions.map((function(e){return s===e?p:e})),f=i({},a,{definitions:d});e.props.onCommit(f)}}}}():f()},style:a.styles.actionButtonStyle},s.createElement("span",{style:{color:a.colors.variable}},"$")):null;return s.createElement("div",{style:{cursor:"pointer",minHeight:"16px",WebkitUserSelect:"none",userSelect:"none"},"data-arg-name":r.name,"data-arg-type":u.name,className:"graphiql-explorer-"+r.name},s.createElement("span",{style:{cursor:"pointer"},onClick:function(t){var r=!n;r?e.props.addArg(!0):e.props.removeArg(!0),e.setState({displayArgActions:r})}},(0,l.isInputObjectType)(u)?s.createElement("span",null,n?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):s.createElement(b,{checked:!!n,styleConfig:this.props.styleConfig}),s.createElement("span",{style:{color:a.colors.attribute},title:r.description,onMouseEnter:function(){null!==n&&"undefined"!==typeof n&&e.setState({displayArgActions:!0})},onMouseLeave:function(){return e.setState({displayArgActions:!1})}},r.name,_(r)?"*":"",": ",m," ")," "),p||s.createElement("span",null)," ")}}]),t}(s.PureComponent),I=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r.props.implementingType.name}},selectionSet:{kind:"SelectionSet",selections:r.props.getDefaultFieldNames(r.props.implementingType).map((function(e){return{kind:"Field",name:{kind:"Name",value:e}}}))}}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(t){return t!==e})))},r._getSelection=function(){var e=r.props.selections.find((function(e){return"InlineFragment"===e.kind&&e.typeCondition&&r.props.implementingType.name===e.typeCondition.name.value}));return e?"InlineFragment"===e.kind?e:void 0:null},r._modifyChildSelections=function(e,t){var n=r._getSelection();return r.props.modifySelections(r.props.selections.map((function(t){return t===n?{directives:t.directives,kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:r.props.implementingType.name}},selectionSet:{kind:"SelectionSet",selections:e}}:t})),t)},p(r,n)}return d(t,e),a(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.implementingType,r=t.schema,o=t.getDefaultFieldNames,i=t.styleConfig,a=this._getSelection(),l=n.getFields(),c=a&&a.selectionSet?a.selectionSet.selections:[];return s.createElement("div",{className:"graphiql-explorer-"+n.name},s.createElement("span",{style:{cursor:"pointer"},onClick:a?this._removeFragment:this._addFragment},s.createElement(b,{checked:!!a,styleConfig:this.props.styleConfig}),s.createElement("span",{style:{color:i.colors.atom}},this.props.implementingType.name)),a?s.createElement("div",{style:{marginLeft:16}},Object.keys(l).sort().map((function(t){return s.createElement(F,{key:t,field:l[t],selections:c,modifySelections:e._modifyChildSelections,schema:r,getDefaultFieldNames:o,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,onCommit:e.props.onCommit,styleConfig:e.props.styleConfig,definition:e.props.definition,availableFragments:e.props.availableFragments})}))):null)}}]),t}(s.PureComponent),D=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._addFragment=function(){r.props.modifySelections([].concat(c(r.props.selections),[r._previousSelection||{kind:"FragmentSpread",name:r.props.fragment.name}]))},r._removeFragment=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(e){return!("FragmentSpread"===e.kind&&e.name.value===r.props.fragment.name.value)})))},r._getSelection=function(){return r.props.selections.find((function(e){return"FragmentSpread"===e.kind&&e.name.value===r.props.fragment.name.value}))},p(r,n)}return d(t,e),a(t,[{key:"render",value:function(){var e=this.props.styleConfig,t=this._getSelection();return s.createElement("div",{className:"graphiql-explorer-"+this.props.fragment.name.value},s.createElement("span",{style:{cursor:"pointer"},onClick:t?this._removeFragment:this._addFragment},s.createElement(b,{checked:!!t,styleConfig:this.props.styleConfig}),s.createElement("span",{style:{color:e.colors.def},className:"graphiql-explorer-"+this.props.fragment.name.value},this.props.fragment.name.value)))}}]),t}(s.PureComponent);function x(e,t,n,r){var o=[],i=!0,a=!1,s=void 0;try{for(var c,u=r[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var p=c.value;if((0,l.isRequiredInputField)(p)||t&&t(n,p)){var d=T(p.type);(0,l.isInputObjectType)(d)?function(){var r=d.getFields();o.push({kind:"ObjectField",name:{kind:"Name",value:p.name},value:{kind:"ObjectValue",fields:x(e,t,n,Object.keys(r).map((function(e){return r[e]})))}})}():(0,l.isLeafType)(d)&&o.push({kind:"ObjectField",name:{kind:"Name",value:p.name},value:e(n,p,d)})}}}catch(f){a=!0,s=f}finally{try{!i&&u.return&&u.return()}finally{if(a)throw s}}return o}function R(e,t,n){var r=[],o=!0,i=!1,a=void 0;try{for(var s,c=n.args[Symbol.iterator]();!(o=(s=c.next()).done);o=!0){var u=s.value;if(_(u)||t&&t(n,u)){var p=T(u.type);(0,l.isInputObjectType)(p)?function(){var o=p.getFields();r.push({kind:"Argument",name:{kind:"Name",value:u.name},value:{kind:"ObjectValue",fields:x(e,t,n,Object.keys(o).map((function(e){return o[e]})))}})}():(0,l.isLeafType)(p)&&r.push({kind:"Argument",name:{kind:"Name",value:u.name},value:e(n,u,p)})}}}catch(d){i=!0,a=d}finally{try{!o&&c.return&&c.return()}finally{if(i)throw a}}return r}var F=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={displayFieldActions:!1},r._addAllFieldsToSelections=function(e){var t={kind:"SelectionSet",selections:e?Object.keys(e).map((function(e){return{kind:"Field",name:{kind:"Name",value:e},arguments:[]}})):[]},n=[].concat(c(r.props.selections.filter((function(e){return"InlineFragment"===e.kind||e.name.value!==r.props.field.name}))),[{kind:"Field",name:{kind:"Name",value:r.props.field.name},arguments:R(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field),selectionSet:t}]);r.props.modifySelections(n)},r._addFieldToSelections=function(e){var t=[].concat(c(r.props.selections),[r._previousSelection||{kind:"Field",name:{kind:"Name",value:r.props.field.name},arguments:R(r.props.getDefaultScalarArgValue,r.props.makeDefaultArg,r.props.field)}]);r.props.modifySelections(t)},r._handleUpdateSelections=function(e){if(r._getSelection()&&!e.altKey)r._removeFieldFromSelections();else{var t=(0,l.getNamedType)(r.props.field.type),n=(0,l.isObjectType)(t)&&t.getFields();!!n&&e.altKey?r._addAllFieldsToSelections(n):r._addFieldToSelections(n)}},r._removeFieldFromSelections=function(){var e=r._getSelection();r._previousSelection=e,r.props.modifySelections(r.props.selections.filter((function(t){return t!==e})))},r._getSelection=function(){var e=r.props.selections.find((function(e){return"Field"===e.kind&&r.props.field.name===e.name.value}));return e?"Field"===e.kind?e:void 0:null},r._setArguments=function(e,t){var n=r._getSelection();if(n)return r.props.modifySelections(r.props.selections.map((function(t){return t===n?{alias:n.alias,arguments:e,directives:n.directives,kind:"Field",name:n.name,selectionSet:n.selectionSet}:t})),t);console.error("Missing selection when setting arguments",e)},r._modifyChildSelections=function(e,t){return r.props.modifySelections(r.props.selections.map((function(t){if("Field"===t.kind&&r.props.field.name===t.name.value){if("Field"!==t.kind)throw new Error("invalid selection");return{alias:t.alias,arguments:t.arguments,directives:t.directives,kind:"Field",name:t.name,selectionSet:{kind:"SelectionSet",selections:e}}}return t})),t)},p(r,n)}return d(t,e),a(t,[{key:"render",value:function(){var e=this,n=this.props,r=n.field,o=n.schema,a=n.getDefaultFieldNames,u=n.styleConfig,p=this._getSelection(),d=function(e){for(var t=e;(0,l.isWrappingType)(t);)t=t.ofType;return t}(r.type),f=r.args.sort((function(e,t){return e.name.localeCompare(t.name)})),h="graphiql-explorer-node graphiql-explorer-"+r.name;r.isDeprecated&&(h+=" graphiql-explorer-deprecated");var m=(0,l.isObjectType)(d)||(0,l.isInterfaceType)(d)||(0,l.isUnionType)(d)?this.props.availableFragments&&this.props.availableFragments[d.name]:null,v=s.createElement("div",{className:h},s.createElement("span",{title:r.description,style:{cursor:"pointer",display:"inline-flex",alignItems:"center",minHeight:"16px",WebkitUserSelect:"none",userSelect:"none"},"data-field-name":r.name,"data-field-type":d.name,onClick:this._handleUpdateSelections,onMouseEnter:function(){(0,l.isObjectType)(d)&&p&&p.selectionSet&&p.selectionSet.selections.filter((function(e){return"FragmentSpread"!==e.kind})).length>0&&e.setState({displayFieldActions:!0})},onMouseLeave:function(){return e.setState({displayFieldActions:!1})}},(0,l.isObjectType)(d)?s.createElement("span",null,p?this.props.styleConfig.arrowOpen:this.props.styleConfig.arrowClosed):null,(0,l.isObjectType)(d)?null:s.createElement(b,{checked:!!p,styleConfig:this.props.styleConfig}),s.createElement("span",{style:{color:u.colors.property},className:"graphiql-explorer-field-view"},r.name),this.state.displayFieldActions?s.createElement("button",{type:"submit",className:"toolbar-button",title:"Extract selections into a new reusable fragment",onClick:function(t){t.preventDefault(),t.stopPropagation();var n=d.name+"Fragment",r=(m||[]).filter((function(e){return e.name.value.startsWith(n)})).length;r>0&&(n=""+n+r);var o=p&&p.selectionSet?p.selectionSet.selections:[],a=[{kind:"FragmentSpread",name:{kind:"Name",value:n},directives:[]}],s={kind:"FragmentDefinition",name:{kind:"Name",value:n},typeCondition:{kind:"NamedType",name:{kind:"Name",value:d.name}},directives:[],selectionSet:{kind:"SelectionSet",selections:o}},l=e._modifyChildSelections(a,!1);if(l){var u=i({},l,{definitions:[].concat(c(l.definitions),[s])});e.props.onCommit(u)}else console.warn("Unable to complete extractFragment operation")},style:i({},u.styles.actionButtonStyle)},s.createElement("span",null,"\u2026")):null),p&&f.length?s.createElement("div",{style:{marginLeft:16},className:"graphiql-explorer-graphql-arguments"},f.map((function(t){return s.createElement(N,{key:t.name,parentField:r,arg:t,selection:p,modifyArguments:e._setArguments,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})}))):null);if(p&&((0,l.isObjectType)(d)||(0,l.isInterfaceType)(d)||(0,l.isUnionType)(d))){var y=(0,l.isUnionType)(d)?{}:d.getFields(),g=p&&p.selectionSet?p.selectionSet.selections:[];return s.createElement("div",{className:"graphiql-explorer-"+r.name},v,s.createElement("div",{style:{marginLeft:16}},m?m.map((function(t){var n=o.getType(t.typeCondition.name.value),r=t.name.value;return n?s.createElement(D,{key:r,fragment:t,selections:g,modifySelections:e._modifyChildSelections,schema:o,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit}):null})):null,Object.keys(y).sort().map((function(n){return s.createElement(t,{key:n,field:y[n],selections:g,modifySelections:e._modifyChildSelections,schema:o,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})})),(0,l.isInterfaceType)(d)||(0,l.isUnionType)(d)?o.getPossibleTypes(d).map((function(t){return s.createElement(I,{key:t.name,implementingType:t,selections:g,modifySelections:e._modifyChildSelections,schema:o,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition})})):null))}return v}}]),t}(s.PureComponent);var P={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[],name:{kind:"Name",value:"MyQuery"},directives:[],selectionSet:{kind:"SelectionSet",selections:[]}}]},L=null;function M(e){if(L&&L[0]===e)return L[1];var t=function(e){try{return e.trim()?(0,l.parse)(e,{noLocation:!0}):null}catch(t){return new Error(t)}}(e);return t?t instanceof Error?L?L[1]:P:(L=[e,t],t):P}var j={buttonStyle:{fontSize:"1.2em",padding:"0px",backgroundColor:"white",border:"none",margin:"5px 0px",height:"40px",width:"100%",display:"block",maxWidth:"none"},actionButtonStyle:{padding:"0px",backgroundColor:"white",border:"none",margin:"0px",maxWidth:"none",height:"15px",width:"15px",display:"inline-block",fontSize:"smaller"},explorerActionsStyle:{margin:"4px -8px -8px",paddingLeft:"8px",bottom:"0px",width:"100%",textAlign:"center",background:"none",borderTop:"none",borderBottom:"none"}},V=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.state={newOperationType:"query",displayTitleActions:!1},r._modifySelections=function(e,t){var n=r.props.definition;0===n.selectionSet.selections.length&&r._previousOperationDef&&(n=r._previousOperationDef);var o=void 0;if("FragmentDefinition"===n.kind)o=i({},n,{selectionSet:i({},n.selectionSet,{selections:e})});else if("OperationDefinition"===n.kind){var a=e.filter((function(e){return!("Field"===e.kind&&"__typename"===e.name.value)}));0===a.length&&(a=[{kind:"Field",name:{kind:"Name",value:"__typename ## Placeholder value"}}]),o=i({},n,{selectionSet:i({},n.selectionSet,{selections:a})})}return r.props.onEdit(o,t)},r._onOperationRename=function(e){return r.props.onOperationRename(e.target.value)},r._handlePotentialRun=function(e){(function(e){return e.ctrlKey&&"Enter"===e.key})(e)&&"FragmentDefinition"!==r.props.definition.kind&&r.props.onRunOperation(r.props.name)},r._rootViewElId=function(){var e=r.props;return e.operationType+"-"+(e.name||"unknown")},p(r,n)}return d(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this._rootViewElId();this.props.onMount(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.operationType,r=t.definition,o=t.schema,a=t.getDefaultFieldNames,l=t.styleConfig,c=this._rootViewElId(),u=this.props.fields||{},p=r.selectionSet.selections,d=this.props.name||f(n)+" Name";return s.createElement("div",{id:c,tabIndex:"0",onKeyDown:this._handlePotentialRun,style:{borderBottom:this.props.isLast?"none":"1px solid #d6d6d6",marginBottom:"0em",paddingBottom:"1em"}},s.createElement("div",{style:{color:l.colors.keyword,paddingBottom:4},className:"graphiql-operation-title-bar",onMouseEnter:function(){return e.setState({displayTitleActions:!0})},onMouseLeave:function(){return e.setState({displayTitleActions:!1})}},n," ",s.createElement("span",{style:{color:l.colors.def}},s.createElement("input",{style:{color:l.colors.def,border:"none",borderBottom:"1px solid #888",outline:"none",width:Math.max(4,d.length)+"ch"},autoComplete:"false",placeholder:f(n)+" Name",value:this.props.name,onKeyDown:this._handlePotentialRun,onChange:this._onOperationRename})),this.props.onTypeName?s.createElement("span",null,s.createElement("br",null),"on "+this.props.onTypeName):"",this.state.displayTitleActions?s.createElement(s.Fragment,null,s.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.props.onOperationDestroy()},style:i({},l.styles.actionButtonStyle)},s.createElement("span",null,"\u2715")),s.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.props.onOperationClone()},style:i({},l.styles.actionButtonStyle)},s.createElement("span",null,"\u2398"))):""),Object.keys(u).sort().map((function(t){return s.createElement(F,{key:t,field:u[t],selections:p,modifySelections:e._modifySelections,schema:o,getDefaultFieldNames:a,getDefaultScalarArgValue:e.props.getDefaultScalarArgValue,makeDefaultArg:e.props.makeDefaultArg,onRunOperation:e.props.onRunOperation,styleConfig:e.props.styleConfig,onCommit:e.props.onCommit,definition:e.props.definition,availableFragments:e.props.availableFragments})})))}}]),t}(s.PureComponent);function U(){return s.createElement("div",{style:{fontFamily:"sans-serif",display:"flex",flexDirection:"column",alignItems:"center",margin:"1em",marginTop:0,flexGrow:1,justifyContent:"flex-end"}},s.createElement("div",{style:{borderTop:"1px solid #d6d6d6",paddingTop:"1em",width:"100%",textAlign:"center"}},"GraphiQL Explorer by ",s.createElement("a",{href:"https://www.onegraph.com"},"OneGraph")),s.createElement("div",null,"Contribute on"," ",s.createElement("a",{href:"https://github.com/OneGraph/graphiql-explorer"},"GitHub")))}var q=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={newOperationType:"query",operation:null,operationToScrollTo:null},r._resetScroll=function(){var e=r._ref;e&&(e.scrollLeft=0)},r._onEdit=function(e){return r.props.onEdit(e)},r._setAddOperationType=function(e){r.setState({newOperationType:e})},r._handleRootViewMount=function(e){if(r.state.operationToScrollTo&&r.state.operationToScrollTo===e){var t=".graphiql-explorer-root #"+e,n=document.querySelector(t);n&&n.scrollIntoView()}},p(r,n)}return d(t,e),a(t,[{key:"componentDidMount",value:function(){this._resetScroll()}},{key:"render",value:function(){var e=this,t=this.props,n=t.schema,o=t.query,a=t.makeDefaultArg;if(!n)return s.createElement("div",{style:{fontFamily:"sans-serif"},className:"error-container"},"No Schema Available");var u={colors:this.props.colors||h,checkboxChecked:this.props.checkboxChecked||y,checkboxUnchecked:this.props.checkboxUnchecked||g,arrowClosed:this.props.arrowClosed||v,arrowOpen:this.props.arrowOpen||m,styles:this.props.styles?i({},j,this.props.styles):j},p=n.getQueryType(),d=n.getMutationType(),b=n.getSubscriptionType();if(!p&&!d&&!b)return s.createElement("div",null,"Missing query type");var _=p&&p.getFields(),T=d&&d.getFields(),k=b&&b.getFields(),w=M(o),S=this.props.getDefaultFieldNames||E,N=this.props.getDefaultScalarArgValue||A,C=w.definitions.map((function(e){return"FragmentDefinition"===e.kind||"OperationDefinition"===e.kind?e:null})).filter(Boolean),O=0===C.length?P.definitions:C,I=[_?s.createElement("option",{key:"query",className:"toolbar-button",style:u.styles.buttonStyle,type:"link",value:"query"},"Query"):null,T?s.createElement("option",{key:"mutation",className:"toolbar-button",style:u.styles.buttonStyle,type:"link",value:"mutation"},"Mutation"):null,k?s.createElement("option",{key:"subscription",className:"toolbar-button",style:u.styles.buttonStyle,type:"link",value:"subscription"},"Subscription"):null].filter(Boolean),D=0===I.length?null:s.createElement("div",{style:{minHeight:"50px",maxHeight:"50px",overflow:"none"}},s.createElement("form",{className:"variable-editor-title graphiql-explorer-actions",style:i({},u.styles.explorerActionsStyle,{display:"flex",flexDirection:"row",alignItems:"center",borderTop:"1px solid rgb(214, 214, 214)"}),onSubmit:function(e){return e.preventDefault()}},s.createElement("span",{style:{display:"inline-block",flexGrow:"0",textAlign:"right"}},"Add new"," "),s.createElement("select",{onChange:function(t){return e._setAddOperationType(t.target.value)},value:this.state.newOperationType,style:{flexGrow:"2"}},I),s.createElement("button",{type:"submit",className:"toolbar-button",onClick:function(){return e.state.newOperationType?function(t){var n=w.definitions,r=1===w.definitions.length&&w.definitions[0]===P.definitions[0],o=r?[]:n.filter((function(e){return"OperationDefinition"===e.kind&&e.operation===t})),a="My"+f(t)+(0===o.length?"":o.length+1),s={kind:"OperationDefinition",operation:t,name:{kind:"Name",value:a},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename # Placeholder value",loc:null},arguments:[],directives:[],selectionSet:null,loc:null}],loc:null},loc:null},u=r?[s]:[].concat(c(w.definitions),[s]),p=i({},w,{definitions:u});e.setState({operationToScrollTo:t+"-"+a}),e.props.onEdit((0,l.print)(p))}(e.state.newOperationType):null},style:i({},u.styles.buttonStyle,{height:"22px",width:"22px"})},s.createElement("span",null,"+")))),x=O.reduce((function(e,t){if("FragmentDefinition"===t.kind){var n=t.typeCondition.name.value,r=e[n]||[],o=[].concat(c(r),[t]).sort((function(e,t){return e.name.value.localeCompare(t.name.value)}));return i({},e,(l=o,(s=n)in(a={})?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a))}var a,s,l;return e}),{}),R=this.props.showAttribution?s.createElement(U,null):null;return s.createElement("div",{ref:function(t){e._ref=t},style:{fontSize:12,textOverflow:"ellipsis",whiteSpace:"nowrap",margin:0,padding:8,fontFamily:'Consolas, Inconsolata, "Droid Sans Mono", Monaco, monospace',display:"flex",flexDirection:"column",height:"100%"},className:"graphiql-explorer-root"},s.createElement("div",{style:{flexGrow:"1",overflow:"scroll"}},O.map((function(t,o){var p=t&&t.name&&t.name.value,d="FragmentDefinition"===t.kind?"fragment":t&&t.operation||"query",f="FragmentDefinition"===t.kind&&"NamedType"===t.typeCondition.kind&&n.getType(t.typeCondition.name.value),h=f instanceof l.GraphQLObjectType?f.getFields():null,m="query"===d?_:"mutation"===d?T:"subscription"===d?k:"FragmentDefinition"===t.kind?h:null,v="FragmentDefinition"===t.kind?t.typeCondition.name.value:null,y=function(t){var n=(0,l.print)(t);e.props.onEdit(n)};return s.createElement(V,{key:o,isLast:o===O.length-1,fields:m,operationType:d,name:p,definition:t,onOperationRename:function(n){var r=function(e,t){var n=i({},e,{name:null==t||""===t?null:{kind:"Name",value:t,loc:void 0}}),r=w.definitions.map((function(t){return e===t?n:t}));return i({},w,{definitions:r})}(t,n);e.props.onEdit((0,l.print)(r))},onOperationDestroy:function(){var n=function(e){var t=w.definitions.filter((function(t){return e!==t}));return i({},w,{definitions:t})}(t);e.props.onEdit((0,l.print)(n))},onOperationClone:function(){var n=function(t){var n=void 0;n="FragmentDefinition"===t.kind?"fragment":t.operation;var r=(t.name&&t.name.value||"")+"Copy",o=i({},t,{name:{kind:"Name",value:r,loc:void 0}}),a=w.definitions,s=[].concat(c(a),[o]);return e.setState({operationToScrollTo:n+"-"+r}),i({},w,{definitions:s})}(t);e.props.onEdit((0,l.print)(n))},onTypeName:v,onMount:e._handleRootViewMount,onCommit:y,onEdit:function(e,n){var o=void 0;if(o="object"!==("undefined"===typeof n?"undefined":r(n))||"undefined"===typeof n.commit||n.commit,e){var a=i({},w,{definitions:w.definitions.map((function(n){return n===t?e:n}))});return o?(y(a),a):a}return w},schema:n,getDefaultFieldNames:S,getDefaultScalarArgValue:N,makeDefaultArg:a,onRunOperation:function(){e.props.onRunOperation&&e.props.onRunOperation(p)},styleConfig:u,availableFragments:x})})),R),D)}}]),t}(s.PureComponent);q.defaultProps={getDefaultFieldNames:E,getDefaultScalarArgValue:A};var z=function(e){function t(){var e,n,r;u(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={hasError:!1,error:null,errorInfo:null},p(r,n)}return d(t,e),a(t,[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0,error:e,errorInfo:t}),console.error("Error in component",e,t)}},{key:"render",value:function(){return this.state.hasError?s.createElement("div",{style:{padding:18,fontFamily:"sans-serif"}},s.createElement("div",null,"Something went wrong"),s.createElement("details",{style:{whiteSpace:"pre-wrap"}},this.state.error?this.state.error.toString():null,s.createElement("br",null),this.state.errorInfo?this.state.errorInfo.componentStack:null)):this.props.children}}]),t}(s.Component),B=function(e){function t(){return u(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),a(t,[{key:"render",value:function(){return s.createElement("div",{className:"docExplorerWrap",style:{height:"100%",width:this.props.width,minWidth:this.props.width,zIndex:7,display:this.props.explorerIsOpen?"flex":"none",flexDirection:"column",overflow:"hidden"}},s.createElement("div",{className:"doc-explorer-title-bar"},s.createElement("div",{className:"doc-explorer-title"},this.props.title),s.createElement("div",{className:"doc-explorer-rhs"},s.createElement("div",{className:"docExplorerHide",onClick:this.props.onToggleExplorer},"\u2715"))),s.createElement("div",{className:"doc-explorer-contents",style:{padding:"0px",overflowY:"unset"}},s.createElement(z,null,s.createElement(q,this.props))))}}]),t}(s.PureComponent);B.defaultValue=S,B.defaultProps={width:320,title:"Explorer"},t.default=B},4558:(e,t,n)=>{"use strict";var r,o=n(647),i=(r=o)&&r.__esModule?r:{default:r};i.default,t.Ay=i.default},4817:(e,t,n)=>{"use strict";n.r(t),n.d(t,{CharacterStream:()=>Ke,CompletionItemKind:()=>Qe,DIAGNOSTIC_SEVERITY:()=>xn,FileChangeTypeKind:()=>Ge,LexRules:()=>et,ParseRules:()=>tt,Position:()=>Ht,Range:()=>Bt,RuleKinds:()=>ft,SEVERITY:()=>Dn,SuggestionCommand:()=>ht,canUseDirective:()=>At,collectVariables:()=>fn,getASTNodeAtPosition:()=>qt,getAutocompleteSuggestions:()=>gt,getDefinitionQueryResultForDefinitionNode:()=>Sn,getDefinitionQueryResultForField:()=>kn,getDefinitionQueryResultForFragmentSpread:()=>wn,getDefinitionQueryResultForNamedType:()=>Tn,getDefinitionState:()=>i,getDiagnostics:()=>Fn,getFieldDef:()=>a,getFragmentDefinitions:()=>kt,getFragmentDependencies:()=>xt,getFragmentDependenciesForAST:()=>Rt,getHoverInformation:()=>zn,getOperationASTFacts:()=>hn,getOperationFacts:()=>mn,getOutline:()=>Un,getQueryFacts:()=>vn,getRange:()=>Mn,getTokenAtPosition:()=>wt,getTypeInfo:()=>Nt,getVariableCompletions:()=>Tt,getVariablesJSONSchema:()=>Ut,isIgnored:()=>Ze,list:()=>Je,offsetToPosition:()=>Yt,onlineParser:()=>it,opt:()=>We,p:()=>Xe,pointToOffset:()=>zt,t:()=>$e,validateQuery:()=>Pn,validateWithCustomRules:()=>pn});var r=n(3880),o=n(9862);function i(e){let t;return s(e,(e=>{switch(e.kind){case"Query":case"ShortQuery":case"Mutation":case"Subscription":case"FragmentDefinition":t=e}})),t}function a(e,t,n){return n===r.SchemaMetaFieldDef.name&&e.getQueryType()===t?r.SchemaMetaFieldDef:n===r.TypeMetaFieldDef.name&&e.getQueryType()===t?r.TypeMetaFieldDef:n===r.TypeNameMetaFieldDef.name&&(0,o.ML)(t)?r.TypeNameMetaFieldDef:"getFields"in t?t.getFields()[n]:null}function s(e,t){const n=[];let r=e;for(;null===r||void 0===r?void 0:r.kind;)n.push(r),r=r.prevState;for(let o=n.length-1;o>=0;o--)t(n[o])}function l(e){const t=Object.keys(e),n=t.length,r=new Array(n);for(let o=0;o<n;++o)r[o]=e[t[o]];return r}function c(e,t){return function(e,t){if(!t)return u(e,(e=>!e.isDeprecated));const n=e.map((e=>({proximity:d(p(e.label),t),entry:e})));return u(u(n,(e=>e.proximity<=2)),(e=>!e.entry.isDeprecated)).sort(((e,t)=>(e.entry.isDeprecated?1:0)-(t.entry.isDeprecated?1:0)||e.proximity-t.proximity||e.entry.label.length-t.entry.label.length)).map((e=>e.entry))}(t,p(e.string))}function u(e,t){const n=e.filter(t);return 0===n.length?e:n}function p(e){return e.toLowerCase().replaceAll(/\W/g,"")}function d(e,t){let n=function(e,t){let n,r;const o=[],i=e.length,a=t.length;for(n=0;n<=i;n++)o[n]=[n];for(r=1;r<=a;r++)o[0][r]=r;for(n=1;n<=i;n++)for(r=1;r<=a;r++){const i=e[n-1]===t[r-1]?0:1;o[n][r]=Math.min(o[n-1][r]+1,o[n][r-1]+1,o[n-1][r-1]+i),n>1&&r>1&&e[n-1]===t[r-2]&&e[n-2]===t[r-1]&&(o[n][r]=Math.min(o[n][r],o[n-2][r-2]+i))}return o[i][a]}(t,e);return e.length>t.length&&(n-=e.length-t.length-1,n+=0===e.indexOf(t)?0:.5),n}var f,h,m,v,y,g,b,E,_,T,k,w,S,A,N,C,O,I,D,x,R,F,P,L,M,j,V,U,q,z,B,H,Y,G,Q,K,W,J,$,X,Z,ee,te,ne,re,oe,ie,ae,se,le,ce,ue,pe,de,fe,he,me,ve,ye,ge,be,Ee,_e,Te,ke,we,Se,Ae,Ne,Ce,Oe,Ie,De,xe,Re,Fe,Pe,Le,Me=n(1977),je=n(1892),Ve=n(9834),Ue=n(447),qe=n(5442),ze=n(1033);!function(e){e.is=function(e){return"string"===typeof e}}(f||(f={})),function(e){e.is=function(e){return"string"===typeof e}}(h||(h={})),function(e){e.MIN_VALUE=-2147483648,e.MAX_VALUE=2147483647,e.is=function(t){return"number"===typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(m||(m={})),function(e){e.MIN_VALUE=0,e.MAX_VALUE=2147483647,e.is=function(t){return"number"===typeof t&&e.MIN_VALUE<=t&&t<=e.MAX_VALUE}}(v||(v={})),function(e){e.create=function(e,t){return e===Number.MAX_VALUE&&(e=v.MAX_VALUE),t===Number.MAX_VALUE&&(t=v.MAX_VALUE),{line:e,character:t}},e.is=function(e){let t=e;return He.objectLiteral(t)&&He.uinteger(t.line)&&He.uinteger(t.character)}}(y||(y={})),function(e){e.create=function(e,t,n,r){if(He.uinteger(e)&&He.uinteger(t)&&He.uinteger(n)&&He.uinteger(r))return{start:y.create(e,t),end:y.create(n,r)};if(y.is(e)&&y.is(t))return{start:e,end:t};throw new Error(`Range#create called with invalid arguments[${e}, ${t}, ${n}, ${r}]`)},e.is=function(e){let t=e;return He.objectLiteral(t)&&y.is(t.start)&&y.is(t.end)}}(g||(g={})),function(e){e.create=function(e,t){return{uri:e,range:t}},e.is=function(e){let t=e;return He.objectLiteral(t)&&g.is(t.range)&&(He.string(t.uri)||He.undefined(t.uri))}}(b||(b={})),function(e){e.create=function(e,t,n,r){return{targetUri:e,targetRange:t,targetSelectionRange:n,originSelectionRange:r}},e.is=function(e){let t=e;return He.objectLiteral(t)&&g.is(t.targetRange)&&He.string(t.targetUri)&&g.is(t.targetSelectionRange)&&(g.is(t.originSelectionRange)||He.undefined(t.originSelectionRange))}}(E||(E={})),function(e){e.create=function(e,t,n,r){return{red:e,green:t,blue:n,alpha:r}},e.is=function(e){const t=e;return He.objectLiteral(t)&&He.numberRange(t.red,0,1)&&He.numberRange(t.green,0,1)&&He.numberRange(t.blue,0,1)&&He.numberRange(t.alpha,0,1)}}(_||(_={})),function(e){e.create=function(e,t){return{range:e,color:t}},e.is=function(e){const t=e;return He.objectLiteral(t)&&g.is(t.range)&&_.is(t.color)}}(T||(T={})),function(e){e.create=function(e,t,n){return{label:e,textEdit:t,additionalTextEdits:n}},e.is=function(e){const t=e;return He.objectLiteral(t)&&He.string(t.label)&&(He.undefined(t.textEdit)||x.is(t))&&(He.undefined(t.additionalTextEdits)||He.typedArray(t.additionalTextEdits,x.is))}}(k||(k={})),function(e){e.Comment="comment",e.Imports="imports",e.Region="region"}(w||(w={})),function(e){e.create=function(e,t,n,r,o,i){const a={startLine:e,endLine:t};return He.defined(n)&&(a.startCharacter=n),He.defined(r)&&(a.endCharacter=r),He.defined(o)&&(a.kind=o),He.defined(i)&&(a.collapsedText=i),a},e.is=function(e){const t=e;return He.objectLiteral(t)&&He.uinteger(t.startLine)&&He.uinteger(t.startLine)&&(He.undefined(t.startCharacter)||He.uinteger(t.startCharacter))&&(He.undefined(t.endCharacter)||He.uinteger(t.endCharacter))&&(He.undefined(t.kind)||He.string(t.kind))}}(S||(S={})),function(e){e.create=function(e,t){return{location:e,message:t}},e.is=function(e){let t=e;return He.defined(t)&&b.is(t.location)&&He.string(t.message)}}(A||(A={})),function(e){e.Error=1,e.Warning=2,e.Information=3,e.Hint=4}(N||(N={})),function(e){e.Unnecessary=1,e.Deprecated=2}(C||(C={})),function(e){e.is=function(e){const t=e;return He.objectLiteral(t)&&He.string(t.href)}}(O||(O={})),function(e){e.create=function(e,t,n,r,o,i){let a={range:e,message:t};return He.defined(n)&&(a.severity=n),He.defined(r)&&(a.code=r),He.defined(o)&&(a.source=o),He.defined(i)&&(a.relatedInformation=i),a},e.is=function(e){var t;let n=e;return He.defined(n)&&g.is(n.range)&&He.string(n.message)&&(He.number(n.severity)||He.undefined(n.severity))&&(He.integer(n.code)||He.string(n.code)||He.undefined(n.code))&&(He.undefined(n.codeDescription)||He.string(null===(t=n.codeDescription)||void 0===t?void 0:t.href))&&(He.string(n.source)||He.undefined(n.source))&&(He.undefined(n.relatedInformation)||He.typedArray(n.relatedInformation,A.is))}}(I||(I={})),function(e){e.create=function(e,t){let n={title:e,command:t};for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return He.defined(o)&&o.length>0&&(n.arguments=o),n},e.is=function(e){let t=e;return He.defined(t)&&He.string(t.title)&&He.string(t.command)}}(D||(D={})),function(e){e.replace=function(e,t){return{range:e,newText:t}},e.insert=function(e,t){return{range:{start:e,end:e},newText:t}},e.del=function(e){return{range:e,newText:""}},e.is=function(e){const t=e;return He.objectLiteral(t)&&He.string(t.newText)&&g.is(t.range)}}(x||(x={})),function(e){e.create=function(e,t,n){const r={label:e};return void 0!==t&&(r.needsConfirmation=t),void 0!==n&&(r.description=n),r},e.is=function(e){const t=e;return He.objectLiteral(t)&&He.string(t.label)&&(He.boolean(t.needsConfirmation)||void 0===t.needsConfirmation)&&(He.string(t.description)||void 0===t.description)}}(R||(R={})),function(e){e.is=function(e){const t=e;return He.string(t)}}(F||(F={})),function(e){e.replace=function(e,t,n){return{range:e,newText:t,annotationId:n}},e.insert=function(e,t,n){return{range:{start:e,end:e},newText:t,annotationId:n}},e.del=function(e,t){return{range:e,newText:"",annotationId:t}},e.is=function(e){const t=e;return x.is(t)&&(R.is(t.annotationId)||F.is(t.annotationId))}}(P||(P={})),function(e){e.create=function(e,t){return{textDocument:e,edits:t}},e.is=function(e){let t=e;return He.defined(t)&&B.is(t.textDocument)&&Array.isArray(t.edits)}}(L||(L={})),function(e){e.create=function(e,t,n){let r={kind:"create",uri:e};return void 0===t||void 0===t.overwrite&&void 0===t.ignoreIfExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"create"===t.kind&&He.string(t.uri)&&(void 0===t.options||(void 0===t.options.overwrite||He.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||He.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||F.is(t.annotationId))}}(M||(M={})),function(e){e.create=function(e,t,n,r){let o={kind:"rename",oldUri:e,newUri:t};return void 0===n||void 0===n.overwrite&&void 0===n.ignoreIfExists||(o.options=n),void 0!==r&&(o.annotationId=r),o},e.is=function(e){let t=e;return t&&"rename"===t.kind&&He.string(t.oldUri)&&He.string(t.newUri)&&(void 0===t.options||(void 0===t.options.overwrite||He.boolean(t.options.overwrite))&&(void 0===t.options.ignoreIfExists||He.boolean(t.options.ignoreIfExists)))&&(void 0===t.annotationId||F.is(t.annotationId))}}(j||(j={})),function(e){e.create=function(e,t,n){let r={kind:"delete",uri:e};return void 0===t||void 0===t.recursive&&void 0===t.ignoreIfNotExists||(r.options=t),void 0!==n&&(r.annotationId=n),r},e.is=function(e){let t=e;return t&&"delete"===t.kind&&He.string(t.uri)&&(void 0===t.options||(void 0===t.options.recursive||He.boolean(t.options.recursive))&&(void 0===t.options.ignoreIfNotExists||He.boolean(t.options.ignoreIfNotExists)))&&(void 0===t.annotationId||F.is(t.annotationId))}}(V||(V={})),function(e){e.is=function(e){let t=e;return t&&(void 0!==t.changes||void 0!==t.documentChanges)&&(void 0===t.documentChanges||t.documentChanges.every((e=>He.string(e.kind)?M.is(e)||j.is(e)||V.is(e):L.is(e))))}}(U||(U={}));!function(e){e.create=function(e){return{uri:e}},e.is=function(e){let t=e;return He.defined(t)&&He.string(t.uri)}}(q||(q={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return He.defined(t)&&He.string(t.uri)&&He.integer(t.version)}}(z||(z={})),function(e){e.create=function(e,t){return{uri:e,version:t}},e.is=function(e){let t=e;return He.defined(t)&&He.string(t.uri)&&(null===t.version||He.integer(t.version))}}(B||(B={})),function(e){e.create=function(e,t,n,r){return{uri:e,languageId:t,version:n,text:r}},e.is=function(e){let t=e;return He.defined(t)&&He.string(t.uri)&&He.string(t.languageId)&&He.integer(t.version)&&He.string(t.text)}}(H||(H={})),function(e){e.PlainText="plaintext",e.Markdown="markdown",e.is=function(t){const n=t;return n===e.PlainText||n===e.Markdown}}(Y||(Y={})),function(e){e.is=function(e){const t=e;return He.objectLiteral(e)&&Y.is(t.kind)&&He.string(t.value)}}(G||(G={})),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}(Q||(Q={})),function(e){e.PlainText=1,e.Snippet=2}(K||(K={})),function(e){e.Deprecated=1}(W||(W={})),function(e){e.create=function(e,t,n){return{newText:e,insert:t,replace:n}},e.is=function(e){const t=e;return t&&He.string(t.newText)&&g.is(t.insert)&&g.is(t.replace)}}(J||(J={})),function(e){e.asIs=1,e.adjustIndentation=2}($||($={})),function(e){e.is=function(e){const t=e;return t&&(He.string(t.detail)||void 0===t.detail)&&(He.string(t.description)||void 0===t.description)}}(X||(X={})),function(e){e.create=function(e){return{label:e}}}(Z||(Z={})),function(e){e.create=function(e,t){return{items:e||[],isIncomplete:!!t}}}(ee||(ee={})),function(e){e.fromPlainText=function(e){return e.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")},e.is=function(e){const t=e;return He.string(t)||He.objectLiteral(t)&&He.string(t.language)&&He.string(t.value)}}(te||(te={})),function(e){e.is=function(e){let t=e;return!!t&&He.objectLiteral(t)&&(G.is(t.contents)||te.is(t.contents)||He.typedArray(t.contents,te.is))&&(void 0===e.range||g.is(e.range))}}(ne||(ne={})),function(e){e.create=function(e,t){return t?{label:e,documentation:t}:{label:e}}}(re||(re={})),function(e){e.create=function(e,t){let n={label:e};He.defined(t)&&(n.documentation=t);for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return He.defined(o)?n.parameters=o:n.parameters=[],n}}(oe||(oe={})),function(e){e.Text=1,e.Read=2,e.Write=3}(ie||(ie={})),function(e){e.create=function(e,t){let n={range:e};return He.number(t)&&(n.kind=t),n}}(ae||(ae={})),function(e){e.File=1,e.Module=2,e.Namespace=3,e.Package=4,e.Class=5,e.Method=6,e.Property=7,e.Field=8,e.Constructor=9,e.Enum=10,e.Interface=11,e.Function=12,e.Variable=13,e.Constant=14,e.String=15,e.Number=16,e.Boolean=17,e.Array=18,e.Object=19,e.Key=20,e.Null=21,e.EnumMember=22,e.Struct=23,e.Event=24,e.Operator=25,e.TypeParameter=26}(se||(se={})),function(e){e.Deprecated=1}(le||(le={})),function(e){e.create=function(e,t,n,r,o){let i={name:e,kind:t,location:{uri:r,range:n}};return o&&(i.containerName=o),i}}(ce||(ce={})),function(e){e.create=function(e,t,n,r){return void 0!==r?{name:e,kind:t,location:{uri:n,range:r}}:{name:e,kind:t,location:{uri:n}}}}(ue||(ue={})),function(e){e.create=function(e,t,n,r,o,i){let a={name:e,detail:t,kind:n,range:r,selectionRange:o};return void 0!==i&&(a.children=i),a},e.is=function(e){let t=e;return t&&He.string(t.name)&&He.number(t.kind)&&g.is(t.range)&&g.is(t.selectionRange)&&(void 0===t.detail||He.string(t.detail))&&(void 0===t.deprecated||He.boolean(t.deprecated))&&(void 0===t.children||Array.isArray(t.children))&&(void 0===t.tags||Array.isArray(t.tags))}}(pe||(pe={})),function(e){e.Empty="",e.QuickFix="quickfix",e.Refactor="refactor",e.RefactorExtract="refactor.extract",e.RefactorInline="refactor.inline",e.RefactorRewrite="refactor.rewrite",e.Source="source",e.SourceOrganizeImports="source.organizeImports",e.SourceFixAll="source.fixAll"}(de||(de={})),function(e){e.Invoked=1,e.Automatic=2}(fe||(fe={})),function(e){e.create=function(e,t,n){let r={diagnostics:e};return void 0!==t&&null!==t&&(r.only=t),void 0!==n&&null!==n&&(r.triggerKind=n),r},e.is=function(e){let t=e;return He.defined(t)&&He.typedArray(t.diagnostics,I.is)&&(void 0===t.only||He.typedArray(t.only,He.string))&&(void 0===t.triggerKind||t.triggerKind===fe.Invoked||t.triggerKind===fe.Automatic)}}(he||(he={})),function(e){e.create=function(e,t,n){let r={title:e},o=!0;return"string"===typeof t?(o=!1,r.kind=t):D.is(t)?r.command=t:r.edit=t,o&&void 0!==n&&(r.kind=n),r},e.is=function(e){let t=e;return t&&He.string(t.title)&&(void 0===t.diagnostics||He.typedArray(t.diagnostics,I.is))&&(void 0===t.kind||He.string(t.kind))&&(void 0!==t.edit||void 0!==t.command)&&(void 0===t.command||D.is(t.command))&&(void 0===t.isPreferred||He.boolean(t.isPreferred))&&(void 0===t.edit||U.is(t.edit))}}(me||(me={})),function(e){e.create=function(e,t){let n={range:e};return He.defined(t)&&(n.data=t),n},e.is=function(e){let t=e;return He.defined(t)&&g.is(t.range)&&(He.undefined(t.command)||D.is(t.command))}}(ve||(ve={})),function(e){e.create=function(e,t){return{tabSize:e,insertSpaces:t}},e.is=function(e){let t=e;return He.defined(t)&&He.uinteger(t.tabSize)&&He.boolean(t.insertSpaces)}}(ye||(ye={})),function(e){e.create=function(e,t,n){return{range:e,target:t,data:n}},e.is=function(e){let t=e;return He.defined(t)&&g.is(t.range)&&(He.undefined(t.target)||He.string(t.target))}}(ge||(ge={})),function(e){e.create=function(e,t){return{range:e,parent:t}},e.is=function(t){let n=t;return He.objectLiteral(n)&&g.is(n.range)&&(void 0===n.parent||e.is(n.parent))}}(be||(be={})),function(e){e.namespace="namespace",e.type="type",e.class="class",e.enum="enum",e.interface="interface",e.struct="struct",e.typeParameter="typeParameter",e.parameter="parameter",e.variable="variable",e.property="property",e.enumMember="enumMember",e.event="event",e.function="function",e.method="method",e.macro="macro",e.keyword="keyword",e.modifier="modifier",e.comment="comment",e.string="string",e.number="number",e.regexp="regexp",e.operator="operator",e.decorator="decorator"}(Ee||(Ee={})),function(e){e.declaration="declaration",e.definition="definition",e.readonly="readonly",e.static="static",e.deprecated="deprecated",e.abstract="abstract",e.async="async",e.modification="modification",e.documentation="documentation",e.defaultLibrary="defaultLibrary"}(_e||(_e={})),function(e){e.is=function(e){const t=e;return He.objectLiteral(t)&&(void 0===t.resultId||"string"===typeof t.resultId)&&Array.isArray(t.data)&&(0===t.data.length||"number"===typeof t.data[0])}}(Te||(Te={})),function(e){e.create=function(e,t){return{range:e,text:t}},e.is=function(e){const t=e;return void 0!==t&&null!==t&&g.is(t.range)&&He.string(t.text)}}(ke||(ke={})),function(e){e.create=function(e,t,n){return{range:e,variableName:t,caseSensitiveLookup:n}},e.is=function(e){const t=e;return void 0!==t&&null!==t&&g.is(t.range)&&He.boolean(t.caseSensitiveLookup)&&(He.string(t.variableName)||void 0===t.variableName)}}(we||(we={})),function(e){e.create=function(e,t){return{range:e,expression:t}},e.is=function(e){const t=e;return void 0!==t&&null!==t&&g.is(t.range)&&(He.string(t.expression)||void 0===t.expression)}}(Se||(Se={})),function(e){e.create=function(e,t){return{frameId:e,stoppedLocation:t}},e.is=function(e){const t=e;return He.defined(t)&&g.is(e.stoppedLocation)}}(Ae||(Ae={})),function(e){e.Type=1,e.Parameter=2,e.is=function(e){return 1===e||2===e}}(Ne||(Ne={})),function(e){e.create=function(e){return{value:e}},e.is=function(e){const t=e;return He.objectLiteral(t)&&(void 0===t.tooltip||He.string(t.tooltip)||G.is(t.tooltip))&&(void 0===t.location||b.is(t.location))&&(void 0===t.command||D.is(t.command))}}(Ce||(Ce={})),function(e){e.create=function(e,t,n){const r={position:e,label:t};return void 0!==n&&(r.kind=n),r},e.is=function(e){const t=e;return He.objectLiteral(t)&&y.is(t.position)&&(He.string(t.label)||He.typedArray(t.label,Ce.is))&&(void 0===t.kind||Ne.is(t.kind))&&void 0===t.textEdits||He.typedArray(t.textEdits,x.is)&&(void 0===t.tooltip||He.string(t.tooltip)||G.is(t.tooltip))&&(void 0===t.paddingLeft||He.boolean(t.paddingLeft))&&(void 0===t.paddingRight||He.boolean(t.paddingRight))}}(Oe||(Oe={})),function(e){e.createSnippet=function(e){return{kind:"snippet",value:e}}}(Ie||(Ie={})),function(e){e.create=function(e,t,n,r){return{insertText:e,filterText:t,range:n,command:r}}}(De||(De={})),function(e){e.create=function(e){return{items:e}}}(xe||(xe={})),function(e){e.Invoked=0,e.Automatic=1}(Re||(Re={})),function(e){e.create=function(e,t){return{range:e,text:t}}}(Fe||(Fe={})),function(e){e.create=function(e,t){return{triggerKind:e,selectedCompletionInfo:t}}}(Pe||(Pe={})),function(e){e.is=function(e){const t=e;return He.objectLiteral(t)&&h.is(t.uri)&&He.string(t.name)}}(Le||(Le={}));var Be,He;!function(e){function t(e,n){if(e.length<=1)return e;const r=e.length/2|0,o=e.slice(0,r),i=e.slice(r);t(o,n),t(i,n);let a=0,s=0,l=0;for(;a<o.length&&s<i.length;){let t=n(o[a],i[s]);e[l++]=t<=0?o[a++]:i[s++]}for(;a<o.length;)e[l++]=o[a++];for(;s<i.length;)e[l++]=i[s++];return e}e.create=function(e,t,n,r){return new Ye(e,t,n,r)},e.is=function(e){let t=e;return!!(He.defined(t)&&He.string(t.uri)&&(He.undefined(t.languageId)||He.string(t.languageId))&&He.uinteger(t.lineCount)&&He.func(t.getText)&&He.func(t.positionAt)&&He.func(t.offsetAt))},e.applyEdits=function(e,n){let r=e.getText(),o=t(n,((e,t)=>{let n=e.range.start.line-t.range.start.line;return 0===n?e.range.start.character-t.range.start.character:n})),i=r.length;for(let t=o.length-1;t>=0;t--){let n=o[t],a=e.offsetAt(n.range.start),s=e.offsetAt(n.range.end);if(!(s<=i))throw new Error("Overlapping edit");r=r.substring(0,a)+n.newText+r.substring(s,r.length),i=a}return r}}(Be||(Be={}));class Ye{constructor(e,t,n,r){this._uri=e,this._languageId=t,this._version=n,this._content=r,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let t=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(t,n)}return this._content}update(e,t){this._content=e.text,this._version=t,this._lineOffsets=void 0}getLineOffsets(){if(void 0===this._lineOffsets){let e=[],t=this._content,n=!0;for(let r=0;r<t.length;r++){n&&(e.push(r),n=!1);let o=t.charAt(r);n="\r"===o||"\n"===o,"\r"===o&&r+1<t.length&&"\n"===t.charAt(r+1)&&r++}n&&t.length>0&&e.push(t.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let t=this.getLineOffsets(),n=0,r=t.length;if(0===r)return y.create(0,e);for(;n<r;){let o=Math.floor((n+r)/2);t[o]>e?r=o:n=o+1}let o=n-1;return y.create(o,e-t[o])}offsetAt(e){let t=this.getLineOffsets();if(e.line>=t.length)return this._content.length;if(e.line<0)return 0;let n=t[e.line],r=e.line+1<t.length?t[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,r),n)}get lineCount(){return this.getLineOffsets().length}}!function(e){const t=Object.prototype.toString;e.defined=function(e){return"undefined"!==typeof e},e.undefined=function(e){return"undefined"===typeof e},e.boolean=function(e){return!0===e||!1===e},e.string=function(e){return"[object String]"===t.call(e)},e.number=function(e){return"[object Number]"===t.call(e)},e.numberRange=function(e,n,r){return"[object Number]"===t.call(e)&&n<=e&&e<=r},e.integer=function(e){return"[object Number]"===t.call(e)&&-2147483648<=e&&e<=2147483647},e.uinteger=function(e){return"[object Number]"===t.call(e)&&0<=e&&e<=2147483647},e.func=function(e){return"[object Function]"===t.call(e)},e.objectLiteral=function(e){return null!==e&&"object"===typeof e},e.typedArray=function(e,t){return Array.isArray(e)&&e.every(t)}}(He||(He={}));const Ge={Created:1,Changed:2,Deleted:3};var Qe;!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}(Qe||(Qe={}));class Ke{constructor(e){var t=this;this._start=0,this._pos=0,this.getStartOfToken=()=>this._start,this.getCurrentPosition=()=>this._pos,this.eol=()=>this._sourceText.length===this._pos,this.sol=()=>0===this._pos,this.peek=()=>this._sourceText.charAt(this._pos)||null,this.next=()=>{const e=this._sourceText.charAt(this._pos);return this._pos++,e},this.eat=e=>{if(this._testNextCharacter(e))return this._start=this._pos,this._pos++,this._sourceText.charAt(this._pos-1)},this.eatWhile=e=>{let t=this._testNextCharacter(e),n=!1;for(t&&(n=t,this._start=this._pos);t;)this._pos++,t=this._testNextCharacter(e),n=!0;return n},this.eatSpace=()=>this.eatWhile(/[\s\u00a0]/),this.skipToEnd=()=>{this._pos=this._sourceText.length},this.skipTo=e=>{this._pos=e},this.match=function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=null,o=null;if("string"===typeof e){o=new RegExp(e,arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"i":"g").test(t._sourceText.slice(t._pos,t._pos+e.length)),r=e}else e instanceof RegExp&&(o=t._sourceText.slice(t._pos).match(e),r=null===o||void 0===o?void 0:o[0]);return!(null==o||!("string"===typeof e||o instanceof Array&&t._sourceText.startsWith(o[0],t._pos)))&&(n&&(t._start=t._pos,r&&r.length&&(t._pos+=r.length)),o)},this.backUp=e=>{this._pos-=e},this.column=()=>this._pos,this.indentation=()=>{const e=this._sourceText.match(/\s*/);let t=0;if(e&&0!==e.length){const n=e[0];let r=0;for(;n.length>r;)9===n.charCodeAt(r)?t+=2:t++,r++}return t},this.current=()=>this._sourceText.slice(this._start,this._pos),this._sourceText=e}_testNextCharacter(e){const t=this._sourceText.charAt(this._pos);let n=!1;return n="string"===typeof e?t===e:e instanceof RegExp?e.test(t):e(t),n}}function We(e){return{ofRule:e}}function Je(e,t){return{ofRule:e,isList:!0,separator:t}}function $e(e,t){return{style:t,match:t=>t.kind===e}}function Xe(e,t){return{style:t||"punctuation",match:t=>"Punctuation"===t.kind&&t.value===e}}const Ze=e=>" "===e||"\t"===e||","===e||"\n"===e||"\r"===e||"\ufeff"===e||"\xa0"===e,et={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:/^#.*/},tt={Document:[Je("Definition")],Definition(e){switch(e.value){case"{":return"ShortQuery";case"query":return"Query";case"mutation":return"Mutation";case"subscription":return"Subscription";case"fragment":return Ve.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:[rt("query"),We(ot("def")),We("VariableDefinitions"),Je("Directive"),"SelectionSet"],Mutation:[rt("mutation"),We(ot("def")),We("VariableDefinitions"),Je("Directive"),"SelectionSet"],Subscription:[rt("subscription"),We(ot("def")),We("VariableDefinitions"),Je("Directive"),"SelectionSet"],VariableDefinitions:[Xe("("),Je("VariableDefinition"),Xe(")")],VariableDefinition:["Variable",Xe(":"),"Type",We("DefaultValue")],Variable:[Xe("$","variable"),ot("variable")],DefaultValue:[Xe("="),"Value"],SelectionSet:[Xe("{"),Je("Selection"),Xe("}")],Selection:(e,t)=>"..."===e.value?t.match(/[\s\u00a0,]*(on\b|@|{)/,!1)?"InlineFragment":"FragmentSpread":t.match(/[\s\u00a0,]*:/,!1)?"AliasedField":"Field",AliasedField:[ot("property"),Xe(":"),ot("qualifier"),We("Arguments"),Je("Directive"),We("SelectionSet")],Field:[ot("property"),We("Arguments"),Je("Directive"),We("SelectionSet")],Arguments:[Xe("("),Je("Argument"),Xe(")")],Argument:[ot("attribute"),Xe(":"),"Value"],FragmentSpread:[Xe("..."),ot("def"),Je("Directive")],InlineFragment:[Xe("..."),We("TypeCondition"),Je("Directive"),"SelectionSet"],FragmentDefinition:[rt("fragment"),We(function(e,t){const n=e.match;return e.match=e=>{let r=!1;return n&&(r=n(e)),r&&t.every((t=>t.match&&!t.match(e)))},e}(ot("def"),[rt("on")])),"TypeCondition",Je("Directive"),"SelectionSet"],TypeCondition:[rt("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:[$e("Number","number")],StringValue:[{style:"string",match:e=>"String"===e.kind,update(e,t){t.value.startsWith('"""')&&(e.inBlockstring=!t.value.slice(3).endsWith('"""'))}}],BooleanValue:[$e("Name","builtin")],NullValue:[$e("Name","keyword")],EnumValue:[ot("string-2")],ListValue:[Xe("["),Je("Value"),Xe("]")],ObjectValue:[Xe("{"),Je("ObjectField"),Xe("}")],ObjectField:[ot("attribute"),Xe(":"),"Value"],Type:e=>"["===e.value?"ListType":"NonNullType",ListType:[Xe("["),"Type",Xe("]"),We(Xe("!"))],NonNullType:["NamedType",We(Xe("!"))],NamedType:[(nt="atom",{style:nt,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)}})],Directive:[Xe("@","meta"),ot("meta"),We("Arguments")],DirectiveDef:[rt("directive"),Xe("@","meta"),ot("meta"),We("ArgumentsDef"),rt("on"),Je("DirectiveLocation",Xe("|"))],InterfaceDef:[rt("interface"),ot("atom"),We("Implements"),Je("Directive"),Xe("{"),Je("FieldDef"),Xe("}")],Implements:[rt("implements"),Je("NamedType",Xe("&"))],DirectiveLocation:[ot("string-2")],SchemaDef:[rt("schema"),Je("Directive"),Xe("{"),Je("OperationTypeDef"),Xe("}")],OperationTypeDef:[ot("keyword"),Xe(":"),ot("atom")],ScalarDef:[rt("scalar"),ot("atom"),Je("Directive")],ObjectTypeDef:[rt("type"),ot("atom"),We("Implements"),Je("Directive"),Xe("{"),Je("FieldDef"),Xe("}")],FieldDef:[ot("property"),We("ArgumentsDef"),Xe(":"),"Type",Je("Directive")],ArgumentsDef:[Xe("("),Je("InputValueDef"),Xe(")")],InputValueDef:[ot("attribute"),Xe(":"),"Type",We("DefaultValue"),Je("Directive")],UnionDef:[rt("union"),ot("atom"),Je("Directive"),Xe("="),Je("UnionMember",Xe("|"))],UnionMember:["NamedType"],EnumDef:[rt("enum"),ot("atom"),Je("Directive"),Xe("{"),Je("EnumValueDef"),Xe("}")],EnumValueDef:[ot("string-2"),Je("Directive")],InputDef:[rt("input"),ot("atom"),Je("Directive"),Xe("{"),Je("InputValueDef"),Xe("}")],ExtendDef:[rt("extend"),"ExtensionDefinition"],ExtensionDefinition(e){switch(e.value){case"schema":return Ve.b.SCHEMA_EXTENSION;case"scalar":return Ve.b.SCALAR_TYPE_EXTENSION;case"type":return Ve.b.OBJECT_TYPE_EXTENSION;case"interface":return Ve.b.INTERFACE_TYPE_EXTENSION;case"union":return Ve.b.UNION_TYPE_EXTENSION;case"enum":return Ve.b.ENUM_TYPE_EXTENSION;case"input":return Ve.b.INPUT_OBJECT_TYPE_EXTENSION}},[Ve.b.SCHEMA_EXTENSION]:["SchemaDef"],[Ve.b.SCALAR_TYPE_EXTENSION]:["ScalarDef"],[Ve.b.OBJECT_TYPE_EXTENSION]:["ObjectTypeDef"],[Ve.b.INTERFACE_TYPE_EXTENSION]:["InterfaceDef"],[Ve.b.UNION_TYPE_EXTENSION]:["UnionDef"],[Ve.b.ENUM_TYPE_EXTENSION]:["EnumDef"],[Ve.b.INPUT_OBJECT_TYPE_EXTENSION]:["InputDef"]};var nt;function rt(e){return{style:"keyword",match:t=>"Name"===t.kind&&t.value===e}}function ot(e){return{style:e,match:e=>"Name"===e.kind,update(e,t){e.name=t.value}}}function it(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{eatWhitespace:e=>e.eatWhile(Ze),lexRules:et,parseRules:tt,editorConfig:{}};return{startState(){const t={level:0,step:0,name:null,kind:null,type:null,rule:null,needsSeparator:!1,prevState:null};return lt(e.parseRules,t,Ve.b.DOCUMENT),t},token:(t,n)=>function(e,t,n){var r;if(t.inBlockstring)return e.match(/.*"""/)?(t.inBlockstring=!1,"string"):(e.skipToEnd(),"string");const{lexRules:o,parseRules:i,eatWhitespace:a,editorConfig:s}=n;t.rule&&0===t.rule.length?ct(t):t.needsAdvance&&(t.needsAdvance=!1,ut(t,!0));if(e.sol()){const n=(null===s||void 0===s?void 0:s.tabSize)||2;t.indentLevel=Math.floor(e.indentation()/n)}if(a(e))return"ws";const l=function(e,t){const n=Object.keys(e);for(let r=0;r<n.length;r++){const o=t.match(e[n[r]]);if(o&&o instanceof Array)return{kind:n[r],value:o[0]}}}(o,e);if(!l){return e.match(/\S+/)||e.match(/\s/),lt(st,t,"Invalid"),"invalidchar"}if("Comment"===l.kind)return lt(st,t,"Comment"),"comment";const c=at({},t);if("Punctuation"===l.kind)if(/^[{([]/.test(l.value))void 0!==t.indentLevel&&(t.levels=(t.levels||[]).concat(t.indentLevel+1));else if(/^[})\]]/.test(l.value)){const e=t.levels=(t.levels||[]).slice(0,-1);t.indentLevel&&e.length>0&&e.at(-1)<t.indentLevel&&(t.indentLevel=e.at(-1))}for(;t.rule;){let n="function"===typeof t.rule?0===t.step?t.rule(l,e):null:t.rule[t.step];if(t.needsSeparator&&(n=null===n||void 0===n?void 0:n.separator),n){if(n.ofRule&&(n=n.ofRule),"string"===typeof n){lt(i,t,n);continue}if(null===(r=n.match)||void 0===r?void 0:r.call(n,l))return n.update&&n.update(t,l),"Punctuation"===l.kind?ut(t,!0):t.needsAdvance=!0,n.style}dt(t)}return at(t,c),lt(st,t,"Invalid"),"invalidchar"}(t,n,e)}}function at(e,t){const n=Object.keys(t);for(let r=0;r<n.length;r++)e[n[r]]=t[n[r]];return e}const st={Invalid:[],Comment:[]};function lt(e,t,n){if(!e[n])throw new TypeError("Unknown rule: "+n);t.prevState=Object.assign({},t),t.kind=n,t.name=null,t.type=null,t.rule=e[n],t.step=0,t.needsSeparator=!1}function ct(e){e.prevState&&(e.kind=e.prevState.kind,e.name=e.prevState.name,e.type=e.prevState.type,e.rule=e.prevState.rule,e.step=e.prevState.step,e.needsSeparator=e.prevState.needsSeparator,e.prevState=e.prevState.prevState)}function ut(e,t){var n;if(pt(e)&&e.rule){const n=e.rule[e.step];if(n.separator){const{separator:t}=n;if(e.needsSeparator=!e.needsSeparator,!e.needsSeparator&&t.ofRule)return}if(t)return}for(e.needsSeparator=!1,e.step++;e.rule&&!(Array.isArray(e.rule)&&e.step<e.rule.length);)ct(e),e.rule&&(pt(e)?(null===(n=e.rule)||void 0===n?void 0:n[e.step].separator)&&(e.needsSeparator=!e.needsSeparator):(e.needsSeparator=!1,e.step++))}function pt(e){const t=Array.isArray(e.rule)&&"string"!==typeof e.rule[e.step]&&e.rule[e.step];return t&&t.isList}function dt(e){for(;e.rule&&(!Array.isArray(e.rule)||!e.rule[e.step].ofRule);)ct(e);e.rule&&ut(e,!1)}const ft=Object.assign(Object.assign({},Ve.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",EXTENSION_DEFINITION:"ExtensionDefinition",DIRECTIVE_DEF:"DirectiveDef",IMPLEMENTS:"Implements",VARIABLE_DEFINITIONS:"VariableDefinitions",TYPE:"Type"}),ht={command:"editor.action.triggerSuggest",title:"Suggestions"},mt=e=>{const t=[];if(e)try{(0,Me.YR)((0,je.qg)(e),{FragmentDefinition(e){t.push(e)}})}catch(n){return[]}return t},vt=[Ve.b.SCHEMA_DEFINITION,Ve.b.OPERATION_TYPE_DEFINITION,Ve.b.SCALAR_TYPE_DEFINITION,Ve.b.OBJECT_TYPE_DEFINITION,Ve.b.INTERFACE_TYPE_DEFINITION,Ve.b.UNION_TYPE_DEFINITION,Ve.b.ENUM_TYPE_DEFINITION,Ve.b.INPUT_OBJECT_TYPE_DEFINITION,Ve.b.DIRECTIVE_DEFINITION,Ve.b.SCHEMA_EXTENSION,Ve.b.SCALAR_TYPE_EXTENSION,Ve.b.OBJECT_TYPE_EXTENSION,Ve.b.INTERFACE_TYPE_EXTENSION,Ve.b.UNION_TYPE_EXTENSION,Ve.b.ENUM_TYPE_EXTENSION,Ve.b.INPUT_OBJECT_TYPE_EXTENSION],yt=e=>{let t=!1;if(e)try{(0,Me.YR)((0,je.qg)(e),{enter(e){if("Document"!==e.kind)return!!vt.includes(e.kind)&&(t=!0,Me.sP)}})}catch(n){return t}return t};function gt(e,t,n,a,s,u){var p;const d=Object.assign(Object.assign({},u),{schema:e}),f=a||wt(t,n,1),h="Invalid"===f.state.kind?f.state.prevState:f.state,m=(null===u||void 0===u?void 0:u.mode)||function(e,t){if(null===t||void 0===t?void 0:t.endsWith(".graphqls"))return Ct.TYPE_SYSTEM;return yt(e)?Ct.TYPE_SYSTEM:Ct.EXECUTABLE}(t,null===u||void 0===u?void 0:u.uri);if(!h)return[];const{kind:v,step:y,prevState:g}=h,b=Nt(e,f.state);if(v===ft.DOCUMENT)return m===Ct.TYPE_SYSTEM?function(e){return c(e,[{label:"extend",kind:Qe.Function},{label:"type",kind:Qe.Function},{label:"interface",kind:Qe.Function},{label:"union",kind:Qe.Function},{label:"input",kind:Qe.Function},{label:"scalar",kind:Qe.Function},{label:"schema",kind:Qe.Function}])}(f):function(e){return c(e,[{label:"query",kind:Qe.Function},{label:"mutation",kind:Qe.Function},{label:"subscription",kind:Qe.Function},{label:"fragment",kind:Qe.Function},{label:"{",kind:Qe.Constructor}])}(f);if(v===ft.EXTEND_DEF)return function(e){return c(e,[{label:"type",kind:Qe.Function},{label:"interface",kind:Qe.Function},{label:"union",kind:Qe.Function},{label:"input",kind:Qe.Function},{label:"scalar",kind:Qe.Function},{label:"schema",kind:Qe.Function}])}(f);if((null===(p=null===g||void 0===g?void 0:g.prevState)||void 0===p?void 0:p.kind)===ft.EXTENSION_DEFINITION&&h.name)return c(f,[]);if((null===g||void 0===g?void 0:g.kind)===Ve.b.SCALAR_TYPE_EXTENSION)return c(f,Object.values(e.getTypeMap()).filter(o.lg).map((e=>({label:e.name,kind:Qe.Function}))));if((null===g||void 0===g?void 0:g.kind)===Ve.b.OBJECT_TYPE_EXTENSION)return c(f,Object.values(e.getTypeMap()).filter((e=>(0,o.YQ)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:Qe.Function}))));if((null===g||void 0===g?void 0:g.kind)===Ve.b.INTERFACE_TYPE_EXTENSION)return c(f,Object.values(e.getTypeMap()).filter(o.kD).map((e=>({label:e.name,kind:Qe.Function}))));if((null===g||void 0===g?void 0:g.kind)===Ve.b.UNION_TYPE_EXTENSION)return c(f,Object.values(e.getTypeMap()).filter(o.CK).map((e=>({label:e.name,kind:Qe.Function}))));if((null===g||void 0===g?void 0:g.kind)===Ve.b.ENUM_TYPE_EXTENSION)return c(f,Object.values(e.getTypeMap()).filter((e=>(0,o.oF)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:Qe.Function}))));if((null===g||void 0===g?void 0:g.kind)===Ve.b.INPUT_OBJECT_TYPE_EXTENSION)return c(f,Object.values(e.getTypeMap()).filter(o.qK).map((e=>({label:e.name,kind:Qe.Function}))));if(v===ft.IMPLEMENTS||v===ft.NAMED_TYPE&&(null===g||void 0===g?void 0:g.kind)===ft.IMPLEMENTS)return function(e,t,n,r,i){if(t.needsSeparator)return[];const a=n.getTypeMap(),s=l(a).filter(o.kD),u=s.map((e=>{let{name:t}=e;return t})),p=new Set;St(r,((e,t)=>{var r,a,s,l,c;if(t.name&&(t.kind!==ft.INTERFACE_DEF||u.includes(t.name)||p.add(t.name),t.kind===ft.NAMED_TYPE&&(null===(r=t.prevState)||void 0===r?void 0:r.kind)===ft.IMPLEMENTS))if(i.interfaceDef){if(null===(a=i.interfaceDef)||void 0===a?void 0:a.getInterfaces().find((e=>{let{name:n}=e;return n===t.name})))return;const e=n.getType(t.name),r=null===(s=i.interfaceDef)||void 0===s?void 0:s.toConfig();i.interfaceDef=new o.VA(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new o.VA({name:t.name,fields:{}})]}))}else if(i.objectTypeDef){if(null===(l=i.objectTypeDef)||void 0===l?void 0:l.getInterfaces().find((e=>{let{name:n}=e;return n===t.name})))return;const e=n.getType(t.name),r=null===(c=i.objectTypeDef)||void 0===c?void 0:c.toConfig();i.objectTypeDef=new o.bh(Object.assign(Object.assign({},r),{interfaces:[...r.interfaces,e||new o.VA({name:t.name,fields:{}})]}))}}));const d=i.interfaceDef||i.objectTypeDef,f=((null===d||void 0===d?void 0:d.getInterfaces())||[]).map((e=>{let{name:t}=e;return t})),h=s.concat([...p].map((e=>({name:e})))).filter((e=>{let{name:t}=e;return t!==(null===d||void 0===d?void 0:d.name)&&!f.includes(t)}));return c(e,h.map((e=>{const t={label:e.name,kind:Qe.Interface,type:e};return(null===e||void 0===e?void 0:e.description)&&(t.documentation=e.description),t})))}(f,h,e,t,b);if(v===ft.SELECTION_SET||v===ft.FIELD||v===ft.ALIASED_FIELD)return function(e,t,n){var i;if(t.parentType){const{parentType:a}=t;let s=[];return"getFields"in a&&(s=l(a.getFields())),(0,o.ML)(a)&&s.push(r.TypeNameMetaFieldDef),a===(null===(i=null===n||void 0===n?void 0:n.schema)||void 0===i?void 0:i.getQueryType())&&s.push(r.SchemaMetaFieldDef,r.TypeMetaFieldDef),c(e,s.map(((e,t)=>{var r;const o={sortText:String(t)+e.name,label:e.name,detail:String(e.type),documentation:null!==(r=e.description)&&void 0!==r?r:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:Qe.Field,type:e.type};if(null===n||void 0===n?void 0:n.fillLeafsOnComplete){const t=Et(e);t&&(o.insertText=e.name+t,o.insertTextFormat=K.Snippet,o.command=ht)}return o})))}return[]}(f,b,d);if(v===ft.ARGUMENTS||v===ft.ARGUMENT&&0===y){const{argDefs:e}=b;if(e)return c(f,e.map((e=>{var t;return{label:e.name,insertText:e.name+": ",command:ht,detail:String(e.type),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,kind:Qe.Variable,type:e.type}})))}if((v===ft.OBJECT_VALUE||v===ft.OBJECT_FIELD&&0===y)&&b.objectFieldDefs){const e=l(b.objectFieldDefs),t=v===ft.OBJECT_VALUE?Qe.Value:Qe.Field;return c(f,e.map((e=>{var n;return{label:e.name,detail:String(e.type),documentation:null!==(n=e.description)&&void 0!==n?n:void 0,kind:t,type:e.type}})))}if(v===ft.ENUM_VALUE||v===ft.LIST_VALUE&&1===y||v===ft.OBJECT_FIELD&&2===y||v===ft.ARGUMENT&&2===y)return function(e,t,n,r){const i=(0,o.MR)(t.inputType),a=Tt(n,r,e).filter((e=>e.detail===i.name));if(i instanceof o.Zb){return c(e,i.getValues().map((e=>{var t;return{label:e.name,detail:String(i),documentation:null!==(t=e.description)&&void 0!==t?t:void 0,deprecated:Boolean(e.deprecationReason),isDeprecated:Boolean(e.deprecationReason),deprecationReason:e.deprecationReason,kind:Qe.EnumMember,type:i}})).concat(a))}if(i===Ue.kk)return c(e,a.concat([{label:"true",detail:String(Ue.kk),documentation:"Not false.",kind:Qe.Variable,type:Ue.kk},{label:"false",detail:String(Ue.kk),documentation:"Not true.",kind:Qe.Variable,type:Ue.kk}]));return a}(f,b,t,e);if(v===ft.VARIABLE&&1===y){const n=(0,o.MR)(b.inputType);return c(f,Tt(t,e,f).filter((e=>e.detail===(null===n||void 0===n?void 0:n.name))))}if(v===ft.TYPE_CONDITION&&1===y||v===ft.NAMED_TYPE&&null!=g&&g.kind===ft.TYPE_CONDITION)return function(e,t,n){let r;if(t.parentType)if((0,o.Lc)(t.parentType)){const e=(0,o.N_)(t.parentType),i=n.getPossibleTypes(e),a=Object.create(null);for(const t of i)for(const e of t.getInterfaces())a[e.name]=e;r=i.concat(l(a))}else r=[t.parentType];else{r=l(n.getTypeMap()).filter((e=>(0,o.ML)(e)&&!e.name.startsWith("__")))}return c(e,r.map((e=>{const t=(0,o.MR)(e);return{label:String(e),documentation:(null===t||void 0===t?void 0:t.description)||"",kind:Qe.Field}})))}(f,b,e);if(v===ft.FRAGMENT_SPREAD&&1===y)return function(e,t,n,r,a){if(!r)return[];const s=n.getTypeMap(),l=i(e.state),u=kt(r);a&&a.length>0&&u.push(...a);const p=u.filter((e=>s[e.typeCondition.name.value]&&!(l&&l.kind===ft.FRAGMENT_DEFINITION&&l.name===e.name.value)&&(0,o.ML)(t.parentType)&&(0,o.ML)(s[e.typeCondition.name.value])&&(0,qe.uI)(n,t.parentType,s[e.typeCondition.name.value])));return c(e,p.map((e=>({label:e.name.value,detail:String(s[e.typeCondition.name.value]),documentation:`fragment ${e.name.value} on ${e.typeCondition.name.value}`,kind:Qe.Field,type:s[e.typeCondition.name.value]}))))}(f,b,e,t,Array.isArray(s)?s:mt(s));const E=Ot(h);if(m===Ct.TYPE_SYSTEM&&!E.needsAdvance&&v===ft.NAMED_TYPE||v===ft.LIST_TYPE){if(E.kind===ft.FIELD_DEF)return c(f,Object.values(e.getTypeMap()).filter((e=>(0,o.oH)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:Qe.Function}))));if(E.kind===ft.INPUT_VALUE_DEF)return c(f,Object.values(e.getTypeMap()).filter((e=>(0,o.dX)(e)&&!e.name.startsWith("__"))).map((e=>({label:e.name,kind:Qe.Function}))))}return v===ft.VARIABLE_DEFINITION&&2===y||v===ft.LIST_TYPE&&1===y||v===ft.NAMED_TYPE&&g&&(g.kind===ft.VARIABLE_DEFINITION||g.kind===ft.LIST_TYPE||g.kind===ft.NON_NULL_TYPE)?function(e,t){const n=t.getTypeMap(),r=l(n).filter(o.dX);return c(e,r.map((e=>({label:e.name,documentation:e.description,kind:Qe.Variable}))))}(f,e):v===ft.DIRECTIVE?function(e,t,n){var r;if(null===(r=t.prevState)||void 0===r?void 0:r.kind){return c(e,n.getDirectives().filter((e=>At(t.prevState,e))).map((e=>({label:e.name,documentation:e.description||"",kind:Qe.Function}))))}return[]}(f,h,e):[]}const bt=" {\n  $1\n}",Et=e=>{const{type:t}=e;if((0,o.ML)(t))return bt;if((0,o.Fs)(t)&&(0,o.ML)(t.ofType))return bt;if((0,o.bd)(t)){if((0,o.ML)(t.ofType))return bt;if((0,o.Fs)(t.ofType)&&(0,o.ML)(t.ofType.ofType))return bt}return null};const _t=(e,t)=>{var n,r,o,i,a,s,l,c,u,p;return(null===(n=e.prevState)||void 0===n?void 0:n.kind)===t?e.prevState:(null===(o=null===(r=e.prevState)||void 0===r?void 0:r.prevState)||void 0===o?void 0:o.kind)===t?e.prevState.prevState:(null===(s=null===(a=null===(i=e.prevState)||void 0===i?void 0:i.prevState)||void 0===a?void 0:a.prevState)||void 0===s?void 0:s.kind)===t?e.prevState.prevState.prevState:(null===(p=null===(u=null===(c=null===(l=e.prevState)||void 0===l?void 0:l.prevState)||void 0===c?void 0:c.prevState)||void 0===u?void 0:u.prevState)||void 0===p?void 0:p.kind)===t?e.prevState.prevState.prevState.prevState:void 0};function Tt(e,t,n){let r,o=null;const i=Object.create({});return St(e,((e,a)=>{if((null===a||void 0===a?void 0:a.kind)===ft.VARIABLE&&a.name&&(o=a.name),(null===a||void 0===a?void 0:a.kind)===ft.NAMED_TYPE&&o){const e=_t(a,ft.TYPE);(null===e||void 0===e?void 0:e.type)&&(r=t.getType(null===e||void 0===e?void 0:e.type))}o&&r&&!i[o]&&(i[o]={detail:r.toString(),insertText:"$"===n.string?o:"$"+o,label:o,type:r,kind:Qe.Variable},o=null,r=null)})),l(i)}function kt(e){const t=[];return St(e,((e,n)=>{n.kind===ft.FRAGMENT_DEFINITION&&n.name&&n.type&&t.push({kind:ft.FRAGMENT_DEFINITION,name:{kind:Ve.b.NAME,value:n.name},selectionSet:{kind:ft.SELECTION_SET,selections:[]},typeCondition:{kind:ft.NAMED_TYPE,name:{kind:Ve.b.NAME,value:n.type}}})})),t}function wt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=null,o=null,i=null;const a=St(e,((e,a,s,l)=>{if(!(l!==t.line||e.getCurrentPosition()+n<t.character+1))return r=s,o=Object.assign({},a),i=e.current(),"BREAK"}));return{start:a.start,end:a.end,string:i||a.string,state:o||a.state,style:r||a.style}}function St(e,t){const n=e.split("\n"),r=it();let o=r.startState(),i="",a=new Ke("");for(let s=0;s<n.length;s++){for(a=new Ke(n[s]);!a.eol();){i=r.token(a,o);if("BREAK"===t(a,o,i,s))break}t(a,o,i,s),o.kind||(o=r.startState())}return{start:a.getStartOfToken(),end:a.getCurrentPosition(),string:a.current(),state:o,style:i}}function At(e,t){if(!(null===e||void 0===e?void 0:e.kind))return!1;const{kind:n,prevState:r}=e,{locations:o}=t;switch(n){case ft.QUERY:return o.includes(ze.H.QUERY);case ft.MUTATION:return o.includes(ze.H.MUTATION);case ft.SUBSCRIPTION:return o.includes(ze.H.SUBSCRIPTION);case ft.FIELD:case ft.ALIASED_FIELD:return o.includes(ze.H.FIELD);case ft.FRAGMENT_DEFINITION:return o.includes(ze.H.FRAGMENT_DEFINITION);case ft.FRAGMENT_SPREAD:return o.includes(ze.H.FRAGMENT_SPREAD);case ft.INLINE_FRAGMENT:return o.includes(ze.H.INLINE_FRAGMENT);case ft.SCHEMA_DEF:return o.includes(ze.H.SCHEMA);case ft.SCALAR_DEF:return o.includes(ze.H.SCALAR);case ft.OBJECT_TYPE_DEF:return o.includes(ze.H.OBJECT);case ft.FIELD_DEF:return o.includes(ze.H.FIELD_DEFINITION);case ft.INTERFACE_DEF:return o.includes(ze.H.INTERFACE);case ft.UNION_DEF:return o.includes(ze.H.UNION);case ft.ENUM_DEF:return o.includes(ze.H.ENUM);case ft.ENUM_VALUE:return o.includes(ze.H.ENUM_VALUE);case ft.INPUT_DEF:return o.includes(ze.H.INPUT_OBJECT);case ft.INPUT_VALUE_DEF:switch(null===r||void 0===r?void 0:r.kind){case ft.ARGUMENTS_DEF:return o.includes(ze.H.ARGUMENT_DEFINITION);case ft.INPUT_DEF:return o.includes(ze.H.INPUT_FIELD_DEFINITION)}}return!1}function Nt(e,t){let n,r,i,l,c,u,p,d,f,h,m;return s(t,(t=>{var s;switch(t.kind){case ft.QUERY:case"ShortQuery":h=e.getQueryType();break;case ft.MUTATION:h=e.getMutationType();break;case ft.SUBSCRIPTION:h=e.getSubscriptionType();break;case ft.INLINE_FRAGMENT:case ft.FRAGMENT_DEFINITION:t.type&&(h=e.getType(t.type));break;case ft.FIELD:case ft.ALIASED_FIELD:h&&t.name?(c=f?a(e,f,t.name):null,h=c?c.type:null):c=null;break;case ft.SELECTION_SET:f=(0,o.MR)(h);break;case ft.DIRECTIVE:i=t.name?e.getDirective(t.name):null;break;case ft.INTERFACE_DEF:t.name&&(p=null,m=new o.VA({name:t.name,interfaces:[],fields:{}}));break;case ft.OBJECT_TYPE_DEF:t.name&&(m=null,p=new o.bh({name:t.name,interfaces:[],fields:{}}));break;case ft.ARGUMENTS:if(t.prevState)switch(t.prevState.kind){case ft.FIELD:r=c&&c.args;break;case ft.DIRECTIVE:r=i&&i.args;break;case ft.ALIASED_FIELD:{const n=null===(s=t.prevState)||void 0===s?void 0:s.name;if(!n){r=null;break}const o=f?a(e,f,n):null;if(!o){r=null;break}r=o.args;break}default:r=null}else r=null;break;case ft.ARGUMENT:if(r)for(let e=0;e<r.length;e++)if(r[e].name===t.name){n=r[e];break}u=null===n||void 0===n?void 0:n.type;break;case ft.ENUM_VALUE:const v=(0,o.MR)(u);l=v instanceof o.Zb?v.getValues().find((e=>e.value===t.name)):null;break;case ft.LIST_VALUE:const y=(0,o.yl)(u);u=y instanceof o.KT?y.ofType:null;break;case ft.OBJECT_VALUE:const g=(0,o.MR)(u);d=g instanceof o.zP?g.getFields():null;break;case ft.OBJECT_FIELD:const b=t.name&&d?d[t.name]:null;u=null===b||void 0===b?void 0:b.type;break;case ft.NAMED_TYPE:t.name&&(h=e.getType(t.name))}})),{argDef:n,argDefs:r,directiveDef:i,enumValue:l,fieldDef:c,inputType:u,objectFieldDefs:d,parentType:f,type:h,interfaceDef:m,objectTypeDef:p}}var Ct;function Ot(e){return e.prevState&&e.kind&&[ft.NAMED_TYPE,ft.LIST_TYPE,ft.TYPE,ft.NON_NULL_TYPE].includes(e.kind)?Ot(e.prevState):e}!function(e){e.TYPE_SYSTEM="TYPE_SYSTEM",e.EXECUTABLE="EXECUTABLE"}(Ct||(Ct={}));var It=n(9165),Dt=n.n(It);const xt=(e,t)=>{if(!t)return[];let n;try{n=(0,je.qg)(e)}catch(r){return[]}return Rt(n,t)},Rt=(e,t)=>{if(!t)return[];const n=new Map,r=new Set;(0,Me.YR)(e,{FragmentDefinition(e){n.set(e.name.value,!0)},FragmentSpread(e){r.has(e.name.value)||r.add(e.name.value)}});const o=new Set;for(const a of r)!n.has(a)&&t.has(a)&&o.add(Dt()(t.get(a)));const i=[];for(const a of o)(0,Me.YR)(a,{FragmentSpread(e){!r.has(e.name.value)&&t.get(e.name.value)&&(o.add(Dt()(t.get(e.name.value))),r.add(e.name.value))}}),n.has(a.name.value)||i.push(a);return i};function Ft(e,t){e.push(t)}function Pt(e,t){(0,o.bd)(t)?(Pt(e,t.ofType),Ft(e,"!")):(0,o.Fs)(t)?(Ft(e,"["),Pt(e,t.ofType),Ft(e,"]")):Ft(e,t.name)}function Lt(e,t,n){const r=[],i="type"in e?e.type:e;return"type"in e&&e.description&&(Ft(r,e.description),Ft(r,"\n\n")),Ft(r,function(e,t){const n=[];t&&Ft(n,"```graphql\n");Pt(n,e),t&&Ft(n,"\n```");return n.join("")}(i,t)),n?(Ft(r,"\n"),Ft(r,n)):!(0,o.lg)(i)&&"description"in i&&i.description?(Ft(r,"\n"),Ft(r,i.description)):"ofType"in i&&!(0,o.lg)(i.ofType)&&"description"in i.ofType&&i.ofType.description&&(Ft(r,"\n"),Ft(r,i.ofType.description)),r.join("")}const Mt={Int:{type:"integer"},String:{type:"string"},Float:{type:"number"},ID:{type:"string"},Boolean:{type:"boolean"},DateTime:{type:"string"}};class jt{constructor(){this.set=new Set}mark(e){return!this.set.has(e)&&(this.set.add(e),!0)}}function Vt(e,t){var n,r;let i=Object.create(null);const a=Object.create(null),s="type"in e?e.type:e,l=(0,o.bd)(s)?s.ofType:s,c=(0,o.bd)(s);if((0,o.lg)(l))(null===(n=null===t||void 0===t?void 0:t.scalarSchemas)||void 0===n?void 0:n[l.name])?i=JSON.parse(JSON.stringify(t.scalarSchemas[l.name])):i.type=["string","number","boolean","integer"],c||(Array.isArray(i.type)?i.type.push("null"):i.type?i.type=[i.type,"null"]:i.enum?i.enum.push(null):i.oneOf?i.oneOf.push({type:"null"}):i={oneOf:[i,{type:"null"}]});else if((0,o.oF)(l))i.enum=l.getValues().map((e=>e.name)),c||i.enum.push(null);else if((0,o.Fs)(l)){i.type=c?"array":["array","null"];const{definition:e,definitions:n}=Vt(l.ofType,t);if(i.items=e,n)for(const t of Object.keys(n))a[t]=n[t]}else if((0,o.qK)(l)&&(c?i.$ref=`#/definitions/${l.name}`:i.oneOf=[{$ref:`#/definitions/${l.name}`},{type:"null"}],null===(r=null===t||void 0===t?void 0:t.definitionMarker)||void 0===r?void 0:r.mark(l.name))){const e=l.getFields(),n={type:"object",properties:{},required:[]};n.description=Lt(l),(null===t||void 0===t?void 0:t.useMarkdownDescription)&&(n.markdownDescription=Lt(l,!0));for(const r of Object.keys(e)){const o=e[r],{required:i,definition:s,definitions:l}=Vt(o,t);if(n.properties[r]=s,i&&n.required.push(r),l)for(const[e,t]of Object.entries(l))a[e]=t}a[l.name]=n}"defaultValue"in e&&void 0!==e.defaultValue&&(i.default=e.defaultValue);const{description:u}=i;return i.description=Lt(e,!1,u),(null===t||void 0===t?void 0:t.useMarkdownDescription)&&(i.markdownDescription=Lt(e,!0,u)),{required:c,definition:i,definitions:a}}function Ut(e,t){var n;const r={$schema:"http://json-schema.org/draft-04/schema",type:"object",properties:{},required:[]},o=Object.assign(Object.assign({},t),{definitionMarker:new jt,scalarSchemas:Object.assign(Object.assign({},Mt),null===t||void 0===t?void 0:t.scalarSchemas)});if(e)for(const[i,a]of Object.entries(e)){const{definition:e,required:t,definitions:s}=Vt(a,o);r.properties[i]=e,t&&(null===(n=r.required)||void 0===n||n.push(i)),s&&(r.definitions=Object.assign(Object.assign({},null===r||void 0===r?void 0:r.definitions),s))}return r}function qt(e,t,n){const r=zt(e,n);let o;return(0,Me.YR)(t,{enter(e){if(!("Name"!==e.kind&&e.loc&&e.loc.start<=r&&r<=e.loc.end))return!1;o=e},leave(e){if(e.loc&&e.loc.start<=r&&r<=e.loc.end)return!1}}),o}function zt(e,t){const n=e.split("\n").slice(0,t.line);return t.character+n.map((e=>e.length+1)).reduce(((e,t)=>e+t),0)}class Bt{constructor(e,t){this.containsPosition=e=>this.start.line===e.line?this.start.character<=e.character:this.end.line===e.line?this.end.character>=e.character:this.start.line<=e.line&&this.end.line>=e.line,this.start=e,this.end=t}setStart(e,t){this.start=new Ht(e,t)}setEnd(e,t){this.end=new Ht(e,t)}}class Ht{constructor(e,t){this.lessThanOrEqualTo=e=>this.line<e.line||this.line===e.line&&this.character<=e.character,this.line=e,this.character=t}setLine(e){this.line=e}setCharacter(e){this.character=e}}function Yt(e,t){const n=e.slice(0,t),r=n.split("\n").length-1,o=n.lastIndexOf("\n");return new Ht(r,t-o-1)}var Gt=n(4),Qt=n(9333),Kt=n(3373),Wt=n(1857),Jt=n(2798),$t=n(9134),Xt=n(1057),Zt=n(8157),en=n(2075),tn=n(9173),nn=n(5802),rn=n(2469),on=n(2011),an=n(8368),sn=n(9244),ln=n(881),cn=n(8910);const un=[Gt.l,Qt.u,Kt.i,Wt.g,Jt.X,$t.Z,Xt.y,Zt.e,en.U,tn.S,nn.J,rn.C];function pn(e,t,n,r,o){const i=on.g.filter((e=>e!==an.z&&e!==sn.T&&(!r||e!==ln.K)));n&&Array.prototype.push.apply(i,n),o&&Array.prototype.push.apply(i,un);return(0,cn.tf)(e,t,i).filter((e=>{if(e.message.includes("Unknown directive")&&e.nodes){const t=e.nodes[0];if(t&&t.kind===Ve.b.DIRECTIVE){const e=t.name.value;if("arguments"===e||"argumentDefinitions"===e)return!1}}return!0}))}var dn=n(7429);function fn(e,t){const n=Object.create(null);for(const r of t.definitions)if("OperationDefinition"===r.kind){const{variableDefinitions:t}=r;if(t)for(const{variable:r,type:o}of t){const t=(0,dn.v)(e,o);t?n[r.name.value]=t:o.kind===Ve.b.NAMED_TYPE&&"Float"===o.name.value&&(n[r.name.value]=Ue.qS)}}return n}function hn(e,t){const n=t?fn(t,e):void 0,r=[];return(0,Me.YR)(e,{OperationDefinition(e){r.push(e)}}),{variableToType:n,operations:r}}function mn(e,t){if(t)try{const n=(0,je.qg)(t);return Object.assign(Object.assign({},hn(n,e)),{documentAST:n})}catch(n){return}}const vn=mn;var yn=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))};const gn="GraphQL";function bn(e,t){if(!e)throw new Error(t)}function En(e,t){const n=t.loc;return bn(n,"Expected ASTNode to have a location."),function(e,t){const n=Yt(e,t.start),r=Yt(e,t.end);return new Bt(n,r)}(e,n)}function _n(e,t){const n=t.loc;return bn(n,"Expected ASTNode to have a location."),Yt(e,n.start)}function Tn(e,t,n){return yn(this,void 0,void 0,(function*(){const r=t.name.value,o=n.filter((e=>{let{definition:t}=e;return t.name&&t.name.value===r}));if(0===o.length)throw new Error(`Definition not found for GraphQL type ${r}`);const i=o.map((e=>{let{filePath:t,content:n,definition:r}=e;return function(e,t,n){const{name:r}=n;return bn(r,"Expected ASTNode to have a Name."),{path:e,position:_n(t,n),range:En(t,n),name:r.value||"",language:gn,projectRoot:e}}(t||"",n,r)}));return{definitions:i,queryRange:i.map((n=>En(e,t)))}}))}function kn(e,t,n){var r;return yn(this,void 0,void 0,(function*(){const o=n.filter((e=>{let{definition:n}=e;return n.name&&n.name.value===t}));if(0===o.length)throw new Error(`Definition not found for GraphQL type ${t}`);const i=[];for(const{filePath:t,content:n,definition:a}of o){const o=null===(r=a.fields)||void 0===r?void 0:r.find((t=>t.name.value===e));null!=o&&i.push(Nn(t||"",n,o))}return{definitions:i,queryRange:[]}}))}function wn(e,t,n){return yn(this,void 0,void 0,(function*(){const r=t.name.value,o=n.filter((e=>{let{definition:t}=e;return t.name.value===r}));if(0===o.length)throw new Error(`Definition not found for GraphQL fragment ${r}`);const i=o.map((e=>{let{filePath:t,content:n,definition:r}=e;return An(t||"",n,r)}));return{definitions:i,queryRange:i.map((n=>En(e,t)))}}))}function Sn(e,t,n){return{definitions:[An(e,t,n)],queryRange:n.name?[En(t,n.name)]:[]}}function An(e,t,n){const{name:r}=n;if(!r)throw new Error("Expected ASTNode to have a Name.");return{path:e,position:_n(t,n),range:En(t,n),name:r.value||"",language:gn,projectRoot:e}}function Nn(e,t,n){const{name:r}=n;return bn(r,"Expected ASTNode to have a Name."),{path:e,position:_n(t,n),range:En(t,n),name:r.value||"",language:gn,projectRoot:e}}var Cn=n(6559),On=n(3738),In=n(2649);const Dn={Error:"Error",Warning:"Warning",Information:"Information",Hint:"Hint"},xn={[Dn.Error]:1,[Dn.Warning]:2,[Dn.Information]:3,[Dn.Hint]:4},Rn=(e,t)=>{if(!e)throw new Error(t)};function Fn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;var i,a;let s=null,l="";o&&(l="string"===typeof o?o:o.reduce(((e,t)=>e+(0,Cn.y)(t)+"\n\n"),""));const c=l?`${e}\n\n${l}`:e;try{s=(0,je.qg)(c)}catch(u){if(u instanceof On.e){const e=Mn(null!==(a=null===(i=u.locations)||void 0===i?void 0:i[0])&&void 0!==a?a:{line:0,column:0},c);return[{severity:xn.Error,message:u.message,source:"GraphQL: Syntax",range:e}]}throw u}return Pn(s,t,n,r)}function Pn(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!t)return[];const n=pn(t,e,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0).flatMap((e=>Ln(e,xn.Error,"Validation"))),r=(0,cn.tf)(t,e,[In.k]).flatMap((e=>Ln(e,xn.Warning,"Deprecation")));return n.concat(r)}function Ln(e,t,n){if(!e.nodes)return[];const r=[];for(const[o,i]of e.nodes.entries()){const a="Variable"!==i.kind&&"name"in i&&void 0!==i.name?i.name:"variable"in i&&void 0!==i.variable?i.variable:i;if(a){Rn(e.locations,"GraphQL validation error requires locations.");const i=e.locations[o],s=jn(a),l=i.column+(s.end-s.start);r.push({source:`GraphQL: ${n}`,message:e.message,severity:t,range:new Bt(new Ht(i.line-1,i.column-1),new Ht(i.line-1,l))})}}return r}function Mn(e,t){const n=it(),r=n.startState(),o=t.split("\n");Rn(o.length>=e.line,"Query text must have more lines than where the error happened");let i=null;for(let c=0;c<e.line;c++)for(i=new Ke(o[c]);!i.eol();){if("invalidchar"===n.token(i,r))break}Rn(i,"Expected Parser stream to be available.");const a=e.line-1,s=i.getStartOfToken(),l=i.getCurrentPosition();return new Bt(new Ht(a,s),new Ht(a,l))}function jn(e){const t=e.loc;return Rn(t,"Expected ASTNode to have a location."),t}const{INLINE_FRAGMENT:Vn}=Ve.b;function Un(e){let t;try{t=(0,je.qg)(e)}catch(r){return null}const n=function(e){const t=t=>({representativeName:t.name,startPosition:Yt(e,t.loc.start),endPosition:Yt(e,t.loc.end),kind:t.kind,children:t.selectionSet||t.fields||t.values||t.arguments||[]});return{Field(e){const n=e.alias?[qn("plain",e.alias),qn("plain",": ")]:[];return n.push(qn("plain",e.name)),Object.assign({tokenizedText:n},t(e))},OperationDefinition:e=>Object.assign({tokenizedText:[qn("keyword",e.operation),qn("whitespace"," "),qn("class-name",e.name)]},t(e)),Document:e=>e.definitions,SelectionSet:e=>function(e,t){const n=[];for(let r=0;r<e.length;r++){const o=t(e[r],r);Array.isArray(o)?n.push(...o):n.push(o)}return n}(e.selections,(e=>e.kind===Vn?e.selectionSet:e)),Name:e=>e.value,FragmentDefinition:e=>Object.assign({tokenizedText:[qn("keyword","fragment"),qn("whitespace"," "),qn("class-name",e.name)]},t(e)),InterfaceTypeDefinition:e=>Object.assign({tokenizedText:[qn("keyword","interface"),qn("whitespace"," "),qn("class-name",e.name)]},t(e)),EnumTypeDefinition:e=>Object.assign({tokenizedText:[qn("keyword","enum"),qn("whitespace"," "),qn("class-name",e.name)]},t(e)),EnumValueDefinition:e=>Object.assign({tokenizedText:[qn("plain",e.name)]},t(e)),ObjectTypeDefinition:e=>Object.assign({tokenizedText:[qn("keyword","type"),qn("whitespace"," "),qn("class-name",e.name)]},t(e)),InputObjectTypeDefinition:e=>Object.assign({tokenizedText:[qn("keyword","input"),qn("whitespace"," "),qn("class-name",e.name)]},t(e)),FragmentSpread:e=>Object.assign({tokenizedText:[qn("plain","..."),qn("class-name",e.name)]},t(e)),InputValueDefinition:e=>Object.assign({tokenizedText:[qn("plain",e.name)]},t(e)),FieldDefinition:e=>Object.assign({tokenizedText:[qn("plain",e.name)]},t(e)),InlineFragment:e=>e.selectionSet}}(e);return{outlineTrees:(0,Me.YR)(t,{leave:e=>void 0!==n&&e.kind in n?n[e.kind](e):null})}}function qn(e,t){return{kind:e,value:t}}function zn(e,t,n,r,o){const i=r||wt(t,n);if(!e||!i||!i.state)return"";const{kind:a,step:s}=i.state,l=Nt(e,i.state),c=Object.assign(Object.assign({},o),{schema:e});if("Field"===a&&0===s&&l.fieldDef||"AliasedField"===a&&2===s&&l.fieldDef){const e=[];return Bn(e,c),function(e,t,n){Yn(e,t,n),Qn(e,t,n,t.type)}(e,l,c),Hn(e,c),Wn(e,c,l.fieldDef),e.join("").trim()}if("Directive"===a&&1===s&&l.directiveDef){const e=[];return Bn(e,c),Gn(e,l,c),Hn(e,c),Wn(e,c,l.directiveDef),e.join("").trim()}if("Argument"===a&&0===s&&l.argDef){const e=[];return Bn(e,c),function(e,t,n){t.directiveDef?Gn(e,t,n):t.fieldDef&&Yn(e,t,n);if(!t.argDef)return;const{name:r}=t.argDef;Jn(e,"("),Jn(e,r),Qn(e,t,n,t.inputType),Jn(e,")")}(e,l,c),Hn(e,c),Wn(e,c,l.argDef),e.join("").trim()}if("EnumValue"===a&&l.enumValue&&"description"in l.enumValue){const e=[];return Bn(e,c),function(e,t,n){if(!t.enumValue)return;const{name:r}=t.enumValue;Kn(e,t,n,t.inputType),Jn(e,"."),Jn(e,r)}(e,l,c),Hn(e,c),Wn(e,c,l.enumValue),e.join("").trim()}if("NamedType"===a&&l.type&&"description"in l.type){const e=[];return Bn(e,c),Kn(e,l,c,l.type),Hn(e,c),Wn(e,c,l.type),e.join("").trim()}return""}function Bn(e,t){t.useMarkdown&&Jn(e,"```graphql\n")}function Hn(e,t){t.useMarkdown&&Jn(e,"\n```")}function Yn(e,t,n){if(!t.fieldDef)return;const r=t.fieldDef.name;"__"!==r.slice(0,2)&&(Kn(e,t,n,t.parentType),Jn(e,".")),Jn(e,r)}function Gn(e,t,n){if(!t.directiveDef)return;Jn(e,"@"+t.directiveDef.name)}function Qn(e,t,n,r){Jn(e,": "),Kn(e,t,n,r)}function Kn(e,t,n,r){r&&(r instanceof o.Gc?(Kn(e,t,n,r.ofType),Jn(e,"!")):r instanceof o.KT?(Jn(e,"["),Kn(e,t,n,r.ofType),Jn(e,"]")):Jn(e,r.name))}function Wn(e,t,n){if(!n)return;const r="string"===typeof n.description?n.description:null;r&&(Jn(e,"\n\n"),Jn(e,r)),function(e,t,n){if(!n)return;const r=n.deprecationReason||null;if(!r)return;Jn(e,"\n\n"),Jn(e,"Deprecated: "),Jn(e,r)}(e,0,n)}function Jn(e,t){e.push(t)}},9076:(e,t,n)=>{"use strict";var r=n(186);function o(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&("function"===typeof(t=e.constructor)&&(!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},2069:e=>{"use strict";e.exports=function(e){return"object"===typeof e?null===e:"function"!==typeof e}},186:e=>{"use strict";e.exports=function(e){return null!=e&&"object"===typeof e&&!1===Array.isArray(e)}},7355:e=>{"use strict";for(var t=function(e){return null!==e&&!Array.isArray(e)&&"object"===typeof e},n={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"},r=0;r<24;r+=1)n[112+r]="F"+(r+1);for(var o=0;o<26;o+=1){var i=o+65;n[i]=[String.fromCharCode(i+32),String.fromCharCode(i)]}var a={codes:n,getCode:function(e){return t(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var r=t(e);if(r&&e.key)return e.key;var o=n[r?e.keyCode||e.which:e];return Array.isArray(o)&&(o=r?o[e.shiftKey?1:0]:o[0]),o},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};a.Spacebar=a[" "],a.Digit0=a[0],a.Digit1=a[1],a.Digit2=a[2],a.Digit3=a[3],a.Digit4=a[4],a.Digit5=a[5],a.Digit6=a[6],a.Digit7=a[7],a.Digit8=a[8],a.Digit9=a[9],a.Tilde=a["~"],a.GraveAccent=a["`"],a.ExclamationPoint=a["!"],a.AtSign=a["@"],a.PoundSign=a["#"],a.PercentSign=a["%"],a.Caret=a["^"],a.Ampersand=a["&"],a.PlusSign=a["+"],a.MinusSign=a["-"],a.EqualsSign=a["="],a.DivisionSign=a["/"],a.MultiplicationSign=a["*"],a.Comma=a[","],a.Decimal=a["."],a.Colon=a[":"],a.Semicolon=a[";"],a.Pipe=a["|"],a.BackSlash=a["\\"],a.QuestionMark=a["?"],a.SingleQuote=a["'"],a.DoubleQuote=a['"'],a.LeftCurlyBrace=a["{"],a.RightCurlyBrace=a["}"],a.LeftParenthesis=a["("],a.RightParenthesis=a[")"],a.LeftAngleBracket=a["<"],a.RightAngleBracket=a[">"],a.LeftSquareBracket=a["["],a.RightSquareBracket=a["]"],e.exports=a},773:(e,t,n)=>{"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){t&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function a(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var s={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var l={"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}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(e){var t=e.re=n(2475)(e.__opts__),r=e.__tlds__.slice();function s(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.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]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(s(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(s(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(s(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(s(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},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,"[object Object]"===o(n))return!function(e){return"[object RegExp]"===o(e)}(n.validate)?i(n.validate)?r.validate=n.validate:c(t,n):r.validate=function(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}(n.validate),void(i(n.normalize)?r.normalize=n.normalize:n.normalize?c(t,n):r.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(n)?c(t,n):l.push(t)}})),l.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 u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(a).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var n=e.__index__,r=e.__last_index__,o=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=o,this.text=o,this.url=o}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function f(e,t){if(!(this instanceof f))return new f(e,t);var n;t||(n=e,Object.keys(n||{}).reduce((function(e,t){return e||s.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=r({},s,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},u(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},f.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},f.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,o,i,a,s,l;if(this.re.schema_test.test(e))for((s=this.re.schema_search).lastIndex=0;null!==(t=s.exec(e));)if(o=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+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(i=n.index+n[1].length,(this.__index__<0||i<this.__index__)&&(this.__schema__="",this.__index__=i,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(i=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||i<this.__index__||i===this.__index__&&a>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},f.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},f.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(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},2475:(e,t,n)=>{"use strict";e.exports=function(e){var t={};t.src_Any=n(1927).source,t.src_Cc=n(3924).source,t.src_Z=n(4694).source,t.src_P=n(2840).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><\uff5c]";return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+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='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},2198:(e,t,n)=>{"use strict";e.exports=n(5834)},899:(e,t,n)=>{"use strict";e.exports=n(5092)},1562: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"]},7857:e=>{"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",n="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",r=new RegExp("^(?:"+t+"|"+n+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|<![A-Z]+\\s+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)"),o=new RegExp("^(?:"+t+"|"+n+")");e.exports.l=r,e.exports.p=o},4207:(e,t,n)=>{"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return r.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function a(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var s=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,l=new RegExp(s.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),c=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=n(899);var p=/[&<>"]/,d=/[&<>"]/g,f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function h(e){return f[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var v=n(2840);t.lib={},t.lib.mdurl=n(5729),t.lib.ucmicro=n(875),t.assign=function(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},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(s,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(l,(function(e,t,n){return t||function(e,t){var n=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&c.test(t)&&i(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?a(n):e}(e,n)}))},t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=function(e){return p.test(e)?e.replace(d,h):e},t.arrayReplaceAt=function(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return v.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},1543:(e,t,n)=>{"use strict";t.parseLinkLabel=n(2519),t.parseLinkDestination=n(2145),t.parseLinkTitle=n(7555)},2145:(e,t,n)=>{"use strict";var r=n(4207).unescapeAll;e.exports=function(e,t,n){var o,i,a=t,s={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t<n;){if(10===(o=e.charCodeAt(t)))return s;if(60===o)return s;if(62===o)return s.pos=t+1,s.str=r(e.slice(a+1,t)),s.ok=!0,s;92===o&&t+1<n?t+=2:t++}return s}for(i=0;t<n&&32!==(o=e.charCodeAt(t))&&!(o<32||127===o);)if(92===o&&t+1<n){if(32===e.charCodeAt(t+1))break;t+=2}else{if(40===o&&++i>32)return s;if(41===o){if(0===i)break;i--}t++}return a===t||0!==i||(s.str=r(e.slice(a,t)),s.lines=0,s.pos=t,s.ok=!0),s}},2519:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,s=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,r=1;e.pos<l;){if(93===(i=e.src.charCodeAt(e.pos))&&0===--r){o=!0;break}if(a=e.pos,e.md.inline.skipToken(e),91===i)if(a===e.pos-1)r++;else if(n)return e.pos=c,-1}return o&&(s=e.pos),e.pos=c,s}},7555:(e,t,n)=>{"use strict";var r=n(4207).unescapeAll;e.exports=function(e,t,n){var o,i,a=0,s=t,l={ok:!1,pos:0,lines:0,str:""};if(t>=n)return l;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return l;for(t++,40===i&&(i=41);t<n;){if((o=e.charCodeAt(t))===i)return l.pos=t+1,l.lines=a,l.str=r(e.slice(s+1,t)),l.ok=!0,l;if(40===o&&41===i)return l;10===o?a++:92===o&&t+1<n&&(t++,10===e.charCodeAt(t)&&a++),t++}return l}},5834:(e,t,n)=>{"use strict";var r=n(4207),o=n(1543),i=n(4419),a=n(9285),s=n(9633),l=n(7127),c=n(773),u=n(5729),p=n(191),d={default:n(8072),zero:n(5467),commonmark:n(3445)},f=/^(vbscript|javascript|file|data):/,h=/^data:image\/(gif|png|jpeg|webp);/;function m(e){var t=e.trim().toLowerCase();return!f.test(t)||!!h.test(t)}var v=["http:","https:","mailto:"];function y(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=p.toASCII(t.hostname)}catch(n){}return u.encode(u.format(t))}function g(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||v.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(n){}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 i,this.linkify=new c,this.validateLink=m,this.normalizeLink=y,this.normalizeLinkText=g,this.utils=r,this.helpers=r.assign({},o),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=d[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},9633:(e,t,n)=>{"use strict";var r=n(7270),o=[["table",n(6948),["paragraph","reference"]],["code",n(971)],["fence",n(5073),["paragraph","reference","blockquote","list"]],["blockquote",n(9761),["paragraph","reference","blockquote","list"]],["hr",n(612),["paragraph","reference","blockquote","list"]],["list",n(3061),["paragraph","reference","blockquote"]],["reference",n(6941)],["html_block",n(2309),["paragraph","reference","blockquote"]],["heading",n(358),["paragraph","reference","blockquote"]],["lheading",n(60)],["paragraph",n(8714)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1],{alt:(o[e][2]||[]).slice()})}i.prototype.tokenize=function(e,t,n){for(var r,o=this.ruler.getRules(""),i=o.length,a=t,s=!1,l=e.md.options.maxNesting;a<n&&(e.line=a=e.skipEmptyLines(a),!(a>=n))&&!(e.sCount[a]<e.blkIndent);){if(e.level>=l){e.line=n;break}for(r=0;r<i&&!o[r](e,a,n,!1);r++);e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),(a=e.line)<n&&e.isEmpty(a)&&(s=!0,a++,e.line=a)}},i.prototype.parse=function(e,t,n,r){var o;e&&(o=new this.State(e,t,n,r),this.tokenize(o,o.line,o.lineMax))},i.prototype.State=n(6075),e.exports=i},9285:(e,t,n)=>{"use strict";var r=n(7270),o=[["normalize",n(6479)],["block",n(3009)],["inline",n(3447)],["linkify",n(8246)],["replacements",n(3119)],["smartquotes",n(4192)]];function i(){this.ruler=new r;for(var e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1])}i.prototype.process=function(e){var t,n,r;for(t=0,n=(r=this.ruler.getRules("")).length;t<n;t++)r[t](e)},i.prototype.State=n(779),e.exports=i},7127:(e,t,n)=>{"use strict";var r=n(7270),o=[["text",n(9523)],["newline",n(8650)],["escape",n(3643)],["backticks",n(6881)],["strikethrough",n(3369).q],["emphasis",n(838).q],["link",n(4628)],["image",n(4391)],["autolink",n(1375)],["html_inline",n(901)],["entity",n(883)]],i=[["balance_pairs",n(4856)],["strikethrough",n(3369).g],["emphasis",n(838).g],["text_collapse",n(2261)]];function a(){var e;for(this.ruler=new r,e=0;e<o.length;e++)this.ruler.push(o[e][0],o[e][1]);for(this.ruler2=new r,e=0;e<i.length;e++)this.ruler2.push(i[e][0],i[e][1])}a.prototype.skipToken=function(e){var t,n,r=e.pos,o=this.ruler.getRules(""),i=o.length,a=e.md.options.maxNesting,s=e.cache;if("undefined"===typeof s[r]){if(e.level<a)for(n=0;n<i&&(e.level++,t=o[n](e,!0),e.level--,!t);n++);else e.pos=e.posMax;t||e.pos++,s[r]=e.pos}else e.pos=s[r]},a.prototype.tokenize=function(e){for(var t,n,r=this.ruler.getRules(""),o=r.length,i=e.posMax,a=e.md.options.maxNesting;e.pos<i;){if(e.level<a)for(n=0;n<o&&!(t=r[n](e,!1));n++);if(t){if(e.pos>=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},a.prototype.parse=function(e,t,n,r){var o,i,a,s=new this.State(e,t,n,r);for(this.tokenize(s),a=(i=this.ruler2.getRules("")).length,o=0;o<a;o++)i[o](s)},a.prototype.State=n(7711),e.exports=a},3445:e=>{"use strict";e.exports={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",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"]}}}},8072:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}},5467:e=>{"use strict";e.exports={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201c\u201d\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","text_collapse"]}}}},4419:(e,t,n)=>{"use strict";var r=n(4207).assign,o=n(4207).unescapeAll,i=n(4207).escapeHtml,a={};function s(){this.rules=r({},a)}a.code_inline=function(e,t,n,r,o){var a=e[t];return"<code"+o.renderAttrs(a)+">"+i(e[t].content)+"</code>"},a.code_block=function(e,t,n,r,o){var a=e[t];return"<pre"+o.renderAttrs(a)+"><code>"+i(e[t].content)+"</code></pre>\n"},a.fence=function(e,t,n,r,a){var s,l,c,u,p,d=e[t],f=d.info?o(d.info).trim():"",h="",m="";return f&&(h=(c=f.split(/(\s+)/g))[0],m=c.slice(2).join("")),0===(s=n.highlight&&n.highlight(d.content,h,m)||i(d.content)).indexOf("<pre")?s+"\n":f?(l=d.attrIndex("class"),u=d.attrs?d.attrs.slice():[],l<0?u.push(["class",n.langPrefix+h]):(u[l]=u[l].slice(),u[l][1]+=" "+n.langPrefix+h),p={attrs:u},"<pre><code"+a.renderAttrs(p)+">"+s+"</code></pre>\n"):"<pre><code"+a.renderAttrs(d)+">"+s+"</code></pre>\n"},a.image=function(e,t,n,r,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,n,r),o.renderToken(e,t,n)},a.hardbreak=function(e,t,n){return n.xhtmlOut?"<br />\n":"<br>\n"},a.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"<br />\n":"<br>\n":"\n"},a.text=function(e,t){return i(e[t].content)},a.html_block=function(e,t){return e[t].content},a.html_inline=function(e,t){return e[t].content},s.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t<n;t++)r+=" "+i(e.attrs[t][0])+'="'+i(e.attrs[t][1])+'"';return r},s.prototype.renderToken=function(e,t,n){var r,o="",i=!1,a=e[t];return a.hidden?"":(a.block&&-1!==a.nesting&&t&&e[t-1].hidden&&(o+="\n"),o+=(-1===a.nesting?"</":"<")+a.tag,o+=this.renderAttrs(a),0===a.nesting&&n.xhtmlOut&&(o+=" /"),a.block&&(i=!0,1===a.nesting&&t+1<e.length&&("inline"===(r=e[t+1]).type||r.hidden||-1===r.nesting&&r.tag===a.tag)&&(i=!1)),o+=i?">\n":">")},s.prototype.renderInline=function(e,t,n){for(var r,o="",i=this.rules,a=0,s=e.length;a<s;a++)"undefined"!==typeof i[r=e[a].type]?o+=i[r](e,a,t,n,this):o+=this.renderToken(e,a,t);return o},s.prototype.renderInlineAsText=function(e,t,n){for(var r="",o=0,i=e.length;o<i;o++)"text"===e[o].type?r+=e[o].content:"image"===e[o].type?r+=this.renderInlineAsText(e[o].children,t,n):"softbreak"===e[o].type&&(r+="\n");return r},s.prototype.render=function(e,t,n){var r,o,i,a="",s=this.rules;for(r=0,o=e.length;r<o;r++)"inline"===(i=e[r].type)?a+=this.renderInline(e[r].children,t,n):"undefined"!==typeof s[i]?a+=s[e[r].type](e,r,t,n,this):a+=this.renderToken(e,r,t,n);return a},e.exports=s},7270:e=>{"use strict";function t(){this.__rules__=[],this.__cache__=null}t.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1},t.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach((function(e){e.enabled&&e.alt.forEach((function(e){t.indexOf(e)<0&&t.push(e)}))})),e.__cache__={},t.forEach((function(t){e.__cache__[t]=[],e.__rules__.forEach((function(n){n.enabled&&(t&&n.alt.indexOf(t)<0||e.__cache__[t].push(n.fn))}))}))},t.prototype.at=function(e,t,n){var r=this.__find__(e),o=n||{};if(-1===r)throw new Error("Parser rule not found: "+e);this.__rules__[r].fn=t,this.__rules__[r].alt=o.alt||[],this.__cache__=null},t.prototype.before=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},t.prototype.after=function(e,t,n,r){var o=this.__find__(e),i=r||{};if(-1===o)throw new Error("Parser rule not found: "+e);this.__rules__.splice(o+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null},t.prototype.push=function(e,t,n){var r=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:r.alt||[]}),this.__cache__=null},t.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!0,n.push(e)}),this),this.__cache__=null,n},t.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach((function(e){e.enabled=!1})),this.enable(e,t)},t.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach((function(e){var r=this.__find__(e);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+e)}this.__rules__[r].enabled=!1,n.push(e)}),this),this.__cache__=null,n},t.prototype.getRules=function(e){return null===this.__cache__&&this.__compile__(),this.__cache__[e]||[]},e.exports=t},9761:(e,t,n)=>{"use strict";var r=n(4207).isSpace;e.exports=function(e,t,n,o){var i,a,s,l,c,u,p,d,f,h,m,v,y,g,b,E,_,T,k,w,S=e.lineMax,A=e.bMarks[t]+e.tShift[t],N=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(62!==e.src.charCodeAt(A++))return!1;if(o)return!0;for(l=f=e.sCount[t]+1,32===e.src.charCodeAt(A)?(A++,l++,f++,i=!1,E=!0):9===e.src.charCodeAt(A)?(E=!0,(e.bsCount[t]+f)%4===3?(A++,l++,f++,i=!1):i=!0):E=!1,h=[e.bMarks[t]],e.bMarks[t]=A;A<N&&(a=e.src.charCodeAt(A),r(a));)9===a?f+=4-(f+e.bsCount[t]+(i?1:0))%4:f++,A++;for(m=[e.bsCount[t]],e.bsCount[t]=e.sCount[t]+1+(E?1:0),u=A>=N,g=[e.sCount[t]],e.sCount[t]=f-l,b=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],T=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",d=t+1;d<n&&(w=e.sCount[d]<e.blkIndent,!((A=e.bMarks[d]+e.tShift[d])>=(N=e.eMarks[d])));d++)if(62!==e.src.charCodeAt(A++)||w){if(u)break;for(_=!1,s=0,c=T.length;s<c;s++)if(T[s](e,d,n,!0)){_=!0;break}if(_){e.lineMax=d,0!==e.blkIndent&&(h.push(e.bMarks[d]),m.push(e.bsCount[d]),b.push(e.tShift[d]),g.push(e.sCount[d]),e.sCount[d]-=e.blkIndent);break}h.push(e.bMarks[d]),m.push(e.bsCount[d]),b.push(e.tShift[d]),g.push(e.sCount[d]),e.sCount[d]=-1}else{for(l=f=e.sCount[d]+1,32===e.src.charCodeAt(A)?(A++,l++,f++,i=!1,E=!0):9===e.src.charCodeAt(A)?(E=!0,(e.bsCount[d]+f)%4===3?(A++,l++,f++,i=!1):i=!0):E=!1,h.push(e.bMarks[d]),e.bMarks[d]=A;A<N&&(a=e.src.charCodeAt(A),r(a));)9===a?f+=4-(f+e.bsCount[d]+(i?1:0))%4:f++,A++;u=A>=N,m.push(e.bsCount[d]),e.bsCount[d]=e.sCount[d]+1+(E?1:0),g.push(e.sCount[d]),e.sCount[d]=f-l,b.push(e.tShift[d]),e.tShift[d]=A-e.bMarks[d]}for(v=e.blkIndent,e.blkIndent=0,(k=e.push("blockquote_open","blockquote",1)).markup=">",k.map=p=[t,0],e.md.block.tokenize(e,t,d),(k=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=S,e.parentType=y,p[1]=e.line,s=0;s<b.length;s++)e.bMarks[s+t]=h[s],e.tShift[s+t]=b[s],e.sCount[s+t]=g[s],e.bsCount[s+t]=m[s];return e.blkIndent=v,!0}},971:e=>{"use strict";e.exports=function(e,t,n){var r,o,i;if(e.sCount[t]-e.blkIndent<4)return!1;for(o=r=t+1;r<n;)if(e.isEmpty(r))r++;else{if(!(e.sCount[r]-e.blkIndent>=4))break;o=++r}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},5073:e=>{"use strict";e.exports=function(e,t,n,r){var o,i,a,s,l,c,u,p=!1,d=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>f)return!1;if(126!==(o=e.src.charCodeAt(d))&&96!==o)return!1;if(l=d,(i=(d=e.skipChars(d,o))-l)<3)return!1;if(u=e.src.slice(l,d),a=e.src.slice(d,f),96===o&&a.indexOf(String.fromCharCode(o))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&!((d=l=e.bMarks[s]+e.tShift[s])<(f=e.eMarks[s])&&e.sCount[s]<e.blkIndent);)if(e.src.charCodeAt(d)===o&&!(e.sCount[s]-e.blkIndent>=4)&&!((d=e.skipChars(d,o))-l<i)&&!((d=e.skipSpaces(d))<f)){p=!0;break}return i=e.sCount[t],e.line=s+(p?1:0),(c=e.push("fence","code",0)).info=a,c.content=e.getLines(t+1,s,i,!0),c.markup=u,c.map=[t,e.line],!0}},358:(e,t,n)=>{"use strict";var r=n(4207).isSpace;e.exports=function(e,t,n,o){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(35!==(i=e.src.charCodeAt(c))||c>=u)return!1;for(a=1,i=e.src.charCodeAt(++c);35===i&&c<u&&a<=6;)a++,i=e.src.charCodeAt(++c);return!(a>6||c<u&&!r(i))&&(o||(u=e.skipSpacesBack(u,c),(s=e.skipCharsBack(u,35,c))>c&&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)}},612:(e,t,n)=>{"use strict";var r=n(4207).isSpace;e.exports=function(e,t,n,o){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(42!==(i=e.src.charCodeAt(c++))&&45!==i&&95!==i)return!1;for(a=1;c<u;){if((s=e.src.charCodeAt(c++))!==i&&!r(s))return!1;s===i&&a++}return!(a<3)&&(o||(e.line=t+1,(l=e.push("hr","hr",0)).map=[t,e.line],l.markup=Array(a+1).join(String.fromCharCode(i))),!0)}},2309:(e,t,n)=>{"use strict";var r=n(1562),o=n(7857).p,i=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+r.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,n,r){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(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),o=0;o<i.length&&!i[o][0].test(l);o++);if(o===i.length)return!1;if(r)return i[o][2];if(a=t+1,!i[o][1].test(l))for(;a<n&&!(e.sCount[a]<e.blkIndent);a++)if(c=e.bMarks[a]+e.tShift[a],u=e.eMarks[a],l=e.src.slice(c,u),i[o][1].test(l)){0!==l.length&&a++;break}return e.line=a,(s=e.push("html_block","",0)).map=[t,a],s.content=e.getLines(t,a,e.blkIndent,!0),!0}},60:e=>{"use strict";e.exports=function(e,t,n){var r,o,i,a,s,l,c,u,p,d,f=t+1,h=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(d=e.parentType,e.parentType="paragraph";f<n&&!e.isEmpty(f);f++)if(!(e.sCount[f]-e.blkIndent>3)){if(e.sCount[f]>=e.blkIndent&&(l=e.bMarks[f]+e.tShift[f])<(c=e.eMarks[f])&&(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[f]<0)){for(o=!1,i=0,a=h.length;i<a;i++)if(h[i](e,f,n,!0)){o=!0;break}if(o)break}}return!!u&&(r=e.getLines(t,f,e.blkIndent,!1).trim(),e.line=f+1,(s=e.push("heading_open","h"+String(u),1)).markup=String.fromCharCode(p),s.map=[t,e.line],(s=e.push("inline","",0)).content=r,s.map=[t,e.line-1],s.children=[],(s=e.push("heading_close","h"+String(u),-1)).markup=String.fromCharCode(p),e.parentType=d,!0)}},3061:(e,t,n)=>{"use strict";var r=n(4207).isSpace;function o(e,t){var n,o,i,a;return o=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],42!==(n=e.src.charCodeAt(o++))&&45!==n&&43!==n||o<i&&(a=e.src.charCodeAt(o),!r(a))?-1:o}function i(e,t){var n,o=e.bMarks[t]+e.tShift[t],i=o,a=e.eMarks[t];if(i+1>=a)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=a)return-1;if(!((n=e.src.charCodeAt(i++))>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-o>=10)return-1}return i<a&&(n=e.src.charCodeAt(i),!r(n))?-1:i}e.exports=function(e,t,n,r){var a,s,l,c,u,p,d,f,h,m,v,y,g,b,E,_,T,k,w,S,A,N,C,O,I,D,x,R,F=!1,P=!0;if(e.sCount[t]-e.blkIndent>=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]<e.blkIndent)return!1;if(r&&"paragraph"===e.parentType&&e.sCount[t]>=e.blkIndent&&(F=!0),(C=i(e,t))>=0){if(d=!0,I=e.bMarks[t]+e.tShift[t],g=Number(e.src.slice(I,C-1)),F&&1!==g)return!1}else{if(!((C=o(e,t))>=0))return!1;d=!1}if(F&&e.skipSpaces(C)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(C-1),r)return!0;for(v=e.tokens.length,d?(R=e.push("ordered_list_open","ol",1),1!==g&&(R.attrs=[["start",g]])):R=e.push("bullet_list_open","ul",1),R.map=m=[t,0],R.markup=String.fromCharCode(y),E=t,O=!1,x=e.md.block.ruler.getRules("list"),k=e.parentType,e.parentType="list";E<n;){for(N=C,b=e.eMarks[E],p=_=e.sCount[E]+C-(e.bMarks[t]+e.tShift[t]);N<b;){if(9===(a=e.src.charCodeAt(N)))_+=4-(_+e.bsCount[E])%4;else{if(32!==a)break;_++}N++}if((u=(s=N)>=b?1:_-p)>4&&(u=1),c=p+u,(R=e.push("list_item_open","li",1)).markup=String.fromCharCode(y),R.map=f=[t,0],d&&(R.info=e.src.slice(I,C-1)),A=e.tight,S=e.tShift[t],w=e.sCount[t],T=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=c,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=_,s>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!O||(P=!1),O=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=T,e.tShift[t]=S,e.sCount[t]=w,e.tight=A,(R=e.push("list_item_close","li",-1)).markup=String.fromCharCode(y),E=t=e.line,f[1]=E,s=e.bMarks[t],E>=n)break;if(e.sCount[E]<e.blkIndent)break;if(e.sCount[t]-e.blkIndent>=4)break;for(D=!1,l=0,h=x.length;l<h;l++)if(x[l](e,E,n,!0)){D=!0;break}if(D)break;if(d){if((C=i(e,E))<0)break;I=e.bMarks[E]+e.tShift[E]}else if((C=o(e,E))<0)break;if(y!==e.src.charCodeAt(C-1))break}return(R=d?e.push("ordered_list_close","ol",-1):e.push("bullet_list_close","ul",-1)).markup=String.fromCharCode(y),m[1]=E,e.line=E,e.parentType=k,P&&function(e,t){var n,r,o=e.level+2;for(n=t+2,r=e.tokens.length-2;n<r;n++)e.tokens[n].level===o&&"paragraph_open"===e.tokens[n].type&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}(e,v),!0}},8714:e=>{"use strict";e.exports=function(e,t){var n,r,o,i,a,s,l=t+1,c=e.md.block.ruler.getRules("paragraph"),u=e.lineMax;for(s=e.parentType,e.parentType="paragraph";l<u&&!e.isEmpty(l);l++)if(!(e.sCount[l]-e.blkIndent>3)&&!(e.sCount[l]<0)){for(r=!1,o=0,i=c.length;o<i;o++)if(c[o](e,l,u,!0)){r=!0;break}if(r)break}return n=e.getLines(t,l,e.blkIndent,!1).trim(),e.line=l,(a=e.push("paragraph_open","p",1)).map=[t,e.line],(a=e.push("inline","",0)).content=n,a.map=[t,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=s,!0}},6941:(e,t,n)=>{"use strict";var r=n(4207).normalizeReference,o=n(4207).isSpace;e.exports=function(e,t,n,i){var a,s,l,c,u,p,d,f,h,m,v,y,g,b,E,_,T=0,k=e.bMarks[t]+e.tShift[t],w=e.eMarks[t],S=t+1;if(e.sCount[t]-e.blkIndent>=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<w;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===w)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,E=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";S<c&&!e.isEmpty(S);S++)if(!(e.sCount[S]-e.blkIndent>3)&&!(e.sCount[S]<0)){for(b=!1,p=0,d=E.length;p<d;p++)if(E[p](e,S,c,!0)){b=!0;break}if(b)break}for(w=(g=e.getLines(t,S,e.blkIndent,!1).trim()).length,k=1;k<w;k++){if(91===(a=g.charCodeAt(k)))return!1;if(93===a){h=k;break}(10===a||92===a&&++k<w&&10===g.charCodeAt(k))&&T++}if(h<0||58!==g.charCodeAt(h+1))return!1;for(k=h+2;k<w;k++)if(10===(a=g.charCodeAt(k)))T++;else if(!o(a))break;if(!(v=e.md.helpers.parseLinkDestination(g,k,w)).ok)return!1;if(u=e.md.normalizeLink(v.str),!e.md.validateLink(u))return!1;for(s=k=v.pos,l=T+=v.lines,y=k;k<w;k++)if(10===(a=g.charCodeAt(k)))T++;else if(!o(a))break;for(v=e.md.helpers.parseLinkTitle(g,k,w),k<w&&y!==k&&v.ok?(_=v.str,k=v.pos,T+=v.lines):(_="",k=s,T=l);k<w&&(a=g.charCodeAt(k),o(a));)k++;if(k<w&&10!==g.charCodeAt(k)&&_)for(_="",k=s,T=l;k<w&&(a=g.charCodeAt(k),o(a));)k++;return!(k<w&&10!==g.charCodeAt(k))&&(!!(f=r(g.slice(1,h)))&&(i||("undefined"===typeof e.env.references&&(e.env.references={}),"undefined"===typeof e.env.references[f]&&(e.env.references[f]={title:_,href:u}),e.parentType=m,e.line=t+T+1),!0))}},6075:(e,t,n)=>{"use strict";var r=n(3487),o=n(4207).isSpace;function i(e,t,n,r){var i,a,s,l,c,u,p,d;for(this.src=e,this.md=t,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",d=!1,s=l=u=p=0,c=(a=this.src).length;l<c;l++){if(i=a.charCodeAt(l),!d){if(o(i)){u++,9===i?p+=4-p%4:p++;continue}d=!0}10!==i&&l!==c-1||(10!==i&&l++,this.bMarks.push(s),this.eMarks.push(l),this.tShift.push(u),this.sCount.push(p),this.bsCount.push(0),d=!1,u=0,p=0,s=l+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}i.prototype.push=function(e,t,n){var o=new r(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},i.prototype.skipSpaces=function(e){for(var t,n=this.src.length;e<n&&(t=this.src.charCodeAt(e),o(t));e++);return e},i.prototype.skipSpacesBack=function(e,t){if(e<=t)return e;for(;e>t;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e},i.prototype.skipCharsBack=function(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,p,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;d<t;d++,i++){for(a=0,p=l=this.bMarks[d],c=d+1<t||r?this.eMarks[d]+1:this.eMarks[d];l<c&&a<n;){if(s=this.src.charCodeAt(l),o(s))9===s?a+=4-(a+this.bsCount[d])%4:a++;else{if(!(l-p<this.tShift[d]))break;a++}l++}u[i]=a>n?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},i.prototype.Token=r,e.exports=i},6948:(e,t,n)=>{"use strict";var r=n(4207).isSpace;function o(e,t){var n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,o=e.length,i=!1,a=0,s="";for(t=e.charCodeAt(r);r<o;)124===t&&(i?(s+=e.substring(a,r-1),a=r):(n.push(s+e.substring(a,r)),s="",a=r+1)),i=92===t,r++,t=e.charCodeAt(r);return n.push(s+e.substring(a)),n}e.exports=function(e,t,n,a){var s,l,c,u,p,d,f,h,m,v,y,g,b,E,_,T,k,w;if(t+2>n)return!1;if(d=t+1,e.sCount[d]<e.blkIndent)return!1;if(e.sCount[d]-e.blkIndent>=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(k=e.src.charCodeAt(c++))&&45!==k&&58!==k)return!1;if(c>=e.eMarks[d])return!1;if(124!==(w=e.src.charCodeAt(c++))&&45!==w&&58!==w&&!r(w))return!1;if(45===k&&r(w))return!1;for(;c<e.eMarks[d];){if(124!==(s=e.src.charCodeAt(c))&&45!==s&&58!==s&&!r(s))return!1;c++}for(f=(l=o(e,t+1)).split("|"),v=[],u=0;u<f.length;u++){if(!(y=f[u].trim())){if(0===u||u===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(y))return!1;58===y.charCodeAt(y.length-1)?v.push(58===y.charCodeAt(0)?"center":"right"):58===y.charCodeAt(0)?v.push("left"):v.push("")}if(-1===(l=o(e,t).trim()).indexOf("|"))return!1;if(e.sCount[t]-e.blkIndent>=4)return!1;if((f=i(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),0===(h=f.length)||h!==v.length)return!1;if(a)return!0;for(E=e.parentType,e.parentType="table",T=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=g=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u<f.length;u++)m=e.push("th_open","th",1),v[u]&&(m.attrs=[["style","text-align:"+v[u]]]),(m=e.push("inline","",0)).content=f[u].trim(),m.children=[],m=e.push("th_close","th",-1);for(m=e.push("tr_close","tr",-1),m=e.push("thead_close","thead",-1),d=t+2;d<n&&!(e.sCount[d]<e.blkIndent);d++){for(_=!1,u=0,p=T.length;u<p;u++)if(T[u](e,d,n,!0)){_=!0;break}if(_)break;if(!(l=o(e,d).trim()))break;if(e.sCount[d]-e.blkIndent>=4)break;for((f=i(l)).length&&""===f[0]&&f.shift(),f.length&&""===f[f.length-1]&&f.pop(),d===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[d,d+1],u=0;u<h;u++)m=e.push("td_open","td",1),v[u]&&(m.attrs=[["style","text-align:"+v[u]]]),(m=e.push("inline","",0)).content=f[u]?f[u].trim():"",m.children=[],m=e.push("td_close","td",-1);m=e.push("tr_close","tr",-1)}return b&&(m=e.push("tbody_close","tbody",-1),b[1]=d),m=e.push("table_close","table",-1),g[1]=d,e.parentType=E,e.line=d,!0}},3009:e=>{"use strict";e.exports=function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}},3447:e=>{"use strict";e.exports=function(e){var t,n,r,o=e.tokens;for(n=0,r=o.length;n<r;n++)"inline"===(t=o[n]).type&&e.md.inline.parse(t.content,e.md,e.env,t.children)}},8246:(e,t,n)=>{"use strict";var r=n(4207).arrayReplaceAt;function o(e){return/^<\/a\s*>/i.test(e)}e.exports=function(e){var t,n,i,a,s,l,c,u,p,d,f,h,m,v,y,g,b,E,_=e.tokens;if(e.md.options.linkify)for(n=0,i=_.length;n<i;n++)if("inline"===_[n].type&&e.md.linkify.pretest(_[n].content))for(m=0,t=(a=_[n].children).length-1;t>=0;t--)if("link_close"!==(l=a[t]).type){if("html_inline"===l.type&&(E=l.content,/^<a[>\s]/i.test(E)&&m>0&&m--,o(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,f=0,u=0;u<b.length;u++)v=b[u].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(g=b[u].text,g=b[u].schema?"mailto:"!==b[u].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(d=b[u].index)>f&&((s=new e.Token("text","",0)).content=p.slice(f,d),s.level=h,c.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",y]],s.level=h++,s.markup="linkify",s.info="auto",c.push(s),(s=new e.Token("text","",0)).content=g,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),f=b[u].lastIndex);f<p.length&&((s=new e.Token("text","",0)).content=p.slice(f),s.level=h,c.push(s)),_[n].children=a=r(a,t,c)}}else for(t--;a[t].level!==l.level&&"link_open"!==a[t].type;)t--}},6479:e=>{"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,"\ufffd"),e.src=r}},3119:e=>{"use strict";var t=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,n=/\((c|tm|r|p)\)/i,r=/\((c|tm|r|p)\)/gi,o={c:"\xa9",r:"\xae",p:"\xa7",tm:"\u2122"};function i(e,t){return o[t.toLowerCase()]}function a(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)"text"!==(n=e[t]).type||o||(n.content=n.content.replace(r,i)),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}function s(e){var n,r,o=0;for(n=e.length-1;n>=0;n--)"text"!==(r=e[n]).type||o||t.test(r.content)&&(r.content=r.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}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))}},4192:(e,t,n)=>{"use strict";var r=n(4207).isWhiteSpace,o=n(4207).isPunctChar,i=n(4207).isMdAsciiPunct,a=/['"]/,s=/['"]/g;function l(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function c(e,t){var n,a,c,u,p,d,f,h,m,v,y,g,b,E,_,T,k,w,S,A,N;for(S=[],n=0;n<e.length;n++){for(a=e[n],f=e[n].level,k=S.length-1;k>=0&&!(S[k].level<=f);k--);if(S.length=k+1,"text"===a.type){p=0,d=(c=a.content).length;e:for(;p<d&&(s.lastIndex=p,u=s.exec(c));){if(_=T=!0,p=u.index+1,w="'"===u[0],m=32,u.index-1>=0)m=c.charCodeAt(u.index-1);else for(k=n-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if(e[k].content){m=e[k].content.charCodeAt(e[k].content.length-1);break}if(v=32,p<d)v=c.charCodeAt(p);else for(k=n+1;k<e.length&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k++)if(e[k].content){v=e[k].content.charCodeAt(0);break}if(y=i(m)||o(String.fromCharCode(m)),g=i(v)||o(String.fromCharCode(v)),b=r(m),(E=r(v))?_=!1:g&&(b||y||(_=!1)),b?T=!1:y&&(E||g||(T=!1)),34===v&&'"'===u[0]&&m>=48&&m<=57&&(T=_=!1),_&&T&&(_=y,T=g),_||T){if(T)for(k=S.length-1;k>=0&&(h=S[k],!(S[k].level<f));k--)if(h.single===w&&S[k].level===f){h=S[k],w?(A=t.md.options.quotes[2],N=t.md.options.quotes[3]):(A=t.md.options.quotes[0],N=t.md.options.quotes[1]),a.content=l(a.content,u.index,N),e[h.token].content=l(e[h.token].content,h.pos,A),p+=N.length-1,h.token===n&&(p+=A.length-1),d=(c=a.content).length,S.length=k;continue e}_?S.push({token:n,pos:u.index,single:w,level:f}):T&&w&&(a.content=l(a.content,u.index,"\u2019"))}else w&&(a.content=l(a.content,u.index,"\u2019"))}}}}e.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&a.test(e.tokens[t].content)&&c(e.tokens[t].children,e)}},779:(e,t,n)=>{"use strict";var r=n(3487);function o(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=r,e.exports=o},1375:e=>{"use strict";var t=/^([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])?)*)$/,n=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,r){var o,i,a,s,l,c,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(l=e.pos,c=e.posMax;;){if(++u>=c)return!1;if(60===(s=e.src.charCodeAt(u)))return!1;if(62===s)break}return o=e.src.slice(l+1,u),n.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(r||((a=e.push("link_open","a",1)).attrs=[["href",i]],a.markup="autolink",a.info="auto",(a=e.push("text","",0)).content=e.md.normalizeLinkText(o),(a=e.push("link_close","a",-1)).markup="autolink",a.info="auto"),e.pos+=o.length+2,!0))}},6881:e=>{"use strict";e.exports=function(e,t){var n,r,o,i,a,s,l,c,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u<r&&96===e.src.charCodeAt(u);)u++;if(l=(o=e.src.slice(n,u)).length,e.backticksScanned&&(e.backticks[l]||0)<=n)return t||(e.pending+=o),e.pos+=l,!0;for(a=s=u;-1!==(a=e.src.indexOf("`",s));){for(s=a+1;s<r&&96===e.src.charCodeAt(s);)s++;if((c=s-a)===l)return t||((i=e.push("code_inline","code",0)).markup=o,i.content=e.src.slice(u,a).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=s,!0;e.backticks[c]=a}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=l,!0}},4856:e=>{"use strict";function t(e,t){var n,r,o,i,a,s,l,c,u={},p=t.length;if(p){var d=0,f=-2,h=[];for(n=0;n<p;n++)if(o=t[n],h.push(0),t[d].marker===o.marker&&f===o.token-1||(d=n),f=o.token,o.length=o.length||0,o.close){for(u.hasOwnProperty(o.marker)||(u[o.marker]=[-1,-1,-1,-1,-1,-1]),a=u[o.marker][(o.open?3:0)+o.length%3],s=r=d-h[d]-1;r>a;r-=h[r]+1)if((i=t[r]).marker===o.marker&&i.open&&i.end<0&&(l=!1,(i.close||o.open)&&(i.length+o.length)%3===0&&(i.length%3===0&&o.length%3===0||(l=!0)),!l)){c=r>0&&!t[r-1].open?h[r-1]+1:0,h[n]=n-r+c,h[r]=c,o.open=!1,i.end=n,i.close=!1,s=-1,f=-2;break}-1!==s&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=s)}}}e.exports=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(0,r[n].delimiters)}},838:e=>{"use strict";function t(e,t){var n,r,o,i,a,s;for(n=t.length-1;n>=0;n--)95!==(r=t[n]).marker&&42!==r.marker||-1!==r.end&&(o=t[r.end],s=n>0&&t[n-1].end===r.end+1&&t[n-1].marker===r.marker&&t[n-1].token===r.token-1&&t[r.end+1].token===o.token+1,a=String.fromCharCode(r.marker),(i=e.tokens[r.token]).type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",(i=e.tokens[o.token]).type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[r.end+1].token].content="",n--))}e.exports.q=function(e,t){var n,r,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(r=e.scanDelims(e.pos,42===i),n=0;n<r.length;n++)e.push("text","",0).content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},883:(e,t,n)=>{"use strict";var r=n(899),o=n(4207).has,i=n(4207).isValidEntityCode,a=n(4207).fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;e.exports=function(e,t){var n,c,u=e.pos,p=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1<p)if(35===e.src.charCodeAt(u+1)){if(c=e.src.slice(u).match(s))return t||(n="x"===c[1][0].toLowerCase()?parseInt(c[1].slice(1),16):parseInt(c[1],10),e.pending+=i(n)?a(n):a(65533)),e.pos+=c[0].length,!0}else if((c=e.src.slice(u).match(l))&&o(r,c[1]))return t||(e.pending+=r[c[1]]),e.pos+=c[0].length,!0;return t||(e.pending+="&"),e.pos++,!0}},3643:(e,t,n)=>{"use strict";for(var r=n(4207).isSpace,o=[],i=0;i<256;i++)o.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var n,i=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i<a){if((n=e.src.charCodeAt(i))<256&&0!==o[n])return t||(e.pending+=e.src[i]),e.pos+=2,!0;if(10===n){for(t||e.push("hardbreak","br",0),i++;i<a&&(n=e.src.charCodeAt(i),r(n));)i++;return e.pos=i,!0}}return t||(e.pending+="\\"),e.pos++,!0}},901:(e,t,n)=>{"use strict";var r=n(7857).l;e.exports=function(e,t){var n,o,i,a=e.pos;return!!e.md.options.html&&(i=e.posMax,!(60!==e.src.charCodeAt(a)||a+2>=i)&&(!(33!==(n=e.src.charCodeAt(a+1))&&63!==n&&47!==n&&!function(e){var t=32|e;return t>=97&&t<=122}(n))&&(!!(o=e.src.slice(a).match(r))&&(t||(e.push("html_inline","",0).content=e.src.slice(a,a+o[0].length)),e.pos+=o[0].length,!0))))}},4391:(e,t,n)=>{"use strict";var r=n(4207).normalizeReference,o=n(4207).isSpace;e.exports=function(e,t){var n,i,a,s,l,c,u,p,d,f,h,m,v,y="",g=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<b&&40===e.src.charCodeAt(u)){for(u++;u<b&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(u>=b)return!1;for(v=u,(d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(y=e.md.normalizeLink(d.str),e.md.validateLink(y)?u=d.pos:y=""),v=u;u<b&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<b&&v!==u&&d.ok)for(f=d.str,u=d.pos;u<b&&(i=e.src.charCodeAt(u),o(i)||10===i);u++);else f="";if(u>=b||41!==e.src.charCodeAt(u))return e.pos=g,!1;u++}else{if("undefined"===typeof e.env.references)return!1;if(u<b&&91===e.src.charCodeAt(u)?(v=u+1,(u=e.md.helpers.parseLinkLabel(e,u))>=0?s=e.src.slice(v,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(p=e.env.references[r(s)]))return e.pos=g,!1;y=p.href,f=p.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),(h=e.push("image","img",0)).attrs=n=[["src",y],["alt",""]],h.children=m,h.content=a,f&&n.push(["title",f])),e.pos=u,e.posMax=b,!0}},4628:(e,t,n)=>{"use strict";var r=n(4207).normalizeReference,o=n(4207).isSpace;e.exports=function(e,t){var n,i,a,s,l,c,u,p,d="",f="",h=e.pos,m=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)<m&&40===e.src.charCodeAt(c)){for(y=!1,c++;c<m&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);if(c>=m)return!1;if(v=c,(u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax)).ok){for(d=e.md.normalizeLink(u.str),e.md.validateLink(d)?c=u.pos:d="",v=c;c<m&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);if(u=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<m&&v!==c&&u.ok)for(f=u.str,c=u.pos;c<m&&(i=e.src.charCodeAt(c),o(i)||10===i);c++);}(c>=m||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if("undefined"===typeof e.env.references)return!1;if(c<m&&91===e.src.charCodeAt(c)?(v=c+1,(c=e.md.helpers.parseLinkLabel(e,c))>=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(p=e.env.references[r(a)]))return e.pos=h,!1;d=p.href,f=p.title}return t||(e.pos=l,e.posMax=s,e.push("link_open","a",1).attrs=n=[["href",d]],f&&n.push(["title",f]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=c,e.posMax=m,!0}},8650:(e,t,n)=>{"use strict";var r=n(4207).isSpace;e.exports=function(e,t){var n,o,i,a=e.pos;if(10!==e.src.charCodeAt(a))return!1;if(n=e.pending.length-1,o=e.posMax,!t)if(n>=0&&32===e.pending.charCodeAt(n))if(n>=1&&32===e.pending.charCodeAt(n-1)){for(i=n-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),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<o&&r(e.src.charCodeAt(a));)a++;return e.pos=a,!0}},7711:(e,t,n)=>{"use strict";var r=n(3487),o=n(4207).isWhiteSpace,i=n(4207).isPunctChar,a=n(4207).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 o=new r(e,t,n),i=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},s.prototype.scanDelims=function(e,t){var n,r,s,l,c,u,p,d,f,h=e,m=!0,v=!0,y=this.posMax,g=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h<y&&this.src.charCodeAt(h)===g;)h++;return s=h-e,r=h<y?this.src.charCodeAt(h):32,p=a(n)||i(String.fromCharCode(n)),f=a(r)||i(String.fromCharCode(r)),u=o(n),(d=o(r))?m=!1:f&&(u||p||(m=!1)),u?v=!1:p&&(d||f||(v=!1)),t?(l=m,c=v):(l=m&&(!v||p),c=v&&(!m||f)),{can_open:l,can_close:c,length:s}},s.prototype.Token=r,e.exports=s},3369:e=>{"use strict";function t(e,t){var n,r,o,i,a,s=[],l=t.length;for(n=0;n<l;n++)126===(o=t[n]).marker&&-1!==o.end&&(i=t[o.end],(a=e.tokens[o.token]).type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",(a=e.tokens[i.token]).type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="","text"===e.tokens[i.token-1].type&&"~"===e.tokens[i.token-1].content&&s.push(i.token-1));for(;s.length;){for(r=(n=s.pop())+1;r<e.tokens.length&&"s_close"===e.tokens[r].type;)r++;n!==--r&&(a=e.tokens[r],e.tokens[r]=e.tokens[n],e.tokens[n]=a)}}e.exports.q=function(e,t){var n,r,o,i,a=e.pos,s=e.src.charCodeAt(a);if(t)return!1;if(126!==s)return!1;if(o=(r=e.scanDelims(e.pos,!0)).length,i=String.fromCharCode(s),o<2)return!1;for(o%2&&(e.push("text","",0).content=i,o--),n=0;n<o;n+=2)e.push("text","",0).content=i+i,e.delimiters.push({marker:s,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0},e.exports.g=function(e){var n,r=e.tokens_meta,o=e.tokens_meta.length;for(t(e,e.delimiters),n=0;n<o;n++)r[n]&&r[n].delimiters&&t(e,r[n].delimiters)}},9523: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<e.posMax&&!t(e.src.charCodeAt(r));)r++;return r!==e.pos&&(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}},2261:e=>{"use strict";e.exports=function(e){var t,n,r=0,o=e.tokens,i=e.tokens.length;for(t=n=0;t<i;t++)o[t].nesting<0&&r--,o[t].level=r,o[t].nesting>0&&r++,"text"===o[t].type&&t+1<i&&"text"===o[t+1].type?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}},3487:e=>{"use strict";function t(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}t.prototype.attrIndex=function(e){var t,n,r;if(!this.attrs)return-1;for(n=0,r=(t=this.attrs).length;n<r;n++)if(t[n][0]===e)return n;return-1},t.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},t.prototype.attrSet=function(e,t){var n=this.attrIndex(e),r=[e,t];n<0?this.attrPush(r):this.attrs[n]=r},t.prototype.attrGet=function(e){var t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n},t.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},e.exports=t},6323:e=>{"use strict";var t={};function n(e,r){var o;return"string"!==typeof r&&(r=n.defaultChars),o=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),o.push(r);for(n=0;n<e.length;n++)o[r=e.charCodeAt(n)]="%"+("0"+r.toString(16).toUpperCase()).slice(-2);return o}(r),e.replace(/(%[a-f0-9]{2})+/gi,(function(e){var t,n,r,i,a,s,l,c="";for(t=0,n=e.length;t<n;t+=3)(r=parseInt(e.slice(t+1,t+3),16))<128?c+=o[r]:192===(224&r)&&t+3<n&&128===(192&(i=parseInt(e.slice(t+4,t+6),16)))?(c+=(l=r<<6&1984|63&i)<128?"\ufffd\ufffd":String.fromCharCode(l),t+=3):224===(240&r)&&t+6<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),128===(192&i)&&128===(192&a))?(c+=(l=r<<12&61440|i<<6&4032|63&a)<2048||l>=55296&&l<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(l),t+=6):240===(248&r)&&t+9<n&&(i=parseInt(e.slice(t+4,t+6),16),a=parseInt(e.slice(t+7,t+9),16),s=parseInt(e.slice(t+10,t+12),16),128===(192&i)&&128===(192&a)&&128===(192&s))?((l=r<<18&1835008|i<<12&258048|a<<6&4032|63&s)<65536||l>1114111?c+="\ufffd\ufffd\ufffd\ufffd":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="\ufffd";return c}))}n.defaultChars=";/?:@&=+$,#",n.componentChars="",e.exports=n},3391:e=>{"use strict";var t={};function n(e,r,o){var i,a,s,l,c,u="";for("string"!==typeof r&&(o=r,r=n.defaultChars),"undefined"===typeof o&&(o=!0),c=function(e){var n,r,o=t[e];if(o)return o;for(o=t[e]=[],n=0;n<128;n++)r=String.fromCharCode(n),/^[0-9a-z]$/i.test(r)?o.push(r):o.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2));for(n=0;n<e.length;n++)o[e.charCodeAt(n)]=e[n];return o}(r),i=0,a=e.length;i<a;i++)if(s=e.charCodeAt(i),o&&37===s&&i+2<a&&/^[0-9a-f]{2}$/i.test(e.slice(i+1,i+3)))u+=e.slice(i,i+3),i+=2;else if(s<128)u+=c[s];else if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&i+1<a&&(l=e.charCodeAt(i+1))>=56320&&l<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",e.exports=n},9866:e=>{"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},5729:(e,t,n)=>{"use strict";e.exports.encode=n(3391),e.exports.decode=n(6323),e.exports.format=n(9866),e.exports.parse=n(470)},470:e=>{"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),a=["'"].concat(i),s=["%","/","?",";","#"].concat(a),l=["/","?","#"],c=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var r,i,a,f,h,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var v=o.exec(m);if(v)return this.pathname=v[1],v[2]&&(this.search=v[2]),this}var y=n.exec(m);if(y&&(a=(y=y[0]).toLowerCase(),this.protocol=y,m=m.substr(y.length)),(t||y||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(h="//"===m.substr(0,2))||y&&p[y]||(m=m.substr(2),this.slashes=!0)),!p[y]&&(h||y&&!d[y])){var g,b,E=-1;for(r=0;r<l.length;r++)-1!==(f=m.indexOf(l[r]))&&(-1===E||f<E)&&(E=f);for(-1!==(b=-1===E?m.lastIndexOf("@"):m.lastIndexOf("@",E))&&(g=m.slice(0,b),m=m.slice(b+1),this.auth=g),E=-1,r=0;r<s.length;r++)-1!==(f=m.indexOf(s[r]))&&(-1===E||f<E)&&(E=f);-1===E&&(E=m.length),":"===m[E-1]&&E--;var _=m.slice(0,E);m=m.slice(E),this.parseHost(_),this.hostname=this.hostname||"";var T="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!T){var k=this.hostname.split(/\./);for(r=0,i=k.length;r<i;r++){var w=k[r];if(w&&!w.match(c)){for(var S="",A=0,N=w.length;A<N;A++)w.charCodeAt(A)>127?S+="x":S+=w[A];if(!S.match(c)){var C=k.slice(0,r),O=k.slice(r+1),I=w.match(u);I&&(C.push(I[1]),O.unshift(I[2])),O.length&&(m=O.join(".")+m),this.hostname=C.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),T&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=m.indexOf("#");-1!==D&&(this.hash=m.substr(D),m=m.slice(0,D));var x=m.indexOf("?");return-1!==x&&(this.search=m.substr(x),m=m.slice(0,x)),m&&(this.pathname=m),d[a]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=r.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,n){if(e&&e instanceof t)return e;var r=new t;return r.parse(e,n),r}},9165:e=>{"use strict";function t(e,t){if(null!=e)return e;var n=new Error(void 0!==t?t:"Got unexpected "+e);throw n.framesToPop=1,n}e.exports=t,e.exports.default=t,Object.defineProperty(e.exports,"__esModule",{value:!0})},6512:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,o){for(var i,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in i=Object(arguments[l]))n.call(i,c)&&(s[c]=i[c]);if(t){a=t(i);for(var u=0;u<a.length;u++)r.call(i,a[u])&&(s[a[u]]=i[a[u]])}}return s}},8074:(e,t,n)=>{"use strict";var r=n(441);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5360:(e,t,n)=>{e.exports=n(8074)()},441:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},191:(e,t,n)=>{"use strict";n.r(t),n.d(t,{decode:()=>y,default:()=>_,encode:()=>g,toASCII:()=>E,toUnicode:()=>b,ucs2decode:()=>f,ucs2encode:()=>h});const r=2147483647,o=36,i=/^xn--/,a=/[^\0-\x7F]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},c=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(l[e])}function d(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]);const o=function(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(s,".")).split("."),t).join(".");return r+o}function f(e){const t=[];let n=0;const r=e.length;for(;n<r;){const o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){const r=e.charCodeAt(n++);56320==(64512&r)?t.push(((1023&o)<<10)+(1023&r)+65536):(t.push(o),n--)}else t.push(o)}return t}const h=e=>String.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},v=function(e,t,n){let r=0;for(e=n?c(e/700):e>>1,e+=c(e/t);e>455;r+=o)e=c(e/35);return c(r+36*e/(e+38))},y=function(e){const t=[],n=e.length;let i=0,a=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let r=0;r<l;++r)e.charCodeAt(r)>=128&&p("not-basic"),t.push(e.charCodeAt(r));for(let d=l>0?l+1:0;d<n;){const l=i;for(let t=1,a=o;;a+=o){d>=n&&p("invalid-input");const l=(u=e.charCodeAt(d++))>=48&&u<58?u-48+26:u>=65&&u<91?u-65:u>=97&&u<123?u-97:o;l>=o&&p("invalid-input"),l>c((r-i)/t)&&p("overflow"),i+=l*t;const f=a<=s?1:a>=s+26?26:a-s;if(l<f)break;const h=o-f;t>c(r/h)&&p("overflow"),t*=h}const f=t.length+1;s=v(i-l,f,0==l),c(i/f)>r-a&&p("overflow"),a+=c(i/f),i%=f,t.splice(i++,0,a)}var u;return String.fromCodePoint(...t)},g=function(e){const t=[],n=(e=f(e)).length;let i=128,a=0,s=72;for(const r of e)r<128&&t.push(u(r));const l=t.length;let d=l;for(l&&t.push("-");d<n;){let n=r;for(const t of e)t>=i&&t<n&&(n=t);const f=d+1;n-i>c((r-a)/f)&&p("overflow"),a+=(n-i)*f,i=n;for(const h of e)if(h<i&&++a>r&&p("overflow"),h===i){let e=a;for(let n=o;;n+=o){const r=n<=s?1:n>=s+26?26:n-s;if(e<r)break;const i=e-r,a=o-r;t.push(u(m(r+i%a,0))),e=c(i/a)}t.push(u(m(e,0))),s=v(a,f,d===l),a=0,++d}++a,++i}return t.join("")},b=function(e){return d(e,(function(e){return i.test(e)?y(e.slice(4).toLowerCase()):e}))},E=function(e){return d(e,(function(e){return a.test(e)?"xn--"+g(e):e}))},_={version:"2.3.1",ucs2:{decode:f,encode:h},decode:y,encode:g,toASCII:E,toUnicode:b}},2627:(e,t,n)=>{"use strict";var r=n(2176),o=n(6512),i=n(4442);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var p=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f=Object.prototype.hasOwnProperty,h={},m={};function v(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){y[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];y[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){y[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){y[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){y[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){y[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){y[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){y[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){y[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function E(e,t,n,r){var o=y.hasOwnProperty(t)?y[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(m,e)||!f.call(h,e)&&(d.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,b);y[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,b);y[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,b);y[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),y.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){y[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,T=60103,k=60106,w=60107,S=60108,A=60114,N=60109,C=60110,O=60112,I=60113,D=60120,x=60115,R=60116,F=60121,P=60128,L=60129,M=60130,j=60131;if("function"===typeof Symbol&&Symbol.for){var V=Symbol.for;T=V("react.element"),k=V("react.portal"),w=V("react.fragment"),S=V("react.strict_mode"),A=V("react.profiler"),N=V("react.provider"),C=V("react.context"),O=V("react.forward_ref"),I=V("react.suspense"),D=V("react.suspense_list"),x=V("react.memo"),R=V("react.lazy"),F=V("react.block"),V("react.scope"),P=V("react.opaque.id"),L=V("react.debug_trace_mode"),M=V("react.offscreen"),j=V("react.legacy_hidden")}var U,q="function"===typeof Symbol&&Symbol.iterator;function z(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=q&&e[q]||e["@@iterator"])?e:null}function B(e){if(void 0===U)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);U=t&&t[1]||""}return"\n"+U+e}var H=!1;function Y(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(l){var r=l}Reflect.construct(e,[],t)}else{try{t.call()}catch(l){r=l}e.call(t.prototype)}else{try{throw Error()}catch(l){r=l}e()}}catch(l){if(l&&r&&"string"===typeof l.stack){for(var o=l.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?B(e):""}function G(e){switch(e.tag){case 5:return B(e.type);case 16:return B("Lazy");case 13:return B("Suspense");case 19:return B("SuspenseList");case 0:case 2:case 15:return e=Y(e.type,!1);case 11:return e=Y(e.type.render,!1);case 22:return e=Y(e.type._render,!1);case 1:return e=Y(e.type,!0);default:return""}}function Q(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case w:return"Fragment";case k:return"Portal";case A:return"Profiler";case S:return"StrictMode";case I:return"Suspense";case D:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case C:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case x:return Q(e.type);case F:return Q(e._render);case R:t=e._payload,e=e._init;try{return Q(e(t))}catch(n){}}return null}function K(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function J(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Z(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=K(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&E(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=K(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,K(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+K(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:K(n)}}function ce(e,t){var n=K(t.value),r=K(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var pe="http://www.w3.org/1999/xhtml",de="http://www.w3.org/2000/svg";function fe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?fe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ve,ye=(ve=function(e,t){if(e.namespaceURI!==de||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ve(e,t)}))}:ve);function ge(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ee=["Webkit","ms","Moz","O"];function _e(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Te(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=_e(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){Ee.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var ke=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function we(e,t){if(t){if(ke[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(a(62))}}function Se(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Ae(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ne=null,Ce=null,Oe=null;function Ie(e){if(e=ro(e)){if("function"!==typeof Ne)throw Error(a(280));var t=e.stateNode;t&&(t=io(t),Ne(e.stateNode,e.type,t))}}function De(e){Ce?Oe?Oe.push(e):Oe=[e]:Ce=e}function xe(){if(Ce){var e=Ce,t=Oe;if(Oe=Ce=null,Ie(e),t)for(e=0;e<t.length;e++)Ie(t[e])}}function Re(e,t){return e(t)}function Fe(e,t,n,r,o){return e(t,n,r,o)}function Pe(){}var Le=Re,Me=!1,je=!1;function Ve(){null===Ce&&null===Oe||(Pe(),xe())}function Ue(e,t){var n=e.stateNode;if(null===n)return null;var r=io(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(a(231,t,typeof n));return n}var qe=!1;if(p)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){qe=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(ve){qe=!1}function Be(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(u){this.onError(u)}}var He=!1,Ye=null,Ge=!1,Qe=null,Ke={onError:function(e){He=!0,Ye=e}};function We(e,t,n,r,o,i,a,s,l){He=!1,Ye=null,Be.apply(Ke,arguments)}function Je(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Xe(e){if(Je(e)!==e)throw Error(a(188))}function Ze(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Je(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Xe(o),e;if(i===r)return Xe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,ot,it=!1,at=[],st=null,lt=null,ct=null,ut=new Map,pt=new Map,dt=[],ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function ht(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":st=null;break;case"dragenter":case"dragleave":lt=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":ut.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pt.delete(t.pointerId)}}function vt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=ht(t,n,r,o,i),null!==t&&(null!==(t=ro(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function yt(e){var t=no(e.target);if(null!==t){var n=Je(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void ot(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function gt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ro(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){gt(e)&&n.delete(t)}function Et(){for(it=!1;0<at.length;){var e=at[0];if(null!==e.blockedOn){null!==(e=ro(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Zt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&at.shift()}null!==st&&gt(st)&&(st=null),null!==lt&&gt(lt)&&(lt=null),null!==ct&&gt(ct)&&(ct=null),ut.forEach(bt),pt.forEach(bt)}function _t(e,t){e.blockedOn===t&&(e.blockedOn=null,it||(it=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Et)))}function Tt(e){function t(t){return _t(t,e)}if(0<at.length){_t(at[0],e);for(var n=1;n<at.length;n++){var r=at[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==st&&_t(st,e),null!==lt&&_t(lt,e),null!==ct&&_t(ct,e),ut.forEach(t),pt.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)yt(n),null===n.blockedOn&&dt.shift()}function kt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wt={animationend:kt("Animation","AnimationEnd"),animationiteration:kt("Animation","AnimationIteration"),animationstart:kt("Animation","AnimationStart"),transitionend:kt("Transition","TransitionEnd")},St={},At={};function Nt(e){if(St[e])return St[e];if(!wt[e])return e;var t,n=wt[e];for(t in n)if(n.hasOwnProperty(t)&&t in At)return St[e]=n[t];return e}p&&(At=document.createElement("div").style,"AnimationEvent"in window||(delete wt.animationend.animation,delete wt.animationiteration.animation,delete wt.animationstart.animation),"TransitionEvent"in window||delete wt.transitionend.transition);var Ct=Nt("animationend"),Ot=Nt("animationiteration"),It=Nt("animationstart"),Dt=Nt("transitionend"),xt=new Map,Rt=new Map,Ft=["abort","abort",Ct,"animationEnd",Ot,"animationIteration",It,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Dt,"transitionEnd","waiting","waiting"];function Pt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Rt.set(r,t),xt.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Lt=8;function Mt(e){if(0!==(1&e))return Lt=15,1;if(0!==(2&e))return Lt=14,2;if(0!==(4&e))return Lt=13,4;var t=24&e;return 0!==t?(Lt=12,t):0!==(32&e)?(Lt=11,32):0!==(t=192&e)?(Lt=10,t):0!==(256&e)?(Lt=9,256):0!==(t=3584&e)?(Lt=8,t):0!==(4096&e)?(Lt=7,4096):0!==(t=4186112&e)?(Lt=6,t):0!==(t=62914560&e)?(Lt=5,t):67108864&e?(Lt=4,67108864):0!==(134217728&e)?(Lt=3,134217728):0!==(t=805306368&e)?(Lt=2,t):0!==(1073741824&e)?(Lt=1,1073741824):(Lt=8,e)}function jt(e,t){var n=e.pendingLanes;if(0===n)return Lt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)r=i,o=Lt=15;else if(0!==(i=134217727&n)){var l=i&~a;0!==l?(r=Mt(l),o=Lt):0!==(s&=i)&&(r=Mt(s),o=Lt)}else 0!==(i=n&~a)?(r=Mt(i),o=Lt):0!==s&&(r=Mt(s),o=Lt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&a)){if(Mt(t),o<=Lt)return t;Lt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function Vt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ut(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=qt(24&~t))?Ut(10,t):e;case 10:return 0===(e=qt(192&~t))?Ut(8,t):e;case 8:return 0===(e=qt(3584&~t))&&(0===(e=qt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=qt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function qt(e){return e&-e}function zt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Bt(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Yt(e)/Gt|0)|0},Yt=Math.log,Gt=Math.LN2;var Qt=i.unstable_UserBlockingPriority,Kt=i.unstable_runWithPriority,Wt=!0;function Jt(e,t,n,r){Me||Pe();var o=Xt,i=Me;Me=!0;try{Fe(o,e,t,n,r)}finally{(Me=i)||Ve()}}function $t(e,t,n,r){Kt(Qt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var o;if(Wt)if((o=0===(4&t))&&0<at.length&&-1<ft.indexOf(e))e=ht(null,e,t,n,r),at.push(e);else{var i=Zt(e,t,n,r);if(null===i)o&&mt(e,r);else{if(o){if(-1<ft.indexOf(e))return e=ht(i,e,t,n,r),void at.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return st=vt(st,e,t,n,r,o),!0;case"dragenter":return lt=vt(lt,e,t,n,r,o),!0;case"mouseover":return ct=vt(ct,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ut.set(i,vt(ut.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,pt.set(i,vt(pt.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;mt(e,r)}Pr(e,t,r,null,n)}}}function Zt(e,t,n,r){var o=Ae(r);if(null!==(o=no(o))){var i=Je(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=$e(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Pr(e,t,r,o,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,o="value"in en?en.value:en.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return nn=o.slice(e,1<t?1-t:void 0)}function on(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function an(){return!0}function sn(){return!1}function ln(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?an:sn,this.isPropagationStopped=sn,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=an)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=an)},persist:function(){},isPersistent:an}),t}var cn,un,pn,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=ln(dn),hn=o({},dn,{view:0,detail:0}),mn=ln(hn),vn=o({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==pn&&(pn&&"mousemove"===e.type?(cn=e.screenX-pn.screenX,un=e.screenY-pn.screenY):un=cn=0,pn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:un}}),yn=ln(vn),gn=ln(o({},vn,{dataTransfer:0})),bn=ln(o({},hn,{relatedTarget:0})),En=ln(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),_n=o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Tn=ln(_n),kn=ln(o({},dn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=An[e])&&!!t[e]}function Cn(){return Nn}var On=o({},hn,{key:function(e){if(e.key){var t=wn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=on(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?on(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?on(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),In=ln(On),Dn=ln(o({},vn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=ln(o({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Rn=ln(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=o({},vn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Pn=ln(Fn),Ln=[9,13,27,32],Mn=p&&"CompositionEvent"in window,jn=null;p&&"documentMode"in document&&(jn=document.documentMode);var Vn=p&&"TextEvent"in window&&!jn,Un=p&&(!Mn||jn&&8<jn&&11>=jn),qn=String.fromCharCode(32),zn=!1;function Bn(e,t){switch(e){case"keyup":return-1!==Ln.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Yn=!1;var Gn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gn[e.type]:"textarea"===t}function Kn(e,t,n,r){De(r),0<(t=Mr(t,"onChange")).length&&(n=new fn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Jn=null;function $n(e){Or(e,0)}function Xn(e){if($(oo(e)))return e}function Zn(e,t){if("change"===e)return t}var er=!1;if(p){var tr;if(p){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function or(){Wn&&(Wn.detachEvent("onpropertychange",ir),Jn=Wn=null)}function ir(e){if("value"===e.propertyName&&Xn(Jn)){var t=[];if(Kn(t,Jn,e,Ae(e)),e=$n,Me)e(t);else{Me=!0;try{Re(e,t)}finally{Me=!1,Ve()}}}}function ar(e,t,n){"focusin"===e?(or(),Jn=n,(Wn=t).attachEvent("onpropertychange",ir)):"focusout"===e&&or()}function sr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Jn)}function lr(e,t){if("click"===e)return Xn(t)}function cr(e,t){if("input"===e||"change"===e)return Xn(t)}var ur="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},pr=Object.prototype.hasOwnProperty;function dr(e,t){if(ur(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!pr.call(t,n[r])||!ur(e[n[r]],t[n[r]]))return!1;return!0}function fr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function hr(e,t){var n,r=fr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=fr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function vr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function yr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var gr=p&&"documentMode"in document&&11>=document.documentMode,br=null,Er=null,_r=null,Tr=!1;function kr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Tr||null==br||br!==X(r)||("selectionStart"in(r=br)&&yr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_r&&dr(_r,r)||(_r=r,0<(r=Mr(Er,"onSelect")).length&&(t=new fn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}Pt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Pt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Pt(Ft,2);for(var wr="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Sr=0;Sr<wr.length;Sr++)Rt.set(wr[Sr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ar="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function Cr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,c){if(We.apply(this,arguments),He){if(!He)throw Error(a(198));var u=Ye;He=!1,Ye=null,Ge||(Ge=!0,Qe=u)}}(r,t,void 0,e),e.currentTarget=null}function Or(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Cr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Cr(o,s,c),i=l}}}if(Ge)throw e=Qe,Ge=!1,Qe=null,e}function Ir(e,t){var n=ao(t),r=e+"__bubble";n.has(r)||(Fr(t,e,2,!1),n.add(r))}var Dr="_reactListening"+Math.random().toString(36).slice(2);function xr(e){e[Dr]||(e[Dr]=!0,s.forEach((function(t){Nr.has(t)||Rr(t,!1,e,null),Rr(t,!0,e,null)})))}function Rr(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Nr.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=ao(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),Fr(i,e,o,t),a.add(s))}function Fr(e,t,n,r){var o=Rt.get(t);switch(void 0===o?2:o){case 0:o=Jt;break;case 1:o=$t;break;default:o=Xt}n=o.bind(null,t,n,e),o=void 0,!qe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Pr(e,t,n,r,o){var i=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=no(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(je)return e(t,n);je=!0;try{return Le(e,t,n)}finally{je=!1,Ve()}}((function(){var r=i,o=Ae(n),a=[];e:{var s=xt.get(e);if(void 0!==s){var l=fn,c=e;switch(e){case"keypress":if(0===on(n))break e;case"keydown":case"keyup":l=In;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=yn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=xn;break;case Ct:case Ot:case It:l=En;break;case Dt:l=Rn;break;case"scroll":l=mn;break;case"wheel":l=Pn;break;case"copy":case"cut":case"paste":l=Tn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Dn}var u=0!==(4&t),p=!u&&"scroll"===e,d=u?null!==s?s+"Capture":null:s;u=[];for(var f,h=r;null!==h;){var m=(f=h).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==d&&(null!=(m=Ue(h,d))&&u.push(Lr(h,m,f)))),p)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!no(c)&&!c[eo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?no(c):null)&&(c!==(p=Je(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=yn,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Dn,m="onPointerLeave",d="onPointerEnter",h="pointer"),p=null==l?s:oo(l),f=null==c?s:oo(c),(s=new u(m,h+"leave",l,n,o)).target=p,s.relatedTarget=f,m=null,no(o)===r&&((u=new u(d,h+"enter",c,n,o)).target=f,u.relatedTarget=p,m=u),p=m,l&&c)e:{for(d=c,h=0,f=u=l;f;f=jr(f))h++;for(f=0,m=d;m;m=jr(m))f++;for(;0<h-f;)u=jr(u),h--;for(;0<f-h;)d=jr(d),f--;for(;h--;){if(u===d||null!==d&&u===d.alternate)break e;u=jr(u),d=jr(d)}u=null}else u=null;null!==l&&Vr(a,s,l,u,!1),null!==c&&null!==p&&Vr(a,p,c,u,!0)}if("select"===(l=(s=r?oo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Zn;else if(Qn(s))if(er)v=cr;else{v=sr;var y=ar}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=lr);switch(v&&(v=v(e,r))?Kn(a,v,n,o):(y&&y(e,s,r),"focusout"===e&&(y=s._wrapperState)&&y.controlled&&"number"===s.type&&oe(s,"number",s.value)),y=r?oo(r):window,e){case"focusin":(Qn(y)||"true"===y.contentEditable)&&(br=y,Er=r,_r=null);break;case"focusout":_r=Er=br=null;break;case"mousedown":Tr=!0;break;case"contextmenu":case"mouseup":case"dragend":Tr=!1,kr(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":kr(a,n,o)}var g;if(Mn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Yn?Bn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Un&&"ko"!==n.locale&&(Yn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Yn&&(g=rn()):(tn="value"in(en=o)?en.value:en.textContent,Yn=!0)),0<(y=Mr(r,b)).length&&(b=new kn(b,e,null,n,o),a.push({event:b,listeners:y}),g?b.data=g:null!==(g=Hn(n))&&(b.data=g))),(g=Vn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(zn=!0,qn);case"textInput":return(e=t.data)===qn&&zn?null:e;default:return null}}(e,n):function(e,t){if(Yn)return"compositionend"===e||!Mn&&Bn(e,t)?(e=rn(),nn=tn=en=null,Yn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Un&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Mr(r,"onBeforeInput")).length&&(o=new kn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}Or(a,t)}))}function Lr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Mr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ue(e,n))&&r.unshift(Lr(e,i,o)),null!=(i=Ue(e,t))&&r.push(Lr(e,i,o))),e=e.return}return r}function jr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Vr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Ue(n,i))&&a.unshift(Lr(n,l,s)):o||null!=(l=Ue(n,i))&&a.push(Lr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Ur(){}var qr=null,zr=null;function Br(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Hr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Yr="function"===typeof setTimeout?setTimeout:void 0,Gr="function"===typeof clearTimeout?clearTimeout:void 0;function Qr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Kr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Wr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Jr=0;var $r=Math.random().toString(36).slice(2),Xr="__reactFiber$"+$r,Zr="__reactProps$"+$r,eo="__reactContainer$"+$r,to="__reactEvents$"+$r;function no(e){var t=e[Xr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[eo]||n[Xr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Wr(e);null!==e;){if(n=e[Xr])return n;e=Wr(e)}return t}n=(e=n).parentNode}return null}function ro(e){return!(e=e[Xr]||e[eo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function oo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function io(e){return e[Zr]||null}function ao(e){var t=e[to];return void 0===t&&(t=e[to]=new Set),t}var so=[],lo=-1;function co(e){return{current:e}}function uo(e){0>lo||(e.current=so[lo],so[lo]=null,lo--)}function po(e,t){lo++,so[lo]=e.current,e.current=t}var fo={},ho=co(fo),mo=co(!1),vo=fo;function yo(e,t){var n=e.type.contextTypes;if(!n)return fo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function go(e){return null!==(e=e.childContextTypes)&&void 0!==e}function bo(){uo(mo),uo(ho)}function Eo(e,t,n){if(ho.current!==fo)throw Error(a(168));po(ho,t),po(mo,n)}function _o(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,Q(t)||"Unknown",i));return o({},n,r)}function To(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fo,vo=ho.current,po(ho,e),po(mo,mo.current),!0}function ko(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=_o(e,t,vo),r.__reactInternalMemoizedMergedChildContext=e,uo(mo),uo(ho),po(ho,e)):uo(mo),po(mo,n)}var wo=null,So=null,Ao=i.unstable_runWithPriority,No=i.unstable_scheduleCallback,Co=i.unstable_cancelCallback,Oo=i.unstable_shouldYield,Io=i.unstable_requestPaint,Do=i.unstable_now,xo=i.unstable_getCurrentPriorityLevel,Ro=i.unstable_ImmediatePriority,Fo=i.unstable_UserBlockingPriority,Po=i.unstable_NormalPriority,Lo=i.unstable_LowPriority,Mo=i.unstable_IdlePriority,jo={},Vo=void 0!==Io?Io:function(){},Uo=null,qo=null,zo=!1,Bo=Do(),Ho=1e4>Bo?Do:function(){return Do()-Bo};function Yo(){switch(xo()){case Ro:return 99;case Fo:return 98;case Po:return 97;case Lo:return 96;case Mo:return 95;default:throw Error(a(332))}}function Go(e){switch(e){case 99:return Ro;case 98:return Fo;case 97:return Po;case 96:return Lo;case 95:return Mo;default:throw Error(a(332))}}function Qo(e,t){return e=Go(e),Ao(e,t)}function Ko(e,t,n){return e=Go(e),No(e,t,n)}function Wo(){if(null!==qo){var e=qo;qo=null,Co(e)}Jo()}function Jo(){if(!zo&&null!==Uo){zo=!0;var e=0;try{var t=Uo;Qo(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Uo=null}catch(n){throw null!==Uo&&(Uo=Uo.slice(e+1)),No(Ro,Wo),n}finally{zo=!1}}}var $o=_.ReactCurrentBatchConfig;function Xo(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Zo=co(null),ei=null,ti=null,ni=null;function ri(){ni=ti=ei=null}function oi(e){var t=Zo.current;uo(Zo),e.type._context._currentValue=t}function ii(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ai(e,t){ei=e,ni=ti=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(Ma=!0),e.firstContext=null)}function si(e,t){if(ni!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(ni=e,t=1073741823),t={context:e,observedBits:t,next:null},null===ti){if(null===ei)throw Error(a(308));ti=t,ei.dependencies={lanes:0,firstContext:t,responders:null}}else ti=ti.next=t;return e._currentValue}var li=!1;function ci(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ui(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function pi(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function di(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function hi(e,t,n,r){var i=e.updateQueue;li=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var p=e.alternate;if(null!==p){var d=(p=p.updateQueue).lastBaseUpdate;d!==s&&(null===d?p.firstBaseUpdate=u:d.next=u,p.lastBaseUpdate=c)}}if(null!==a){for(d=i.baseState,s=0,p=u=c=null;;){l=a.lane;var f=a.eventTime;if((r&l)===l){null!==p&&(p=p.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,f=n,m.tag){case 1:if("function"===typeof(h=m.payload)){d=h.call(f,d,l);break e}d=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null===(l="function"===typeof(h=m.payload)?h.call(f,d,l):h)||void 0===l)break e;d=o({},d,l);break e;case 2:li=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else f={eventTime:f,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===p?(u=p=f,c=d):p=p.next=f,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===p&&(c=d),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=p,zs|=s,e.lanes=s,e.memoizedState=d}}function mi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(a(191,o));o.call(r)}}}var vi=(new r.Component).refs;function yi(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var gi={isMounted:function(e){return!!(e=e._reactInternals)&&Je(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fl(),o=hl(e),i=pi(r,o);i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),ml(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fl(),o=hl(e),i=pi(r,o);i.tag=1,i.payload=t,void 0!==n&&null!==n&&(i.callback=n),di(e,i),ml(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fl(),r=hl(e),o=pi(n,r);o.tag=2,void 0!==t&&null!==t&&(o.callback=t),di(e,o),ml(e,r,n)}};function bi(e,t,n,r,o,i,a){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!dr(n,r)||!dr(o,i))}function Ei(e,t,n){var r=!1,o=fo,i=t.contextType;return"object"===typeof i&&null!==i?i=si(i):(o=go(t)?vo:ho.current,i=(r=null!==(r=t.contextTypes)&&void 0!==r)?yo(e,o):fo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=gi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function _i(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&gi.enqueueReplaceState(t,t.state,null)}function Ti(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=vi,ci(e);var i=t.contextType;"object"===typeof i&&null!==i?o.context=si(i):(i=go(t)?vo:ho.current,o.context=yo(e,i)),hi(e,n,o,r),o.state=e.memoizedState,"function"===typeof(i=t.getDerivedStateFromProps)&&(yi(e,t,i,n),o.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(t=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&gi.enqueueReplaceState(o,o.state,null),hi(e,n,o,r),o.state=e.memoizedState),"function"===typeof o.componentDidMount&&(e.flags|=4)}var ki=Array.isArray;function wi(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===vi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!==typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Si(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ai(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ql(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=$l(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=wi(e,t,n),r.return=e,r):((r=Kl(n.type,n.key,n.props,null,e.mode,r)).ref=wi(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Xl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function p(e,t,n,r,i){return null===t||7!==t.tag?((t=Wl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=$l(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case T:return(n=Kl(t.type,t.key,t.props,null,e.mode,n)).ref=wi(e,null,t),n.return=e,n;case k:return(t=Xl(t,e.mode,n)).return=e,t}if(ki(t)||z(t))return(t=Wl(t,e.mode,n,null)).return=e,t;Si(e,t)}return null}function f(e,t,n,r){var o=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==o?null:l(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case T:return n.key===o?n.type===w?p(e,t,n.props.children,r,o):c(e,t,n,r):null;case k:return n.key===o?u(e,t,n,r):null}if(ki(n)||z(n))return null!==o?null:p(e,t,n,r,null);Si(e,n)}return null}function h(e,t,n,r,o){if("string"===typeof r||"number"===typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case T:return e=e.get(null===r.key?n:r.key)||null,r.type===w?p(t,e,r.props.children,o,r.key):c(t,e,r,o);case k:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(ki(r)||z(r))return p(t,e=e.get(n)||null,r,o,null);Si(t,r)}return null}function m(o,a,s,l){for(var c=null,u=null,p=a,m=a=0,v=null;null!==p&&m<s.length;m++){p.index>m?(v=p,p=null):v=p.sibling;var y=f(o,p,s[m],l);if(null===y){null===p&&(p=v);break}e&&p&&null===y.alternate&&t(o,p),a=i(y,a,m),null===u?c=y:u.sibling=y,u=y,p=v}if(m===s.length)return n(o,p),c;if(null===p){for(;m<s.length;m++)null!==(p=d(o,s[m],l))&&(a=i(p,a,m),null===u?c=p:u.sibling=p,u=p);return c}for(p=r(o,p);m<s.length;m++)null!==(v=h(p,o,m,s[m],l))&&(e&&null!==v.alternate&&p.delete(null===v.key?m:v.key),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v);return e&&p.forEach((function(e){return t(o,e)})),c}function v(o,s,l,c){var u=z(l);if("function"!==typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var p=u=null,m=s,v=s=0,y=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(y=m,m=null):y=m.sibling;var b=f(o,m,g.value,c);if(null===b){null===m&&(m=y);break}e&&m&&null===b.alternate&&t(o,m),s=i(b,s,v),null===p?u=b:p.sibling=b,p=b,m=y}if(g.done)return n(o,m),u;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=d(o,g.value,c))&&(s=i(g,s,v),null===p?u=g:p.sibling=g,p=g);return u}for(m=r(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,c))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),s=i(g,s,v),null===p?u=g:p.sibling=g,p=g);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var c="object"===typeof i&&null!==i&&i.type===w&&null===i.key;c&&(i=i.props.children);var u="object"===typeof i&&null!==i;if(u)switch(i.$$typeof){case T:e:{for(u=i.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===w){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=wi(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===w?((r=Wl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Kl(i.type,i.key,i.props,null,e.mode,l)).ref=wi(e,r,i),l.return=e,e=l)}return s(e);case k:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Xl(i,e.mode,l)).return=e,e=r}return s(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=$l(i,e.mode,l)).return=e,e=r),s(e);if(ki(i))return m(e,r,i,l);if(z(i))return v(e,r,i,l);if(u&&Si(e,i),"undefined"===typeof i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Q(e.type)||"Component"))}return n(e,r)}}var Ni=Ai(!0),Ci=Ai(!1),Oi={},Ii=co(Oi),Di=co(Oi),xi=co(Oi);function Ri(e){if(e===Oi)throw Error(a(174));return e}function Fi(e,t){switch(po(xi,t),po(Di,e),po(Ii,Oi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}uo(Ii),po(Ii,t)}function Pi(){uo(Ii),uo(Di),uo(xi)}function Li(e){Ri(xi.current);var t=Ri(Ii.current),n=he(t,e.type);t!==n&&(po(Di,e),po(Ii,n))}function Mi(e){Di.current===e&&(uo(Ii),uo(Di))}var ji=co(0);function Vi(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ui=null,qi=null,zi=!1;function Bi(e,t){var n=Yl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Hi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Yi(e){if(zi){var t=qi;if(t){var n=t;if(!Hi(e,t)){if(!(t=Kr(n.nextSibling))||!Hi(e,t))return e.flags=-1025&e.flags|2,zi=!1,void(Ui=e);Bi(Ui,n)}Ui=e,qi=Kr(t.firstChild)}else e.flags=-1025&e.flags|2,zi=!1,Ui=e}}function Gi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ui=e}function Qi(e){if(e!==Ui)return!1;if(!zi)return Gi(e),zi=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Hr(t,e.memoizedProps))for(t=qi;t;)Bi(e,t),t=Kr(t.nextSibling);if(Gi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){qi=Kr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}qi=null}}else qi=Ui?Kr(e.stateNode.nextSibling):null;return!0}function Ki(){qi=Ui=null,zi=!1}var Wi=[];function Ji(){for(var e=0;e<Wi.length;e++)Wi[e]._workInProgressVersionPrimary=null;Wi.length=0}var $i=_.ReactCurrentDispatcher,Xi=_.ReactCurrentBatchConfig,Zi=0,ea=null,ta=null,na=null,ra=!1,oa=!1;function ia(){throw Error(a(321))}function aa(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function sa(e,t,n,r,o,i){if(Zi=i,ea=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$i.current=null===e||null===e.memoizedState?Ra:Fa,e=n(r,o),oa){i=0;do{if(oa=!1,!(25>i))throw Error(a(301));i+=1,na=ta=null,t.updateQueue=null,$i.current=Pa,e=n(r,o)}while(oa)}if($i.current=xa,t=null!==ta&&null!==ta.next,Zi=0,na=ta=ea=null,ra=!1,t)throw Error(a(300));return e}function la(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===na?ea.memoizedState=na=e:na=na.next=e,na}function ca(){if(null===ta){var e=ea.alternate;e=null!==e?e.memoizedState:null}else e=ta.next;var t=null===na?ea.memoizedState:na.next;if(null!==t)na=t,ta=e;else{if(null===e)throw Error(a(310));e={memoizedState:(ta=e).memoizedState,baseState:ta.baseState,baseQueue:ta.baseQueue,queue:ta.queue,next:null},null===na?ea.memoizedState=na=e:na=na.next=e}return na}function ua(e,t){return"function"===typeof t?t(e):t}function pa(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=ta,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,c=o;do{var u=c.lane;if((Zi&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var p={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=p,i=r):l=l.next=p,ea.lanes|=u,zs|=u}c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=s,ur(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function da(e){var t=ca(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);ur(i,t.memoizedState)||(Ma=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function fa(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Zi&e)===e)&&(t._workInProgressVersionPrimary=r,Wi.push(t))),e)return n(t._source);throw Wi.push(t),Error(a(350))}function ha(e,t,n,r){var o=Fs;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=$i.current,c=l.useState((function(){return fa(o,t,n)})),u=c[1],p=c[0];c=na;var d=e.memoizedState,f=d.refs,h=f.getSnapshot,m=d.source;d=d.subscribe;var v=ea;return e.memoizedState={refs:f,source:t,subscribe:r},l.useEffect((function(){f.getSnapshot=n,f.setSnapshot=u;var e=i(t._source);if(!ur(s,e)){e=n(t._source),ur(p,e)||(u(e),e=hl(v),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Ht(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=f.getSnapshot,n=f.setSnapshot;try{n(e(t._source));var r=hl(v);o.mutableReadLanes|=r&o.pendingLanes}catch(i){n((function(){throw i}))}}))}),[t,r]),ur(h,n)&&ur(m,t)&&ur(d,r)||((e={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:p}).dispatch=u=Da.bind(null,ea,e),c.queue=e,c.baseQueue=null,p=fa(o,t,n),c.memoizedState=c.baseState=p),p}function ma(e,t,n){return ha(ca(),e,t,n)}function va(e){var t=la();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ua,lastRenderedState:e}).dispatch=Da.bind(null,ea,e),[t.memoizedState,e]}function ya(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ea.updateQueue)?(t={lastEffect:null},ea.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ga(e){return e={current:e},la().memoizedState=e}function ba(){return ca().memoizedState}function Ea(e,t,n,r){var o=la();ea.flags|=e,o.memoizedState=ya(1|t,n,void 0,void 0===r?null:r)}function _a(e,t,n,r){var o=ca();r=void 0===r?null:r;var i=void 0;if(null!==ta){var a=ta.memoizedState;if(i=a.destroy,null!==r&&aa(r,a.deps))return void ya(t,n,i,r)}ea.flags|=e,o.memoizedState=ya(1|t,n,i,r)}function Ta(e,t){return Ea(516,4,e,t)}function ka(e,t){return _a(516,4,e,t)}function wa(e,t){return _a(4,2,e,t)}function Sa(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Aa(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,_a(4,2,Sa.bind(null,t,e),n)}function Na(){}function Ca(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Oa(e,t){var n=ca();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&aa(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ia(e,t){var n=Yo();Qo(98>n?98:n,(function(){e(!0)})),Qo(97<n?97:n,(function(){var n=Xi.transition;Xi.transition=1;try{e(!1),t()}finally{Xi.transition=n}}))}function Da(e,t,n){var r=fl(),o=hl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ea||null!==a&&a===ea)oa=ra=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(i.eagerReducer=a,i.eagerState=l,ur(l,s))return}catch(c){}ml(e,o,r)}}var xa={readContext:si,useCallback:ia,useContext:ia,useEffect:ia,useImperativeHandle:ia,useLayoutEffect:ia,useMemo:ia,useReducer:ia,useRef:ia,useState:ia,useDebugValue:ia,useDeferredValue:ia,useTransition:ia,useMutableSource:ia,useOpaqueIdentifier:ia,unstable_isNewReconciler:!1},Ra={readContext:si,useCallback:function(e,t){return la().memoizedState=[e,void 0===t?null:t],e},useContext:si,useEffect:Ta,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Ea(4,2,Sa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ea(4,2,e,t)},useMemo:function(e,t){var n=la();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=la();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Da.bind(null,ea,e),[r.memoizedState,e]},useRef:ga,useState:va,useDebugValue:Na,useDeferredValue:function(e){var t=va(e),n=t[0],r=t[1];return Ta((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=va(!1),t=e[0];return ga(e=Ia.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=la();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ha(r,e,t,n)},useOpaqueIdentifier:function(){if(zi){var e=!1,t=function(e){return{$$typeof:P,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Jr++).toString(36))),Error(a(355))})),n=va(t)[1];return 0===(2&ea.mode)&&(ea.flags|=516,ya(5,(function(){n("r:"+(Jr++).toString(36))}),void 0,null)),t}return va(t="r:"+(Jr++).toString(36)),t},unstable_isNewReconciler:!1},Fa={readContext:si,useCallback:Ca,useContext:si,useEffect:ka,useImperativeHandle:Aa,useLayoutEffect:wa,useMemo:Oa,useReducer:pa,useRef:ba,useState:function(){return pa(ua)},useDebugValue:Na,useDeferredValue:function(e){var t=pa(ua),n=t[0],r=t[1];return ka((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=pa(ua)[0];return[ba().current,e]},useMutableSource:ma,useOpaqueIdentifier:function(){return pa(ua)[0]},unstable_isNewReconciler:!1},Pa={readContext:si,useCallback:Ca,useContext:si,useEffect:ka,useImperativeHandle:Aa,useLayoutEffect:wa,useMemo:Oa,useReducer:da,useRef:ba,useState:function(){return da(ua)},useDebugValue:Na,useDeferredValue:function(e){var t=da(ua),n=t[0],r=t[1];return ka((function(){var t=Xi.transition;Xi.transition=1;try{r(e)}finally{Xi.transition=t}}),[e]),n},useTransition:function(){var e=da(ua)[0];return[ba().current,e]},useMutableSource:ma,useOpaqueIdentifier:function(){return da(ua)[0]},unstable_isNewReconciler:!1},La=_.ReactCurrentOwner,Ma=!1;function ja(e,t,n,r){t.child=null===e?Ci(t,null,n,r):Ni(t,e.child,n,r)}function Va(e,t,n,r,o){n=n.render;var i=t.ref;return ai(t,o),r=sa(e,t,n,r,i,o),null===e||Ma?(t.flags|=1,ja(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,as(e,t,o))}function Ua(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!==typeof a||Gl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Kl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,qa(e,t,a,r,o,i))}return a=e.child,0===(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:dr)(o,r)&&e.ref===t.ref)?as(e,t,i):(t.flags|=1,(e=Ql(a,r)).ref=t.ref,e.return=t,t.child=e)}function qa(e,t,n,r,o,i){if(null!==e&&dr(e.memoizedProps,r)&&e.ref===t.ref){if(Ma=!1,0===(i&o))return t.lanes=e.lanes,as(e,t,i);0!==(16384&e.flags)&&(Ma=!0)}return Ha(e,t,n,r,i)}function za(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},kl(t,n);else{if(0===(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},kl(t,e),null;t.memoizedState={baseLanes:0},kl(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,kl(t,r);return ja(e,t,o,n),t.child}function Ba(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ha(e,t,n,r,o){var i=go(n)?vo:ho.current;return i=yo(t,i),ai(t,o),n=sa(e,t,n,r,i,o),null===e||Ma?(t.flags|=1,ja(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,as(e,t,o))}function Ya(e,t,n,r,o){if(go(n)){var i=!0;To(t)}else i=!1;if(ai(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Ei(t,n,r),Ti(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=si(c):c=yo(t,c=go(n)?vo:ho.current);var u=n.getDerivedStateFromProps,p="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;p||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&_i(t,a,r,c),li=!1;var d=t.memoizedState;a.state=d,hi(t,r,a,o),l=t.memoizedState,s!==r||d!==l||mo.current||li?("function"===typeof u&&(yi(t,n,u,r),l=t.memoizedState),(s=li||bi(t,n,s,r,d,l,c))?(p||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(t.flags|=4)):("function"===typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ui(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Xo(t.type,s),a.props=c,p=t.pendingProps,d=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=si(l):l=yo(t,l=go(n)?vo:ho.current);var f=n.getDerivedStateFromProps;(u="function"===typeof f||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==p||d!==l)&&_i(t,a,r,l),li=!1,d=t.memoizedState,a.state=d,hi(t,r,a,o);var h=t.memoizedState;s!==p||d!==h||mo.current||li?("function"===typeof f&&(yi(t,n,f,r),h=t.memoizedState),(c=li||bi(t,n,c,r,d,h,l))?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"===typeof a.componentDidUpdate&&(t.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Ga(e,t,n,r,i,o)}function Ga(e,t,n,r,o,i){Ba(e,t);var a=0!==(64&t.flags);if(!r&&!a)return o&&ko(t,n,!1),as(e,t,i);r=t.stateNode,La.current=t;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Ni(t,e.child,null,i),t.child=Ni(t,null,s,i)):ja(e,t,s,i),t.memoizedState=r.state,o&&ko(t,n,!0),t.child}function Qa(e){var t=e.stateNode;t.pendingContext?Eo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Eo(0,t.context,!1),Fi(e,t.containerInfo)}var Ka,Wa,Ja,$a,Xa={dehydrated:null,retryLane:0};function Za(e,t,n){var r,o=t.pendingProps,i=ji.current,a=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),po(ji,1&i),null===e?(void 0!==o.fallback&&Yi(t),e=o.children,i=o.fallback,a?(e=es(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,e):"number"===typeof o.unstable_expectedLoadTime?(e=es(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Xa,t.lanes=33554432,e):((n=Jl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=ns(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Xa,o):(n=ts(e,t,o.children,n),t.memoizedState=null,n))}function es(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0===(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Jl(t,o,0,null),n=Wl(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function ts(e,t,n,r){var o=e.child;return e=o.sibling,n=Ql(o,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function ns(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0===(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Ql(a,s),null!==e?r=Ql(e,r):(r=Wl(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function rs(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ii(e.return,t)}function os(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function is(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ja(e,t,r.children,n),0!==(2&(r=ji.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&rs(e,n);else if(19===e.tag)rs(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(po(ji,r),0===(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Vi(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),os(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Vi(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}os(t,!0,n,null,i,t.lastEffect);break;case"together":os(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function as(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),zs|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ql(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ql(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ss(e,t){if(!zi)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ls(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return go(t.type)&&bo(),null;case 3:return Pi(),uo(mo),uo(ho),Ji(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Qi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),Wa(t),null;case 5:Mi(t);var i=Ri(xi.current);if(n=t.type,null!==e&&null!=t.stateNode)Ja(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Ri(Ii.current),Qi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xr]=t,r[Zr]=s,n){case"dialog":Ir("cancel",r),Ir("close",r);break;case"iframe":case"object":case"embed":Ir("load",r);break;case"video":case"audio":for(e=0;e<Ar.length;e++)Ir(Ar[e],r);break;case"source":Ir("error",r);break;case"img":case"image":case"link":Ir("error",r),Ir("load",r);break;case"details":Ir("toggle",r);break;case"input":ee(r,s),Ir("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Ir("invalid",r);break;case"textarea":le(r,s),Ir("invalid",r)}for(var c in we(n,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"===typeof i?r.textContent!==i&&(e=["children",i]):"number"===typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Ir("scroll",r));switch(n){case"input":J(r),re(r,s,!0);break;case"textarea":J(r),ue(r);break;case"select":case"option":break;default:"function"===typeof s.onClick&&(r.onclick=Ur)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===pe&&(e=fe(n)),e===pe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Xr]=t,e[Zr]=r,Ka(e,t,!1,!1),t.stateNode=e,c=Se(n,r),n){case"dialog":Ir("cancel",e),Ir("close",e),i=r;break;case"iframe":case"object":case"embed":Ir("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ar.length;i++)Ir(Ar[i],e);i=r;break;case"source":Ir("error",e),i=r;break;case"img":case"image":case"link":Ir("error",e),Ir("load",e),i=r;break;case"details":Ir("toggle",e),i=r;break;case"input":ee(e,r),i=Z(e,r),Ir("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Ir("invalid",e);break;case"textarea":le(e,r),i=se(e,r),Ir("invalid",e);break;default:i=r}we(n,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var p=u[s];"style"===s?Te(e,p):"dangerouslySetInnerHTML"===s?null!=(p=p?p.__html:void 0)&&ye(e,p):"children"===s?"string"===typeof p?("textarea"!==n||""!==p)&&ge(e,p):"number"===typeof p&&ge(e,""+p):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=p&&"onScroll"===s&&Ir("scroll",e):null!=p&&E(e,s,p,c))}switch(n){case"input":J(e),re(e,r,!1);break;case"textarea":J(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+K(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof i.onClick&&(e.onclick=Ur)}Br(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)$a(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(a(166));n=Ri(xi.current),Ri(Ii.current),Qi(t)?(r=t.stateNode,n=t.memoizedProps,r[Xr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Xr]=t,t.stateNode=r)}return null;case 13:return uo(ji),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Qi(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&ji.current)?0===Vs&&(Vs=3):(0!==Vs&&3!==Vs||(Vs=4),null===Fs||0===(134217727&zs)&&0===(134217727&Bs)||bl(Fs,Ls))),(r||n)&&(t.flags|=4),null);case 4:return Pi(),Wa(t),null===e&&xr(t.stateNode.containerInfo),null;case 10:return oi(t),null;case 19:if(uo(ji),null===(r=t.memoizedState))return null;if(s=0!==(64&t.flags),null===(c=r.rendering))if(s)ss(r,!1);else{if(0!==Vs||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Vi(e))){for(t.flags|=64,ss(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return po(ji,1&ji.current|2),t.child}e=e.sibling}null!==r.tail&&Ho()>Qs&&(t.flags|=64,s=!0,ss(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Vi(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ss(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!zi)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ho()-r.renderingStartTime>Qs&&1073741824!==n&&(t.flags|=64,s=!0,ss(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ho(),n.sibling=null,t=ji.current,po(ji,s?1&t|2:1&t),n):null;case 23:case 24:return wl(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function cs(e){switch(e.tag){case 1:go(e.type)&&bo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Pi(),uo(mo),uo(ho),Ji(),0!==(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Mi(e),null;case 13:return uo(ji),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return uo(ji),null;case 4:return Pi(),null;case 10:return oi(e),null;case 23:case 24:return wl(),null;default:return null}}function us(e,t){try{var n="",r=t;do{n+=G(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:e,source:t,stack:o}}function ps(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wa=function(){},Ja=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ri(Ii.current);var a,s=null;switch(n){case"input":i=Z(e,i),r=Z(e,r),s=[];break;case"option":i=ie(e,i),r=ie(e,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=se(e,i),r=se(e,r),s=[];break;default:"function"!==typeof i.onClick&&"function"===typeof r.onClick&&(e.onclick=Ur)}for(p in we(n,r),n=null,i)if(!r.hasOwnProperty(p)&&i.hasOwnProperty(p)&&null!=i[p])if("style"===p){var c=i[p];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==p&&"children"!==p&&"suppressContentEditableWarning"!==p&&"suppressHydrationWarning"!==p&&"autoFocus"!==p&&(l.hasOwnProperty(p)?s||(s=[]):(s=s||[]).push(p,null));for(p in r){var u=r[p];if(c=null!=i?i[p]:void 0,r.hasOwnProperty(p)&&u!==c&&(null!=u||null!=c))if("style"===p)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(p,n)),n=u;else"dangerouslySetInnerHTML"===p?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(p,u)):"children"===p?"string"!==typeof u&&"number"!==typeof u||(s=s||[]).push(p,""+u):"suppressContentEditableWarning"!==p&&"suppressHydrationWarning"!==p&&(l.hasOwnProperty(p)?(null!=u&&"onScroll"===p&&Ir("scroll",e),s||c===u||(s=[])):"object"===typeof u&&null!==u&&u.$$typeof===P?u.toString():(s=s||[]).push(p,u))}n&&(s=s||[]).push("style",n);var p=s;(t.updateQueue=p)&&(t.flags|=4)}},$a=function(e,t,n,r){n!==r&&(t.flags|=4)};var ds="function"===typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=pi(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$s||($s=!0,Xs=r),ps(0,t)},n}function hs(e,t,n){(n=pi(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var o=t.value;n.payload=function(){return ps(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Zs?Zs=new Set([this]):Zs.add(this),ps(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var ms="function"===typeof WeakSet?WeakSet:Set;function vs(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){ql(e,n)}else t.current=null}function ys(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Xo(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Qr(t.stateNode.containerInfo))}throw Error(a(163))}function gs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!==(4&(o=o.tag))&&0!==(1&o)&&(jl(n,e),Ml(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Xo(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&mi(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}mi(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Br(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Tt(n)))))}throw Error(a(163))}function bs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=void 0!==o&&null!==o&&o.hasOwnProperty("display")?o.display:null,r.style.display=_e("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Es(e,t){if(So&&"function"===typeof So.onCommitFiberUnmount)try{So.onCommitFiberUnmount(wo,t)}catch(i){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!==(4&r))jl(t,n);else{r=t;try{o()}catch(i){ql(r,i)}}n=n.next}while(n!==e)}break;case 1:if(vs(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(i){ql(t,i)}break;case 5:vs(t);break;case 4:As(e,t)}}function _s(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ts(e){return 5===e.tag||3===e.tag||4===e.tag}function ks(e){e:{for(var t=e.return;null!==t;){if(Ts(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ge(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ts(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ws(e,n,t):Ss(e,n,t)}function ws(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Ur));else if(4!==r&&null!==(e=e.child))for(ws(e,t,n),e=e.sibling;null!==e;)ws(e,t,n),e=e.sibling}function Ss(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(Ss(e,t,n),e=e.sibling;null!==e;)Ss(e,t,n),e=e.sibling}function As(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=l;;)if(Es(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Es(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Ns(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Zr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Se(e,o),t=Se(e,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?Te(n,l):"dangerouslySetInnerHTML"===s?ye(n,l):"children"===s?ge(n,l):E(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Tt(n.containerInfo)));case 13:return null!==t.memoizedState&&(Gs=Ho(),bs(t.child,!0)),void Cs(t);case 19:return void Cs(t);case 23:case 24:return void bs(t,null!==t.memoizedState)}throw Error(a(163))}function Cs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new ms),t.forEach((function(t){var r=Bl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Os(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Is=Math.ceil,Ds=_.ReactCurrentDispatcher,xs=_.ReactCurrentOwner,Rs=0,Fs=null,Ps=null,Ls=0,Ms=0,js=co(0),Vs=0,Us=null,qs=0,zs=0,Bs=0,Hs=0,Ys=null,Gs=0,Qs=1/0;function Ks(){Qs=Ho()+500}var Ws,Js=null,$s=!1,Xs=null,Zs=null,el=!1,tl=null,nl=90,rl=[],ol=[],il=null,al=0,sl=null,ll=-1,cl=0,ul=0,pl=null,dl=!1;function fl(){return 0!==(48&Rs)?Ho():-1!==ll?ll:ll=Ho()}function hl(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Yo()?1:2;if(0===cl&&(cl=qs),0!==$o.transition){0!==ul&&(ul=null!==Ys?Ys.pendingLanes:0),e=cl;var t=4186112&~ul;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Yo(),0!==(4&Rs)&&98===e?e=Ut(12,cl):e=Ut(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),cl),e}function ml(e,t,n){if(50<al)throw al=0,sl=null,Error(a(185));if(null===(e=vl(e,t)))return null;Bt(e,t,n),e===Fs&&(Bs|=t,4===Vs&&bl(e,Ls));var r=Yo();1===t?0!==(8&Rs)&&0===(48&Rs)?El(e):(yl(e,n),0===Rs&&(Ks(),Wo())):(0===(4&Rs)||98!==r&&99!==r||(null===il?il=new Set([e]):il.add(e)),yl(e,n)),Ys=e}function vl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function yl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,u=i[l];if(-1===u){if(0===(c&r)||0!==(c&o)){u=t,Mt(c);var p=Lt;i[l]=10<=p?u+250:6<=p?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=jt(e,e===Fs?Ls:0),t=Lt,0===r)null!==n&&(n!==jo&&Co(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==jo&&Co(n)}15===t?(n=El.bind(null,e),null===Uo?(Uo=[n],qo=No(Ro,Jo)):Uo.push(n),n=jo):14===t?n=Ko(99,El.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Ko(n,gl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function gl(e){if(ll=-1,ul=cl=0,0!==(48&Rs))throw Error(a(327));var t=e.callbackNode;if(Ll()&&e.callbackNode!==t)return null;var n=jt(e,e===Fs?Ls:0);if(0===n)return null;var r=n,o=Rs;Rs|=16;var i=Nl();for(Fs===e&&Ls===r||(Ks(),Sl(e,r));;)try{Il();break}catch(l){Al(e,l)}if(ri(),Ds.current=i,Rs=o,null!==Ps?r=0:(Fs=null,Ls=0,r=Vs),0!==(qs&Bs))Sl(e,0);else if(0!==r){if(2===r&&(Rs|=64,e.hydrate&&(e.hydrate=!1,Qr(e.containerInfo)),0!==(n=Vt(e))&&(r=Cl(e,n))),1===r)throw t=Us,Sl(e,0),bl(e,n),yl(e,Ho()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Rl(e);break;case 3:if(bl(e,n),(62914560&n)===n&&10<(r=Gs+500-Ho())){if(0!==jt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){fl(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Yr(Rl.bind(null,e),r);break}Rl(e);break;case 4:if(bl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var s=31-Ht(n);i=1<<s,(s=r[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=Ho()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Is(n/1960))-n)){e.timeoutHandle=Yr(Rl.bind(null,e),n);break}Rl(e);break;default:throw Error(a(329))}}return yl(e,Ho()),e.callbackNode===t?gl.bind(null,e):null}function bl(e,t){for(t&=~Hs,t&=~Bs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function El(e){if(0!==(48&Rs))throw Error(a(327));if(Ll(),e===Fs&&0!==(e.expiredLanes&Ls)){var t=Ls,n=Cl(e,t);0!==(qs&Bs)&&(n=Cl(e,t=jt(e,t)))}else n=Cl(e,t=jt(e,0));if(0!==e.tag&&2===n&&(Rs|=64,e.hydrate&&(e.hydrate=!1,Qr(e.containerInfo)),0!==(t=Vt(e))&&(n=Cl(e,t))),1===n)throw n=Us,Sl(e,0),bl(e,t),yl(e,Ho()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Rl(e),yl(e,Ho()),null}function _l(e,t){var n=Rs;Rs|=1;try{return e(t)}finally{0===(Rs=n)&&(Ks(),Wo())}}function Tl(e,t){var n=Rs;Rs&=-2,Rs|=8;try{return e(t)}finally{0===(Rs=n)&&(Ks(),Wo())}}function kl(e,t){po(js,Ms),Ms|=t,qs|=t}function wl(){Ms=js.current,uo(js)}function Sl(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Gr(n)),null!==Ps)for(n=Ps.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&bo();break;case 3:Pi(),uo(mo),uo(ho),Ji();break;case 5:Mi(r);break;case 4:Pi();break;case 13:case 19:uo(ji);break;case 10:oi(r);break;case 23:case 24:wl()}n=n.return}Fs=e,Ps=Ql(e.current,null),Ls=Ms=qs=t,Vs=0,Us=null,Hs=Bs=zs=0}function Al(e,t){for(;;){var n=Ps;try{if(ri(),$i.current=xa,ra){for(var r=ea.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ra=!1}if(Zi=0,na=ta=ea=null,oa=!1,xs.current=null,null===n||null===n.return){Vs=1,Us=t,Ps=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Ls,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"===typeof l&&"function"===typeof l.then){var c=l;if(0===(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var p=0!==(1&ji.current),d=a;do{var f;if(f=13===d.tag){var h=d.memoizedState;if(null!==h)f=null!==h.dehydrated;else{var m=d.memoizedProps;f=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!p)}}if(f){var v=d.updateQueue;if(null===v){var y=new Set;y.add(c),d.updateQueue=y}else v.add(c);if(0===(2&d.mode)){if(d.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var g=pi(-1,1);g.tag=2,di(s,g)}s.lanes|=1;break e}l=void 0,s=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new ds,l=new Set,b.set(c,l)):void 0===(l=b.get(c))&&(l=new Set,b.set(c,l)),!l.has(s)){l.add(s);var E=zl.bind(null,i,c,s);c.then(E,E)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);l=Error((Q(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Vs&&(Vs=2),l=us(l,s),d=a;do{switch(d.tag){case 3:i=l,d.flags|=4096,t&=-t,d.lanes|=t,fi(d,fs(0,i,t));break e;case 1:i=l;var _=d.type,T=d.stateNode;if(0===(64&d.flags)&&("function"===typeof _.getDerivedStateFromError||null!==T&&"function"===typeof T.componentDidCatch&&(null===Zs||!Zs.has(T)))){d.flags|=4096,t&=-t,d.lanes|=t,fi(d,hs(d,i,t));break e}}d=d.return}while(null!==d)}xl(n)}catch(k){t=k,Ps===n&&null!==n&&(Ps=n=n.return);continue}break}}function Nl(){var e=Ds.current;return Ds.current=xa,null===e?xa:e}function Cl(e,t){var n=Rs;Rs|=16;var r=Nl();for(Fs===e&&Ls===t||Sl(e,t);;)try{Ol();break}catch(o){Al(e,o)}if(ri(),Rs=n,Ds.current=r,null!==Ps)throw Error(a(261));return Fs=null,Ls=0,Vs}function Ol(){for(;null!==Ps;)Dl(Ps)}function Il(){for(;null!==Ps&&!Oo();)Dl(Ps)}function Dl(e){var t=Ws(e.alternate,e,Ms);e.memoizedProps=e.pendingProps,null===t?xl(e):Ps=t,xs.current=null}function xl(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ls(n,t,Ms)))return void(Ps=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Ms)||0===(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=cs(t)))return n.flags&=2047,void(Ps=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ps=t);Ps=t=e}while(null!==t);0===Vs&&(Vs=5)}function Rl(e){var t=Yo();return Qo(99,Fl.bind(null,e,t)),null}function Fl(e,t){do{Ll()}while(null!==tl);if(0!==(48&Rs))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Ht(i),u=1<<c;o[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==il&&0===(24&r)&&il.has(e)&&il.delete(e),e===Fs&&(Ps=Fs=null,Ls=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Rs,Rs|=32,xs.current=null,qr=Wt,yr(s=vr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(A){l=null;break e}var p=0,d=-1,f=-1,h=0,m=0,v=s,y=null;t:for(;;){for(var g;v!==l||0!==i&&3!==v.nodeType||(d=p+i),v!==c||0!==u&&3!==v.nodeType||(f=p+u),3===v.nodeType&&(p+=v.nodeValue.length),null!==(g=v.firstChild);)y=v,v=g;for(;;){if(v===s)break t;if(y===l&&++h===i&&(d=p),y===c&&++m===u&&(f=p),null!==(g=v.nextSibling))break;y=(v=y).parentNode}v=g}l=-1===d||-1===f?null:{start:d,end:f}}else l=null;l=l||{start:0,end:0}}else l=null;zr={focusedElem:s,selectionRange:l},Wt=!1,pl=null,dl=!1,Js=r;do{try{Pl()}catch(A){if(null===Js)throw Error(a(330));ql(Js,A),Js=Js.nextEffect}}while(null!==Js);pl=null,Js=r;do{try{for(s=e;null!==Js;){var b=Js.flags;if(16&b&&ge(Js.stateNode,""),128&b){var E=Js.alternate;if(null!==E){var _=E.ref;null!==_&&("function"===typeof _?_(null):_.current=null)}}switch(1038&b){case 2:ks(Js),Js.flags&=-3;break;case 6:ks(Js),Js.flags&=-3,Ns(Js.alternate,Js);break;case 1024:Js.flags&=-1025;break;case 1028:Js.flags&=-1025,Ns(Js.alternate,Js);break;case 4:Ns(Js.alternate,Js);break;case 8:As(s,l=Js);var T=l.alternate;_s(l),null!==T&&_s(T)}Js=Js.nextEffect}}catch(A){if(null===Js)throw Error(a(330));ql(Js,A),Js=Js.nextEffect}}while(null!==Js);if(_=zr,E=vr(),b=_.focusedElem,s=_.selectionRange,E!==b&&b&&b.ownerDocument&&mr(b.ownerDocument.documentElement,b)){null!==s&&yr(b)&&(E=s.start,void 0===(_=s.end)&&(_=E),"selectionStart"in b?(b.selectionStart=E,b.selectionEnd=Math.min(_,b.value.length)):(_=(E=b.ownerDocument||document)&&E.defaultView||window).getSelection&&(_=_.getSelection(),l=b.textContent.length,T=Math.min(s.start,l),s=void 0===s.end?T:Math.min(s.end,l),!_.extend&&T>s&&(l=s,s=T,T=l),l=hr(b,T),i=hr(b,s),l&&i&&(1!==_.rangeCount||_.anchorNode!==l.node||_.anchorOffset!==l.offset||_.focusNode!==i.node||_.focusOffset!==i.offset)&&((E=E.createRange()).setStart(l.node,l.offset),_.removeAllRanges(),T>s?(_.addRange(E),_.extend(i.node,i.offset)):(E.setEnd(i.node,i.offset),_.addRange(E))))),E=[];for(_=b;_=_.parentNode;)1===_.nodeType&&E.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<E.length;b++)(_=E[b]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Wt=!!qr,zr=qr=null,e.current=n,Js=r;do{try{for(b=e;null!==Js;){var k=Js.flags;if(36&k&&gs(b,Js.alternate,Js),128&k){E=void 0;var w=Js.ref;if(null!==w){var S=Js.stateNode;Js.tag,E=S,"function"===typeof w?w(E):w.current=E}}Js=Js.nextEffect}}catch(A){if(null===Js)throw Error(a(330));ql(Js,A),Js=Js.nextEffect}}while(null!==Js);Js=null,Vo(),Rs=o}else e.current=n;if(el)el=!1,tl=e,nl=t;else for(Js=r;null!==Js;)t=Js.nextEffect,Js.nextEffect=null,8&Js.flags&&((k=Js).sibling=null,k.stateNode=null),Js=t;if(0===(r=e.pendingLanes)&&(Zs=null),1===r?e===sl?al++:(al=0,sl=e):al=0,n=n.stateNode,So&&"function"===typeof So.onCommitFiberRoot)try{So.onCommitFiberRoot(wo,n,void 0,64===(64&n.current.flags))}catch(A){}if(yl(e,Ho()),$s)throw $s=!1,e=Xs,Xs=null,e;return 0!==(8&Rs)||Wo(),null}function Pl(){for(;null!==Js;){var e=Js.alternate;dl||null===pl||(0!==(8&Js.flags)?et(Js,pl)&&(dl=!0):13===Js.tag&&Os(e,Js)&&et(Js,pl)&&(dl=!0));var t=Js.flags;0!==(256&t)&&ys(e,Js),0===(512&t)||el||(el=!0,Ko(97,(function(){return Ll(),null}))),Js=Js.nextEffect}}function Ll(){if(90!==nl){var e=97<nl?97:nl;return nl=90,Qo(e,Vl)}return!1}function Ml(e,t){rl.push(t,e),el||(el=!0,Ko(97,(function(){return Ll(),null})))}function jl(e,t){ol.push(t,e),el||(el=!0,Ko(97,(function(){return Ll(),null})))}function Vl(){if(null===tl)return!1;var e=tl;if(tl=null,0!==(48&Rs))throw Error(a(331));var t=Rs;Rs|=32;var n=ol;ol=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],s=o.destroy;if(o.destroy=void 0,"function"===typeof s)try{s()}catch(c){if(null===i)throw Error(a(330));ql(i,c)}}for(n=rl,rl=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(c){if(null===i)throw Error(a(330));ql(i,c)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Rs=t,Wo(),!0}function Ul(e,t,n){di(e,t=fs(0,t=us(n,t),1)),t=fl(),null!==(e=vl(e,1))&&(Bt(e,1,t),yl(e,t))}function ql(e,t){if(3===e.tag)Ul(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ul(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Zs||!Zs.has(r))){var o=hs(n,e=us(t,e),1);if(di(n,o),o=fl(),null!==(n=vl(n,1)))Bt(n,1,o),yl(n,o);else if("function"===typeof r.componentDidCatch&&(null===Zs||!Zs.has(r)))try{r.componentDidCatch(t,e)}catch(i){}break}}n=n.return}}function zl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=fl(),e.pingedLanes|=e.suspendedLanes&n,Fs===e&&(Ls&n)===n&&(4===Vs||3===Vs&&(62914560&Ls)===Ls&&500>Ho()-Gs?Sl(e,0):Hs|=n),yl(e,t)}function Bl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Yo()?1:2:(0===cl&&(cl=qs),0===(t=qt(62914560&~cl))&&(t=4194304))),n=fl(),null!==(e=vl(e,t))&&(Bt(e,t,n),yl(e,n))}function Hl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Yl(e,t,n,r){return new Hl(e,t,n,r)}function Gl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ql(e,t){var n=e.alternate;return null===n?((n=Yl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Kl(e,t,n,r,o,i){var s=2;if(r=e,"function"===typeof e)Gl(e)&&(s=1);else if("string"===typeof e)s=5;else e:switch(e){case w:return Wl(n.children,o,i,t);case L:s=8,o|=16;break;case S:s=8,o|=1;break;case A:return(e=Yl(12,n,t,8|o)).elementType=A,e.type=A,e.lanes=i,e;case I:return(e=Yl(13,n,t,o)).type=I,e.elementType=I,e.lanes=i,e;case D:return(e=Yl(19,n,t,o)).elementType=D,e.lanes=i,e;case M:return Jl(n,o,i,t);case j:return(e=Yl(24,n,t,o)).elementType=j,e.lanes=i,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case N:s=10;break e;case C:s=9;break e;case O:s=11;break e;case x:s=14;break e;case R:s=16,r=null;break e;case F:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Yl(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Wl(e,t,n,r){return(e=Yl(7,e,r,t)).lanes=n,e}function Jl(e,t,n,r){return(e=Yl(23,e,r,t)).elementType=M,e.lanes=n,e}function $l(e,t,n){return(e=Yl(6,e,null,t)).lanes=n,e}function Xl(e,t,n){return(t=Yl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=zt(0),this.expirationTimes=zt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zt(0),this.mutableSourceEagerHydrationData=null}function ec(e,t,n,r){var o=t.current,i=fl(),s=hl(o);e:if(n){t:{if(Je(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(go(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(go(c)){n=_o(n,c,l);break e}}n=l}else n=fo;return null===t.context?t.context=n:t.pendingContext=n,(t=pi(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),di(o,t),ml(o,s,i),s}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function oc(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Zl(e,t,null!=n&&!0===n.hydrate),t=Yl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ci(t),e[eo]=n.current,xr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ic(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"===typeof o){var s=o;o=function(){var e=tc(a);s.call(e)}}ec(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new oc(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"===typeof o){var l=o;o=function(){var e=tc(a);l.call(e)}}Tl((function(){ec(t,a,e,o)}))}return tc(a)}function sc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ic(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}Ws=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||mo.current)Ma=!0;else{if(0===(n&r)){switch(Ma=!1,t.tag){case 3:Qa(t),Ki();break;case 5:Li(t);break;case 1:go(t.type)&&To(t);break;case 4:Fi(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;po(Zo,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Za(e,t,n):(po(ji,1&ji.current),null!==(t=as(e,t,n))?t.sibling:null);po(ji,1&ji.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return is(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),po(ji,ji.current),r)break;return null;case 23:case 24:return t.lanes=0,za(e,t,n)}return as(e,t,n)}Ma=0!==(16384&e.flags)}else Ma=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=yo(t,ho.current),ai(t,n),o=sa(null,t,r,e,o,n),t.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var i=!0;To(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ci(t);var s=r.getDerivedStateFromProps;"function"===typeof s&&yi(t,r,s,e),o.updater=gi,t.stateNode=o,o._reactInternals=t,Ti(t,r,e,n),t=Ga(null,t,r,!0,i,n)}else t.tag=0,ja(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"===typeof e)return Gl(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===O)return 11;if(e===x)return 14}return 2}(o),e=Xo(o,e),i){case 0:t=Ha(null,t,o,e,n);break e;case 1:t=Ya(null,t,o,e,n);break e;case 11:t=Va(null,t,o,e,n);break e;case 14:t=Ua(null,t,o,Xo(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ha(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ya(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 3:if(Qa(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ui(e,t),hi(t,r,null,n),(r=t.memoizedState.element)===o)Ki(),t=as(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(qi=Kr(t.stateNode.containerInfo.firstChild),Ui=t,i=zi=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Wi.push(i);for(n=Ci(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else ja(e,t,r,n),Ki();t=t.child}return t;case 5:return Li(t),null===e&&Yi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,Hr(r,o)?s=null:null!==i&&Hr(r,i)&&(t.flags|=16),Ba(e,t),ja(e,t,s,n),t.child;case 6:return null===e&&Yi(t),null;case 13:return Za(e,t,n);case 4:return Fi(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ni(t,null,r,n):ja(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Va(e,t,r,o=t.elementType===r?o:Xo(r,o),n);case 7:return ja(e,t,t.pendingProps,n),t.child;case 8:case 12:return ja(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(po(Zo,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=ur(l,i)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!mo.current){t=as(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!==(u.observedBits&i)){1===l.tag&&((u=pi(-1,n&-n)).tag=2,di(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ii(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}ja(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ai(t,n),r=r(o=si(o,i.unstable_observedBits)),t.flags|=1,ja(e,t,r,n),t.child;case 14:return i=Xo(o=t.type,t.pendingProps),Ua(e,t,o,i=Xo(o.type,i),r,n);case 15:return qa(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Xo(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,go(r)?(e=!0,To(t)):e=!1,ai(t,n),Ei(t,r,o),Ti(t,r,o,n),Ga(null,t,r,!0,e,n);case 19:return is(e,t,n);case 23:case 24:return za(e,t,n)}throw Error(a(156,t.tag))},oc.prototype.render=function(e){ec(e,this._internalRoot,null,null)},oc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[eo]=null}))},tt=function(e){13===e.tag&&(ml(e,4,fl()),rc(e,4))},nt=function(e){13===e.tag&&(ml(e,67108864,fl()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=fl(),n=hl(e);ml(e,n,t),rc(e,n)}},ot=function(e,t){return t()},Ne=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=io(r);if(!o)throw Error(a(90));$(r),ne(r,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Re=_l,Fe=function(e,t,n,r,o){var i=Rs;Rs|=4;try{return Qo(98,e.bind(null,t,n,r,o))}finally{0===(Rs=i)&&(Ks(),Wo())}},Pe=function(){0===(49&Rs)&&(function(){if(null!==il){var e=il;il=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,yl(e,Ho())}))}Wo()}(),Ll())},Le=function(e,t){var n=Rs;Rs|=2;try{return e(t)}finally{0===(Rs=n)&&(Ks(),Wo())}};var lc={Events:[ro,oo,io,De,xe,Ll,{current:!1}]},cc={findFiberByHostInstance:no,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},uc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ze(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var pc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!pc.isDisabled&&pc.supportsFiber)try{wo=pc.inject(uc),So=pc}catch(ve){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lc,t.createPortal=sc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Ze(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Rs;if(0!==(48&n))return e(t);Rs|=1;try{if(e)return Qo(99,e.bind(null,t))}finally{Rs=n,Wo()}},t.hydrate=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!ic(t))throw Error(a(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!ic(e))throw Error(a(40));return!!e._reactRootContainer&&(Tl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[eo]=null}))})),!0)},t.unstable_batchedUpdates=_l,t.unstable_createPortal=function(e,t){return sc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ic(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return ac(e,t,n,!1,r)},t.version="17.0.2"},3989:(e,t,n)=>{"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(t){console.error(t)}}(),e.exports=n(2627)},6656:(e,t,n)=>{"use strict";n(6512);var r=n(2176),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.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:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},83:(e,t,n)=>{"use strict";var r=n(6512),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"===typeof Symbol&&Symbol.for){var p=Symbol.for;o=p("react.element"),i=p("react.portal"),t.Fragment=p("react.fragment"),t.StrictMode=p("react.strict_mode"),t.Profiler=p("react.profiler"),a=p("react.provider"),s=p("react.context"),l=p("react.forward_ref"),t.Suspense=p("react.suspense"),c=p("react.memo"),u=p("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function f(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function y(){}function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(f(85));this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var b=g.prototype=new y;b.constructor=g,r(b,v.prototype),b.isPureReactComponent=!0;var E={current:null},_=Object.prototype.hasOwnProperty,T={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)_.call(t,r)&&!T.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:E.current}}function w(e){return"object"===typeof e&&null!==e&&e.$$typeof===o}var S=/\/+/g;function A(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+A(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(S,"$&/")+"/"),N(a,t,n,"",(function(e){return e}))):null!=a&&(w(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(S,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+A(s=e[c],c);l+=N(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=d&&e[d]||e["@@iterator"])?e:null}(e),"function"===typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=N(s=s.value,t,n,u=r+A(s,c++),a);else if("object"===s)throw t=""+e,Error(f(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function C(e,t,n){if(null==e)return e;var r=[],o=0;return N(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var I={current:null};function D(){var e=I.current;if(null===e)throw Error(f(321));return e}var x={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:E,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:C,forEach:function(e,t,n){C(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return C(e,(function(){t++})),t},toArray:function(e){return C(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error(f(143));return e}},t.Component=v,t.PureComponent=g,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=x,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(f(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=E.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)_.call(t,u)&&!T.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var p=0;p<u;p++)c[p]=arguments[p+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=k,t.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return D().useCallback(e,t)},t.useContext=function(e,t){return D().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return D().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return D().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return D().useLayoutEffect(e,t)},t.useMemo=function(e,t){return D().useMemo(e,t)},t.useReducer=function(e,t,n){return D().useReducer(e,t,n)},t.useRef=function(e){return D().useRef(e)},t.useState=function(e){return D().useState(e)},t.version="17.0.2"},2176:(e,t,n)=>{"use strict";e.exports=n(83)},812:(e,t,n)=>{"use strict";e.exports=n(6656)},8291:(e,t)=>{"use strict";var n,r,o,i;if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,u=null,p=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(n){throw setTimeout(p,0),n}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(p,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var d=window.setTimeout,f=window.clearTimeout;if("undefined"!==typeof console){var h=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,v=null,y=-1,g=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,_=E.port2;E.port1.onmessage=function(){if(null!==v){var e=t.unstable_now();b=e+g;try{v(!0,e)?_.postMessage(null):(m=!1,v=null)}catch(n){throw _.postMessage(null),n}}else m=!1},n=function(e){v=e,m||(m=!0,_.postMessage(null))},r=function(e,n){y=d((function(){e(t.unstable_now())}),n)},o=function(){f(y),y=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<S(o,t)))break e;e[r]=t,e[n]=o,n=r}}function k(e){return void 0===(e=e[0])?null:e}function w(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>S(a,n))void 0!==l&&0>S(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>S(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],N=[],C=1,O=null,I=3,D=!1,x=!1,R=!1;function F(e){for(var t=k(N);null!==t;){if(null===t.callback)w(N);else{if(!(t.startTime<=e))break;w(N),t.sortIndex=t.expirationTime,T(A,t)}t=k(N)}}function P(e){if(R=!1,F(e),!x)if(null!==k(A))x=!0,n(L);else{var t=k(N);null!==t&&r(P,t.startTime-e)}}function L(e,n){x=!1,R&&(R=!1,o()),D=!0;var i=I;try{for(F(n),O=k(A);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=O.callback;if("function"===typeof a){O.callback=null,I=O.priorityLevel;var s=a(O.expirationTime<=n);n=t.unstable_now(),"function"===typeof s?O.callback=s:O===k(A)&&w(A),F(n)}else w(A);O=k(A)}if(null!==O)var l=!0;else{var c=k(N);null!==c&&r(P,c.startTime-n),l=!1}return l}finally{O=null,I=i,D=!1}}var M=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){x||D||(x=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_getFirstCallbackNode=function(){return k(A)},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=M,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch("object"===typeof a&&null!==a?a="number"===typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:C++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,T(N,e),null===k(A)&&e===k(N)&&(R?o():R=!0,r(P,a-s))):(e.sortIndex=l,T(A,e),x||D||(x=!0,n(L))),e},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}}},4442:(e,t,n)=>{"use strict";e.exports=n(8291)},5587:(e,t,n)=>{"use strict";const{deleteProperty:r}=Reflect,o=n(2069),i=n(9076),a=e=>"object"===typeof e&&null!==e||"function"===typeof e,s=e=>{if(!o(e))throw new TypeError("Object keys must be strings or symbols");if((e=>"__proto__"===e||"constructor"===e||"prototype"===e)(e))throw new Error(`Cannot set unsafe key: "${e}"`)},l=(e,t,n)=>{const r=(e=>Array.isArray(e)?e.flat().map(String).join(","):e)(t?((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})(e,t):e);s(r);const o=p.cache.get(r)||n();return p.cache.set(r,o),o},c=(e,t)=>t&&"function"===typeof t.split?t.split(e):"symbol"===typeof e?[e]:Array.isArray(e)?e:l(e,t,(()=>function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.separator||".",r="/"!==n&&t.preservePaths;if("string"===typeof e&&!1!==r&&/\//.test(e))return[e];const o=[];let i="";const a=e=>{let t;""!==e.trim()&&Number.isInteger(t=Number(e))?o.push(t):o.push(e)};for(let s=0;s<e.length;s++){const t=e[s];"\\"!==t?t!==n?i+=t:(a(i),i=""):i+=e[++s]}return i&&a(i),o}(e,t))),u=(e,t,n,o)=>{if(s(t),void 0===n)r(e,t);else if(o&&o.merge){const r="function"===o.merge?o.merge:Object.assign;r&&i(e[t])&&i(n)?e[t]=r(e[t],n):e[t]=n}else e[t]=n;return e},p=(e,t,n,r)=>{if(!t||!a(e))return e;const o=c(t,r);let i=e;for(let l=0;l<o.length;l++){const e=o[l],t=o[l+1];if(s(e),void 0===t){u(i,e,n,r);break}"number"!==typeof t||Array.isArray(i[e])?(a(i[e])||(i[e]={}),i=i[e]):i=i[e]=[]}return e};p.split=c,p.cache=new Map,p.clear=()=>{p.cache=new Map},e.exports=p},341:e=>{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=e[c],p=t[c];if(!1===(o=n?n.call(r,u,p,c):void 0)||void 0===o&&u!==p)return!1}return!0}},6174:e=>{e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},3924:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},6335:e=>{e.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/},2840:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/},4694:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},875:(e,t,n)=>{"use strict";t.Any=n(1927),t.Cc=n(3924),t.Cf=n(6335),t.P=n(2840),t.Z=n(4694)},1927:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},3738:(e,t,n)=>{"use strict";n.d(t,{e:()=>g,y:()=>E});var r=n(8995),o=n(5966),i=n(2584),a=n(5119);function s(e){return s="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},s(e)}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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return!t||"object"!==s(t)&&"function"!==typeof t?d(e):t}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e){var t="function"===typeof Map?new Map:void 0;return f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return h(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},f(e)}function h(e,t,n){return h=m()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&v(o,n.prototype),o},h.apply(null,arguments)}function m(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var g=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(f,e);var t,n,a,s=function(e){var t=m();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}(f);function f(e,t,n,o,a,u,h){var m,v,y,g;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(g=s.call(this,e)).name="GraphQLError",g.originalError=null!==u&&void 0!==u?u:void 0,g.nodes=b(Array.isArray(t)?t:t?[t]:void 0);for(var E=[],_=0,T=null!==(k=g.nodes)&&void 0!==k?k:[];_<T.length;_++){var k,w=T[_].loc;null!=w&&E.push(w)}E=b(E),g.source=null!==n&&void 0!==n?n:null===(m=E)||void 0===m?void 0:m[0].source,g.positions=null!==o&&void 0!==o?o:null===(v=E)||void 0===v?void 0:v.map((function(e){return e.start})),g.locations=o&&n?o.map((function(e){return(0,i.g)(n,e)})):null===(y=E)||void 0===y?void 0:y.map((function(e){return(0,i.g)(e.source,e.start)})),g.path=null!==a&&void 0!==a?a:void 0;var S=null===u||void 0===u?void 0:u.extensions;return null==h&&(0,r.A)(S)?g.extensions=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},S):g.extensions=null!==h&&void 0!==h?h:{},Object.defineProperties(d(g),{message:{enumerable:!0},locations:{enumerable:null!=g.locations},path:{enumerable:null!=g.path},extensions:{enumerable:null!=g.extensions&&Object.keys(g.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==u&&void 0!==u&&u.stack?(Object.defineProperty(d(g),"stack",{value:u.stack,writable:!0,configurable:!0}),p(g)):(Error.captureStackTrace?Error.captureStackTrace(d(g),f):Object.defineProperty(d(g),"stack",{value:Error().stack,writable:!0,configurable:!0}),g)}return t=f,(n=[{key:"toString",value:function(){return E(this)}},{key:o.Kp,get:function(){return"Object"}}])&&u(t.prototype,n),a&&u(t,a),f}(f(Error));function b(e){return void 0===e||0===e.length?void 0:e}function E(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var o=r[n];o.loc&&(t+="\n\n"+(0,a.V)(o.loc))}else if(e.source&&e.locations)for(var i=0,s=e.locations;i<s.length;i++){var l=s[i];t+="\n\n"+(0,a.C)(e.source,l)}return t}},9769:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var r=n(4569),o=n(3738);function i(e,t,n){var i,a=e instanceof Error?e:new Error("Unexpected error value: "+(0,r.A)(e));return Array.isArray(a.path)?a:new o.e(a.message,null!==(i=a.nodes)&&void 0!==i?i:t,a.source,a.positions,n,a)}},4802:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(3738);function o(e,t,n){return new r.e("Syntax Error: ".concat(n),void 0,e,[t])}},3861:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>ge.sP,BreakingChangeType:()=>dn,DEFAULT_DEPRECATION_REASON:()=>E.Il,DangerousChangeType:()=>fn,DirectiveLocation:()=>be.H,ExecutableDefinitionsRule:()=>Re.T,FieldsOnCorrectTypeRule:()=>Fe.Z,FragmentsOnCompositeTypesRule:()=>Pe.T,GraphQLBoolean:()=>pe.kk,GraphQLDeprecatedDirective:()=>E.yK,GraphQLDirective:()=>E.RR,GraphQLEnumType:()=>_.Zb,GraphQLError:()=>v.e,GraphQLFloat:()=>pe.qS,GraphQLID:()=>pe.N1,GraphQLIncludeDirective:()=>E.HQ,GraphQLInputObjectType:()=>_.zP,GraphQLInt:()=>pe.Fh,GraphQLInterfaceType:()=>_.VA,GraphQLList:()=>_.KT,GraphQLNonNull:()=>_.Gc,GraphQLObjectType:()=>_.bh,GraphQLScalarType:()=>_.Ag,GraphQLSchema:()=>ue.V4,GraphQLSkipDirective:()=>E.MQ,GraphQLSpecifiedByDirective:()=>E.gw,GraphQLString:()=>pe.FV,GraphQLUnionType:()=>_.hI,Kind:()=>g.b,KnownArgumentNamesRule:()=>Le.P,KnownDirectivesRule:()=>Me.e,KnownFragmentNamesRule:()=>je.K,KnownTypeNamesRule:()=>Ve.y,Lexer:()=>ve.J,Location:()=>de.aZ,LoneAnonymousOperationRule:()=>Ue.P,LoneSchemaDefinitionRule:()=>it.l,NoDeprecatedCustomRule:()=>dt.k,NoFragmentCyclesRule:()=>qe.n,NoSchemaIntrospectionCustomRule:()=>Ie,NoUndefinedVariablesRule:()=>ze.Z,NoUnusedFragmentsRule:()=>Be.z,NoUnusedVariablesRule:()=>He.p,OverlappingFieldsCanBeMergedRule:()=>Ye.K,PossibleFragmentSpreadsRule:()=>Ge.y,PossibleTypeExtensionsRule:()=>pt.S,ProvidedRequiredArgumentsRule:()=>Qe.X,ScalarLeafsRule:()=>Ke.A,SchemaMetaFieldDef:()=>b.SchemaMetaFieldDef,SingleFieldSubscriptionsRule:()=>We.R,Source:()=>fe.k,Token:()=>de.ou,TokenKind:()=>ye.Y,TypeInfo:()=>Dn.D,TypeKind:()=>b.TypeKind,TypeMetaFieldDef:()=>b.TypeMetaFieldDef,TypeNameMetaFieldDef:()=>b.TypeNameMetaFieldDef,UniqueArgumentNamesRule:()=>Je.J,UniqueDirectiveNamesRule:()=>ut.Z,UniqueDirectivesPerLocationRule:()=>$e.U,UniqueEnumValueNamesRule:()=>lt.g,UniqueFieldDefinitionNamesRule:()=>ct.X,UniqueFragmentNamesRule:()=>Xe.K,UniqueInputFieldNamesRule:()=>Ze.C,UniqueOperationNamesRule:()=>et.H,UniqueOperationTypesRule:()=>at.u,UniqueTypeNamesRule:()=>st.i,UniqueVariableNamesRule:()=>tt._,ValidationContext:()=>De.dY,ValuesOfCorrectTypeRule:()=>nt.U,VariablesAreInputTypesRule:()=>rt.J,VariablesInAllowedPositionRule:()=>ot.E,__Directive:()=>b.__Directive,__DirectiveLocation:()=>b.__DirectiveLocation,__EnumValue:()=>b.__EnumValue,__Field:()=>b.__Field,__InputValue:()=>b.__InputValue,__Schema:()=>b.__Schema,__Type:()=>b.__Type,__TypeKind:()=>b.__TypeKind,assertAbstractType:()=>_.N_,assertCompositeType:()=>_.Ye,assertDirective:()=>E.yq,assertEnumType:()=>_.el,assertInputObjectType:()=>_.Yq,assertInputType:()=>_.L9,assertInterfaceType:()=>_.qL,assertLeafType:()=>_.D0,assertListType:()=>_.dL,assertNamedType:()=>_.sF,assertNonNullType:()=>_.ZX,assertNullableType:()=>_.wG,assertObjectType:()=>_.qC,assertOutputType:()=>_.yh,assertScalarType:()=>_.Zx,assertSchema:()=>ue.GU,assertType:()=>_.j,assertUnionType:()=>_.EG,assertValidName:()=>Rn.Q,assertValidSchema:()=>l.Y,assertWrappingType:()=>_.B3,astFromValue:()=>zt.K,buildASTSchema:()=>Dt,buildClientSchema:()=>On.D,buildSchema:()=>xt,coerceInputValue:()=>x,concatAST:()=>nn,createSourceEventStream:()=>Oe,defaultFieldResolver:()=>ie,defaultTypeResolver:()=>oe,doTypesOverlap:()=>xn.uI,execute:()=>V,executeSync:()=>U,extendSchema:()=>St,findBreakingChanges:()=>hn,findDangerousChanges:()=>mn,findDeprecatedUsages:()=>Cn,formatError:()=>ft,getDescription:()=>It,getDirectiveValues:()=>M,getIntrospectionQuery:()=>vt.I,getLocation:()=>he.g,getNamedType:()=>_.MR,getNullableType:()=>_.yl,getOperationAST:()=>mt,getOperationRootType:()=>k,getVisitFn:()=>ge.UY,graphql:()=>se,graphqlSync:()=>le,introspectionFromSchema:()=>bt,introspectionTypes:()=>b.introspectionTypes,isAbstractType:()=>_.Lc,isCompositeType:()=>_.ML,isDefinitionNode:()=>Ee.MD,isDirective:()=>E.qT,isEnumType:()=>_.oF,isEqualType:()=>xn.n8,isExecutableDefinitionNode:()=>Ee._m,isInputObjectType:()=>_.qK,isInputType:()=>_.dX,isInterfaceType:()=>_.kD,isIntrospectionType:()=>b.isIntrospectionType,isLeafType:()=>_.zf,isListType:()=>_.Fs,isNamedType:()=>_.sy,isNonNullType:()=>_.bd,isNullableType:()=>_.wj,isObjectType:()=>_.YQ,isOutputType:()=>_.oH,isRequiredArgument:()=>_.xP,isRequiredInputField:()=>_.YX,isScalarType:()=>_.lg,isSchema:()=>ue.Wl,isSelectionNode:()=>Ee.VK,isSpecifiedDirective:()=>E.Qe,isSpecifiedScalarType:()=>pe.PZ,isType:()=>_.Xj,isTypeDefinitionNode:()=>Ee.a6,isTypeExtensionNode:()=>Ee.i7,isTypeNode:()=>Ee.dI,isTypeSubTypeOf:()=>xn.sP,isTypeSystemDefinitionNode:()=>Ee.xu,isTypeSystemExtensionNode:()=>Ee.fT,isUnionType:()=>_.CK,isValidNameError:()=>Rn.w,isValueNode:()=>Ee.aR,isWrappingType:()=>_.lS,lexicographicSortSchema:()=>jt,locatedError:()=>y.J,parse:()=>a.qg,parseType:()=>a.Mb,parseValue:()=>a.$x,print:()=>N.y,printError:()=>v.y,printIntrospectionSchema:()=>Ht,printLocation:()=>me.V,printSchema:()=>Bt,printSourceLocation:()=>me.C,printType:()=>Kt,responsePathAsArray:()=>m,separateOperations:()=>rn,specifiedDirectives:()=>E.rc,specifiedRules:()=>xe.g,specifiedScalarTypes:()=>pe.YC,stripIgnoredCharacters:()=>sn,subscribe:()=>Ae,syntaxError:()=>ht.I,typeFromAST:()=>T.v,validate:()=>s.tf,validateSchema:()=>l.i,valueFromAST:()=>C.i,valueFromASTUntyped:()=>In.F,version:()=>r,versionInfo:()=>o,visit:()=>ge.YR,visitInParallel:()=>ge.oP,visitWithTypeInfo:()=>Dn.S});var r="15.8.0",o=Object.freeze({major:15,minor:8,patch:0,preReleaseTag:null});function i(e){return"function"===typeof(null===e||void 0===e?void 0:e.then)}var a=n(1892),s=n(8910),l=n(5857),c=n(4569);var u=n(9189),p=n(7590),d=n(8995),f=n(4975);function h(e,t,n){return{prev:e,key:t,typename:n}}function m(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}var v=n(3738),y=n(9769),g=n(9834),b=n(3880),E=n(5445),_=n(9862),T=n(7429);function k(e,t){if("query"===t.operation){var n=e.getQueryType();if(!n)throw new v.e("Schema does not define the required query root type.",t);return n}if("mutation"===t.operation){var r=e.getMutationType();if(!r)throw new v.e("Schema is not configured for mutations.",t);return r}if("subscription"===t.operation){var o=e.getSubscriptionType();if(!o)throw new v.e("Schema is not configured for subscriptions.",t);return o}throw new v.e("Can only have query, mutation and subscription operations.",t)}var w=n(2414),S=n(9226);function A(e){return e.map((function(e){return"number"===typeof e?"["+e.toString()+"]":"."+e})).join("")}var N=n(6559),C=n(6958),O=n(3012),I=n(620),D=n(8631);function x(e,t){return F(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:R)}function R(e,t,n){var r="Invalid value "+(0,c.A)(t);throw e.length>0&&(r+=' at "value'.concat(A(e),'"')),n.message=r+": "+n.message,n}function F(e,t,n,r){if((0,_.bd)(t))return null!=e?F(e,t.ofType,n,r):void n(m(r),e,new v.e('Expected non-nullable type "'.concat((0,c.A)(t),'" not to be null.')));if(null==e)return null;if((0,_.Fs)(t)){var o=t.ofType,i=(0,f.A)(e,(function(e,t){var i=h(r,t,void 0);return F(e,o,n,i)}));return null!=i?i:[F(e,o,n,r)]}if((0,_.qK)(t)){if(!(0,d.A)(e))return void n(m(r),e,new v.e('Expected type "'.concat(t.name,'" to be an object.')));for(var a={},s=t.getFields(),l=0,p=(0,O.A)(s);l<p.length;l++){var y=p[l],g=e[y.name];if(void 0!==g)a[y.name]=F(g,y.type,n,h(r,y.name,t.name));else if(void 0!==y.defaultValue)a[y.name]=y.defaultValue;else if((0,_.bd)(y.type)){var b=(0,c.A)(y.type);n(m(r),e,new v.e('Field "'.concat(y.name,'" of required type "').concat(b,'" was not provided.')))}}for(var E=0,T=Object.keys(e);E<T.length;E++){var k=T[E];if(!s[k]){var w=(0,D.A)(k,Object.keys(t.getFields()));n(m(r),e,new v.e('Field "'.concat(k,'" is not defined by type "').concat(t.name,'".')+(0,I.A)(w)))}}return a}if((0,_.zf)(t)){var S;try{S=t.parseValue(e)}catch(A){return void(A instanceof v.e?n(m(r),e,A):n(m(r),e,new v.e('Expected type "'.concat(t.name,'". ')+A.message,void 0,void 0,void 0,void 0,A)))}return void 0===S&&n(m(r),e,new v.e('Expected type "'.concat(t.name,'".'))),S}(0,u.A)(0,"Unexpected input type: "+(0,c.A)(t))}function P(e,t,n,r){var o=[],i=null===r||void 0===r?void 0:r.maxErrors;try{var a=function(e,t,n,r){for(var o={},i=function(i){var a=t[i],s=a.variable.name.value,l=(0,T.v)(e,a.type);if(!(0,_.dX)(l)){var u=(0,N.y)(a.type);return r(new v.e('Variable "$'.concat(s,'" expected value of type "').concat(u,'" which cannot be used as an input type.'),a.type)),"continue"}if(!j(n,s)){if(a.defaultValue)o[s]=(0,C.i)(a.defaultValue,l);else if((0,_.bd)(l)){var p=(0,c.A)(l);r(new v.e('Variable "$'.concat(s,'" of required type "').concat(p,'" was not provided.'),a))}return"continue"}var d=n[s];if(null===d&&(0,_.bd)(l)){var f=(0,c.A)(l);return r(new v.e('Variable "$'.concat(s,'" of non-null type "').concat(f,'" must not be null.'),a)),"continue"}o[s]=x(d,l,(function(e,t,n){var o='Variable "$'.concat(s,'" got invalid value ')+(0,c.A)(t);e.length>0&&(o+=' at "'.concat(s).concat(A(e),'"')),r(new v.e(o+"; "+n.message,a,void 0,void 0,void 0,n.originalError))}))},a=0;a<t.length;a++)i(a);return o}(e,t,n,(function(e){if(null!=i&&o.length>=i)throw new v.e("Too many errors processing variables, error limit reached. Execution aborted.");o.push(e)}));if(0===o.length)return{coerced:a}}catch(s){o.push(s)}return{errors:o}}function L(e,t,n){for(var r,o={},i=null!==(r=t.arguments)&&void 0!==r?r:[],a=(0,S.A)(i,(function(e){return e.name.value})),s=0,l=e.args;s<l.length;s++){var u=l[s],p=u.name,d=u.type,f=a[p];if(f){var h=f.value,m=h.kind===g.b.NULL;if(h.kind===g.b.VARIABLE){var y=h.name.value;if(null==n||!j(n,y)){if(void 0!==u.defaultValue)o[p]=u.defaultValue;else if((0,_.bd)(d))throw new v.e('Argument "'.concat(p,'" of required type "').concat((0,c.A)(d),'" ')+'was provided the variable "$'.concat(y,'" which was not provided a runtime value.'),h);continue}m=null==n[y]}if(m&&(0,_.bd)(d))throw new v.e('Argument "'.concat(p,'" of non-null type "').concat((0,c.A)(d),'" ')+"must not be null.",h);var b=(0,C.i)(h,d,n);if(void 0===b)throw new v.e('Argument "'.concat(p,'" has invalid value ').concat((0,N.y)(h),"."),h);o[p]=b}else if(void 0!==u.defaultValue)o[p]=u.defaultValue;else if((0,_.bd)(d))throw new v.e('Argument "'.concat(p,'" of required type "').concat((0,c.A)(d),'" ')+"was not provided.",t)}return o}function M(e,t,n){var r=t.directives&&(0,w.A)(t.directives,(function(t){return t.name.value===e.name}));if(r)return L(e,r,n)}function j(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function V(e,t,n,r,o,i,a,s){return q(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s})}function U(e){var t=q(e);if(i(t))throw new Error("GraphQL execution failed to complete synchronously.");return t}function q(e){var t=e.schema,n=e.document,r=e.rootValue,o=e.contextValue,a=e.variableValues,s=e.operationName,l=e.fieldResolver,c=e.typeResolver;B(t,n,a);var u=H(t,n,r,o,a,s,l,c);if(Array.isArray(u))return{errors:u};var p=function(e,t,n){var r=k(e.schema,t),o=G(e,r,t.selectionSet,Object.create(null),Object.create(null)),a=void 0;try{var s="mutation"===t.operation?function(e,t,n,r,o){return a=Object.keys(o),s=function(a,s){var l=o[s],c=h(r,s,t.name),u=W(e,t,n,l,c);return void 0===u?a:i(u)?u.then((function(e){return a[s]=e,a})):(a[s]=u,a)},l=Object.create(null),a.reduce((function(e,t){return i(e)?e.then((function(e){return s(e,t)})):s(e,t)}),l);var a,s,l}(e,r,n,a,o):Y(e,r,n,a,o);return i(s)?s.then(void 0,(function(t){return e.errors.push(t),Promise.resolve(null)})):s}catch(l){return e.errors.push(l),null}}(u,u.operation,r);return z(u,p)}function z(e,t){return i(t)?t.then((function(t){return z(e,t)})):0===e.errors.length?{data:t}:{errors:e.errors,data:t}}function B(e,t,n){t||(0,p.A)(0,"Must provide document."),(0,l.Y)(e),null==n||(0,d.A)(n)||(0,p.A)(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function H(e,t,n,r,o,i,a,s){for(var l,c,u,p=Object.create(null),d=0,f=t.definitions;d<f.length;d++){var h=f[d];switch(h.kind){case g.b.OPERATION_DEFINITION:if(null==i){if(void 0!==u)return[new v.e("Must provide operation name if query contains multiple operations.")];u=h}else(null===(l=h.name)||void 0===l?void 0:l.value)===i&&(u=h);break;case g.b.FRAGMENT_DEFINITION:p[h.name.value]=h}}if(!u)return null!=i?[new v.e('Unknown operation named "'.concat(i,'".'))]:[new v.e("Must provide an operation.")];var m=P(e,null!==(c=u.variableDefinitions)&&void 0!==c?c:[],null!==o&&void 0!==o?o:{},{maxErrors:50});return m.errors?m.errors:{schema:e,fragments:p,rootValue:n,contextValue:r,operation:u,variableValues:m.coerced,fieldResolver:null!==a&&void 0!==a?a:ie,typeResolver:null!==s&&void 0!==s?s:oe,errors:[]}}function Y(e,t,n,r,o){for(var a=Object.create(null),s=!1,l=0,c=Object.keys(o);l<c.length;l++){var u=c[l],p=W(e,t,n,o[u],h(r,u,t.name));void 0!==p&&(a[u]=p,i(p)&&(s=!0))}return s?function(e){var t=Object.keys(e),n=t.map((function(t){return e[t]}));return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return e[t[r]]=n,e}),Object.create(null))}))}(a):a}function G(e,t,n,r,o){for(var i=0,a=n.selections;i<a.length;i++){var s=a[i];switch(s.kind){case g.b.FIELD:if(!Q(e,s))continue;var l=(p=s).alias?p.alias.value:p.name.value;r[l]||(r[l]=[]),r[l].push(s);break;case g.b.INLINE_FRAGMENT:if(!Q(e,s)||!K(e,s,t))continue;G(e,t,s.selectionSet,r,o);break;case g.b.FRAGMENT_SPREAD:var c=s.name.value;if(o[c]||!Q(e,s))continue;o[c]=!0;var u=e.fragments[c];if(!u||!K(e,u,t))continue;G(e,t,u.selectionSet,r,o)}}var p;return r}function Q(e,t){var n=M(E.MQ,t,e.variableValues);if(!0===(null===n||void 0===n?void 0:n.if))return!1;var r=M(E.HQ,t,e.variableValues);return!1!==(null===r||void 0===r?void 0:r.if)}function K(e,t,n){var r=t.typeCondition;if(!r)return!0;var o=(0,T.v)(e.schema,r);return o===n||!!(0,_.Lc)(o)&&e.schema.isSubType(o,n)}function W(e,t,n,r,o){var a,s=r[0].name.value,l=ae(e.schema,t,s);if(l){var c=l.type,u=null!==(a=l.resolve)&&void 0!==a?a:e.fieldResolver,p=J(e,l,r,t,o);try{var d,f=u(n,L(l,r[0],e.variableValues),e.contextValue,p);return d=i(f)?f.then((function(t){return X(e,c,r,p,o,t)})):X(e,c,r,p,o,f),i(d)?d.then(void 0,(function(t){return $((0,y.J)(t,r,m(o)),c,e)})):d}catch(h){return $((0,y.J)(h,r,m(o)),c,e)}}}function J(e,t,n,r,o){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:o,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function $(e,t,n){if((0,_.bd)(t))throw e;return n.errors.push(e),null}function X(e,t,n,r,o,a){if(a instanceof Error)throw a;if((0,_.bd)(t)){var s=X(e,t.ofType,n,r,o,a);if(null===s)throw new Error("Cannot return null for non-nullable field ".concat(r.parentType.name,".").concat(r.fieldName,"."));return s}return null==a?null:(0,_.Fs)(t)?function(e,t,n,r,o,a){var s=t.ofType,l=!1,c=(0,f.A)(a,(function(t,a){var c=h(o,a,void 0);try{var u;return u=i(t)?t.then((function(t){return X(e,s,n,r,c,t)})):X(e,s,n,r,c,t),i(u)?(l=!0,u.then(void 0,(function(t){return $((0,y.J)(t,n,m(c)),s,e)}))):u}catch(p){return $((0,y.J)(p,n,m(c)),s,e)}}));if(null==c)throw new v.e('Expected Iterable, but did not find one for field "'.concat(r.parentType.name,".").concat(r.fieldName,'".'));return l?Promise.all(c):c}(e,t,n,r,o,a):(0,_.zf)(t)?function(e,t){var n=e.serialize(t);if(void 0===n)throw new Error('Expected a value of type "'.concat((0,c.A)(e),'" but ')+"received: ".concat((0,c.A)(t)));return n}(t,a):(0,_.Lc)(t)?function(e,t,n,r,o,a){var s,l=null!==(s=t.resolveType)&&void 0!==s?s:e.typeResolver,c=e.contextValue,u=l(a,c,r,t);if(i(u))return u.then((function(i){return ee(e,Z(i,e,t,n,r,a),n,r,o,a)}));return ee(e,Z(u,e,t,n,r,a),n,r,o,a)}(e,t,n,r,o,a):(0,_.YQ)(t)?ee(e,t,n,r,o,a):void(0,u.A)(0,"Cannot complete value of unexpected output type: "+(0,c.A)(t))}function Z(e,t,n,r,o,i){if(null==e)throw new v.e('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'". Either the "').concat(n.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r);var a=(0,_.sy)(e)?e.name:e;if("string"!==typeof a)throw new v.e('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(o.parentType.name,".").concat(o.fieldName,'" with ')+"value ".concat((0,c.A)(i),', received "').concat((0,c.A)(e),'".'));var s=t.schema.getType(a);if(null==s)throw new v.e('Abstract type "'.concat(n.name,'" was resolve to a type "').concat(a,'" that does not exist inside schema.'),r);if(!(0,_.YQ)(s))throw new v.e('Abstract type "'.concat(n.name,'" was resolve to a non-object type "').concat(a,'".'),r);if(!t.schema.isSubType(n,s))throw new v.e('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(n.name,'".'),r);return s}function ee(e,t,n,r,o,a){if(t.isTypeOf){var s=t.isTypeOf(a,e.contextValue,r);if(i(s))return s.then((function(r){if(!r)throw te(t,a,n);return ne(e,t,n,o,a)}));if(!s)throw te(t,a,n)}return ne(e,t,n,o,a)}function te(e,t,n){return new v.e('Expected value of type "'.concat(e.name,'" but got: ').concat((0,c.A)(t),"."),n)}function ne(e,t,n,r,o){return Y(e,t,o,r,re(e,t,n))}var re=function(e){var t;return function(n,r,o){t||(t=new WeakMap);var i,a=t.get(n);if(a){if(i=a.get(r)){var s=i.get(o);if(void 0!==s)return s}}else a=new WeakMap,t.set(n,a);i||(i=new WeakMap,a.set(r,i));var l=e(n,r,o);return i.set(o,l),l}}((function(e,t,n){for(var r=Object.create(null),o=Object.create(null),i=0;i<n.length;i++){var a=n[i];a.selectionSet&&(r=G(e,t,a.selectionSet,r,o))}return r}));var oe=function(e,t,n,r){if((0,d.A)(e)&&"string"===typeof e.__typename)return e.__typename;for(var o=n.schema.getPossibleTypes(r),a=[],s=0;s<o.length;s++){var l=o[s];if(l.isTypeOf){var c=l.isTypeOf(e,t,n);if(i(c))a[s]=c;else if(c)return l.name}}return a.length?Promise.all(a).then((function(e){for(var t=0;t<e.length;t++)if(e[t])return o[t].name})):void 0},ie=function(e,t,n,r){if((0,d.A)(e)||"function"===typeof e){var o=e[r.fieldName];return"function"===typeof o?e[r.fieldName](t,n,r):o}};function ae(e,t,n){return n===b.SchemaMetaFieldDef.name&&e.getQueryType()===t?b.SchemaMetaFieldDef:n===b.TypeMetaFieldDef.name&&e.getQueryType()===t?b.TypeMetaFieldDef:n===b.TypeNameMetaFieldDef.name?b.TypeNameMetaFieldDef:t.getFields()[n]}function se(e,t,n,r,o,i,a,s){var l=arguments;return new Promise((function(c){return c(ce(1===l.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,typeResolver:s}))}))}function le(e,t,n,r,o,a,s,l){var c=ce(1===arguments.length?e:{schema:e,source:t,rootValue:n,contextValue:r,variableValues:o,operationName:a,fieldResolver:s,typeResolver:l});if(i(c))throw new Error("GraphQL execution failed to complete synchronously.");return c}function ce(e){var t,n=e.schema,r=e.source,o=e.rootValue,i=e.contextValue,c=e.variableValues,u=e.operationName,p=e.fieldResolver,d=e.typeResolver,f=(0,l.i)(n);if(f.length>0)return{errors:f};try{t=(0,a.qg)(r)}catch(ht){return{errors:[ht]}}var h=(0,s.tf)(n,t);return h.length>0?{errors:h}:V({schema:n,document:t,rootValue:o,contextValue:i,variableValues:c,operationName:u,fieldResolver:p,typeResolver:d})}var ue=n(8210),pe=n(447),de=n(931),fe=n(3906),he=n(2584),me=n(5119),ve=n(9817),ye=n(3894),ge=n(1977),be=n(1033),Ee=n(1639),_e=n(5966);function Te(e){return"function"===typeof(null===e||void 0===e?void 0:e[_e.$r])}function ke(e,t,n){var r,o,i,a,s,l,c=e[_e.$r].call(e);function u(e){return e.done?e:we(e.value,t).then(Se,o)}if("function"===typeof c.return&&(r=c.return,o=function(e){var t=function(){return Promise.reject(e)};return r.call(c).then(t,t)}),n){var p=n;i=function(e){return we(e,p).then(Se,o)}}return a={next:function(){return c.next().then(u,i)},return:function(){return r?r.call(c).then(u,i):Promise.resolve({value:void 0,done:!0})},throw:function(e){return"function"===typeof c.throw?c.throw(e).then(u,i):Promise.reject(e).catch(o)}},s=_e.$r,l=function(){return this},s in a?Object.defineProperty(a,s,{value:l,enumerable:!0,configurable:!0,writable:!0}):a[s]=l,a}function we(e,t){return new Promise((function(n){return n(t(e))}))}function Se(e){return{value:e,done:!1}}function Ae(e,t,n,r,o,i,a,s){return Ce(1===arguments.length?e:{schema:e,document:t,rootValue:n,contextValue:r,variableValues:o,operationName:i,fieldResolver:a,subscribeFieldResolver:s})}function Ne(e){if(e instanceof v.e)return{errors:[e]};throw e}function Ce(e){var t=e.schema,n=e.document,r=e.rootValue,o=e.contextValue,i=e.variableValues,a=e.operationName,s=e.fieldResolver,l=e.subscribeFieldResolver,c=Oe(t,n,r,o,i,a,l),u=function(e){return V({schema:t,document:n,rootValue:e,contextValue:o,variableValues:i,operationName:a,fieldResolver:s})};return c.then((function(e){return Te(e)?ke(e,u,Ne):e}))}function Oe(e,t,n,r,o,i,a){return B(e,t,o),new Promise((function(s){var l=H(e,t,n,r,o,i,a);s(Array.isArray(l)?{errors:l}:function(e){var t=e.schema,n=e.operation,r=e.variableValues,o=e.rootValue,i=k(t,n),a=G(e,i,n.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(a)[0],l=a[s],u=l[0].name.value,p=ae(t,i,u);if(!p)throw new v.e('The subscription field "'.concat(u,'" is not defined.'),l);var d=h(void 0,s,i.name),f=J(e,p,l,i,d);return new Promise((function(t){var n,i=L(p,l[0],r),a=e.contextValue;t((null!==(n=p.subscribe)&&void 0!==n?n:e.fieldResolver)(o,i,a,f))})).then((function(e){if(e instanceof Error)throw(0,y.J)(e,l,m(d));if(!Te(e))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat((0,c.A)(e),"."));return e}),(function(e){throw(0,y.J)(e,l,m(d))}))}(l))})).catch(Ne)}function Ie(e){return{Field:function(t){var n=(0,_.MR)(e.getType());n&&(0,b.isIntrospectionType)(n)&&e.reportError(new v.e('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}var De=n(3450),xe=n(2011),Re=n(9244),Fe=n(9276),Pe=n(8986),Le=n(5902),Me=n(8157),je=n(881),Ve=n(1057),Ue=n(7176),qe=n(330),ze=n(3236),Be=n(8368),He=n(9580),Ye=n(4665),Ge=n(2041),Qe=n(2700),Ke=n(333),We=n(6956),Je=n(5802),$e=n(2075),Xe=n(4221),Ze=n(2469),et=n(3418),tt=n(9797),nt=n(3895),rt=n(1194),ot=n(3325),it=n(4),at=n(9333),st=n(3373),lt=n(1857),ct=n(2798),ut=n(9134),pt=n(9173),dt=n(2649);function ft(e){var t;e||(0,p.A)(0,"Received null or undefined error.");var n=null!==(t=e.message)&&void 0!==t?t:"An unknown error occurred.",r=e.locations,o=e.path,i=e.extensions;return i&&Object.keys(i).length>0?{message:n,locations:r,path:o,extensions:i}:{message:n,locations:r,path:o}}var ht=n(4802);function mt(e,t){for(var n=null,r=0,o=e.definitions;r<o.length;r++){var i,a=o[r];if(a.kind===g.b.OPERATION_DEFINITION)if(null==t){if(n)return null;n=a}else if((null===(i=a.name)||void 0===i?void 0:i.value)===t)return a}return n}var vt=n(1250);function yt(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 gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bt(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yt(Object(n),!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),r=U({schema:e,document:(0,a.qg)((0,vt.I)(n))});return!r.errors&&r.data||(0,u.A)(0),r.data}var Et=n(6590),_t=n(659);function Tt(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 kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(n),!0).forEach((function(t){wt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function St(e,t,n){(0,ue.GU)(e),null!=t&&t.kind===g.b.DOCUMENT||(0,p.A)(0,"Must provide valid Document AST."),!0!==(null===n||void 0===n?void 0:n.assumeValid)&&!0!==(null===n||void 0===n?void 0:n.assumeValidSDL)&&(0,s.$T)(t,e);var r=e.toConfig(),o=At(r,t,n);return r===o?e:new ue.V4(o)}function At(e,t,n){for(var r,o,i,a,s,l=[],p=Object.create(null),d=[],f=[],h=0,m=t.definitions;h<m.length;h++){var v=m[h];if(v.kind===g.b.SCHEMA_DEFINITION)s=v;else if(v.kind===g.b.SCHEMA_EXTENSION)f.push(v);else if((0,Ee.a6)(v))l.push(v);else if((0,Ee.i7)(v)){var y=v.name.value,T=p[y];p[y]=T?T.concat([v]):[v]}else v.kind===g.b.DIRECTIVE_DEFINITION&&d.push(v)}if(0===Object.keys(p).length&&0===l.length&&0===d.length&&0===f.length&&null==s)return e;for(var k=Object.create(null),w=0,S=e.types;w<S.length;w++){var A=S[w];k[A.name]=L(A)}for(var N=0;N<l.length;N++){var I,D=l[N],x=D.name.value;k[x]=null!==(I=Nt[x])&&void 0!==I?I:K(D)}var R=kt(kt({query:e.query&&P(e.query),mutation:e.mutation&&P(e.mutation),subscription:e.subscription&&P(e.subscription)},s&&V([s])),V(f));return kt(kt({description:null===(r=s)||void 0===r||null===(o=r.description)||void 0===o?void 0:o.value},R),{},{types:(0,O.A)(k),directives:[].concat(e.directives.map((function(e){var t=e.toConfig();return new E.RR(kt(kt({},t),{},{args:(0,Et.A)(t.args,j)}))})),d.map((function(e){var t=e.locations.map((function(e){return e.value}));return new E.RR({name:e.name.value,description:It(e,n),locations:t,isRepeatable:e.repeatable,args:B(e.arguments),astNode:e})}))),extensions:void 0,astNode:null!==(i=s)&&void 0!==i?i:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(f),assumeValid:null!==(a=null===n||void 0===n?void 0:n.assumeValid)&&void 0!==a&&a});function F(e){return(0,_.Fs)(e)?new _.KT(F(e.ofType)):(0,_.bd)(e)?new _.Gc(F(e.ofType)):P(e)}function P(e){return k[e.name]}function L(e){return(0,b.isIntrospectionType)(e)||(0,pe.PZ)(e)?e:(0,_.lg)(e)?function(e){for(var t,n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[],o=n.specifiedByUrl,i=0;i<r.length;i++){var a;o=null!==(a=Ot(r[i]))&&void 0!==a?a:o}return new _.Ag(kt(kt({},n),{},{specifiedByUrl:o,extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):(0,_.YQ)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new _.bh(kt(kt({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(P),G(r))},fields:function(){return kt(kt({},(0,Et.A)(n.fields,M)),z(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):(0,_.kD)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new _.VA(kt(kt({},n),{},{interfaces:function(){return[].concat(e.getInterfaces().map(P),G(r))},fields:function(){return kt(kt({},(0,Et.A)(n.fields,M)),z(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):(0,_.CK)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new _.hI(kt(kt({},n),{},{types:function(){return[].concat(e.getTypes().map(P),Q(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):(0,_.oF)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=p[e.name])&&void 0!==t?t:[];return new _.Zb(kt(kt({},n),{},{values:kt(kt({},n.values),Y(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):(0,_.qK)(e)?function(e){var t,n=e.toConfig(),r=null!==(t=p[n.name])&&void 0!==t?t:[];return new _.zP(kt(kt({},n),{},{fields:function(){return kt(kt({},(0,Et.A)(n.fields,(function(e){return kt(kt({},e),{},{type:F(e.type)})}))),H(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(e):void(0,u.A)(0,"Unexpected type: "+(0,c.A)(e))}function M(e){return kt(kt({},e),{},{type:F(e.type),args:(0,Et.A)(e.args,j)})}function j(e){return kt(kt({},e),{},{type:F(e.type)})}function V(e){for(var t={},n=0;n<e.length;n++)for(var r,o=null!==(r=e[n].operationTypes)&&void 0!==r?r:[],i=0;i<o.length;i++){var a=o[i];t[a.operation]=U(a.type)}return t}function U(e){var t,n=e.name.value,r=null!==(t=Nt[n])&&void 0!==t?t:k[n];if(void 0===r)throw new Error('Unknown type: "'.concat(n,'".'));return r}function q(e){return e.kind===g.b.LIST_TYPE?new _.KT(q(e.type)):e.kind===g.b.NON_NULL_TYPE?new _.Gc(q(e.type)):U(e)}function z(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var o,i=null!==(o=e[r].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a];t[s.name.value]={type:q(s.type),description:It(s,n),args:B(s.arguments),deprecationReason:Ct(s),astNode:s}}return t}function B(e){for(var t=null!==e&&void 0!==e?e:[],r=Object.create(null),o=0;o<t.length;o++){var i=t[o],a=q(i.type);r[i.name.value]={type:a,description:It(i,n),defaultValue:(0,C.i)(i.defaultValue,a),deprecationReason:Ct(i),astNode:i}}return r}function H(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var o,i=null!==(o=e[r].fields)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a],l=q(s.type);t[s.name.value]={type:l,description:It(s,n),defaultValue:(0,C.i)(s.defaultValue,l),deprecationReason:Ct(s),astNode:s}}return t}function Y(e){for(var t=Object.create(null),r=0;r<e.length;r++)for(var o,i=null!==(o=e[r].values)&&void 0!==o?o:[],a=0;a<i.length;a++){var s=i[a];t[s.name.value]={description:It(s,n),deprecationReason:Ct(s),astNode:s}}return t}function G(e){for(var t=[],n=0;n<e.length;n++)for(var r,o=null!==(r=e[n].interfaces)&&void 0!==r?r:[],i=0;i<o.length;i++){var a=o[i];t.push(U(a))}return t}function Q(e){for(var t=[],n=0;n<e.length;n++)for(var r,o=null!==(r=e[n].types)&&void 0!==r?r:[],i=0;i<o.length;i++){var a=o[i];t.push(U(a))}return t}function K(e){var t,r=e.name.value,o=It(e,n),i=null!==(t=p[r])&&void 0!==t?t:[];switch(e.kind){case g.b.OBJECT_TYPE_DEFINITION:var a=i,s=[e].concat(a);return new _.bh({name:r,description:o,interfaces:function(){return G(s)},fields:function(){return z(s)},astNode:e,extensionASTNodes:a});case g.b.INTERFACE_TYPE_DEFINITION:var l=i,d=[e].concat(l);return new _.VA({name:r,description:o,interfaces:function(){return G(d)},fields:function(){return z(d)},astNode:e,extensionASTNodes:l});case g.b.ENUM_TYPE_DEFINITION:var f=i,h=[e].concat(f);return new _.Zb({name:r,description:o,values:Y(h),astNode:e,extensionASTNodes:f});case g.b.UNION_TYPE_DEFINITION:var m=i,v=[e].concat(m);return new _.hI({name:r,description:o,types:function(){return Q(v)},astNode:e,extensionASTNodes:m});case g.b.SCALAR_TYPE_DEFINITION:var y=i;return new _.Ag({name:r,description:o,specifiedByUrl:Ot(e),astNode:e,extensionASTNodes:y});case g.b.INPUT_OBJECT_TYPE_DEFINITION:var b=i,E=[e].concat(b);return new _.zP({name:r,description:o,fields:function(){return H(E)},astNode:e,extensionASTNodes:b})}(0,u.A)(0,"Unexpected type definition node: "+(0,c.A)(e))}}var Nt=(0,S.A)(pe.YC.concat(b.introspectionTypes),(function(e){return e.name}));function Ct(e){var t=M(E.yK,e);return null===t||void 0===t?void 0:t.reason}function Ot(e){var t=M(E.gw,e);return null===t||void 0===t?void 0:t.url}function It(e,t){if(e.description)return e.description.value;if(!0===(null===t||void 0===t?void 0:t.commentDescriptions)){var n=function(e){var t=e.loc;if(!t)return;var n=[],r=t.startToken.prev;for(;null!=r&&r.kind===ye.Y.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var o=String(r.value);n.push(o),r=r.prev}return n.length>0?n.reverse().join("\n"):void 0}(e);if(void 0!==n)return(0,_t.i$)("\n"+n)}}function Dt(e,t){null!=e&&e.kind===g.b.DOCUMENT||(0,p.A)(0,"Must provide valid Document AST."),!0!==(null===t||void 0===t?void 0:t.assumeValid)&&!0!==(null===t||void 0===t?void 0:t.assumeValidSDL)&&(0,s.uq)(e);var n=At({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(var r=0,o=n.types;r<o.length;r++){var i=o[r];switch(i.name){case"Query":n.query=i;break;case"Mutation":n.mutation=i;break;case"Subscription":n.subscription=i}}for(var a=n.directives,l=function(e){var t=E.rc[e];a.every((function(e){return e.name!==t.name}))&&a.push(t)},c=0;c<E.rc.length;c++)l(c);return new ue.V4(n)}function xt(e,t){return Dt((0,a.qg)(e,{noLocation:null===t||void 0===t?void 0:t.noLocation,allowLegacySDLEmptyFields:null===t||void 0===t?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null===t||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null===t||void 0===t?void 0:t.experimentalFragmentVariables}),{commentDescriptions:null===t||void 0===t?void 0:t.commentDescriptions,assumeValidSDL:null===t||void 0===t?void 0:t.assumeValidSDL,assumeValid:null===t||void 0===t?void 0:t.assumeValid})}var Rt=n(5841),Ft=n(2811);function Pt(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 Lt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pt(Object(n),!0).forEach((function(t){Mt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jt(e){var t=e.toConfig(),n=(0,Rt.A)(Ut(t.types),(function(e){return e.name}),(function(e){if((0,_.lg)(e)||(0,b.isIntrospectionType)(e))return e;if((0,_.YQ)(e)){var t=e.toConfig();return new _.bh(Lt(Lt({},t),{},{interfaces:function(){return l(t.interfaces)},fields:function(){return s(t.fields)}}))}if((0,_.kD)(e)){var n=e.toConfig();return new _.VA(Lt(Lt({},n),{},{interfaces:function(){return l(n.interfaces)},fields:function(){return s(n.fields)}}))}if((0,_.CK)(e)){var o=e.toConfig();return new _.hI(Lt(Lt({},o),{},{types:function(){return l(o.types)}}))}if((0,_.oF)(e)){var i=e.toConfig();return new _.Zb(Lt(Lt({},i),{},{values:Vt(i.values)}))}if((0,_.qK)(e)){var a=e.toConfig();return new _.zP(Lt(Lt({},a),{},{fields:function(){return Vt(a.fields,(function(e){return Lt(Lt({},e),{},{type:r(e.type)})}))}}))}(0,u.A)(0,"Unexpected type: "+(0,c.A)(e))}));return new ue.V4(Lt(Lt({},t),{},{types:(0,O.A)(n),directives:Ut(t.directives).map((function(e){var t=e.toConfig();return new E.RR(Lt(Lt({},t),{},{locations:qt(t.locations,(function(e){return e})),args:a(t.args)}))})),query:i(t.query),mutation:i(t.mutation),subscription:i(t.subscription)}));function r(e){return(0,_.Fs)(e)?new _.KT(r(e.ofType)):(0,_.bd)(e)?new _.Gc(r(e.ofType)):o(e)}function o(e){return n[e.name]}function i(e){return e&&o(e)}function a(e){return Vt(e,(function(e){return Lt(Lt({},e),{},{type:r(e.type)})}))}function s(e){return Vt(e,(function(e){return Lt(Lt({},e),{},{type:r(e.type),args:a(e.args)})}))}function l(e){return Ut(e).map(o)}}function Vt(e,t){for(var n=Object.create(null),r=qt(Object.keys(e),(function(e){return e})),o=0;o<r.length;o++){var i=r[o],a=e[i];n[i]=t?t(a):a}return n}function Ut(e){return qt(e,(function(e){return e.name}))}function qt(e,t){return e.slice().sort((function(e,n){var r=t(e),o=t(n);return(0,Ft.A)(r,o)}))}var zt=n(2024);function Bt(e,t){return Gt(e,(function(e){return!(0,E.Qe)(e)}),Yt,t)}function Ht(e,t){return Gt(e,E.Qe,b.isIntrospectionType,t)}function Yt(e){return!(0,pe.PZ)(e)&&!(0,b.isIntrospectionType)(e)}function Gt(e,t,n,r){var o=e.getDirectives().filter(t),i=(0,O.A)(e.getTypeMap()).filter(n);return[Qt(e)].concat(o.map((function(e){return function(e,t){return tn(t,e)+"directive @"+e.name+Xt(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}(e,r)})),i.map((function(e){return Kt(e,r)}))).filter(Boolean).join("\n\n")+"\n"}function Qt(e){if(null!=e.description||!function(e){var t=e.getQueryType();if(t&&"Query"!==t.name)return!1;var n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;var r=e.getSubscriptionType();if(r&&"Subscription"!==r.name)return!1;return!0}(e)){var t=[],n=e.getQueryType();n&&t.push("  query: ".concat(n.name));var r=e.getMutationType();r&&t.push("  mutation: ".concat(r.name));var o=e.getSubscriptionType();return o&&t.push("  subscription: ".concat(o.name)),tn({},e)+"schema {\n".concat(t.join("\n"),"\n}")}}function Kt(e,t){return(0,_.lg)(e)?function(e,t){return tn(t,e)+"scalar ".concat(e.name)+function(e){if(null==e.specifiedByUrl)return"";var t=e.specifiedByUrl,n=(0,zt.K)(t,pe.FV);return n||(0,u.A)(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+(0,N.y)(n)+")"}(e)}(e,t):(0,_.YQ)(e)?function(e,t){return tn(t,e)+"type ".concat(e.name)+Wt(e)+Jt(t,e)}(e,t):(0,_.kD)(e)?function(e,t){return tn(t,e)+"interface ".concat(e.name)+Wt(e)+Jt(t,e)}(e,t):(0,_.CK)(e)?function(e,t){var n=e.getTypes(),r=n.length?" = "+n.join(" | "):"";return tn(t,e)+"union "+e.name+r}(e,t):(0,_.oF)(e)?function(e,t){var n=e.getValues().map((function(e,n){return tn(t,e,"  ",!n)+"  "+e.name+en(e.deprecationReason)}));return tn(t,e)+"enum ".concat(e.name)+$t(n)}(e,t):(0,_.qK)(e)?function(e,t){var n=(0,O.A)(e.getFields()).map((function(e,n){return tn(t,e,"  ",!n)+"  "+Zt(e)}));return tn(t,e)+"input ".concat(e.name)+$t(n)}(e,t):void(0,u.A)(0,"Unexpected type: "+(0,c.A)(e))}function Wt(e){var t=e.getInterfaces();return t.length?" implements "+t.map((function(e){return e.name})).join(" & "):""}function Jt(e,t){return $t((0,O.A)(t.getFields()).map((function(t,n){return tn(e,t,"  ",!n)+"  "+t.name+Xt(e,t.args,"  ")+": "+String(t.type)+en(t.deprecationReason)})))}function $t(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function Xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return 0===t.length?"":t.every((function(e){return!e.description}))?"("+t.map(Zt).join(", ")+")":"(\n"+t.map((function(t,r){return tn(e,t,"  "+n,!r)+"  "+n+Zt(t)})).join("\n")+"\n"+n+")"}function Zt(e){var t=(0,zt.K)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat((0,N.y)(t))),n+en(e.deprecationReason)}function en(e){if(null==e)return"";var t=(0,zt.K)(e,pe.FV);return t&&e!==E.Il?" @deprecated(reason: "+(0,N.y)(t)+")":" @deprecated"}function tn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=t.description;if(null==o)return"";if(!0===(null===e||void 0===e?void 0:e.commentDescriptions))return function(e,t,n){var r=t&&!n?"\n":"",o=e.split("\n").map((function(e){return t+(""!==e?"# "+e:"#")})).join("\n");return r+o+"\n"}(o,n,r);var i=o.length>70;return(n&&!r?"\n"+n:n)+(0,_t.yo)(o,"",i).replace(/\n/g,"\n"+n)+"\n"}function nn(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t=t.concat(r.definitions)}return{kind:"Document",definitions:t}}function rn(e){for(var t=[],n=Object.create(null),r=0,o=e.definitions;r<o.length;r++){var i=o[r];switch(i.kind){case g.b.OPERATION_DEFINITION:t.push(i);break;case g.b.FRAGMENT_DEFINITION:n[i.name.value]=an(i.selectionSet)}}for(var a=Object.create(null),s=function(r){for(var o=t[r],i=new Set,s=0,l=an(o.selectionSet);s<l.length;s++){var c=l[s];on(i,n,c)}var u=o.name?o.name.value:"";a[u]={kind:g.b.DOCUMENT,definitions:e.definitions.filter((function(e){return e===o||e.kind===g.b.FRAGMENT_DEFINITION&&i.has(e.name.value)}))}},l=0;l<t.length;l++)s(l);return a}function on(e,t,n){if(!e.has(n)){e.add(n);var r=t[n];if(void 0!==r)for(var o=0;o<r.length;o++){on(e,t,r[o])}}}function an(e){var t=[];return(0,ge.YR)(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function sn(e){for(var t=(0,fe._)(e)?e:new fe.k(e),n=t.body,r=new ve.J(t),o="",i=!1;r.advance().kind!==ye.Y.EOF;){var a=r.token,s=a.kind,l=!(0,ve.Z)(a.kind);i&&(l||a.kind===ye.Y.SPREAD)&&(o+=" ");var c=n.slice(a.start,a.end);s===ye.Y.BLOCK_STRING?o+=ln(c):o+=c,i=l}return o}function ln(e){var t=e.slice(3,-3),n=(0,_t.i$)(t);(0,_t.IN)(n)>0&&(n="\n"+n);var r=n[n.length-1];return('"'===r&&'\\"""'!==n.slice(-4)||"\\"===r)&&(n+="\n"),'"""'+n+'"""'}function cn(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 un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cn(Object(n),!0).forEach((function(t){pn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dn=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),fn=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});function hn(e,t){return vn(e,t).filter((function(e){return e.type in dn}))}function mn(e,t){return vn(e,t).filter((function(e){return e.type in fn}))}function vn(e,t){return[].concat(function(e,t){for(var n=[],r=Nn((0,O.A)(e.getTypeMap()),(0,O.A)(t.getTypeMap())),o=0,i=r.removed;o<i.length;o++){var a=i[o];n.push({type:dn.TYPE_REMOVED,description:(0,pe.PZ)(a)?"Standard scalar ".concat(a.name," was removed because it is not referenced anymore."):"".concat(a.name," was removed.")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],p=c[1];(0,_.oF)(u)&&(0,_.oF)(p)?n.push.apply(n,bn(u,p)):(0,_.CK)(u)&&(0,_.CK)(p)?n.push.apply(n,gn(u,p)):(0,_.qK)(u)&&(0,_.qK)(p)?n.push.apply(n,yn(u,p)):(0,_.YQ)(u)&&(0,_.YQ)(p)||(0,_.kD)(u)&&(0,_.kD)(p)?n.push.apply(n,_n(u,p).concat(En(u,p))):u.constructor!==p.constructor&&n.push({type:dn.TYPE_CHANGED_KIND,description:"".concat(u.name," changed from ")+"".concat(Sn(u)," to ").concat(Sn(p),".")})}return n}(e,t),function(e,t){for(var n=[],r=Nn(e.getDirectives(),t.getDirectives()),o=0,i=r.removed;o<i.length;o++){var a=i[o];n.push({type:dn.DIRECTIVE_REMOVED,description:"".concat(a.name," was removed.")})}for(var s=0,l=r.persisted;s<l.length;s++){for(var c=l[s],u=c[0],p=c[1],d=Nn(u.args,p.args),f=0,h=d.added;f<h.length;f++){var m=h[f];(0,_.xP)(m)&&n.push({type:dn.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(m.name," on directive ").concat(u.name," was added.")})}for(var v=0,y=d.removed;v<y.length;v++){var g=y[v];n.push({type:dn.DIRECTIVE_ARG_REMOVED,description:"".concat(g.name," was removed from ").concat(u.name,".")})}u.isRepeatable&&!p.isRepeatable&&n.push({type:dn.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(u.name,".")});for(var b=0,E=u.locations;b<E.length;b++){var T=E[b];-1===p.locations.indexOf(T)&&n.push({type:dn.DIRECTIVE_LOCATION_REMOVED,description:"".concat(T," was removed from ").concat(u.name,".")})}}return n}(e,t))}function yn(e,t){for(var n=[],r=Nn((0,O.A)(e.getFields()),(0,O.A)(t.getFields())),o=0,i=r.added;o<i.length;o++){var a=i[o];(0,_.YX)(a)?n.push({type:dn.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(a.name," on input type ").concat(e.name," was added.")}):n.push({type:fn.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(a.name," on input type ").concat(e.name," was added.")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:dn.FIELD_REMOVED,description:"".concat(e.name,".").concat(c.name," was removed.")})}for(var u=0,p=r.persisted;u<p.length;u++){var d=p[u],f=d[0],h=d[1];wn(f.type,h.type)||n.push({type:dn.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(f.name," changed type from ")+"".concat(String(f.type)," to ").concat(String(h.type),".")})}return n}function gn(e,t){for(var n=[],r=Nn(e.getTypes(),t.getTypes()),o=0,i=r.added;o<i.length;o++){var a=i[o];n.push({type:fn.TYPE_ADDED_TO_UNION,description:"".concat(a.name," was added to union type ").concat(e.name,".")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:dn.TYPE_REMOVED_FROM_UNION,description:"".concat(c.name," was removed from union type ").concat(e.name,".")})}return n}function bn(e,t){for(var n=[],r=Nn(e.getValues(),t.getValues()),o=0,i=r.added;o<i.length;o++){var a=i[o];n.push({type:fn.VALUE_ADDED_TO_ENUM,description:"".concat(a.name," was added to enum type ").concat(e.name,".")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:dn.VALUE_REMOVED_FROM_ENUM,description:"".concat(c.name," was removed from enum type ").concat(e.name,".")})}return n}function En(e,t){for(var n=[],r=Nn(e.getInterfaces(),t.getInterfaces()),o=0,i=r.added;o<i.length;o++){var a=i[o];n.push({type:fn.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(a.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,l=r.removed;s<l.length;s++){var c=l[s];n.push({type:dn.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(c.name,".")})}return n}function _n(e,t){for(var n=[],r=Nn((0,O.A)(e.getFields()),(0,O.A)(t.getFields())),o=0,i=r.removed;o<i.length;o++){var a=i[o];n.push({type:dn.FIELD_REMOVED,description:"".concat(e.name,".").concat(a.name," was removed.")})}for(var s=0,l=r.persisted;s<l.length;s++){var c=l[s],u=c[0],p=c[1];n.push.apply(n,Tn(e,u,p)),kn(u.type,p.type)||n.push({type:dn.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(u.name," changed type from ")+"".concat(String(u.type)," to ").concat(String(p.type),".")})}return n}function Tn(e,t,n){for(var r=[],o=Nn(t.args,n.args),i=0,a=o.removed;i<a.length;i++){var s=a[i];r.push({type:dn.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}for(var l=0,c=o.persisted;l<c.length;l++){var u=c[l],p=u[0],d=u[1];if(wn(p.type,d.type)){if(void 0!==p.defaultValue)if(void 0===d.defaultValue)r.push({type:fn.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(p.name," defaultValue was removed.")});else{var f=An(p.defaultValue,p.type),h=An(d.defaultValue,d.type);f!==h&&r.push({type:fn.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(p.name," has changed defaultValue from ").concat(f," to ").concat(h,".")})}}else r.push({type:dn.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(p.name," has changed type from ")+"".concat(String(p.type)," to ").concat(String(d.type),".")})}for(var m=0,v=o.added;m<v.length;m++){var y=v[m];(0,_.xP)(y)?r.push({type:dn.REQUIRED_ARG_ADDED,description:"A required arg ".concat(y.name," on ").concat(e.name,".").concat(t.name," was added.")}):r.push({type:fn.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(y.name," on ").concat(e.name,".").concat(t.name," was added.")})}return r}function kn(e,t){return(0,_.Fs)(e)?(0,_.Fs)(t)&&kn(e.ofType,t.ofType)||(0,_.bd)(t)&&kn(e,t.ofType):(0,_.bd)(e)?(0,_.bd)(t)&&kn(e.ofType,t.ofType):(0,_.sy)(t)&&e.name===t.name||(0,_.bd)(t)&&kn(e,t.ofType)}function wn(e,t){return(0,_.Fs)(e)?(0,_.Fs)(t)&&wn(e.ofType,t.ofType):(0,_.bd)(e)?(0,_.bd)(t)&&wn(e.ofType,t.ofType)||!(0,_.bd)(t)&&wn(e.ofType,t):(0,_.sy)(t)&&e.name===t.name}function Sn(e){return(0,_.lg)(e)?"a Scalar type":(0,_.YQ)(e)?"an Object type":(0,_.kD)(e)?"an Interface type":(0,_.CK)(e)?"a Union type":(0,_.oF)(e)?"an Enum type":(0,_.qK)(e)?"an Input type":void(0,u.A)(0,"Unexpected type: "+(0,c.A)(e))}function An(e,t){var n=(0,zt.K)(e,t);null!=n||(0,u.A)(0);var r=(0,ge.YR)(n,{ObjectValue:function(e){var t=[].concat(e.fields);return t.sort((function(e,t){return(0,Ft.A)(e.name.value,t.name.value)})),un(un({},e),{},{fields:t})}});return(0,N.y)(r)}function Nn(e,t){for(var n=[],r=[],o=[],i=(0,S.A)(e,(function(e){return e.name})),a=(0,S.A)(t,(function(e){return e.name})),s=0;s<e.length;s++){var l=e[s],c=a[l.name];void 0===c?r.push(l):o.push([l,c])}for(var u=0;u<t.length;u++){var p=t[u];void 0===i[p.name]&&n.push(p)}return{added:n,persisted:o,removed:r}}function Cn(e,t){return(0,s.tf)(e,t,[dt.k])}var On=n(6469),In=n(4873),Dn=n(7279),xn=n(5442),Rn=n(8076)},8578:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(9189),o=n(6253);function i(e){var t=e.prototype.toJSON;"function"===typeof t||(0,r.A)(0),e.prototype.inspect=t,o.A&&(e.prototype[o.A]=t)}},7590:(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{A:()=>r})},620:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=5;function o(e,t){var n="string"===typeof e?[e,t]:[void 0,e],o=n[0],i=" Did you mean ";o&&(i+=o+" ");var a=n[1].map((function(e){return'"'.concat(e,'"')}));switch(a.length){case 0:return"";case 1:return i+a[0]+"?";case 2:return i+a[0]+" or "+a[1]+"?"}var s=a.slice(0,r),l=s.pop();return i+s.join(", ")+", or "+l+"?"}},4569:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6253);function o(e){return o="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},o(e)}var i=10,a=2;function s(e){return l(e,[])}function l(e,t){switch(o(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),o=function(e){var t=e[String(r.A)];if("function"===typeof t)return t;if("function"===typeof e.inspect)return e.inspect}(e);if(void 0!==o){var s=o.call(e);if(s!==e)return"string"===typeof s?s:l(s,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>a)return"[Array]";for(var n=Math.min(i,e.length),r=e.length-n,o=[],s=0;s<n;++s)o.push(l(e[s],t));1===r?o.push("... 1 more item"):r>1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>a)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";var r=n.map((function(n){return n+": "+l(e[n],t)}));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},1669:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(e,t){return e instanceof t}},9189:(e,t,n)=>{"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{A:()=>r})},8995:(e,t,n)=>{"use strict";function r(e){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){return"object"==r(e)&&null!==e}n.d(t,{A:()=>o})},9226:(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})},5841:(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})},6590:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(70);function o(e,t){for(var n=Object.create(null),o=0,i=(0,r.A)(e);o<i.length;o++){var a=i[o],s=a[0],l=a[1];n[s]=t(l,s)}return n}},2811:(e,t,n)=>{"use strict";function r(e,t){for(var n=0,r=0;n<e.length&&r<t.length;){var i=e.charCodeAt(n),s=t.charCodeAt(r);if(a(i)&&a(s)){var l=0;do{++n,l=10*l+i-o,i=e.charCodeAt(n)}while(a(i)&&l>0);var c=0;do{++r,c=10*c+s-o,s=t.charCodeAt(r)}while(a(s)&&c>0);if(l<c)return-1;if(l>c)return 1}else{if(i<s)return-1;if(i>s)return 1;++n,++r}}return e.length-t.length}n.d(t,{A:()=>r});var o=48,i=57;function a(e){return!isNaN(e)&&o<=e&&e<=i}},6253:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},4975:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5966);function o(e){return o="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},o(e)}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};if(null==e||"object"!==o(e))return null;if(Array.isArray(e))return e.map(t);var n=e[r.q4];if("function"===typeof n){for(var i,a=n.call(e),s=[],l=0;!(i=a.next()).done;++l)s.push(t(i.value,l));return s}var c=e.length;if("number"===typeof c&&c>=0&&c%1===0){for(var u=[],p=0;p<c;++p){if(!Object.prototype.hasOwnProperty.call(e,p))return null;u.push(t(e[String(p)],p))}return u}return null}},8631:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2811);function o(e,t){for(var n=Object.create(null),o=new i(e),a=Math.floor(.4*e.length)+1,s=0;s<t.length;s++){var l=t[s],c=o.measure(l,a);void 0!==c&&(n[l]=c)}return Object.keys(n).sort((function(e,t){var o=n[e]-n[t];return 0!==o?o:(0,r.A)(e,t)}))}var i=function(){function e(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=a(this._inputLowerCase),this._rows=[new Array(e.length+1).fill(0),new Array(e.length+1).fill(0),new Array(e.length+1).fill(0)]}return e.prototype.measure=function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=a(n),o=this._inputArray;if(r.length<o.length){var i=r;r=o,o=i}var s=r.length,l=o.length;if(!(s-l>t)){for(var c=this._rows,u=0;u<=l;u++)c[0][u]=u;for(var p=1;p<=s;p++){for(var d=c[(p-1)%3],f=c[p%3],h=f[0]=p,m=1;m<=l;m++){var v=r[p-1]===o[m-1]?0:1,y=Math.min(d[m]+1,f[m-1]+1,d[m-1]+v);if(p>1&&m>1&&r[p-1]===o[m-2]&&r[p-2]===o[m-1]){var g=c[(p-2)%3][m-2];y=Math.min(y,g+1)}y<h&&(h=y),f[m]=y}if(h>t)return}var b=c[s%3][l];return b<=t?b:void 0}},e}();function a(e){for(var t=e.length,n=new Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},4671:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(70);function o(e){if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,o=(0,r.A)(e);n<o.length;n++){var i=o[n],a=i[0],s=i[1];t[a]=s}return t}},931:(e,t,n)=>{"use strict";n.d(t,{Ll:()=>a,aZ:()=>o,ou:()=>i});var r=n(8578),o=function(){function e(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();(0,r.A)(o);var i=function(){function e(e,t,n,r,o,i,a){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=a,this.prev=i,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&"string"===typeof e.kind}(0,r.A)(i)},659:(e,t,n)=>{"use strict";function r(e){var t=e.split(/\r\n|[\n\r]/g),n=i(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var a=0;a<t.length&&o(t[a]);)++a;for(var s=t.length;s>a&&o(t[s-1]);)--s;return t.slice(a,s).join("\n")}function o(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}function i(e){for(var t,n=!0,r=!0,o=0,i=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:n=!1,r=!0,o=0;break;case 9:case 32:++o;break;default:r&&!n&&(null===i||o<i)&&(i=o),r=!1}return null!==(t=i)&&void 0!==t?t:0}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=" "===e[0]||"\t"===e[0],i='"'===e[e.length-1],a="\\"===e[e.length-1],s=!r||i||a||n,l="";return!s||r&&o||(l+="\n"+t),l+=t?e.replace(/\n/g,"\n"+t):e,s&&(l+="\n"),'"""'+l.replace(/"""/g,'\\"""')+'"""'}n.d(t,{IN:()=>i,i$:()=>r,yo:()=>a})},1033:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var r=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},9834:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var r=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},9817:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,Z:()=>l});var r=n(4802),o=n(931),i=n(3894),a=n(659),s=function(){function e(e){var t=new o.ou(i.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!==i.Y.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=u(this,e)}while(e.kind===i.Y.COMMENT);return e},e}();function l(e){return e===i.Y.BANG||e===i.Y.DOLLAR||e===i.Y.AMP||e===i.Y.PAREN_L||e===i.Y.PAREN_R||e===i.Y.SPREAD||e===i.Y.COLON||e===i.Y.EQUALS||e===i.Y.AT||e===i.Y.BRACKET_L||e===i.Y.BRACKET_R||e===i.Y.BRACE_L||e===i.Y.PIPE||e===i.Y.BRACE_R}function c(e){return isNaN(e)?i.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;l<s;){var c=a.charCodeAt(l),u=e.line,h=1+l-e.lineStart;switch(c){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++e.line,e.lineStart=l;continue;case 13:10===a.charCodeAt(l+1)?l+=2:++l,++e.line,e.lineStart=l;continue;case 33:return new o.ou(i.Y.BANG,l,l+1,u,h,t);case 35:return d(n,l,u,h,t);case 36:return new o.ou(i.Y.DOLLAR,l,l+1,u,h,t);case 38:return new o.ou(i.Y.AMP,l,l+1,u,h,t);case 40:return new o.ou(i.Y.PAREN_L,l,l+1,u,h,t);case 41:return new o.ou(i.Y.PAREN_R,l,l+1,u,h,t);case 46:if(46===a.charCodeAt(l+1)&&46===a.charCodeAt(l+2))return new o.ou(i.Y.SPREAD,l,l+3,u,h,t);break;case 58:return new o.ou(i.Y.COLON,l,l+1,u,h,t);case 61:return new o.ou(i.Y.EQUALS,l,l+1,u,h,t);case 64:return new o.ou(i.Y.AT,l,l+1,u,h,t);case 91:return new o.ou(i.Y.BRACKET_L,l,l+1,u,h,t);case 93:return new o.ou(i.Y.BRACKET_R,l,l+1,u,h,t);case 123:return new o.ou(i.Y.BRACE_L,l,l+1,u,h,t);case 124:return new o.ou(i.Y.PIPE,l,l+1,u,h,t);case 125:return new o.ou(i.Y.BRACE_R,l,l+1,u,h,t);case 34:return 34===a.charCodeAt(l+1)&&34===a.charCodeAt(l+2)?v(n,l,u,h,t,e):m(n,l,u,h,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return f(n,l,c,u,h,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return g(n,l,u,h,t)}throw(0,r.I)(n,l,p(c))}var y=e.line,b=1+l-e.lineStart;return new o.ou(i.Y.EOF,s,s,y,b,t)}function p(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(c(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(c(e),".")}function d(e,t,n,r,a){var s,l=e.body,c=t;do{s=l.charCodeAt(++c)}while(!isNaN(s)&&(s>31||9===s));return new o.ou(i.Y.COMMENT,t,c,n,r,a,l.slice(t+1,c))}function f(e,t,n,a,s,l){var u=e.body,p=n,d=t,f=!1;if(45===p&&(p=u.charCodeAt(++d)),48===p){if((p=u.charCodeAt(++d))>=48&&p<=57)throw(0,r.I)(e,d,"Invalid number, unexpected digit after 0: ".concat(c(p),"."))}else d=h(e,d,p),p=u.charCodeAt(d);if(46===p&&(f=!0,p=u.charCodeAt(++d),d=h(e,d,p),p=u.charCodeAt(d)),69!==p&&101!==p||(f=!0,43!==(p=u.charCodeAt(++d))&&45!==p||(p=u.charCodeAt(++d)),d=h(e,d,p),p=u.charCodeAt(d)),46===p||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(p))throw(0,r.I)(e,d,"Invalid number, expected digit but got: ".concat(c(p),"."));return new o.ou(f?i.Y.FLOAT:i.Y.INT,t,d,a,s,l,u.slice(t,d))}function h(e,t,n){var o=e.body,i=t,a=n;if(a>=48&&a<=57){do{a=o.charCodeAt(++i)}while(a>=48&&a<=57);return i}throw(0,r.I)(e,i,"Invalid number, expected digit but got: ".concat(c(a),"."))}function m(e,t,n,a,s){for(var l,u,p,d,f=e.body,h=t+1,m=h,v=0,g="";h<f.length&&!isNaN(v=f.charCodeAt(h))&&10!==v&&13!==v;){if(34===v)return g+=f.slice(m,h),new o.ou(i.Y.STRING,t,h+1,n,a,s,g);if(v<32&&9!==v)throw(0,r.I)(e,h,"Invalid character within String: ".concat(c(v),"."));if(++h,92===v){switch(g+=f.slice(m,h-1),v=f.charCodeAt(h)){case 34:g+='"';break;case 47:g+="/";break;case 92:g+="\\";break;case 98:g+="\b";break;case 102:g+="\f";break;case 110:g+="\n";break;case 114:g+="\r";break;case 116:g+="\t";break;case 117:var b=(l=f.charCodeAt(h+1),u=f.charCodeAt(h+2),p=f.charCodeAt(h+3),d=f.charCodeAt(h+4),y(l)<<12|y(u)<<8|y(p)<<4|y(d));if(b<0){var E=f.slice(h+1,h+5);throw(0,r.I)(e,h,"Invalid character escape sequence: \\u".concat(E,"."))}g+=String.fromCharCode(b),h+=4;break;default:throw(0,r.I)(e,h,"Invalid character escape sequence: \\".concat(String.fromCharCode(v),"."))}m=++h}}throw(0,r.I)(e,h,"Unterminated string.")}function v(e,t,n,s,l,u){for(var p=e.body,d=t+3,f=d,h=0,m="";d<p.length&&!isNaN(h=p.charCodeAt(d));){if(34===h&&34===p.charCodeAt(d+1)&&34===p.charCodeAt(d+2))return m+=p.slice(f,d),new o.ou(i.Y.BLOCK_STRING,t,d+3,n,s,l,(0,a.i$)(m));if(h<32&&9!==h&&10!==h&&13!==h)throw(0,r.I)(e,d,"Invalid character within String: ".concat(c(h),"."));10===h?(++d,++u.line,u.lineStart=d):13===h?(10===p.charCodeAt(d+1)?d+=2:++d,++u.line,u.lineStart=d):92===h&&34===p.charCodeAt(d+1)&&34===p.charCodeAt(d+2)&&34===p.charCodeAt(d+3)?(m+=p.slice(f,d)+'"""',f=d+=4):++d}throw(0,r.I)(e,d,"Unterminated string.")}function y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function g(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 o.ou(i.Y.NAME,t,c,n,r,a,s.slice(t,c))}},2584:(e,t,n)=>{"use strict";function r(e,t){for(var n,r=/\r\n|[\n\r]/g,o=1,i=t+1;(n=r.exec(e.body))&&n.index<t;)o+=1,i=t+1-(n.index+n[0].length);return{line:o,column:i}}n.d(t,{g:()=>r})},1892:(e,t,n)=>{"use strict";n.d(t,{$x:()=>p,Mb:()=>d,qg:()=>u});var r=n(4802),o=n(9834),i=n(931),a=n(3894),s=n(3906),l=n(1033),c=n(9817);function u(e,t){return new f(e,t).parseDocument()}function p(e,t){var n=new f(e,t);n.expectToken(a.Y.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(a.Y.EOF),r}function d(e,t){var n=new f(e,t);n.expectToken(a.Y.SOF);var r=n.parseTypeReference();return n.expectToken(a.Y.EOF),r}var f=function(){function e(e,t){var n=(0,s._)(e)?e:new s.k(e);this._lexer=new c.J(n),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(a.Y.NAME);return{kind:o.b.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:o.b.DOCUMENT,definitions:this.many(a.Y.SOF,this.parseDefinition,a.Y.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(a.Y.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(a.Y.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(a.Y.BRACE_L))return{kind:o.b.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(a.Y.NAME)&&(t=this.parseName()),{kind:o.b.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(a.Y.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(a.Y.PAREN_L,this.parseVariableDefinition,a.Y.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:o.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.Y.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(a.Y.DOLLAR),{kind:o.b.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:o.b.SELECTION_SET,selections:this.many(a.Y.BRACE_L,this.parseSelection,a.Y.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(a.Y.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(a.Y.COLON)?(e=r,t=this.parseName()):t=r,{kind:o.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.Y.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.Y.PAREN_L,t,a.Y.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(a.Y.COLON),{kind:o.b.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:o.b.ARGUMENT,name:this.parseName(),value:(this.expectToken(a.Y.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(a.Y.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(a.Y.NAME)?{kind:o.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:o.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:o.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:o.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case a.Y.BRACKET_L:return this.parseList(e);case a.Y.BRACE_L:return this.parseObject(e);case a.Y.INT:return this._lexer.advance(),{kind:o.b.INT,value:t.value,loc:this.loc(t)};case a.Y.FLOAT:return this._lexer.advance(),{kind:o.b.FLOAT,value:t.value,loc:this.loc(t)};case a.Y.STRING:case a.Y.BLOCK_STRING:return this.parseStringLiteral();case a.Y.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:o.b.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:o.b.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:o.b.NULL,loc:this.loc(t)};default:return{kind:o.b.ENUM,value:t.value,loc:this.loc(t)}}case a.Y.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:o.b.STRING,value:e.value,block:e.kind===a.Y.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,n=this._lexer.token;return{kind:o.b.LIST,values:this.any(a.Y.BRACKET_L,(function(){return t.parseValueLiteral(e)}),a.Y.BRACKET_R),loc:this.loc(n)}},t.parseObject=function(e){var t=this,n=this._lexer.token;return{kind:o.b.OBJECT,fields:this.any(a.Y.BRACE_L,(function(){return t.parseObjectField(e)}),a.Y.BRACE_R),loc:this.loc(n)}},t.parseObjectField=function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(a.Y.COLON),{kind:o.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(a.Y.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(a.Y.AT),{kind:o.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(a.Y.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(a.Y.BRACKET_R),e={kind:o.b.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(a.Y.BANG)?{kind:o.b.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:o.b.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===a.Y.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(a.Y.STRING)||this.peek(a.Y.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(a.Y.BRACE_L,this.parseOperationTypeDefinition,a.Y.BRACE_R);return{kind:o.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.Y.COLON);var n=this.parseNamedType();return{kind:o.b.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:o.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:o.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(a.Y.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(a.Y.AMP)||this.peek(a.Y.NAME));return t}return this.delimitedMany(a.Y.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(a.Y.BRACE_L)&&this._lexer.lookahead().kind===a.Y.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(a.Y.BRACE_L,this.parseFieldDefinition,a.Y.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(a.Y.COLON);var i=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:o.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(a.Y.PAREN_L,this.parseInputValueDef,a.Y.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(a.Y.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(a.Y.EQUALS)&&(r=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:o.b.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:s,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:o.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:o.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(a.Y.EQUALS)?this.delimitedMany(a.Y.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:o.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(a.Y.BRACE_L,this.parseEnumValueDefinition,a.Y.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:o.b.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:o.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(a.Y.BRACE_L,this.parseInputValueDef,a.Y.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===a.Y.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(a.Y.BRACE_L,this.parseOperationTypeDefinition,a.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:o.b.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:o.b.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:o.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:o.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:o.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:o.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:o.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.Y.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var s=this.parseDirectiveLocations();return{kind:o.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(a.Y.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==l.H[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new i.aZ(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,r.I)(this._lexer.source,t.start,"Expected ".concat(m(e),", found ").concat(h(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==a.Y.NAME||t.value!==e)throw(0,r.I)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(h(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===a.Y.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!==e&&void 0!==e?e:this._lexer.token;return(0,r.I)(this._lexer.source,t.start,"Unexpected ".concat(h(t),"."))},t.any=function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},t.optionalMany=function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},t.many=function(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},e}();function h(e){var t=e.value;return m(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function m(e){return(0,c.Z)(e)?'"'.concat(e,'"'):e}},1639:(e,t,n)=>{"use strict";n.d(t,{MD:()=>o,VK:()=>a,_m:()=>i,a6:()=>u,aR:()=>s,dI:()=>l,fT:()=>p,i7:()=>d,xu:()=>c});var r=n(9834);function o(e){return i(e)||c(e)||p(e)}function i(e){return e.kind===r.b.OPERATION_DEFINITION||e.kind===r.b.FRAGMENT_DEFINITION}function a(e){return e.kind===r.b.FIELD||e.kind===r.b.FRAGMENT_SPREAD||e.kind===r.b.INLINE_FRAGMENT}function s(e){return e.kind===r.b.VARIABLE||e.kind===r.b.INT||e.kind===r.b.FLOAT||e.kind===r.b.STRING||e.kind===r.b.BOOLEAN||e.kind===r.b.NULL||e.kind===r.b.ENUM||e.kind===r.b.LIST||e.kind===r.b.OBJECT}function l(e){return e.kind===r.b.NAMED_TYPE||e.kind===r.b.LIST_TYPE||e.kind===r.b.NON_NULL_TYPE}function c(e){return e.kind===r.b.SCHEMA_DEFINITION||u(e)||e.kind===r.b.DIRECTIVE_DEFINITION}function u(e){return e.kind===r.b.SCALAR_TYPE_DEFINITION||e.kind===r.b.OBJECT_TYPE_DEFINITION||e.kind===r.b.INTERFACE_TYPE_DEFINITION||e.kind===r.b.UNION_TYPE_DEFINITION||e.kind===r.b.ENUM_TYPE_DEFINITION||e.kind===r.b.INPUT_OBJECT_TYPE_DEFINITION}function p(e){return e.kind===r.b.SCHEMA_EXTENSION||d(e)}function d(e){return e.kind===r.b.SCALAR_TYPE_EXTENSION||e.kind===r.b.OBJECT_TYPE_EXTENSION||e.kind===r.b.INTERFACE_TYPE_EXTENSION||e.kind===r.b.UNION_TYPE_EXTENSION||e.kind===r.b.ENUM_TYPE_EXTENSION||e.kind===r.b.INPUT_OBJECT_TYPE_EXTENSION}},5119:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,V:()=>o});var r=n(2584);function o(e){return i(e.source,(0,r.g)(e.source,e.start))}function i(e,t){var n=e.locationOffset.column-1,r=s(n)+e.body,o=t.line-1,i=e.locationOffset.line-1,l=t.line+i,c=1===t.line?n:0,u=t.column+c,p="".concat(e.name,":").concat(l,":").concat(u,"\n"),d=r.split(/\r\n|[\n\r]/g),f=d[o];if(f.length>120){for(var h=Math.floor(u/80),m=u%80,v=[],y=0;y<f.length;y+=80)v.push(f.slice(y,y+80));return p+a([["".concat(l),v[0]]].concat(v.slice(1,h+1).map((function(e){return["",e]})),[[" ",s(m-1)+"^"],["",v[h+1]]]))}return p+a([["".concat(l-1),d[o-1]],["".concat(l),f],["",s(u-1)+"^"],["".concat(l+1),d[o+1]]])}function a(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t,r=e[0],o=e[1];return s(n-(t=r).length)+t+(o?" | "+o:" |")})).join("\n")}function s(e){return Array(e+1).join(" ")}},6559:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var r=n(1977),o=n(659);function i(e){return(0,r.YR)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return l(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,n=e.name,r=u("(",l(e.variableDefinitions,", "),")"),o=l(e.directives," "),i=e.selectionSet;return n||o||r||"query"!==t?l([t,l([n,r]),o,i]," "):i},VariableDefinition:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+u(" = ",r)+u(" ",l(o," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,i=e.selectionSet,a=u("",t,": ")+n,s=a+u("(",l(r,", "),")");return s.length>80&&(s=a+u("(\n",p(l(r,"\n")),"\n)")),l([s,l(o," "),i]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",l(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return l(["...",u("on ",t),l(n," "),r]," ")},FragmentDefinition:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(u("(",l(r,", "),")")," ")+"on ".concat(n," ").concat(u("",l(o," ")," "))+i},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var n=e.value;return e.block?(0,o.yo)(n,"description"===t?"":"  "):JSON.stringify(n)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+l(e.values,", ")+"]"},ObjectValue:function(e){return"{"+l(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",l(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s((function(e){var t=e.directives,n=e.operationTypes;return l(["schema",l(t," "),c(n)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return l(["scalar",e.name,l(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["type",t,u("implements ",l(n," & ")),l(r," "),c(o)]," ")})),FieldDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.type,o=e.directives;return t+(f(n)?u("(\n",p(l(n,"\n")),"\n)"):u("(",l(n,", "),")"))+": "+r+u(" ",l(o," "))})),InputValueDefinition:s((function(e){var t=e.name,n=e.type,r=e.defaultValue,o=e.directives;return l([t+": "+n,u("= ",r),l(o," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["interface",t,u("implements ",l(n," & ")),l(r," "),c(o)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.types;return l(["union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.values;return l(["enum",t,l(n," "),c(r)]," ")})),EnumValueDefinition:s((function(e){return l([e.name,l(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,n=e.directives,r=e.fields;return l(["input",t,l(n," "),c(r)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,n=e.arguments,r=e.repeatable,o=e.locations;return"directive @"+t+(f(n)?u("(\n",p(l(n,"\n")),"\n)"):u("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(o," | ")})),SchemaExtension:function(e){var t=e.directives,n=e.operationTypes;return l(["extend schema",l(t," "),c(n)]," ")},ScalarTypeExtension:function(e){return l(["extend scalar",e.name,l(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["extend type",t,u("implements ",l(n," & ")),l(r," "),c(o)]," ")},InterfaceTypeExtension:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return l(["extend interface",t,u("implements ",l(n," & ")),l(r," "),c(o)]," ")},UnionTypeExtension:function(e){var t=e.name,n=e.directives,r=e.types;return l(["extend union",t,l(n," "),r&&0!==r.length?"= "+l(r," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,n=e.directives,r=e.values;return l(["extend enum",t,l(n," "),c(r)]," ")},InputObjectTypeExtension:function(e){var t=e.name,n=e.directives,r=e.fields;return l(["extend input",t,l(n," "),c(r)]," ")}};function s(e){return function(t){return l([t.description,e(t)],"\n")}}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function c(e){return u("{\n",p(l(e,"\n")),"\n}")}function u(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function p(e){return u("  ",e.replace(/\n/g,"\n  "))}function d(e){return-1!==e.indexOf("\n")}function f(e){return null!=e&&e.some(d)}},3906:(e,t,n)=>{"use strict";n.d(t,{_:()=>c,k:()=>l});var r=n(5966),o=n(4569),i=n(7590),a=n(1669);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"===typeof e||(0,i.A)(0,"Body must be a string. Received: ".concat((0,o.A)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,i.A)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,i.A)(0,"column in locationOffset is 1-indexed and must be positive.")}var t,n,a;return t=e,(n=[{key:r.Kp,get:function(){return"Source"}}])&&s(t.prototype,n),a&&s(t,a),e}();function c(e){return(0,a.A)(e,l)}},3894:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var r=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},1977:(e,t,n)=>{"use strict";n.d(t,{UY:()=>c,YR:()=>s,oP:()=>l,sP:()=>a});var r=n(4569),o=n(931),i={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]:i,s=void 0,l=Array.isArray(e),u=[e],p=-1,d=[],f=void 0,h=void 0,m=void 0,v=[],y=[],g=e;do{var b=++p===u.length,E=b&&0!==d.length;if(b){if(h=0===y.length?void 0:v[v.length-1],f=m,m=y.pop(),E){if(l)f=f.slice();else{for(var _={},T=0,k=Object.keys(f);T<k.length;T++){var w=k[T];_[w]=f[w]}f=_}for(var S=0,A=0;A<d.length;A++){var N=d[A][0],C=d[A][1];l&&(N-=S),l&&null===C?(f.splice(N,1),S++):f[N]=C}}p=s.index,u=s.keys,d=s.edits,l=s.inArray,s=s.prev}else{if(h=m?l?p:u[p]:void 0,null===(f=m?m[h]:g)||void 0===f)continue;m&&v.push(h)}var O,I=void 0;if(!Array.isArray(f)){if(!(0,o.Ll)(f))throw new Error("Invalid AST Node: ".concat((0,r.A)(f),"."));var D=c(t,f.kind,b);if(D){if((I=D.call(t,f,h,m,v,y))===a)break;if(!1===I){if(!b){v.pop();continue}}else if(void 0!==I&&(d.push([h,I]),!b)){if(!(0,o.Ll)(I)){v.pop();continue}f=I}}}if(void 0===I&&E&&d.push([h,f]),b)v.pop();else s={inArray:l,index:p,keys:u,edits:d,prev:s},u=(l=Array.isArray(f))?f:null!==(O=n[f.kind])&&void 0!==O?O:[],p=-1,d=[],m&&y.push(m),m=f}while(void 0!==s);return 0!==d.length&&(g=d[d.length-1][1]),g}function l(e){var t=new Array(e.length);return{enter:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var o=c(e[r],n.kind,!1);if(o){var i=o.apply(e[r],arguments);if(!1===i)t[r]=n;else if(i===a)t[r]=a;else if(void 0!==i)return i}}},leave:function(n){for(var r=0;r<e.length;r++)if(null==t[r]){var o=c(e[r],n.kind,!0);if(o){var i=o.apply(e[r],arguments);if(i===a)t[r]=a;else if(void 0!==i&&!1!==i)return i}}else t[r]===n&&(t[r]=null)}}}function c(e,t,n){var r=e[t];if(r){if(!n&&"function"===typeof r)return r;var o=n?r.leave:r.enter;if("function"===typeof o)return o}else{var i=n?e.leave:e.enter;if(i){if("function"===typeof i)return i;var a=i[t];if("function"===typeof a)return a}}}},9398:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(5966);const o=Array.from||function(e,t,n){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o=e[r.q4];if("function"===typeof o){for(var i,a=o.call(e),s=[],l=0;!(i=a.next()).done;++l)if(s.push(t.call(n,i.value,l)),l>9999999)throw new TypeError("Near-infinite iteration.");return s}var c=e.length;if("number"===typeof c&&c>=0&&c%1===0){for(var u=[],p=0;p<c;++p)Object.prototype.hasOwnProperty.call(e,p)&&u.push(t.call(n,e[p],p));return u}return[]}},2414:(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<e.length;n++){var r=e[n];if(t(r))return r}}},1286:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Number.isFinite||function(e){return"number"===typeof e&&isFinite(e)}},70:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.entries||function(e){return Object.keys(e).map((function(t){return[t,e[t]]}))}},3012:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))}},5966:(e,t,n)=>{"use strict";n.d(t,{$r:()=>o,Kp:()=>i,q4:()=>r});var r="function"===typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",o="function"===typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator",i="function"===typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"},9862:(e,t,n)=>{"use strict";n.d(t,{Zb:()=>Ee,zP:()=>Te,VA:()=>ye,KT:()=>$,Gc:()=>X,bh:()=>ue,Ag:()=>ce,hI:()=>ge,g0:()=>me,N_:()=>J,Ye:()=>K,el:()=>F,Yq:()=>L,L9:()=>z,qL:()=>I,D0:()=>G,dL:()=>j,sF:()=>ie,ZX:()=>U,wG:()=>ne,qC:()=>C,yh:()=>H,Zx:()=>A,j:()=>w,EG:()=>x,B3:()=>ee,MR:()=>ae,yl:()=>re,Lc:()=>W,ML:()=>Q,oF:()=>R,qK:()=>P,dX:()=>q,kD:()=>O,zf:()=>Y,Fs:()=>M,sy:()=>oe,bd:()=>V,wj:()=>te,YQ:()=>N,oH:()=>B,xP:()=>ve,YX:()=>we,lg:()=>S,Xj:()=>k,CK:()=>D,lS:()=>Z});var r=n(70),o=n(5966),i=n(4569),a=n(9226),s=n(6590),l=n(4671),c=n(7590),u=n(5841),p=n(1669),d=n(620),f=n(8995);function h(e){return e}var m=n(8578),v=n(8631),y=n(3738),g=n(9834),b=n(6559),E=n(4873);function _(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function T(e,t,n){return t&&_(e.prototype,t),n&&_(e,n),e}function k(e){return S(e)||N(e)||O(e)||D(e)||R(e)||P(e)||M(e)||V(e)}function w(e){if(!k(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL type."));return e}function S(e){return(0,p.A)(e,ce)}function A(e){if(!S(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Scalar type."));return e}function N(e){return(0,p.A)(e,ue)}function C(e){if(!N(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Object type."));return e}function O(e){return(0,p.A)(e,ye)}function I(e){if(!O(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Interface type."));return e}function D(e){return(0,p.A)(e,ge)}function x(e){if(!D(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Union type."));return e}function R(e){return(0,p.A)(e,Ee)}function F(e){if(!R(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Enum type."));return e}function P(e){return(0,p.A)(e,Te)}function L(e){if(!P(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Input Object type."));return e}function M(e){return(0,p.A)(e,$)}function j(e){if(!M(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL List type."));return e}function V(e){return(0,p.A)(e,X)}function U(e){if(!V(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL Non-Null type."));return e}function q(e){return S(e)||R(e)||P(e)||Z(e)&&q(e.ofType)}function z(e){if(!q(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL input type."));return e}function B(e){return S(e)||N(e)||O(e)||D(e)||R(e)||Z(e)&&B(e.ofType)}function H(e){if(!B(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL output type."));return e}function Y(e){return S(e)||R(e)}function G(e){if(!Y(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL leaf type."));return e}function Q(e){return N(e)||O(e)||D(e)}function K(e){if(!Q(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL composite type."));return e}function W(e){return O(e)||D(e)}function J(e){if(!W(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL abstract type."));return e}function $(e){if(!(this instanceof $))return new $(e);this.ofType=w(e)}function X(e){if(!(this instanceof X))return new X(e);this.ofType=ne(e)}function Z(e){return M(e)||V(e)}function ee(e){if(!Z(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL wrapping type."));return e}function te(e){return k(e)&&!V(e)}function ne(e){if(!te(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL nullable type."));return e}function re(e){if(e)return V(e)?e.ofType:e}function oe(e){return S(e)||N(e)||O(e)||D(e)||R(e)||P(e)}function ie(e){if(!oe(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL named type."));return e}function ae(e){if(e){for(var t=e;Z(t);)t=t.ofType;return t}}function se(e){return"function"===typeof e?e():e}function le(e){return e&&e.length>0?e:void 0}$.prototype.toString=function(){return"["+String(this.ofType)+"]"},$.prototype.toJSON=function(){return this.toString()},Object.defineProperty($.prototype,o.Kp,{get:function(){return"GraphQLList"}}),(0,m.A)($),X.prototype.toString=function(){return String(this.ofType)+"!"},X.prototype.toJSON=function(){return this.toString()},Object.defineProperty(X.prototype,o.Kp,{get:function(){return"GraphQLNonNull"}}),(0,m.A)(X);var ce=function(){function e(e){var t,n,r,o=null!==(t=e.parseValue)&&void 0!==t?t:h;this.name=e.name,this.description=e.description,this.specifiedByUrl=e.specifiedByUrl,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:h,this.parseValue=o,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:function(e,t){return o((0,E.F)(e,t))},this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),"string"===typeof e.name||(0,c.A)(0,"Must provide name."),null==e.specifiedByUrl||"string"===typeof e.specifiedByUrl||(0,c.A)(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat((0,i.A)(e.specifiedByUrl),".")),null==e.serialize||"function"===typeof e.serialize||(0,c.A)(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),e.parseLiteral&&("function"===typeof e.parseValue&&"function"===typeof e.parseLiteral||(0,c.A)(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var t=e.prototype;return t.toConfig=function(){var e;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},T(e,[{key:o.Kp,get:function(){return"GraphQLScalarType"}}]),e}();(0,m.A)(ce);var ue=function(){function e(e){this.name=e.name,this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=de.bind(void 0,e),this._interfaces=pe.bind(void 0,e),"string"===typeof e.name||(0,c.A)(0,"Must provide name."),null==e.isTypeOf||"function"===typeof e.isTypeOf||(0,c.A)(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat((0,i.A)(e.isTypeOf),"."))}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},T(e,[{key:o.Kp,get:function(){return"GraphQLObjectType"}}]),e}();function pe(e){var t,n=null!==(t=se(e.interfaces))&&void 0!==t?t:[];return Array.isArray(n)||(0,c.A)(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),n}function de(e){var t=se(e.fields);return fe(t)||(0,c.A)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),(0,s.A)(t,(function(t,n){var o;fe(t)||(0,c.A)(0,"".concat(e.name,".").concat(n," field config must be an object.")),!("isDeprecated"in t)||(0,c.A)(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"===typeof t.resolve||(0,c.A)(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat((0,i.A)(t.resolve),"."));var a=null!==(o=t.args)&&void 0!==o?o:{};fe(a)||(0,c.A)(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var s=(0,r.A)(a).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&(0,l.A)(n.extensions),astNode:n.astNode}}));return{name:n,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&(0,l.A)(t.extensions),astNode:t.astNode}}))}function fe(e){return(0,f.A)(e)&&!Array.isArray(e)}function he(e){return(0,s.A)(e,(function(e){return{description:e.description,type:e.type,args:me(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function me(e){return(0,u.A)(e,(function(e){return e.name}),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}))}function ve(e){return V(e.type)&&void 0===e.defaultValue}(0,m.A)(ue);var ye=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=de.bind(void 0,e),this._interfaces=pe.bind(void 0,e),"string"===typeof e.name||(0,c.A)(0,"Must provide name."),null==e.resolveType||"function"===typeof e.resolveType||(0,c.A)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,i.A)(e.resolveType),"."))}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.getInterfaces=function(){return"function"===typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},t.toConfig=function(){var e;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:he(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},T(e,[{key:o.Kp,get:function(){return"GraphQLInterfaceType"}}]),e}();(0,m.A)(ye);var ge=function(){function e(e){this.name=e.name,this.description=e.description,this.resolveType=e.resolveType,this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._types=be.bind(void 0,e),"string"===typeof e.name||(0,c.A)(0,"Must provide name."),null==e.resolveType||"function"===typeof e.resolveType||(0,c.A)(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,i.A)(e.resolveType),"."))}var t=e.prototype;return t.getTypes=function(){return"function"===typeof this._types&&(this._types=this._types()),this._types},t.toConfig=function(){var e;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},T(e,[{key:o.Kp,get:function(){return"GraphQLUnionType"}}]),e}();function be(e){var t=se(e.types);return Array.isArray(t)||(0,c.A)(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}(0,m.A)(ge);var Ee=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._values=(t=this.name,fe(n=e.values)||(0,c.A)(0,"".concat(t," values must be an object with value names as keys.")),(0,r.A)(n).map((function(e){var n=e[0],r=e[1];return fe(r)||(0,c.A)(0,"".concat(t,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat((0,i.A)(r),".")),!("isDeprecated"in r)||(0,c.A)(0,"".concat(t,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:r.description,value:void 0!==r.value?r.value:n,isDeprecated:null!=r.deprecationReason,deprecationReason:r.deprecationReason,extensions:r.extensions&&(0,l.A)(r.extensions),astNode:r.astNode}}))),this._valueLookup=new Map(this._values.map((function(e){return[e.value,e]}))),this._nameLookup=(0,a.A)(this._values,(function(e){return e.name})),"string"===typeof e.name||(0,c.A)(0,"Must provide name.")}var t=e.prototype;return t.getValues=function(){return this._values},t.getValue=function(e){return this._nameLookup[e]},t.serialize=function(e){var t=this._valueLookup.get(e);if(void 0===t)throw new y.e('Enum "'.concat(this.name,'" cannot represent value: ').concat((0,i.A)(e)));return t.name},t.parseValue=function(e){if("string"!==typeof e){var t=(0,i.A)(e);throw new y.e('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+_e(this,t))}var n=this.getValue(e);if(null==n)throw new y.e('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+_e(this,e));return n.value},t.parseLiteral=function(e,t){if(e.kind!==g.b.ENUM){var n=(0,b.y)(e);throw new y.e('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(n,".")+_e(this,n),e)}var r=this.getValue(e.value);if(null==r){var o=(0,b.y)(e);throw new y.e('Value "'.concat(o,'" does not exist in "').concat(this.name,'" enum.')+_e(this,o),e)}return r.value},t.toConfig=function(){var e,t=(0,u.A)(this.getValues(),(function(e){return e.name}),(function(e){return{description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,values:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},T(e,[{key:o.Kp,get:function(){return"GraphQLEnumType"}}]),e}();function _e(e,t){var n=e.getValues().map((function(e){return e.name})),r=(0,v.A)(t,n);return(0,d.A)("the enum value",r)}(0,m.A)(Ee);var Te=function(){function e(e){this.name=e.name,this.description=e.description,this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=le(e.extensionASTNodes),this._fields=ke.bind(void 0,e),"string"===typeof e.name||(0,c.A)(0,"Must provide name.")}var t=e.prototype;return t.getFields=function(){return"function"===typeof this._fields&&(this._fields=this._fields()),this._fields},t.toConfig=function(){var e,t=(0,s.A)(this.getFields(),(function(e){return{description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}}));return{name:this.name,description:this.description,fields:t,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[]}},t.toString=function(){return this.name},t.toJSON=function(){return this.toString()},T(e,[{key:o.Kp,get:function(){return"GraphQLInputObjectType"}}]),e}();function ke(e){var t=se(e.fields);return fe(t)||(0,c.A)(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),(0,s.A)(t,(function(t,n){return!("resolve"in t)||(0,c.A)(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&(0,l.A)(t.extensions),astNode:t.astNode}}))}function we(e){return V(e.type)&&void 0===e.defaultValue}(0,m.A)(Te)},5445:(e,t,n)=>{"use strict";n.d(t,{HQ:()=>g,Il:()=>E,MQ:()=>b,Qe:()=>w,RR:()=>y,gw:()=>T,qT:()=>m,rc:()=>k,yK:()=>_,yq:()=>v});var r=n(70),o=n(5966),i=n(4569),a=n(4671),s=n(7590),l=n(1669),c=n(8995),u=n(8578),p=n(1033),d=n(447),f=n(9862);function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e){return(0,l.A)(e,y)}function v(e){if(!m(e))throw new Error("Expected ".concat((0,i.A)(e)," to be a GraphQL directive."));return e}var y=function(){function e(e){var t,n;this.name=e.name,this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=e.extensions&&(0,a.A)(e.extensions),this.astNode=e.astNode,e.name||(0,s.A)(0,"Directive must be named."),Array.isArray(e.locations)||(0,s.A)(0,"@".concat(e.name," locations must be an Array."));var o=null!==(n=e.args)&&void 0!==n?n:{};(0,c.A)(o)&&!Array.isArray(o)||(0,s.A)(0,"@".concat(e.name," args must be an object with argument names as keys.")),this.args=(0,r.A)(o).map((function(e){var t=e[0],n=e[1];return{name:t,description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions&&(0,a.A)(n.extensions),astNode:n.astNode}}))}var t,n,i,l=e.prototype;return l.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:(0,f.g0)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},l.toString=function(){return"@"+this.name},l.toJSON=function(){return this.toString()},t=e,(n=[{key:o.Kp,get:function(){return"GraphQLDirective"}}])&&h(t.prototype,n),i&&h(t,i),e}();(0,u.A)(y);var g=new y({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[p.H.FIELD,p.H.FRAGMENT_SPREAD,p.H.INLINE_FRAGMENT],args:{if:{type:new f.Gc(d.kk),description:"Included when true."}}}),b=new y({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[p.H.FIELD,p.H.FRAGMENT_SPREAD,p.H.INLINE_FRAGMENT],args:{if:{type:new f.Gc(d.kk),description:"Skipped when true."}}}),E="No longer supported",_=new y({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[p.H.FIELD_DEFINITION,p.H.ARGUMENT_DEFINITION,p.H.INPUT_FIELD_DEFINITION,p.H.ENUM_VALUE],args:{reason:{type:d.FV,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:E}}}),T=new y({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[p.H.SCALAR],args:{url:{type:new f.Gc(d.FV),description:"The URL that specifies the behaviour of this scalar."}}}),k=Object.freeze([g,b,_,T]);function w(e){return k.some((function(t){return t.name===e.name}))}},3880:(e,t,n)=>{"use strict";n.r(t),n.d(t,{SchemaMetaFieldDef:()=>E,TypeKind:()=>g,TypeMetaFieldDef:()=>_,TypeNameMetaFieldDef:()=>T,__Directive:()=>d,__DirectiveLocation:()=>f,__EnumValue:()=>y,__Field:()=>m,__InputValue:()=>v,__Schema:()=>p,__Type:()=>h,__TypeKind:()=>b,introspectionTypes:()=>k,isIntrospectionType:()=>w});var r=n(3012),o=n(4569),i=n(9189),a=n(6559),s=n(1033),l=n(2024),c=n(447),u=n(9862),p=new u.bh({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:c.FV,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new u.Gc(new u.KT(new u.Gc(h))),resolve:function(e){return(0,r.A)(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new u.Gc(h),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:h,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:h,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new u.Gc(new u.KT(new u.Gc(d))),resolve:function(e){return e.getDirectives()}}}}}),d=new u.bh({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new u.Gc(c.FV),resolve:function(e){return e.name}},description:{type:c.FV,resolve:function(e){return e.description}},isRepeatable:{type:new u.Gc(c.kk),resolve:function(e){return e.isRepeatable}},locations:{type:new u.Gc(new u.KT(new u.Gc(f))),resolve:function(e){return e.locations}},args:{type:new u.Gc(new u.KT(new u.Gc(v))),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}}}}}),f=new u.Zb({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:s.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:s.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:s.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:s.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:s.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:s.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:s.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:s.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:s.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:s.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:s.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:s.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:s.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:s.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:s.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:s.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:s.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:s.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:s.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),h=new u.bh({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new u.Gc(b),resolve:function(e){return(0,u.lg)(e)?g.SCALAR:(0,u.YQ)(e)?g.OBJECT:(0,u.kD)(e)?g.INTERFACE:(0,u.CK)(e)?g.UNION:(0,u.oF)(e)?g.ENUM:(0,u.qK)(e)?g.INPUT_OBJECT:(0,u.Fs)(e)?g.LIST:(0,u.bd)(e)?g.NON_NULL:void(0,i.A)(0,'Unexpected type: "'.concat((0,o.A)(e),'".'))}},name:{type:c.FV,resolve:function(e){return void 0!==e.name?e.name:void 0}},description:{type:c.FV,resolve:function(e){return void 0!==e.description?e.description:void 0}},specifiedByUrl:{type:c.FV,resolve:function(e){return void 0!==e.specifiedByUrl?e.specifiedByUrl:void 0}},fields:{type:new u.KT(new u.Gc(m)),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if((0,u.YQ)(e)||(0,u.kD)(e)){var o=(0,r.A)(e.getFields());return n?o:o.filter((function(e){return null==e.deprecationReason}))}}},interfaces:{type:new u.KT(new u.Gc(h)),resolve:function(e){if((0,u.YQ)(e)||(0,u.kD)(e))return e.getInterfaces()}},possibleTypes:{type:new u.KT(new u.Gc(h)),resolve:function(e,t,n,r){var o=r.schema;if((0,u.Lc)(e))return o.getPossibleTypes(e)}},enumValues:{type:new u.KT(new u.Gc(y)),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if((0,u.oF)(e)){var r=e.getValues();return n?r:r.filter((function(e){return null==e.deprecationReason}))}}},inputFields:{type:new u.KT(new u.Gc(v)),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if((0,u.qK)(e)){var o=(0,r.A)(e.getFields());return n?o:o.filter((function(e){return null==e.deprecationReason}))}}},ofType:{type:h,resolve:function(e){return void 0!==e.ofType?e.ofType:void 0}}}}}),m=new u.bh({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new u.Gc(c.FV),resolve:function(e){return e.name}},description:{type:c.FV,resolve:function(e){return e.description}},args:{type:new u.Gc(new u.KT(new u.Gc(v))),args:{includeDeprecated:{type:c.kk,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter((function(e){return null==e.deprecationReason}))}},type:{type:new u.Gc(h),resolve:function(e){return e.type}},isDeprecated:{type:new u.Gc(c.kk),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.FV,resolve:function(e){return e.deprecationReason}}}}}),v=new u.bh({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new u.Gc(c.FV),resolve:function(e){return e.name}},description:{type:c.FV,resolve:function(e){return e.description}},type:{type:new u.Gc(h),resolve:function(e){return e.type}},defaultValue:{type:c.FV,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,n=e.defaultValue,r=(0,l.K)(n,t);return r?(0,a.y)(r):null}},isDeprecated:{type:new u.Gc(c.kk),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.FV,resolve:function(e){return e.deprecationReason}}}}}),y=new u.bh({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new u.Gc(c.FV),resolve:function(e){return e.name}},description:{type:c.FV,resolve:function(e){return e.description}},isDeprecated:{type:new u.Gc(c.kk),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:c.FV,resolve:function(e){return e.deprecationReason}}}}}),g=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),b=new u.Zb({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:g.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:g.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:g.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:g.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:g.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:g.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:g.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:g.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),E={name:"__schema",type:new u.Gc(p),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},_={name:"__type",type:h,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new u.Gc(c.FV),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(e,t,n,r){var o=t.name;return r.schema.getType(o)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},T={name:"__typename",type:new u.Gc(c.FV),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},k=Object.freeze([p,d,f,h,m,v,y,b]);function w(e){return k.some((function(t){var n=t.name;return e.name===n}))}},447:(e,t,n)=>{"use strict";n.d(t,{kk:()=>y,qS:()=>h,N1:()=>g,Fh:()=>f,FV:()=>v,PZ:()=>E,YC:()=>b});var r=n(1286);const o=Number.isInteger||function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e};var i=n(4569),a=n(8995),s=n(9834),l=n(6559),c=n(3738),u=n(9862),p=2147483647,d=-2147483648;var f=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)),!o(n))throw new c.e("Int cannot represent non-integer value: ".concat((0,i.A)(t)));if(n>p||n<d)throw new c.e("Int cannot represent non 32-bit signed integer value: "+(0,i.A)(t));return n},parseValue:function(e){if(!o(e))throw new c.e("Int cannot represent non-integer value: ".concat((0,i.A)(e)));if(e>p||e<d)throw new c.e("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==s.b.INT)throw new c.e("Int cannot represent non-integer value: ".concat((0,l.y)(e)),e);var t=parseInt(e.value,10);if(t>p||t<d)throw new c.e("Int cannot represent non 32-bit signed integer value: ".concat(e.value),e);return t}});var h=new u.Ag({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",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)),!(0,r.A)(n))throw new c.e("Float cannot represent non numeric value: ".concat((0,i.A)(t)));return n},parseValue:function(e){if(!(0,r.A)(e))throw new c.e("Float cannot represent non numeric value: ".concat((0,i.A)(e)));return e},parseLiteral:function(e){if(e.kind!==s.b.FLOAT&&e.kind!==s.b.INT)throw new c.e("Float cannot represent non numeric value: ".concat((0,l.y)(e)),e);return parseFloat(e.value)}});function m(e){if((0,a.A)(e)){if("function"===typeof e.valueOf){var t=e.valueOf();if(!(0,a.A)(t))return t}if("function"===typeof e.toJSON)return e.toJSON()}return e}var v=new u.Ag({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var t=m(e);if("string"===typeof t)return t;if("boolean"===typeof t)return t?"true":"false";if((0,r.A)(t))return t.toString();throw new c.e("String cannot represent value: ".concat((0,i.A)(e)))},parseValue:function(e){if("string"!==typeof e)throw new c.e("String cannot represent a non string value: ".concat((0,i.A)(e)));return e},parseLiteral:function(e){if(e.kind!==s.b.STRING)throw new c.e("String cannot represent a non string value: ".concat((0,l.y)(e)),e);return e.value}});var y=new u.Ag({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=m(e);if("boolean"===typeof t)return t;if((0,r.A)(t))return 0!==t;throw new c.e("Boolean cannot represent a non boolean value: ".concat((0,i.A)(t)))},parseValue:function(e){if("boolean"!==typeof e)throw new c.e("Boolean cannot represent a non boolean value: ".concat((0,i.A)(e)));return e},parseLiteral:function(e){if(e.kind!==s.b.BOOLEAN)throw new c.e("Boolean cannot represent a non boolean value: ".concat((0,l.y)(e)),e);return e.value}});var g=new u.Ag({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var t=m(e);if("string"===typeof t)return t;if(o(t))return String(t);throw new c.e("ID cannot represent value: ".concat((0,i.A)(e)))},parseValue:function(e){if("string"===typeof e)return e;if(o(e))return e.toString();throw new c.e("ID cannot represent value: ".concat((0,i.A)(e)))},parseLiteral:function(e){if(e.kind!==s.b.STRING&&e.kind!==s.b.INT)throw new c.e("ID cannot represent a non-string and non-integer value: "+(0,l.y)(e),e);return e.value}}),b=Object.freeze([v,f,h,y,g]);function E(e){return b.some((function(t){var n=t.name;return e.name===n}))}},8210:(e,t,n)=>{"use strict";n.d(t,{GU:()=>y,V4:()=>g,Wl:()=>v});var r=n(2414),o=n(9398),i=n(3012),a=n(5966),s=n(4569),l=n(4671),c=n(7590),u=n(1669),p=n(8995),d=n(3880),f=n(5445),h=n(9862);function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e){return(0,u.A)(e,g)}function y(e){if(!v(e))throw new Error("Expected ".concat((0,s.A)(e)," to be a GraphQL schema."));return e}var g=function(){function e(e){var t;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,p.A)(e)||(0,c.A)(0,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,c.A)(0,'"types" must be Array if provided but got: '.concat((0,s.A)(e.types),".")),!e.directives||Array.isArray(e.directives)||(0,c.A)(0,'"directives" must be Array if provided but got: '+"".concat((0,s.A)(e.directives),".")),this.description=e.description,this.extensions=e.extensions&&(0,l.A)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=e.extensionASTNodes,this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(t=e.directives)&&void 0!==t?t:f.rc;var n=new Set(e.types);if(null!=e.types)for(var r=0,i=e.types;r<i.length;r++){var a=i[r];n.delete(a),b(a,n)}null!=this._queryType&&b(this._queryType,n),null!=this._mutationType&&b(this._mutationType,n),null!=this._subscriptionType&&b(this._subscriptionType,n);for(var u=0,m=this._directives;u<m.length;u++){var v=m[u];if((0,f.qT)(v))for(var y=0,g=v.args;y<g.length;y++){b(g[y].type,n)}}b(d.__Schema,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var E=0,_=(0,o.A)(n);E<_.length;E++){var T=_[E];if(null!=T){var k=T.name;if(k||(0,c.A)(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[k])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(k,'".'));if(this._typeMap[k]=T,(0,h.kD)(T))for(var w=0,S=T.getInterfaces();w<S.length;w++){var A=S[w];if((0,h.kD)(A)){var N=this._implementationsMap[A.name];void 0===N&&(N=this._implementationsMap[A.name]={objects:[],interfaces:[]}),N.interfaces.push(T)}}else if((0,h.YQ)(T))for(var C=0,O=T.getInterfaces();C<O.length;C++){var I=O[C];if((0,h.kD)(I)){var D=this._implementationsMap[I.name];void 0===D&&(D=this._implementationsMap[I.name]={objects:[],interfaces:[]}),D.objects.push(T)}}}}}var t,n,u,v=e.prototype;return v.getQueryType=function(){return this._queryType},v.getMutationType=function(){return this._mutationType},v.getSubscriptionType=function(){return this._subscriptionType},v.getTypeMap=function(){return this._typeMap},v.getType=function(e){return this.getTypeMap()[e]},v.getPossibleTypes=function(e){return(0,h.CK)(e)?e.getTypes():this.getImplementations(e).objects},v.getImplementations=function(e){var t=this._implementationsMap[e.name];return null!==t&&void 0!==t?t:{objects:[],interfaces:[]}},v.isPossibleType=function(e,t){return this.isSubType(e,t)},v.isSubType=function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),(0,h.CK)(e))for(var r=0,o=e.getTypes();r<o.length;r++){n[o[r].name]=!0}else{for(var i=this.getImplementations(e),a=0,s=i.objects;a<s.length;a++){n[s[a].name]=!0}for(var l=0,c=i.interfaces;l<c.length;l++){n[c[l].name]=!0}}this._subTypeMap[e.name]=n}return void 0!==n[t.name]},v.getDirectives=function(){return this._directives},v.getDirective=function(e){return(0,r.A)(this.getDirectives(),(function(t){return t.name===e}))},v.toConfig=function(){var e;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:(0,i.A)(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(e=this.extensionASTNodes)&&void 0!==e?e:[],assumeValid:void 0!==this.__validationErrors}},t=e,(n=[{key:a.Kp,get:function(){return"GraphQLSchema"}}])&&m(t.prototype,n),u&&m(t,u),e}();function b(e,t){var n=(0,h.MR)(e);if(!t.has(n))if(t.add(n),(0,h.CK)(n))for(var r=0,o=n.getTypes();r<o.length;r++){b(o[r],t)}else if((0,h.YQ)(n)||(0,h.kD)(n)){for(var a=0,s=n.getInterfaces();a<s.length;a++){b(s[a],t)}for(var l=0,c=(0,i.A)(n.getFields());l<c.length;l++){var u=c[l];b(u.type,t);for(var p=0,d=u.args;p<d.length;p++){b(d[p].type,t)}}}else if((0,h.qK)(n))for(var f=0,m=(0,i.A)(n.getFields());f<m.length;f++){b(m[f].type,t)}return t}},5857:(e,t,n)=>{"use strict";n.d(t,{Y:()=>m,i:()=>h});var r=n(2414),o=n(3012),i=n(4569),a=n(3738),s=n(9769),l=n(8076),c=n(5442),u=n(8210),p=n(3880),d=n(5445),f=n(9862);function h(e){if((0,u.GU)(e),e.__validationErrors)return e.__validationErrors;var t=new v(e);!function(e){var t=e.schema,n=t.getQueryType();if(n){if(!(0,f.YQ)(n)){var r;e.reportError("Query root type must be Object type, it cannot be ".concat((0,i.A)(n),"."),null!==(r=y(t,"query"))&&void 0!==r?r:n.astNode)}}else e.reportError("Query root type must be provided.",t.astNode);var o,a=t.getMutationType();a&&!(0,f.YQ)(a)&&e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat((0,i.A)(a),"."),null!==(o=y(t,"mutation"))&&void 0!==o?o:a.astNode);var s,l=t.getSubscriptionType();l&&!(0,f.YQ)(l)&&e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat((0,i.A)(l),"."),null!==(s=y(t,"subscription"))&&void 0!==s?s:l.astNode)}(t),function(e){for(var t=0,n=e.schema.getDirectives();t<n.length;t++){var r=n[t];if((0,d.qT)(r)){g(e,r);for(var o=0,a=r.args;o<a.length;o++){var s,l=a[o];if(g(e,l),(0,f.dX)(l.type)||e.reportError("The type of @".concat(r.name,"(").concat(l.name,":) must be Input Type ")+"but got: ".concat((0,i.A)(l.type),"."),l.astNode),(0,f.xP)(l)&&null!=l.deprecationReason)e.reportError("Required argument @".concat(r.name,"(").concat(l.name,":) cannot be deprecated."),[I(l.astNode),null===(s=l.astNode)||void 0===s?void 0:s.type])}}else e.reportError("Expected directive but got: ".concat((0,i.A)(r),"."),null===r||void 0===r?void 0:r.astNode)}}(t),function(e){for(var t=function(e){var t=Object.create(null),n=[],r=Object.create(null);return i;function i(a){if(!t[a.name]){t[a.name]=!0,r[a.name]=n.length;for(var s=(0,o.A)(a.getFields()),l=0;l<s.length;l++){var c=s[l];if((0,f.bd)(c.type)&&(0,f.qK)(c.type.ofType)){var u=c.type.ofType,p=r[u.name];if(n.push(c),void 0===p)i(u);else{var d=n.slice(p),h=d.map((function(e){return e.name})).join(".");e.reportError('Cannot reference Input Object "'.concat(u.name,'" within itself through a series of non-null fields: "').concat(h,'".'),d.map((function(e){return e.astNode})))}n.pop()}}r[a.name]=void 0}}}(e),n=e.schema.getTypeMap(),r=0,a=(0,o.A)(n);r<a.length;r++){var s=a[r];(0,f.sy)(s)?((0,p.isIntrospectionType)(s)||g(e,s),(0,f.YQ)(s)||(0,f.kD)(s)?(b(e,s),E(e,s)):(0,f.CK)(s)?k(e,s):(0,f.oF)(s)?w(e,s):(0,f.qK)(s)&&(S(e,s),t(s))):e.reportError("Expected GraphQL named type but got: ".concat((0,i.A)(s),"."),s.astNode)}}(t);var n=t.getErrors();return e.__validationErrors=n,n}function m(e){var t=h(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}var v=function(){function e(e){this._errors=[],this.schema=e}var t=e.prototype;return t.reportError=function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this.addError(new a.e(e,n))},t.addError=function(e){this._errors.push(e)},t.getErrors=function(){return this._errors},e}();function y(e,t){for(var n=N(e,(function(e){return e.operationTypes})),r=0;r<n.length;r++){var o=n[r];if(o.operation===t)return o.type}}function g(e,t){var n=(0,l.w)(t.name);n&&e.addError((0,s.J)(n,t.astNode))}function b(e,t){var n=(0,o.A)(t.getFields());0===n.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),A(t));for(var r=0;r<n.length;r++){var a,s=n[r];if(g(e,s),!(0,f.oH)(s.type))e.reportError("The type of ".concat(t.name,".").concat(s.name," must be Output Type ")+"but got: ".concat((0,i.A)(s.type),"."),null===(a=s.astNode)||void 0===a?void 0:a.type);for(var l=0,c=s.args;l<c.length;l++){var u,p,d=c[l],h=d.name;if(g(e,d),!(0,f.dX)(d.type))e.reportError("The type of ".concat(t.name,".").concat(s.name,"(").concat(h,":) must be Input ")+"Type but got: ".concat((0,i.A)(d.type),"."),null===(u=d.astNode)||void 0===u?void 0:u.type);if((0,f.xP)(d)&&null!=d.deprecationReason)e.reportError("Required argument ".concat(t.name,".").concat(s.name,"(").concat(h,":) cannot be deprecated."),[I(d.astNode),null===(p=d.astNode)||void 0===p?void 0:p.type])}}}function E(e,t){for(var n=Object.create(null),r=0,o=t.getInterfaces();r<o.length;r++){var a=o[r];(0,f.kD)(a)?t!==a?n[a.name]?e.reportError("Type ".concat(t.name," can only implement ").concat(a.name," once."),C(t,a)):(n[a.name]=!0,T(e,t,a),_(e,t,a)):e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),C(t,a)):e.reportError("Type ".concat((0,i.A)(t)," must only implement Interface types, ")+"it cannot implement ".concat((0,i.A)(a),"."),C(t,a))}}function _(e,t,n){for(var a=t.getFields(),s=0,l=(0,o.A)(n.getFields());s<l.length;s++){var u=l[s],p=u.name,d=a[p];if(d){var h,m;if(!(0,c.sP)(e.schema,d.type,u.type))e.reportError("Interface field ".concat(n.name,".").concat(p," expects type ")+"".concat((0,i.A)(u.type)," but ").concat(t.name,".").concat(p," ")+"is type ".concat((0,i.A)(d.type),"."),[null===(h=u.astNode)||void 0===h?void 0:h.type,null===(m=d.astNode)||void 0===m?void 0:m.type]);for(var v=function(o,a){var s,l,u=a[o],f=u.name,h=(0,r.A)(d.args,(function(e){return e.name===f}));if(!h)return e.reportError("Interface field argument ".concat(n.name,".").concat(p,"(").concat(f,":) expected but ").concat(t.name,".").concat(p," does not provide it."),[u.astNode,d.astNode]),"continue";(0,c.n8)(u.type,h.type)||e.reportError("Interface field argument ".concat(n.name,".").concat(p,"(").concat(f,":) ")+"expects type ".concat((0,i.A)(u.type)," but ")+"".concat(t.name,".").concat(p,"(").concat(f,":) is type ")+"".concat((0,i.A)(h.type),"."),[null===(s=u.astNode)||void 0===s?void 0:s.type,null===(l=h.astNode)||void 0===l?void 0:l.type])},y=0,g=u.args;y<g.length;y++)v(y,g);for(var b=function(o,i){var a=i[o],s=a.name;!(0,r.A)(u.args,(function(e){return e.name===s}))&&(0,f.xP)(a)&&e.reportError("Object field ".concat(t.name,".").concat(p," includes required argument ").concat(s," that is missing from the Interface field ").concat(n.name,".").concat(p,"."),[a.astNode,u.astNode])},E=0,_=d.args;E<_.length;E++)b(E,_)}else e.reportError("Interface field ".concat(n.name,".").concat(p," expected but ").concat(t.name," does not provide it."),[u.astNode].concat(A(t)))}}function T(e,t,n){for(var r=t.getInterfaces(),o=0,i=n.getInterfaces();o<i.length;o++){var a=i[o];-1===r.indexOf(a)&&e.reportError(a===t?"Type ".concat(t.name," cannot implement ").concat(n.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(a.name," because it is implemented by ").concat(n.name,"."),[].concat(C(n,a),C(t,n)))}}function k(e,t){var n=t.getTypes();0===n.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),A(t));for(var r=Object.create(null),o=0;o<n.length;o++){var a=n[o];r[a.name]?e.reportError("Union type ".concat(t.name," can only include type ").concat(a.name," once."),O(t,a.name)):(r[a.name]=!0,(0,f.YQ)(a)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat((0,i.A)(a),"."),O(t,String(a))))}}function w(e,t){var n=t.getValues();0===n.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),A(t));for(var r=0;r<n.length;r++){var o=n[r],i=o.name;g(e,o),"true"!==i&&"false"!==i&&"null"!==i||e.reportError("Enum type ".concat(t.name," cannot include value: ").concat(i,"."),o.astNode)}}function S(e,t){var n=(0,o.A)(t.getFields());0===n.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),A(t));for(var r=0;r<n.length;r++){var a,s,l=n[r];if(g(e,l),!(0,f.dX)(l.type))e.reportError("The type of ".concat(t.name,".").concat(l.name," must be Input Type ")+"but got: ".concat((0,i.A)(l.type),"."),null===(a=l.astNode)||void 0===a?void 0:a.type);if((0,f.YX)(l)&&null!=l.deprecationReason)e.reportError("Required input field ".concat(t.name,".").concat(l.name," cannot be deprecated."),[I(l.astNode),null===(s=l.astNode)||void 0===s?void 0:s.type])}}function A(e){var t=e.astNode,n=e.extensionASTNodes;return t?n?[t].concat(n):[t]:null!==n&&void 0!==n?n:[]}function N(e,t){for(var n=[],r=0,o=A(e);r<o.length;r++){var i,a=o[r];n=n.concat(null!==(i=t(a))&&void 0!==i?i:[])}return n}function C(e,t){return N(e,(function(e){return e.interfaces})).filter((function(e){return e.name.value===t.name}))}function O(e,t){return N(e,(function(e){return e.types})).filter((function(e){return e.name.value===t}))}function I(e){var t;return null===e||void 0===e||null===(t=e.directives)||void 0===t?void 0:t.find((function(e){return e.name.value===d.yK.name}))}},7279:(e,t,n)=>{"use strict";n.d(t,{D:()=>u,S:()=>d});var r=n(2414),o=n(9834),i=n(931),a=n(1977),s=n(9862),l=n(3880),c=n(7429),u=function(){function e(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!==t&&void 0!==t?t:p,n&&((0,s.dX)(n)&&this._inputTypeStack.push(n),(0,s.ML)(n)&&this._parentTypeStack.push(n),(0,s.oH)(n)&&this._typeStack.push(n))}var t=e.prototype;return t.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},t.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},t.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},t.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},t.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},t.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},t.getDirective=function(){return this._directive},t.getArgument=function(){return this._argument},t.getEnumValue=function(){return this._enumValue},t.enter=function(e){var t=this._schema;switch(e.kind){case o.b.SELECTION_SET:var n=(0,s.MR)(this.getType());this._parentTypeStack.push((0,s.ML)(n)?n:void 0);break;case o.b.FIELD:var i,a,l=this.getParentType();l&&(i=this._getFieldDef(t,l,e))&&(a=i.type),this._fieldDefStack.push(i),this._typeStack.push((0,s.oH)(a)?a:void 0);break;case o.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case o.b.OPERATION_DEFINITION:var u;switch(e.operation){case"query":u=t.getQueryType();break;case"mutation":u=t.getMutationType();break;case"subscription":u=t.getSubscriptionType()}this._typeStack.push((0,s.YQ)(u)?u:void 0);break;case o.b.INLINE_FRAGMENT:case o.b.FRAGMENT_DEFINITION:var p=e.typeCondition,d=p?(0,c.v)(t,p):(0,s.MR)(this.getType());this._typeStack.push((0,s.oH)(d)?d:void 0);break;case o.b.VARIABLE_DEFINITION:var f=(0,c.v)(t,e.type);this._inputTypeStack.push((0,s.dX)(f)?f:void 0);break;case o.b.ARGUMENT:var h,m,v,y=null!==(h=this.getDirective())&&void 0!==h?h:this.getFieldDef();y&&(m=(0,r.A)(y.args,(function(t){return t.name===e.name.value})))&&(v=m.type),this._argument=m,this._defaultValueStack.push(m?m.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(v)?v:void 0);break;case o.b.LIST:var g=(0,s.yl)(this.getInputType()),b=(0,s.Fs)(g)?g.ofType:g;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,s.dX)(b)?b:void 0);break;case o.b.OBJECT_FIELD:var E,_,T=(0,s.MR)(this.getInputType());(0,s.qK)(T)&&(_=T.getFields()[e.name.value])&&(E=_.type),this._defaultValueStack.push(_?_.defaultValue:void 0),this._inputTypeStack.push((0,s.dX)(E)?E:void 0);break;case o.b.ENUM:var k,w=(0,s.MR)(this.getInputType());(0,s.oF)(w)&&(k=w.getValue(e.value)),this._enumValue=k}},t.leave=function(e){switch(e.kind){case o.b.SELECTION_SET:this._parentTypeStack.pop();break;case o.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case o.b.DIRECTIVE:this._directive=null;break;case o.b.OPERATION_DEFINITION:case o.b.INLINE_FRAGMENT:case o.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case o.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case o.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case o.b.LIST:case o.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case o.b.ENUM:this._enumValue=null}},e}();function p(e,t,n){var r=n.name.value;return r===l.SchemaMetaFieldDef.name&&e.getQueryType()===t?l.SchemaMetaFieldDef:r===l.TypeMetaFieldDef.name&&e.getQueryType()===t?l.TypeMetaFieldDef:r===l.TypeNameMetaFieldDef.name&&(0,s.ML)(t)?l.TypeNameMetaFieldDef:(0,s.YQ)(t)||(0,s.kD)(t)?t.getFields()[r]:void 0}function d(e,t){return{enter:function(n){e.enter(n);var r=(0,a.UY)(t,n.kind,!1);if(r){var o=r.apply(t,arguments);return void 0!==o&&(e.leave(n),(0,i.Ll)(o)&&e.enter(o)),o}},leave:function(n){var r,o=(0,a.UY)(t,n.kind,!0);return o&&(r=o.apply(t,arguments)),e.leave(n),r}}}},8076:(e,t,n)=>{"use strict";n.d(t,{Q:()=>a,w:()=>s});var r=n(7590),o=n(3738),i=/^[_a-zA-Z][_a-zA-Z0-9]*$/;function a(e){var t=s(e);if(t)throw t;return e}function s(e){return"string"===typeof e||(0,r.A)(0,"Expected name to be a string."),e.length>1&&"_"===e[0]&&"_"===e[1]?new o.e('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.')):i.test(e)?void 0:new o.e('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}},2024:(e,t,n)=>{"use strict";n.d(t,{K:()=>d});var r=n(1286),o=n(3012),i=n(4569),a=n(9189),s=n(8995),l=n(4975),c=n(9834),u=n(447),p=n(9862);function d(e,t){if((0,p.bd)(t)){var n=d(e,t.ofType);return(null===n||void 0===n?void 0:n.kind)===c.b.NULL?null:n}if(null===e)return{kind:c.b.NULL};if(void 0===e)return null;if((0,p.Fs)(t)){var h=t.ofType,m=(0,l.A)(e);if(null!=m){for(var v=[],y=0;y<m.length;y++){var g=d(m[y],h);null!=g&&v.push(g)}return{kind:c.b.LIST,values:v}}return d(e,h)}if((0,p.qK)(t)){if(!(0,s.A)(e))return null;for(var b=[],E=0,_=(0,o.A)(t.getFields());E<_.length;E++){var T=_[E],k=d(e[T.name],T.type);k&&b.push({kind:c.b.OBJECT_FIELD,name:{kind:c.b.NAME,value:T.name},value:k})}return{kind:c.b.OBJECT,fields:b}}if((0,p.zf)(t)){var w=t.serialize(e);if(null==w)return null;if("boolean"===typeof w)return{kind:c.b.BOOLEAN,value:w};if("number"===typeof w&&(0,r.A)(w)){var S=String(w);return f.test(S)?{kind:c.b.INT,value:S}:{kind:c.b.FLOAT,value:S}}if("string"===typeof w)return(0,p.oF)(t)?{kind:c.b.ENUM,value:w}:t===u.N1&&f.test(w)?{kind:c.b.INT,value:w}:{kind:c.b.STRING,value:w};throw new TypeError("Cannot convert value to AST: ".concat((0,i.A)(w),"."))}(0,a.A)(0,"Unexpected input type: "+(0,i.A)(t))}var f=/^-?(?:0|[1-9][0-9]*)$/},6469:(e,t,n)=>{"use strict";n.d(t,{D:()=>m});var r=n(3012),o=n(4569),i=n(7590),a=n(5841),s=n(8995),l=n(1892),c=n(8210),u=n(5445),p=n(447),d=n(3880),f=n(9862),h=n(6958);function m(e,t){(0,s.A)(e)&&(0,s.A)(e.__schema)||(0,i.A)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat((0,o.A)(e),"."));for(var n=e.__schema,m=(0,a.A)(n.types,(function(e){return e.name}),(function(e){return function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case d.TypeKind.SCALAR:return r=e,new f.Ag({name:r.name,description:r.description,specifiedByUrl:r.specifiedByUrl});case d.TypeKind.OBJECT:return n=e,new f.bh({name:n.name,description:n.description,interfaces:function(){return N(n)},fields:function(){return C(n)}});case d.TypeKind.INTERFACE:return t=e,new f.VA({name:t.name,description:t.description,interfaces:function(){return N(t)},fields:function(){return C(t)}});case d.TypeKind.UNION:return function(e){if(!e.possibleTypes){var t=(0,o.A)(e);throw new Error("Introspection result missing possibleTypes: ".concat(t,"."))}return new f.hI({name:e.name,description:e.description,types:function(){return e.possibleTypes.map(S)}})}(e);case d.TypeKind.ENUM:return function(e){if(!e.enumValues){var t=(0,o.A)(e);throw new Error("Introspection result missing enumValues: ".concat(t,"."))}return new f.Zb({name:e.name,description:e.description,values:(0,a.A)(e.enumValues,(function(e){return e.name}),(function(e){return{description:e.description,deprecationReason:e.deprecationReason}}))})}(e);case d.TypeKind.INPUT_OBJECT:return function(e){if(!e.inputFields){var t=(0,o.A)(e);throw new Error("Introspection result missing inputFields: ".concat(t,"."))}return new f.zP({name:e.name,description:e.description,fields:function(){return I(e.inputFields)}})}(e)}var t;var n;var r;var i=(0,o.A)(e);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(i,"."))}(e)})),v=0,y=[].concat(p.YC,d.introspectionTypes);v<y.length;v++){var g=y[v];m[g.name]&&(m[g.name]=g)}var b=n.queryType?S(n.queryType):null,E=n.mutationType?S(n.mutationType):null,_=n.subscriptionType?S(n.subscriptionType):null,T=n.directives?n.directives.map((function(e){if(!e.args){var t=(0,o.A)(e);throw new Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var n=(0,o.A)(e);throw new Error("Introspection result missing directive locations: ".concat(n,"."))}return new u.RR({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:I(e.args)})})):[];return new c.V4({description:n.description,query:b,mutation:E,subscription:_,types:(0,r.A)(m),directives:T,assumeValid:null===t||void 0===t?void 0:t.assumeValid});function k(e){if(e.kind===d.TypeKind.LIST){var t=e.ofType;if(!t)throw new Error("Decorated type deeper than introspection query.");return new f.KT(k(t))}if(e.kind===d.TypeKind.NON_NULL){var n=e.ofType;if(!n)throw new Error("Decorated type deeper than introspection query.");var r=k(n);return new f.Gc((0,f.wG)(r))}return w(e)}function w(e){var t=e.name;if(!t)throw new Error("Unknown type reference: ".concat((0,o.A)(e),"."));var n=m[t];if(!n)throw new Error("Invalid or incomplete schema, unknown type: ".concat(t,". Ensure that a full introspection query is used in order to build a client schema."));return n}function S(e){return(0,f.qC)(w(e))}function A(e){return(0,f.qL)(w(e))}function N(e){if(null===e.interfaces&&e.kind===d.TypeKind.INTERFACE)return[];if(!e.interfaces){var t=(0,o.A)(e);throw new Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(A)}function C(e){if(!e.fields)throw new Error("Introspection result missing fields: ".concat((0,o.A)(e),"."));return(0,a.A)(e.fields,(function(e){return e.name}),O)}function O(e){var t=k(e.type);if(!(0,f.oH)(t)){var n=(0,o.A)(t);throw new Error("Introspection must provide output type for fields, but received: ".concat(n,"."))}if(!e.args){var r=(0,o.A)(e);throw new Error("Introspection result missing field args: ".concat(r,"."))}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:I(e.args)}}function I(e){return(0,a.A)(e,(function(e){return e.name}),D)}function D(e){var t=k(e.type);if(!(0,f.dX)(t)){var n=(0,o.A)(t);throw new Error("Introspection must provide input type for arguments, but received: ".concat(n,"."))}var r=null!=e.defaultValue?(0,h.i)((0,l.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}}},1250:(e,t,n)=>{"use strict";function r(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 o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),n=t.descriptions?"description":"",i=t.specifiedByUrl?"specifiedByUrl":"",a=t.directiveIsRepeatable?"isRepeatable":"",s=t.schemaDescription?n:"";function l(e){return t.inputValueDeprecation?e:""}return"\n    query IntrospectionQuery {\n      __schema {\n        ".concat(s,"\n        queryType { name }\n        mutationType { name }\n        subscriptionType { name }\n        types {\n          ...FullType\n        }\n        directives {\n          name\n          ").concat(n,"\n          ").concat(a,"\n          locations\n          args").concat(l("(includeDeprecated: true)")," {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      ").concat(n,"\n      ").concat(i,"\n      fields(includeDeprecated: true) {\n        name\n        ").concat(n,"\n        args").concat(l("(includeDeprecated: true)")," {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields").concat(l("(includeDeprecated: true)")," {\n        ...InputValue\n      }\n      interfaces {\n        ...TypeRef\n      }\n      enumValues(includeDeprecated: true) {\n        name\n        ").concat(n,"\n        isDeprecated\n        deprecationReason\n      }\n      possibleTypes {\n        ...TypeRef\n      }\n    }\n\n    fragment InputValue on __InputValue {\n      name\n      ").concat(n,"\n      type { ...TypeRef }\n      defaultValue\n      ").concat(l("isDeprecated"),"\n      ").concat(l("deprecationReason"),"\n    }\n\n    fragment TypeRef on __Type {\n      kind\n      name\n      ofType {\n        kind\n        name\n        ofType {\n          kind\n          name\n          ofType {\n            kind\n            name\n            ofType {\n              kind\n              name\n              ofType {\n                kind\n                name\n                ofType {\n                  kind\n                  name\n                  ofType {\n                    kind\n                    name\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  ")}n.d(t,{I:()=>i})},5442:(e,t,n)=>{"use strict";n.d(t,{n8:()=>o,sP:()=>i,uI:()=>a});var r=n(9862);function o(e,t){return e===t||((0,r.bd)(e)&&(0,r.bd)(t)||!(!(0,r.Fs)(e)||!(0,r.Fs)(t)))&&o(e.ofType,t.ofType)}function i(e,t,n){return t===n||((0,r.bd)(n)?!!(0,r.bd)(t)&&i(e,t.ofType,n.ofType):(0,r.bd)(t)?i(e,t.ofType,n):(0,r.Fs)(n)?!!(0,r.Fs)(t)&&i(e,t.ofType,n.ofType):!(0,r.Fs)(t)&&((0,r.Lc)(n)&&((0,r.kD)(t)||(0,r.YQ)(t))&&e.isSubType(n,t)))}function a(e,t,n){return t===n||((0,r.Lc)(t)?(0,r.Lc)(n)?e.getPossibleTypes(t).some((function(t){return e.isSubType(n,t)})):e.isSubType(t,n):!!(0,r.Lc)(n)&&e.isSubType(n,t))}},7429:(e,t,n)=>{"use strict";n.d(t,{v:()=>s});var r=n(4569),o=n(9189),i=n(9834),a=n(9862);function s(e,t){var n;return t.kind===i.b.LIST_TYPE?(n=s(e,t.type))&&new a.KT(n):t.kind===i.b.NON_NULL_TYPE?(n=s(e,t.type))&&new a.Gc(n):t.kind===i.b.NAMED_TYPE?e.getType(t.name.value):void(0,o.A)(0,"Unexpected type node: "+(0,r.A)(t))}},6958:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var r=n(3012),o=n(9226),i=n(4569),a=n(9189),s=n(9834),l=n(9862);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 d=n[p];if(null===d&&(0,l.bd)(t))return;return d}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 f=t.ofType;if(e.kind===s.b.LIST){for(var h=[],m=0,v=e.values;m<v.length;m++){var y=v[m];if(u(y,n)){if((0,l.bd)(f))return;h.push(null)}else{var g=c(y,f,n);if(void 0===g)return;h.push(g)}}return h}var b=c(e,f,n);if(void 0===b)return;return[b]}if((0,l.qK)(t)){if(e.kind!==s.b.OBJECT)return;for(var E=Object.create(null),_=(0,o.A)(e.fields,(function(e){return e.name.value})),T=0,k=(0,r.A)(t.getFields());T<k.length;T++){var w=k[T],S=_[w.name];if(S&&!u(S.value,n)){var A=c(S.value,w.type,n);if(void 0===A)return;E[w.name]=A}else if(void 0!==w.defaultValue)E[w.name]=w.defaultValue;else if((0,l.bd)(w.type))return}return E}if((0,l.zf)(t)){var N;try{N=t.parseLiteral(e,n)}catch(C){return}if(void 0===N)return;return N}(0,a.A)(0,"Unexpected input type: "+(0,i.A)(t))}}function u(e,t){return e.kind===s.b.VARIABLE&&(null==t||void 0===t[e.name.value])}},4873:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});var r=n(4569),o=n(9189),i=n(5841),a=n(9834);function s(e,t){switch(e.kind){case a.b.NULL:return null;case a.b.INT:return parseInt(e.value,10);case a.b.FLOAT:return parseFloat(e.value);case a.b.STRING:case a.b.ENUM:case a.b.BOOLEAN:return e.value;case a.b.LIST:return e.values.map((function(e){return s(e,t)}));case a.b.OBJECT:return(0,i.A)(e.fields,(function(e){return e.name.value}),(function(e){return s(e.value,t)}));case a.b.VARIABLE:return null===t||void 0===t?void 0:t[e.name.value]}(0,o.A)(0,"Unexpected value node: "+(0,r.A)(e))}},3450:(e,t,n)=>{"use strict";n.d(t,{dY:()=>c,ot:()=>l});var r=n(9834),o=n(1977),i=n(7279);function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var s=function(){function e(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}var t=e.prototype;return t.reportError=function(e){this._onError(e)},t.getDocument=function(){return this._ast},t.getFragment=function(e){var t=this._fragments;return t||(this._fragments=t=this.getDocument().definitions.reduce((function(e,t){return t.kind===r.b.FRAGMENT_DEFINITION&&(e[t.name.value]=t),e}),Object.create(null))),t[e]},t.getFragmentSpreads=function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];0!==n.length;)for(var o=0,i=n.pop().selections;o<i.length;o++){var a=i[o];a.kind===r.b.FRAGMENT_SPREAD?t.push(a):a.selectionSet&&n.push(a.selectionSet)}this._fragmentSpreads.set(e,t)}return t},t.getRecursivelyReferencedFragments=function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];0!==r.length;)for(var o=r.pop(),i=0,a=this.getFragmentSpreads(o);i<a.length;i++){var s=a[i].name.value;if(!0!==n[s]){n[s]=!0;var l=this.getFragment(s);l&&(t.push(l),r.push(l.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t},e}(),l=function(e){function t(t,n,r){var o;return(o=e.call(this,t,r)||this)._schema=n,o}return a(t,e),t.prototype.getSchema=function(){return this._schema},t}(s),c=function(e){function t(t,n,r,o){var i;return(i=e.call(this,n,o)||this)._schema=t,i._typeInfo=r,i._variableUsages=new Map,i._recursiveVariableUsages=new Map,i}a(t,e);var n=t.prototype;return n.getSchema=function(){return this._schema},n.getVariableUsages=function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new i.D(this._schema);(0,o.YR)(e,(0,i.S)(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t},n.getRecursiveVariableUsages=function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);for(var n=0,r=this.getRecursivelyReferencedFragments(e);n<r.length;n++){var o=r[n];t=t.concat(this.getVariableUsages(o))}this._recursiveVariableUsages.set(e,t)}return t},n.getType=function(){return this._typeInfo.getType()},n.getParentType=function(){return this._typeInfo.getParentType()},n.getInputType=function(){return this._typeInfo.getInputType()},n.getParentInputType=function(){return this._typeInfo.getParentInputType()},n.getFieldDef=function(){return this._typeInfo.getFieldDef()},n.getDirective=function(){return this._typeInfo.getDirective()},n.getArgument=function(){return this._typeInfo.getArgument()},n.getEnumValue=function(){return this._typeInfo.getEnumValue()},t}(s)},9244:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(3738),o=n(9834),i=n(1639);function a(e){return{Document:function(t){for(var n=0,a=t.definitions;n<a.length;n++){var s=a[n];if(!(0,i._m)(s)){var l=s.kind===o.b.SCHEMA_DEFINITION||s.kind===o.b.SCHEMA_EXTENSION?"schema":'"'+s.name.value+'"';e.reportError(new r.e("The ".concat(l," definition is not executable."),s))}}return!1}}}},9276:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(9398),o=n(620),i=n(8631),a=n(2811),s=n(3738),l=n(9862);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,o.A)("to use an inline fragment on",function(e,t,n){if(!(0,l.Lc)(t))return[];for(var o=new Set,i=Object.create(null),s=0,c=e.getPossibleTypes(t);s<c.length;s++){var u=c[s];if(u.getFields()[n]){o.add(u),i[u.name]=1;for(var p=0,d=u.getInterfaces();p<d.length;p++){var f,h=d[p];h.getFields()[n]&&(o.add(h),i[h.name]=(null!==(f=i[h.name])&&void 0!==f?f:0)+1)}}}return(0,r.A)(o).sort((function(t,n){var r=i[n.name]-i[t.name];return 0!==r?r:(0,l.kD)(t)&&e.isSubType(t,n)?-1:(0,l.kD)(n)&&e.isSubType(n,t)?1:(0,a.A)(t.name,n.name)})).map((function(e){return e.name}))}(c,n,u));""===p&&(p=(0,o.A)(function(e,t){if((0,l.YQ)(e)||(0,l.kD)(e)){var n=Object.keys(e.getFields());return(0,i.A)(t,n)}return[]}(n,u))),e.reportError(new s.e('Cannot query field "'.concat(u,'" on type "').concat(n.name,'".')+p,t))}}}}},8986:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var r=n(3738),o=n(6559),i=n(9862),a=n(7429);function s(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var s=(0,a.v)(e.getSchema(),n);if(s&&!(0,i.ML)(s)){var l=(0,o.y)(n);e.reportError(new r.e('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,i.ML)(n)){var s=(0,o.y)(t.typeCondition);e.reportError(new r.e('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(s,'".'),t.typeCondition))}}}}},5902:(e,t,n)=>{"use strict";n.d(t,{P:()=>p,W:()=>d});var r=n(620),o=n(8631),i=n(3738),a=n(9834),s=n(5445);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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){return c(c({},d(e)),{},{Argument:function(t){var n=e.getArgument(),a=e.getFieldDef(),s=e.getParentType();if(!n&&a&&s){var l=t.name.value,c=a.args.map((function(e){return e.name})),u=(0,o.A)(l,c);e.reportError(new i.e('Unknown argument "'.concat(l,'" on field "').concat(s.name,".").concat(a.name,'".')+(0,r.A)(u),t))}}})}function d(e){for(var t=Object.create(null),n=e.getSchema(),l=n?n.getDirectives():s.rc,c=0;c<l.length;c++){var u=l[c];t[u.name]=u.args.map((function(e){return e.name}))}for(var p=e.getDocument().definitions,d=0;d<p.length;d++){var f=p[d];if(f.kind===a.b.DIRECTIVE_DEFINITION){var h,m=null!==(h=f.arguments)&&void 0!==h?h:[];t[f.name.value]=m.map((function(e){return e.name.value}))}}return{Directive:function(n){var a=n.name.value,s=t[a];if(n.arguments&&s)for(var l=0,c=n.arguments;l<c.length;l++){var u=c[l],p=u.name.value;if(-1===s.indexOf(p)){var d=(0,o.A)(p,s);e.reportError(new i.e('Unknown argument "'.concat(p,'" on directive "@').concat(a,'".')+(0,r.A)(d),u))}}return!1}}}},8157:(e,t,n)=>{"use strict";n.d(t,{e:()=>c});var r=n(4569),o=n(9189),i=n(3738),a=n(9834),s=n(1033),l=n(5445);function c(e){for(var t=Object.create(null),n=e.getSchema(),c=n?n.getDirectives():l.rc,u=0;u<c.length;u++){var p=c[u];t[p.name]=p.locations}for(var d=e.getDocument().definitions,f=0;f<d.length;f++){var h=d[f];h.kind===a.b.DIRECTIVE_DEFINITION&&(t[h.name.value]=h.locations.map((function(e){return e.value})))}return{Directive:function(n,l,c,u,p){var d=n.name.value,f=t[d];if(f){var h=function(e){var t=e[e.length-1];switch(!Array.isArray(t)||(0,o.A)(0),t.kind){case a.b.OPERATION_DEFINITION:return function(e){switch(e){case"query":return s.H.QUERY;case"mutation":return s.H.MUTATION;case"subscription":return s.H.SUBSCRIPTION}(0,o.A)(0,"Unexpected operation: "+(0,r.A)(e))}(t.operation);case a.b.FIELD:return s.H.FIELD;case a.b.FRAGMENT_SPREAD:return s.H.FRAGMENT_SPREAD;case a.b.INLINE_FRAGMENT:return s.H.INLINE_FRAGMENT;case a.b.FRAGMENT_DEFINITION:return s.H.FRAGMENT_DEFINITION;case a.b.VARIABLE_DEFINITION:return s.H.VARIABLE_DEFINITION;case a.b.SCHEMA_DEFINITION:case a.b.SCHEMA_EXTENSION:return s.H.SCHEMA;case a.b.SCALAR_TYPE_DEFINITION:case a.b.SCALAR_TYPE_EXTENSION:return s.H.SCALAR;case a.b.OBJECT_TYPE_DEFINITION:case a.b.OBJECT_TYPE_EXTENSION:return s.H.OBJECT;case a.b.FIELD_DEFINITION:return s.H.FIELD_DEFINITION;case a.b.INTERFACE_TYPE_DEFINITION:case a.b.INTERFACE_TYPE_EXTENSION:return s.H.INTERFACE;case a.b.UNION_TYPE_DEFINITION:case a.b.UNION_TYPE_EXTENSION:return s.H.UNION;case a.b.ENUM_TYPE_DEFINITION:case a.b.ENUM_TYPE_EXTENSION:return s.H.ENUM;case a.b.ENUM_VALUE_DEFINITION:return s.H.ENUM_VALUE;case a.b.INPUT_OBJECT_TYPE_DEFINITION:case a.b.INPUT_OBJECT_TYPE_EXTENSION:return s.H.INPUT_OBJECT;case a.b.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===a.b.INPUT_OBJECT_TYPE_DEFINITION?s.H.INPUT_FIELD_DEFINITION:s.H.ARGUMENT_DEFINITION}}(p);h&&-1===f.indexOf(h)&&e.reportError(new i.e('Directive "@'.concat(d,'" may not be used on ').concat(h,"."),n))}else e.reportError(new i.e('Unknown directive "@'.concat(d,'".'),n))}}}},881:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(3738);function o(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new r.e('Unknown fragment "'.concat(n,'".'),t.name))}}}},1057:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var r=n(620),o=n(8631),i=n(3738),a=n(1639),s=n(447),l=n(3880);function c(e){for(var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null),l=0,c=e.getDocument().definitions;l<c.length;l++){var p=c[l];(0,a.a6)(p)&&(s[p.name.value]=!0)}var d=Object.keys(n).concat(Object.keys(s));return{NamedType:function(t,l,c,p,f){var h,m=t.name.value;if(!n[m]&&!s[m]){var v,y=null!==(v=f[2])&&void 0!==v?v:c,g=null!=y&&(h=y,!Array.isArray(h)&&((0,a.xu)(h)||(0,a.fT)(h)));if(g&&function(e){return-1!==u.indexOf(e)}(m))return;var b=(0,o.A)(m,g?u.concat(d):d);e.reportError(new i.e('Unknown type "'.concat(m,'".')+(0,r.A)(b),t))}}}}var u=[].concat(s.YC,l.introspectionTypes).map((function(e){return e.name}))},7176:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(3738),o=n(9834);function i(e){var t=0;return{Document:function(e){t=e.definitions.filter((function(e){return e.kind===o.b.OPERATION_DEFINITION})).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new r.e("This anonymous operation must be the only defined operation.",n))}}}},4:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(3738);function o(e){var t,n,o,i=e.getSchema(),a=null!==(t=null!==(n=null!==(o=null===i||void 0===i?void 0:i.astNode)&&void 0!==o?o:null===i||void 0===i?void 0:i.getQueryType())&&void 0!==n?n:null===i||void 0===i?void 0:i.getMutationType())&&void 0!==t?t:null===i||void 0===i?void 0:i.getSubscriptionType(),s=0;return{SchemaDefinition:function(t){a?e.reportError(new r.e("Cannot define a new schema within a schema extension.",t)):(s>0&&e.reportError(new r.e("Must provide only one schema definition.",t)),++s)}}}},330:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(3738);function o(e){var t=Object.create(null),n=[],o=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(e){return i(e),!1}};function i(a){if(!t[a.name.value]){var s=a.name.value;t[s]=!0;var l=e.getFragmentSpreads(a.selectionSet);if(0!==l.length){o[s]=n.length;for(var c=0;c<l.length;c++){var u=l[c],p=u.name.value,d=o[p];if(n.push(u),void 0===d){var f=e.getFragment(p);f&&i(f)}else{var h=n.slice(d),m=h.slice(0,-1).map((function(e){return'"'+e.name.value+'"'})).join(", ");e.reportError(new r.e('Cannot spread fragment "'.concat(p,'" within itself')+(""!==m?" via ".concat(m,"."):"."),h))}n.pop()}o[s]=void 0}}}}},3236:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3738);function o(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var o=e.getRecursiveVariableUsages(n),i=0;i<o.length;i++){var a=o[i].node,s=a.name.value;!0!==t[s]&&e.reportError(new r.e(n.name?'Variable "$'.concat(s,'" is not defined by operation "').concat(n.name.value,'".'):'Variable "$'.concat(s,'" is not defined.'),[a,n]))}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}},8368:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(3738);function o(e){var t=[],n=[];return{OperationDefinition:function(e){return t.push(e),!1},FragmentDefinition:function(e){return n.push(e),!1},Document:{leave:function(){for(var o=Object.create(null),i=0;i<t.length;i++)for(var a=t[i],s=0,l=e.getRecursivelyReferencedFragments(a);s<l.length;s++){o[l[s].name.value]=!0}for(var c=0;c<n.length;c++){var u=n[c],p=u.name.value;!0!==o[p]&&e.reportError(new r.e('Fragment "'.concat(p,'" is never used.'),u))}}}}}},9580:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var r=n(3738);function o(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){for(var o=Object.create(null),i=e.getRecursiveVariableUsages(n),a=0;a<i.length;a++){o[i[a].node.name.value]=!0}for(var s=0,l=t;s<l.length;s++){var c=l[s],u=c.variable.name.value;!0!==o[u]&&e.reportError(new r.e(n.name?'Variable "$'.concat(u,'" is never used in operation "').concat(n.name.value,'".'):'Variable "$'.concat(u,'" is never used.'),c))}}},VariableDefinition:function(e){t.push(e)}}}},4665:(e,t,n)=>{"use strict";n.d(t,{K:()=>d});var r=n(2414),o=n(70),i=n(4569),a=n(3738),s=n(9834),l=n(6559),c=n(9862),u=n(7429);function p(e){return Array.isArray(e)?e.map((function(e){var t=e[0],n=e[1];return'subfields "'.concat(t,'" conflict because ')+p(n)})).join(" and "):e}function d(e){var t=new _,n=new Map;return{SelectionSet:function(r){for(var i=function(e,t,n,r,i){var a=[],s=g(e,t,r,i),l=s[0],c=s[1];if(function(e,t,n,r,i){for(var a=0,s=(0,o.A)(i);a<s.length;a++){var l=s[a],c=l[0],u=l[1];if(u.length>1)for(var p=0;p<u.length;p++)for(var d=p+1;d<u.length;d++){var f=v(e,n,r,!1,c,u[p],u[d]);f&&t.push(f)}}}(e,a,t,n,l),0!==c.length)for(var u=0;u<c.length;u++){f(e,a,t,n,!1,l,c[u]);for(var p=u+1;p<c.length;p++)h(e,a,t,n,!1,c[u],c[p])}return a}(e,n,t,e.getParentType(),r),s=0;s<i.length;s++){var l=i[s],c=l[0],u=c[0],d=c[1],m=l[1],y=l[2],b=p(d);e.reportError(new a.e('Fields "'.concat(u,'" conflict because ').concat(b,". Use different aliases on the fields to fetch both if this was intentional."),m.concat(y)))}}}}function f(e,t,n,r,o,i,a){var s=e.getFragment(a);if(s){var l=b(e,n,s),c=l[0],u=l[1];if(i!==c){m(e,t,n,r,o,i,c);for(var p=0;p<u.length;p++)f(e,t,n,r,o,i,u[p])}}}function h(e,t,n,r,o,i,a){if(i!==a&&!r.has(i,a,o)){r.add(i,a,o);var s=e.getFragment(i),l=e.getFragment(a);if(s&&l){var c=b(e,n,s),u=c[0],p=c[1],d=b(e,n,l),f=d[0],v=d[1];m(e,t,n,r,o,u,f);for(var y=0;y<v.length;y++)h(e,t,n,r,o,i,v[y]);for(var g=0;g<p.length;g++)h(e,t,n,r,o,p[g],a)}}}function m(e,t,n,r,o,i,a){for(var s=0,l=Object.keys(i);s<l.length;s++){var c=l[s],u=a[c];if(u)for(var p=i[c],d=0;d<p.length;d++)for(var f=0;f<u.length;f++){var h=v(e,n,r,o,c,p[d],u[f]);h&&t.push(h)}}}function v(e,t,n,o,a,s,u){var p=s[0],d=s[1],v=s[2],b=u[0],E=u[1],_=u[2],T=o||p!==b&&(0,c.YQ)(p)&&(0,c.YQ)(b);if(!T){var k,w,S=d.name.value,A=E.name.value;if(S!==A)return[[a,'"'.concat(S,'" and "').concat(A,'" are different fields')],[d],[E]];if(!function(e,t){if(e.length!==t.length)return!1;return e.every((function(e){var n,o,i=(0,r.A)(t,(function(t){return t.name.value===e.name.value}));return!!i&&(n=e.value,o=i.value,(0,l.y)(n)===(0,l.y)(o))}))}(null!==(k=d.arguments)&&void 0!==k?k:[],null!==(w=E.arguments)&&void 0!==w?w:[]))return[[a,"they have differing arguments"],[d],[E]]}var N=null===v||void 0===v?void 0:v.type,C=null===_||void 0===_?void 0:_.type;if(N&&C&&y(N,C))return[[a,'they return conflicting types "'.concat((0,i.A)(N),'" and "').concat((0,i.A)(C),'"')],[d],[E]];var O=d.selectionSet,I=E.selectionSet;if(O&&I){var D=function(e,t,n,r,o,i,a,s){var l=[],c=g(e,t,o,i),u=c[0],p=c[1],d=g(e,t,a,s),v=d[0],y=d[1];if(m(e,l,t,n,r,u,v),0!==y.length)for(var b=0;b<y.length;b++)f(e,l,t,n,r,u,y[b]);if(0!==p.length)for(var E=0;E<p.length;E++)f(e,l,t,n,r,v,p[E]);for(var _=0;_<p.length;_++)for(var T=0;T<y.length;T++)h(e,l,t,n,r,p[_],y[T]);return l}(e,t,n,T,(0,c.MR)(N),O,(0,c.MR)(C),I);return function(e,t,n,r){if(e.length>0)return[[t,e.map((function(e){return e[0]}))],e.reduce((function(e,t){var n=t[1];return e.concat(n)}),[n]),e.reduce((function(e,t){var n=t[2];return e.concat(n)}),[r])]}(D,a,d,E)}}function y(e,t){return(0,c.Fs)(e)?!(0,c.Fs)(t)||y(e.ofType,t.ofType):!!(0,c.Fs)(t)||((0,c.bd)(e)?!(0,c.bd)(t)||y(e.ofType,t.ofType):!!(0,c.bd)(t)||!(!(0,c.zf)(e)&&!(0,c.zf)(t))&&e!==t)}function g(e,t,n,r){var o=t.get(r);if(!o){var i=Object.create(null),a=Object.create(null);E(e,n,r,i,a),o=[i,Object.keys(a)],t.set(r,o)}return o}function b(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var o=(0,u.v)(e.getSchema(),n.typeCondition);return g(e,t,o,n.selectionSet)}function E(e,t,n,r,o){for(var i=0,a=n.selections;i<a.length;i++){var l=a[i];switch(l.kind){case s.b.FIELD:var p=l.name.value,d=void 0;((0,c.YQ)(t)||(0,c.kD)(t))&&(d=t.getFields()[p]);var f=l.alias?l.alias.value:p;r[f]||(r[f]=[]),r[f].push([t,l,d]);break;case s.b.FRAGMENT_SPREAD:o[l.name.value]=!0;break;case s.b.INLINE_FRAGMENT:var h=l.typeCondition,m=h?(0,u.v)(e.getSchema(),h):t;E(e,m,l.selectionSet,r,o)}}}var _=function(){function e(){this._data=Object.create(null)}var t=e.prototype;return t.has=function(e,t,n){var r=this._data[e],o=r&&r[t];return void 0!==o&&(!1!==n||!1===o)},t.add=function(e,t,n){this._pairSetAdd(e,t,n),this._pairSetAdd(t,e,n)},t._pairSetAdd=function(e,t,n){var r=this._data[e];r||(r=Object.create(null),this._data[e]=r),r[t]=n},e}()},2041:(e,t,n)=>{"use strict";n.d(t,{y:()=>l});var r=n(4569),o=n(3738),i=n(9862),a=n(7429),s=n(5442);function l(e){return{InlineFragment:function(t){var n=e.getType(),a=e.getParentType();if((0,i.ML)(n)&&(0,i.ML)(a)&&!(0,s.uI)(e.getSchema(),n,a)){var l=(0,r.A)(a),c=(0,r.A)(n);e.reportError(new o.e('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,i.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 o.e('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(u,'" can never be of type "').concat(p,'".'),t))}}}}},9173:(e,t,n)=>{"use strict";n.d(t,{S:()=>f});var r,o=n(4569),i=n(9189),a=n(620),s=n(8631),l=n(3738),c=n(9834),u=n(1639),p=n(9862);function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){for(var t=e.getSchema(),n=Object.create(null),r=0,d=e.getDocument().definitions;r<d.length;r++){var f=d[r];(0,u.a6)(f)&&(n[f.name.value]=f)}return{ScalarTypeExtension:m,ObjectTypeExtension:m,InterfaceTypeExtension:m,UnionTypeExtension:m,EnumTypeExtension:m,InputObjectTypeExtension:m};function m(r){var u,d=r.name.value,f=n[d],m=null===t||void 0===t?void 0:t.getType(d);if(f?u=h[f.kind]:m&&(u=function(e){if((0,p.lg)(e))return c.b.SCALAR_TYPE_EXTENSION;if((0,p.YQ)(e))return c.b.OBJECT_TYPE_EXTENSION;if((0,p.kD)(e))return c.b.INTERFACE_TYPE_EXTENSION;if((0,p.CK)(e))return c.b.UNION_TYPE_EXTENSION;if((0,p.oF)(e))return c.b.ENUM_TYPE_EXTENSION;if((0,p.qK)(e))return c.b.INPUT_OBJECT_TYPE_EXTENSION;(0,i.A)(0,"Unexpected type: "+(0,o.A)(e))}(m)),u){if(u!==r.kind){var v=function(e){switch(e){case c.b.SCALAR_TYPE_EXTENSION:return"scalar";case c.b.OBJECT_TYPE_EXTENSION:return"object";case c.b.INTERFACE_TYPE_EXTENSION:return"interface";case c.b.UNION_TYPE_EXTENSION:return"union";case c.b.ENUM_TYPE_EXTENSION:return"enum";case c.b.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}(0,i.A)(0,"Unexpected kind: "+(0,o.A)(e))}(r.kind);e.reportError(new l.e("Cannot extend non-".concat(v,' type "').concat(d,'".'),f?[f,r]:r))}}else{var y=Object.keys(n);t&&(y=y.concat(Object.keys(t.getTypeMap())));var g=(0,s.A)(d,y);e.reportError(new l.e('Cannot extend type "'.concat(d,'" because it is not defined.')+(0,a.A)(g),r.name))}}}var h=(d(r={},c.b.SCALAR_TYPE_DEFINITION,c.b.SCALAR_TYPE_EXTENSION),d(r,c.b.OBJECT_TYPE_DEFINITION,c.b.OBJECT_TYPE_EXTENSION),d(r,c.b.INTERFACE_TYPE_DEFINITION,c.b.INTERFACE_TYPE_EXTENSION),d(r,c.b.UNION_TYPE_DEFINITION,c.b.UNION_TYPE_EXTENSION),d(r,c.b.ENUM_TYPE_DEFINITION,c.b.ENUM_TYPE_EXTENSION),d(r,c.b.INPUT_OBJECT_TYPE_DEFINITION,c.b.INPUT_OBJECT_TYPE_EXTENSION),r)},2700:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,X:()=>f});var r=n(4569),o=n(9226),i=n(3738),a=n(9834),s=n(6559),l=n(5445),c=n(9862);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<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return p(p({},h(e)),{},{Field:{leave:function(t){var n,a=e.getFieldDef();if(!a)return!1;for(var s=null!==(n=t.arguments)&&void 0!==n?n:[],l=(0,o.A)(s,(function(e){return e.name.value})),u=0,p=a.args;u<p.length;u++){var d=p[u];if(!l[d.name]&&(0,c.xP)(d)){var f=(0,r.A)(d.type);e.reportError(new i.e('Field "'.concat(a.name,'" argument "').concat(d.name,'" of type "').concat(f,'" is required, but it was not provided.'),t))}}}}})}function h(e){for(var t=Object.create(null),n=e.getSchema(),u=n?n.getDirectives():l.rc,p=0;p<u.length;p++){var d=u[p];t[d.name]=(0,o.A)(d.args.filter(c.xP),(function(e){return e.name}))}for(var f=e.getDocument().definitions,h=0;h<f.length;h++){var v=f[h];if(v.kind===a.b.DIRECTIVE_DEFINITION){var y,g=null!==(y=v.arguments)&&void 0!==y?y:[];t[v.name.value]=(0,o.A)(g.filter(m),(function(e){return e.name.value}))}}return{Directive:{leave:function(n){var a=n.name.value,l=t[a];if(l)for(var u,p=null!==(u=n.arguments)&&void 0!==u?u:[],d=(0,o.A)(p,(function(e){return e.name.value})),f=0,h=Object.keys(l);f<h.length;f++){var m=h[f];if(!d[m]){var v=l[m].type,y=(0,c.Xj)(v)?(0,r.A)(v):(0,s.y)(v);e.reportError(new i.e('Directive "@'.concat(a,'" argument "').concat(m,'" of type "').concat(y,'" is required, but it was not provided.'),n))}}}}}}function m(e){return e.type.kind===a.b.NON_NULL_TYPE&&null==e.defaultValue}},333:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(4569),o=n(3738),i=n(9862);function a(e){return{Field:function(t){var n=e.getType(),a=t.selectionSet;if(n)if((0,i.zf)((0,i.MR)(n))){if(a){var s=t.name.value,l=(0,r.A)(n);e.reportError(new o.e('Field "'.concat(s,'" must not have a selection since type "').concat(l,'" has no subfields.'),a))}}else if(!a){var c=t.name.value,u=(0,r.A)(n);e.reportError(new o.e('Field "'.concat(c,'" of type "').concat(u,'" must have a selection of subfields. Did you mean "').concat(c,' { ... }"?'),t))}}}}},6956:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r=n(3738);function o(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new r.e(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)))}}}},5802:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(3738);function o(e){var t=Object.create(null);return{Field:function(){t=Object.create(null)},Directive:function(){t=Object.create(null)},Argument:function(n){var o=n.name.value;return t[o]?e.reportError(new r.e('There can be only one argument named "'.concat(o,'".'),[t[o],n.name])):t[o]=n.name,!1}}}},9134:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3738);function o(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(o){var i=o.name.value;if(null===n||void 0===n||!n.getDirective(i))return t[i]?e.reportError(new r.e('There can be only one directive named "@'.concat(i,'".'),[t[i],o.name])):t[i]=o.name,!1;e.reportError(new r.e('Directive "@'.concat(i,'" already exists in the schema. It cannot be redefined.'),o.name))}}}},2075:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var r=n(3738),o=n(9834),i=n(1639),a=n(5445);function s(e){for(var t=Object.create(null),n=e.getSchema(),s=n?n.getDirectives():a.rc,l=0;l<s.length;l++){var c=s[l];t[c.name]=!c.isRepeatable}for(var u=e.getDocument().definitions,p=0;p<u.length;p++){var d=u[p];d.kind===o.b.DIRECTIVE_DEFINITION&&(t[d.name.value]=!d.repeatable)}var f=Object.create(null),h=Object.create(null);return{enter:function(n){if(null!=n.directives){var a;if(n.kind===o.b.SCHEMA_DEFINITION||n.kind===o.b.SCHEMA_EXTENSION)a=f;else if((0,i.a6)(n)||(0,i.i7)(n)){var s=n.name.value;void 0===(a=h[s])&&(h[s]=a=Object.create(null))}else a=Object.create(null);for(var l=0,c=n.directives;l<c.length;l++){var u=c[l],p=u.name.value;t[p]&&(a[p]?e.reportError(new r.e('The directive "@'.concat(p,'" can only be used once at this location.'),[a[p],u])):a[p]=u)}}}}}},1857:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(3738),o=n(9862);function i(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),i=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(t){var a,s=t.name.value;i[s]||(i[s]=Object.create(null));for(var l=null!==(a=t.values)&&void 0!==a?a:[],c=i[s],u=0;u<l.length;u++){var p=l[u],d=p.name.value,f=n[s];(0,o.oF)(f)&&f.getValue(d)?e.reportError(new r.e('Enum value "'.concat(s,".").concat(d,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[d]?e.reportError(new r.e('Enum value "'.concat(s,".").concat(d,'" can only be defined once.'),[c[d],p.name])):c[d]=p.name}return!1}}},2798:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});var r=n(3738),o=n(9862);function i(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,s=t.name.value;o[s]||(o[s]=Object.create(null));for(var l=null!==(i=t.fields)&&void 0!==i?i:[],c=o[s],u=0;u<l.length;u++){var p=l[u],d=p.name.value;a(n[s],d)?e.reportError(new r.e('Field "'.concat(s,".").concat(d,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[d]?e.reportError(new r.e('Field "'.concat(s,".").concat(d,'" can only be defined once.'),[c[d],p.name])):c[d]=p.name}return!1}}function a(e,t){return!!((0,o.YQ)(e)||(0,o.kD)(e)||(0,o.qK)(e))&&null!=e.getFields()[t]}},4221:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var r=n(3738);function o(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var o=n.name.value;return t[o]?e.reportError(new r.e('There can be only one fragment named "'.concat(o,'".'),[t[o],n.name])):t[o]=n.name,!1}}}},2469:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var r=n(3738);function o(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){n=t.pop()}},ObjectField:function(t){var o=t.name.value;n[o]?e.reportError(new r.e('There can be only one input field named "'.concat(o,'".'),[n[o],t.name])):n[o]=t.name}}}},3418:(e,t,n)=>{"use strict";n.d(t,{H:()=>o});var r=n(3738);function o(e){var t=Object.create(null);return{OperationDefinition:function(n){var o=n.name;return o&&(t[o.value]?e.reportError(new r.e('There can be only one operation named "'.concat(o.value,'".'),[t[o.value],o])):t[o.value]=o),!1},FragmentDefinition:function(){return!1}}}},9333:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var r=n(3738);function o(e){var t=e.getSchema(),n=Object.create(null),o=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){for(var i,a=null!==(i=t.operationTypes)&&void 0!==i?i:[],s=0;s<a.length;s++){var l=a[s],c=l.operation,u=n[c];o[c]?e.reportError(new r.e("Type for ".concat(c," already defined in the schema. It cannot be redefined."),l)):u?e.reportError(new r.e("There can be only one ".concat(c," type in schema."),[u,l])):n[c]=l}return!1}}},3373:(e,t,n)=>{"use strict";n.d(t,{i:()=>o});var r=n(3738);function o(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:o,ObjectTypeDefinition:o,InterfaceTypeDefinition:o,UnionTypeDefinition:o,EnumTypeDefinition:o,InputObjectTypeDefinition:o};function o(o){var i=o.name.value;if(null===n||void 0===n||!n.getType(i))return t[i]?e.reportError(new r.e('There can be only one type named "'.concat(i,'".'),[t[i],o.name])):t[i]=o.name,!1;e.reportError(new r.e('Type "'.concat(i,'" already exists in the schema. It cannot also be defined in this type definition.'),o.name))}}},9797:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var r=n(3738);function o(e){var t=Object.create(null);return{OperationDefinition:function(){t=Object.create(null)},VariableDefinition:function(n){var o=n.variable.name.value;t[o]?e.reportError(new r.e('There can be only one variable named "$'.concat(o,'".'),[t[o],n.variable.name])):t[o]=n.variable.name}}}},3895:(e,t,n)=>{"use strict";n.d(t,{U:()=>p});var r=n(3012),o=n(9226),i=n(4569),a=n(620),s=n(8631),l=n(3738),c=n(6559),u=n(9862);function p(e){return{ListValue:function(t){var n=(0,u.yl)(e.getParentInputType());if(!(0,u.Fs)(n))return d(e,t),!1},ObjectValue:function(t){var n=(0,u.MR)(e.getInputType());if(!(0,u.qK)(n))return d(e,t),!1;for(var a=(0,o.A)(t.fields,(function(e){return e.name.value})),s=0,c=(0,r.A)(n.getFields());s<c.length;s++){var p=c[s];if(!a[p.name]&&(0,u.YX)(p)){var f=(0,i.A)(p.type);e.reportError(new l.e('Field "'.concat(n.name,".").concat(p.name,'" of required type "').concat(f,'" was not provided.'),t))}}},ObjectField:function(t){var n=(0,u.MR)(e.getParentInputType());if(!e.getInputType()&&(0,u.qK)(n)){var r=(0,s.A)(t.name.value,Object.keys(n.getFields()));e.reportError(new l.e('Field "'.concat(t.name.value,'" is not defined by type "').concat(n.name,'".')+(0,a.A)(r),t))}},NullValue:function(t){var n=e.getInputType();(0,u.bd)(n)&&e.reportError(new l.e('Expected value of type "'.concat((0,i.A)(n),'", found ').concat((0,c.y)(t),"."),t))},EnumValue:function(t){return d(e,t)},IntValue:function(t){return d(e,t)},FloatValue:function(t){return d(e,t)},StringValue:function(t){return d(e,t)},BooleanValue:function(t){return d(e,t)}}}function d(e,t){var n=e.getInputType();if(n){var r=(0,u.MR)(n);if((0,u.zf)(r))try{if(void 0===r.parseLiteral(t,void 0)){var o=(0,i.A)(n);e.reportError(new l.e('Expected value of type "'.concat(o,'", found ').concat((0,c.y)(t),"."),t))}}catch(p){var a=(0,i.A)(n);p instanceof l.e?e.reportError(p):e.reportError(new l.e('Expected value of type "'.concat(a,'", found ').concat((0,c.y)(t),"; ")+p.message,t,void 0,void 0,void 0,p))}else{var s=(0,i.A)(n);e.reportError(new l.e('Expected value of type "'.concat(s,'", found ').concat((0,c.y)(t),"."),t))}}}},1194:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var r=n(3738),o=n(6559),i=n(9862),a=n(7429);function s(e){return{VariableDefinition:function(t){var n=(0,a.v)(e.getSchema(),t.type);if(n&&!(0,i.dX)(n)){var s=t.variable.name.value,l=(0,o.y)(t.type);e.reportError(new r.e('Variable "$'.concat(s,'" cannot be non-input type "').concat(l,'".'),t.type))}}}}},3325:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var r=n(4569),o=n(3738),i=n(9834),a=n(9862),s=n(7429),l=n(5442);function c(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){for(var i=e.getRecursiveVariableUsages(n),a=0;a<i.length;a++){var l=i[a],c=l.node,p=l.type,d=l.defaultValue,f=c.name.value,h=t[f];if(h&&p){var m=e.getSchema(),v=(0,s.v)(m,h.type);if(v&&!u(m,v,h.defaultValue,p,d)){var y=(0,r.A)(v),g=(0,r.A)(p);e.reportError(new o.e('Variable "$'.concat(f,'" of type "').concat(y,'" used in position expecting type "').concat(g,'".'),[h,c]))}}}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}function u(e,t,n,r,o){if((0,a.bd)(r)&&!(0,a.bd)(t)){if(!(null!=n&&n.kind!==i.b.NULL)&&!(void 0!==o))return!1;var s=r.ofType;return(0,l.sP)(e,t,s)}return(0,l.sP)(e,t,r)}},2649:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});var r=n(9189),o=n(3738),i=n(9862);function a(e){return{Field:function(t){var n=e.getFieldDef(),i=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=i){var a=e.getParentType();null!=a||(0,r.A)(0),e.reportError(new o.e("The field ".concat(a.name,".").concat(n.name," is deprecated. ").concat(i),t))}},Argument:function(t){var n=e.getArgument(),i=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=i){var a=e.getDirective();if(null!=a)e.reportError(new o.e('Directive "@'.concat(a.name,'" argument "').concat(n.name,'" is deprecated. ').concat(i),t));else{var s=e.getParentType(),l=e.getFieldDef();null!=s&&null!=l||(0,r.A)(0),e.reportError(new o.e('Field "'.concat(s.name,".").concat(l.name,'" argument "').concat(n.name,'" is deprecated. ').concat(i),t))}}},ObjectField:function(t){var n=(0,i.MR)(e.getParentInputType());if((0,i.qK)(n)){var r=n.getFields()[t.name.value],a=null===r||void 0===r?void 0:r.deprecationReason;null!=a&&e.reportError(new o.e("The input field ".concat(n.name,".").concat(r.name," is deprecated. ").concat(a),t))}},EnumValue:function(t){var n=e.getEnumValue(),a=null===n||void 0===n?void 0:n.deprecationReason;if(n&&null!=a){var s=(0,i.MR)(e.getInputType());null!=s||(0,r.A)(0),e.reportError(new o.e('The enum value "'.concat(s.name,".").concat(n.name,'" is deprecated. ').concat(a),t))}}}}},2011:(e,t,n)=>{"use strict";n.d(t,{H:()=>M,g:()=>L});var r=n(9244),o=n(3418),i=n(7176),a=n(6956),s=n(1057),l=n(8986),c=n(1194),u=n(333),p=n(9276),d=n(4221),f=n(881),h=n(8368),m=n(2041),v=n(330),y=n(9797),g=n(3236),b=n(9580),E=n(8157),_=n(2075),T=n(5902),k=n(5802),w=n(3895),S=n(2700),A=n(3325),N=n(4665),C=n(2469),O=n(4),I=n(9333),D=n(3373),x=n(1857),R=n(2798),F=n(9134),P=n(9173),L=Object.freeze([r.T,o.H,i.P,a.R,s.y,l.T,c.J,u.A,p.Z,d.K,f.K,h.z,m.y,v.n,y._,g.Z,b.p,E.e,_.U,T.P,k.J,w.U,S.X,A.E,N.K,C.C]),M=Object.freeze([O.l,I.u,D.i,x.g,R.X,F.Z,s.y,E.e,_.U,P.S,T.W,k.J,C.C,S.A])},8910:(e,t,n)=>{"use strict";n.d(t,{$T:()=>f,tf:()=>u,uq:()=>d});var r=n(7590),o=n(3738),i=n(1977),a=n(5857),s=n(7279),l=n(2011),c=n(3450);function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.g,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:new s.D(e),p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{maxErrors:void 0};t||(0,r.A)(0,"Must provide document."),(0,a.Y)(e);var d=Object.freeze({}),f=[],h=new c.dY(e,t,u,(function(e){if(null!=p.maxErrors&&f.length>=p.maxErrors)throw f.push(new o.e("Too many validation errors, error limit reached. Validation aborted.")),d;f.push(e)})),m=(0,i.oP)(n.map((function(e){return e(h)})));try{(0,i.YR)(t,(0,s.S)(u,m))}catch(v){if(v!==d)throw v}return f}function p(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.H,r=[],o=new c.ot(e,t,(function(e){r.push(e)})),a=n.map((function(e){return e(o)}));return(0,i.YR)(e,(0,i.oP)(a)),r}function d(e){var t=p(e);if(0!==t.length)throw new Error(t.map((function(e){return e.message})).join("\n\n"))}function f(e,t){var n=p(e,t);if(0!==n.length)throw new Error(n.map((function(e){return e.message})).join("\n\n"))}},5092:e=>{"use strict";e.exports=JSON.parse('{"Aacute":"\xc1","aacute":"\xe1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223e","acd":"\u223f","acE":"\u223e\u0333","Acirc":"\xc2","acirc":"\xe2","acute":"\xb4","Acy":"\u0410","acy":"\u0430","AElig":"\xc6","aelig":"\xe6","af":"\u2061","Afr":"\ud835\udd04","afr":"\ud835\udd1e","Agrave":"\xc0","agrave":"\xe0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03b1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2a3f","amp":"&","AMP":"&","andand":"\u2a55","And":"\u2a53","and":"\u2227","andd":"\u2a5c","andslope":"\u2a58","andv":"\u2a5a","ang":"\u2220","ange":"\u29a4","angle":"\u2220","angmsdaa":"\u29a8","angmsdab":"\u29a9","angmsdac":"\u29aa","angmsdad":"\u29ab","angmsdae":"\u29ac","angmsdaf":"\u29ad","angmsdag":"\u29ae","angmsdah":"\u29af","angmsd":"\u2221","angrt":"\u221f","angrtvb":"\u22be","angrtvbd":"\u299d","angsph":"\u2222","angst":"\xc5","angzarr":"\u237c","Aogon":"\u0104","aogon":"\u0105","Aopf":"\ud835\udd38","aopf":"\ud835\udd52","apacir":"\u2a6f","ap":"\u2248","apE":"\u2a70","ape":"\u224a","apid":"\u224b","apos":"\'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224a","Aring":"\xc5","aring":"\xe5","Ascr":"\ud835\udc9c","ascr":"\ud835\udcb6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224d","Atilde":"\xc3","atilde":"\xe3","Auml":"\xc4","auml":"\xe4","awconint":"\u2233","awint":"\u2a11","backcong":"\u224c","backepsilon":"\u03f6","backprime":"\u2035","backsim":"\u223d","backsimeq":"\u22cd","Backslash":"\u2216","Barv":"\u2ae7","barvee":"\u22bd","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23b5","bbrktbrk":"\u23b6","bcong":"\u224c","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201e","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29b0","bepsi":"\u03f6","bernou":"\u212c","Bernoullis":"\u212c","Beta":"\u0392","beta":"\u03b2","beth":"\u2136","between":"\u226c","Bfr":"\ud835\udd05","bfr":"\ud835\udd1f","bigcap":"\u22c2","bigcirc":"\u25ef","bigcup":"\u22c3","bigodot":"\u2a00","bigoplus":"\u2a01","bigotimes":"\u2a02","bigsqcup":"\u2a06","bigstar":"\u2605","bigtriangledown":"\u25bd","bigtriangleup":"\u25b3","biguplus":"\u2a04","bigvee":"\u22c1","bigwedge":"\u22c0","bkarow":"\u290d","blacklozenge":"\u29eb","blacksquare":"\u25aa","blacktriangle":"\u25b4","blacktriangledown":"\u25be","blacktriangleleft":"\u25c2","blacktriangleright":"\u25b8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20e5","bnequiv":"\u2261\u20e5","bNot":"\u2aed","bnot":"\u2310","Bopf":"\ud835\udd39","bopf":"\ud835\udd53","bot":"\u22a5","bottom":"\u22a5","bowtie":"\u22c8","boxbox":"\u29c9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250c","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252c","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229f","boxplus":"\u229e","boxtimes":"\u22a0","boxul":"\u2518","boxuL":"\u255b","boxUl":"\u255c","boxUL":"\u255d","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255a","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253c","boxvH":"\u256a","boxVh":"\u256b","boxVH":"\u256c","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251c","boxvR":"\u255e","boxVr":"\u255f","boxVR":"\u2560","bprime":"\u2035","breve":"\u02d8","Breve":"\u02d8","brvbar":"\xa6","bscr":"\ud835\udcb7","Bscr":"\u212c","bsemi":"\u204f","bsim":"\u223d","bsime":"\u22cd","bsolb":"\u29c5","bsol":"\\\\","bsolhsub":"\u27c8","bull":"\u2022","bullet":"\u2022","bump":"\u224e","bumpE":"\u2aae","bumpe":"\u224f","Bumpeq":"\u224e","bumpeq":"\u224f","Cacute":"\u0106","cacute":"\u0107","capand":"\u2a44","capbrcup":"\u2a49","capcap":"\u2a4b","cap":"\u2229","Cap":"\u22d2","capcup":"\u2a47","capdot":"\u2a40","CapitalDifferentialD":"\u2145","caps":"\u2229\ufe00","caret":"\u2041","caron":"\u02c7","Cayleys":"\u212d","ccaps":"\u2a4d","Ccaron":"\u010c","ccaron":"\u010d","Ccedil":"\xc7","ccedil":"\xe7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2a4c","ccupssm":"\u2a50","Cdot":"\u010a","cdot":"\u010b","cedil":"\xb8","Cedilla":"\xb8","cemptyv":"\u29b2","cent":"\xa2","centerdot":"\xb7","CenterDot":"\xb7","cfr":"\ud835\udd20","Cfr":"\u212d","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03a7","chi":"\u03c7","circ":"\u02c6","circeq":"\u2257","circlearrowleft":"\u21ba","circlearrowright":"\u21bb","circledast":"\u229b","circledcirc":"\u229a","circleddash":"\u229d","CircleDot":"\u2299","circledR":"\xae","circledS":"\u24c8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25cb","cirE":"\u29c3","cire":"\u2257","cirfnint":"\u2a10","cirmid":"\u2aef","cirscir":"\u29c2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201d","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2a74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2a6d","Congruent":"\u2261","conint":"\u222e","Conint":"\u222f","ContourIntegral":"\u222e","copf":"\ud835\udd54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\xa9","COPY":"\xa9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21b5","cross":"\u2717","Cross":"\u2a2f","Cscr":"\ud835\udc9e","cscr":"\ud835\udcb8","csub":"\u2acf","csube":"\u2ad1","csup":"\u2ad0","csupe":"\u2ad2","ctdot":"\u22ef","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22de","cuesc":"\u22df","cularr":"\u21b6","cularrp":"\u293d","cupbrcap":"\u2a48","cupcap":"\u2a46","CupCap":"\u224d","cup":"\u222a","Cup":"\u22d3","cupcup":"\u2a4a","cupdot":"\u228d","cupor":"\u2a45","cups":"\u222a\ufe00","curarr":"\u21b7","curarrm":"\u293c","curlyeqprec":"\u22de","curlyeqsucc":"\u22df","curlyvee":"\u22ce","curlywedge":"\u22cf","curren":"\xa4","curvearrowleft":"\u21b6","curvearrowright":"\u21b7","cuvee":"\u22ce","cuwed":"\u22cf","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232d","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21a1","dArr":"\u21d3","dash":"\u2010","Dashv":"\u2ae4","dashv":"\u22a3","dbkarow":"\u290f","dblac":"\u02dd","Dcaron":"\u010e","dcaron":"\u010f","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21ca","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2a77","deg":"\xb0","Del":"\u2207","Delta":"\u0394","delta":"\u03b4","demptyv":"\u29b1","dfisht":"\u297f","Dfr":"\ud835\udd07","dfr":"\ud835\udd21","dHar":"\u2965","dharl":"\u21c3","dharr":"\u21c2","DiacriticalAcute":"\xb4","DiacriticalDot":"\u02d9","DiacriticalDoubleAcute":"\u02dd","DiacriticalGrave":"`","DiacriticalTilde":"\u02dc","diam":"\u22c4","diamond":"\u22c4","Diamond":"\u22c4","diamondsuit":"\u2666","diams":"\u2666","die":"\xa8","DifferentialD":"\u2146","digamma":"\u03dd","disin":"\u22f2","div":"\xf7","divide":"\xf7","divideontimes":"\u22c7","divonx":"\u22c7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231e","dlcrop":"\u230d","dollar":"$","Dopf":"\ud835\udd3b","dopf":"\ud835\udd55","Dot":"\xa8","dot":"\u02d9","DotDot":"\u20dc","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22a1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222f","DoubleDot":"\xa8","DoubleDownArrow":"\u21d3","DoubleLeftArrow":"\u21d0","DoubleLeftRightArrow":"\u21d4","DoubleLeftTee":"\u2ae4","DoubleLongLeftArrow":"\u27f8","DoubleLongLeftRightArrow":"\u27fa","DoubleLongRightArrow":"\u27f9","DoubleRightArrow":"\u21d2","DoubleRightTee":"\u22a8","DoubleUpArrow":"\u21d1","DoubleUpDownArrow":"\u21d5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21d3","DownArrowUpArrow":"\u21f5","DownBreve":"\u0311","downdownarrows":"\u21ca","downharpoonleft":"\u21c3","downharpoonright":"\u21c2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295e","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21bd","DownRightTeeVector":"\u295f","DownRightVectorBar":"\u2957","DownRightVector":"\u21c1","DownTeeArrow":"\u21a7","DownTee":"\u22a4","drbkarow":"\u2910","drcorn":"\u231f","drcrop":"\u230c","Dscr":"\ud835\udc9f","dscr":"\ud835\udcb9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29f6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22f1","dtri":"\u25bf","dtrif":"\u25be","duarr":"\u21f5","duhar":"\u296f","dwangle":"\u29a6","DZcy":"\u040f","dzcy":"\u045f","dzigrarr":"\u27ff","Eacute":"\xc9","eacute":"\xe9","easter":"\u2a6e","Ecaron":"\u011a","ecaron":"\u011b","Ecirc":"\xca","ecirc":"\xea","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042d","ecy":"\u044d","eDDot":"\u2a77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\ud835\udd08","efr":"\ud835\udd22","eg":"\u2a9a","Egrave":"\xc8","egrave":"\xe8","egs":"\u2a96","egsdot":"\u2a98","el":"\u2a99","Element":"\u2208","elinters":"\u23e7","ell":"\u2113","els":"\u2a95","elsdot":"\u2a97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25fb","emptyv":"\u2205","EmptyVerySmallSquare":"\u25ab","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014a","eng":"\u014b","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\ud835\udd3c","eopf":"\ud835\udd56","epar":"\u22d5","eparsl":"\u29e3","eplus":"\u2a71","epsi":"\u03b5","Epsilon":"\u0395","epsilon":"\u03b5","epsiv":"\u03f5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2a96","eqslantless":"\u2a95","Equal":"\u2a75","equals":"=","EqualTilde":"\u2242","equest":"\u225f","Equilibrium":"\u21cc","equiv":"\u2261","equivDD":"\u2a78","eqvparsl":"\u29e5","erarr":"\u2971","erDot":"\u2253","escr":"\u212f","Escr":"\u2130","esdot":"\u2250","Esim":"\u2a73","esim":"\u2242","Eta":"\u0397","eta":"\u03b7","ETH":"\xd0","eth":"\xf0","Euml":"\xcb","euml":"\xeb","euro":"\u20ac","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\ufb03","fflig":"\ufb00","ffllig":"\ufb04","Ffr":"\ud835\udd09","ffr":"\ud835\udd23","filig":"\ufb01","FilledSmallSquare":"\u25fc","FilledVerySmallSquare":"\u25aa","fjlig":"fj","flat":"\u266d","fllig":"\ufb02","fltns":"\u25b1","fnof":"\u0192","Fopf":"\ud835\udd3d","fopf":"\ud835\udd57","forall":"\u2200","ForAll":"\u2200","fork":"\u22d4","forkv":"\u2ad9","Fouriertrf":"\u2131","fpartint":"\u2a0d","frac12":"\xbd","frac13":"\u2153","frac14":"\xbc","frac15":"\u2155","frac16":"\u2159","frac18":"\u215b","frac23":"\u2154","frac25":"\u2156","frac34":"\xbe","frac35":"\u2157","frac38":"\u215c","frac45":"\u2158","frac56":"\u215a","frac58":"\u215d","frac78":"\u215e","frasl":"\u2044","frown":"\u2322","fscr":"\ud835\udcbb","Fscr":"\u2131","gacute":"\u01f5","Gamma":"\u0393","gamma":"\u03b3","Gammad":"\u03dc","gammad":"\u03dd","gap":"\u2a86","Gbreve":"\u011e","gbreve":"\u011f","Gcedil":"\u0122","Gcirc":"\u011c","gcirc":"\u011d","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2a8c","gel":"\u22db","geq":"\u2265","geqq":"\u2267","geqslant":"\u2a7e","gescc":"\u2aa9","ges":"\u2a7e","gesdot":"\u2a80","gesdoto":"\u2a82","gesdotol":"\u2a84","gesl":"\u22db\ufe00","gesles":"\u2a94","Gfr":"\ud835\udd0a","gfr":"\ud835\udd24","gg":"\u226b","Gg":"\u22d9","ggg":"\u22d9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2aa5","gl":"\u2277","glE":"\u2a92","glj":"\u2aa4","gnap":"\u2a8a","gnapprox":"\u2a8a","gne":"\u2a88","gnE":"\u2269","gneq":"\u2a88","gneqq":"\u2269","gnsim":"\u22e7","Gopf":"\ud835\udd3e","gopf":"\ud835\udd58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22db","GreaterFullEqual":"\u2267","GreaterGreater":"\u2aa2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2a7e","GreaterTilde":"\u2273","Gscr":"\ud835\udca2","gscr":"\u210a","gsim":"\u2273","gsime":"\u2a8e","gsiml":"\u2a90","gtcc":"\u2aa7","gtcir":"\u2a7a","gt":">","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.m=e,n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},(()=>{var e,t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__;n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var i=Object.create(null);n.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&o&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,n.d(i,a),i}})(),n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((t,r)=>(n.f[r](e,t),t)),[])),n.u=e=>"static/js/"+e+"."+{35:"c1aa0a94",148:"cbb0e54d",163:"10999062",175:"c6c4c338",194:"ffa9555b",269:"a08f2bb0",337:"d5f9c97a",360:"2efc3345",368:"397d41a5",419:"e59a2b68",438:"f4019915",464:"0ba33b13",510:"a89e05e4",511:"b4ebb669",534:"7cc1de67",593:"9631c599",674:"cd2d4f31",683:"f480e2d8",762:"6c65c9f2",819:"2d0ad341",820:"851db2b5",828:"dc0f7415",835:"3b0d1928",923:"cf46149b",953:"fbee4a49"}[e]+".chunk.js",n.miniCssF=e=>{},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="@aws-amplify/amplify-graphiql-explorer:";n.l=(r,o,i,a)=>{if(e[r])e[r].push(o);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+i){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",t+i),s.src=r),e[r]=[o];var d=(t,n)=>{s.onerror=s.onload=null,clearTimeout(f);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}}})(),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="/",(()=>{var e={792:0};n.f.j=(t,r)=>{var o=n.o(e,t)?e[t]:void 0;if(0!==o)if(o)r.push(o[2]);else{var i=new Promise(((n,r)=>o=e[t]=[n,r]));r.push(o[2]=i);var a=n.p+n.u(t),s=new Error;n.l(a,(r=>{if(n.o(e,t)&&(0!==(o=e[t])&&(e[t]=void 0),o)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,o[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var o,i,a=r[0],s=r[1],l=r[2],c=0;if(a.some((t=>0!==e[t]))){for(o in s)n.o(s,o)&&(n.m[o]=s[o]);if(l)l(n)}for(t&&t(r);c<a.length;c++)i=a[c],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunk_aws_amplify_amplify_graphiql_explorer=self.webpackChunk_aws_amplify_amplify_graphiql_explorer||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";var e=n(2176),t=n(3989),r=n(6559),o=n(1892),i=n(1250),a=n(6469),s=n(1977),l=n(3793),c=n.n(l),u=n(4817),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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),d=function(t){function n(e){var n=t.call(this,e)||this;return n._onClick=function(){n.props.isRunning?n.props.onStop():n.props.onRun()},n._onOptionSelected=function(e){n.setState({optionsOpen:!1}),n.props.onRun(e.name&&e.name.value)},n._onOptionsOpen=function(e){var t=!0,r=e.currentTarget;n.setState({highlight:null,optionsOpen:!0});var o=function(e){var i;t&&e.target===r?t=!1:(document.removeEventListener("mouseup",o),o=null,e.currentTarget&&(null===(i=r.parentNode)||void 0===i?void 0:i.compareDocumentPosition(e.currentTarget))&&Node.DOCUMENT_POSITION_CONTAINED_BY||n.setState({optionsOpen:!1}))};document.addEventListener("mouseup",o)},n.state={optionsOpen:!1,highlight:null},n}return p(n,t),n.prototype.render=function(){var t,n=this,r=this.props.operations||[],o=this.state.optionsOpen,i=r&&r.length>1,a=null;if(i&&o){var s=this.state.highlight;a=e.createElement("ul",{className:"execute-options"},r.map((function(t,r){var o=t.name?t.name.value:"<Unnamed "+t.operation+">";return e.createElement("li",{key:o+"-"+r,className:t===s?"selected":void 0,onMouseOver:function(){return n.setState({highlight:t})},onMouseOut:function(){return n.setState({highlight:null})},onMouseUp:function(){return n._onOptionSelected(t)}},o)})))}!this.props.isRunning&&i||(t=this._onClick);var l=function(){};this.props.isRunning||!i||o||(l=this._onOptionsOpen);var c=this.props.isRunning?e.createElement("path",{d:"M 10 10 L 23 10 L 23 23 L 10 23 z"}):e.createElement("path",{d:"M 11 9 L 24 16 L 11 23 z"});return e.createElement("div",{className:"execute-button-wrap"},e.createElement("button",{type:"button",className:"execute-button",onMouseDown:l,onClick:t,title:"Execute Query (Ctrl-Enter)"},e.createElement("svg",{width:"34",height:"34"},c)),a)},n}(e.Component),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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function h(e){if("string"===e.type){var t=e.string.slice(1).slice(0,-1).trim();try{var n=window.location;return new URL(t,n.protocol+"//"+n.host)}catch(r){return}}}var m=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._node=null,e.state={width:null,height:null,src:null,mime:null},e}return f(n,t),n.shouldRender=function(e){var t=h(e);return!!t&&function(e){return/(bmp|gif|jpeg|jpg|png|svg)$/.test(e.pathname)}(t)},n.prototype.componentDidMount=function(){this._updateMetadata()},n.prototype.componentDidUpdate=function(){this._updateMetadata()},n.prototype.render=function(){var t,n=this,r=null;if(null!==this.state.width&&null!==this.state.height){var o=this.state.width+"x"+this.state.height;null!==this.state.mime&&(o+=" "+this.state.mime),r=e.createElement("div",null,o)}return e.createElement("div",null,e.createElement("img",{onLoad:function(){return n._updateMetadata()},ref:function(e){n._node=e},src:null===(t=h(this.props.token))||void 0===t?void 0:t.href}),r)},n.prototype._updateMetadata=function(){var e=this;if(this._node){var t=this._node.naturalWidth,n=this._node.naturalHeight,r=this._node.src;r!==this.state.src&&(this.setState({src:r}),fetch(r,{method:"HEAD"}).then((function(t){e.setState({mime:t.headers.get("Content-Type")})}))),t===this.state.width&&n===this.state.height||this.setState({height:n,width:t})}},n}(e.Component),v=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),y=function(t){function n(e){var n=t.call(this,e)||this;return n.handleClick=function(){try{n.props.onClick(),n.setState({error:null})}catch(e){n.setState({error:e})}},n.state={error:null},n}return v(n,t),n.prototype.render=function(){var t=this.state.error;return e.createElement("button",{className:"toolbar-button"+(t?" error":""),onClick:this.handleClick,title:t?t.message:this.props.title,"aria-invalid":t?"true":"false"},this.props.label)},n}(e.Component);function g(t){var n=t.children;return e.createElement("div",{className:"toolbar-button-group"},n)}var b=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),E=function(t){function n(e){var n=t.call(this,e)||this;return n._node=null,n._listener=null,n.handleOpen=function(e){T(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}return b(n,t),n.prototype.componentWillUnmount=function(){this._release()},n.prototype.render=function(){var t=this,n=this.state.visible;return e.createElement("a",{className:"toolbar-menu toolbar-button",onClick:this.handleOpen.bind(this),onMouseDown:T,ref:function(e){e&&(t._node=e)},title:this.props.title},this.props.label,e.createElement("svg",{width:"14",height:"8"},e.createElement("path",{fill:"#666",d:"M 5 1.5 L 14 1.5 L 9.5 7 z"})),e.createElement("ul",{className:"toolbar-menu-items"+(n?" open":"")},this.props.children))},n.prototype._subscribe=function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener("click",this._listener))},n.prototype._release=function(){this._listener&&(document.removeEventListener("click",this._listener),this._listener=null)},n.prototype.handleClick=function(e){this._node!==e.target&&(e.preventDefault(),this.setState({visible:!1}),this._release())},n}(e.Component),_=function(t){var n=t.onSelect,r=t.title,o=t.label;return e.createElement("li",{onMouseOver:function(e){e.currentTarget.className="hover"},onMouseOut:function(e){e.currentTarget.className=""},onMouseDown:T,onMouseUp:n,title:r},o)};function T(e){e.preventDefault()}var k=n(2198),w=n.n(k),S=Array.from({length:11},(function(e,t){return String.fromCharCode(8192+t)})).concat(["\u2028","\u2029","\u202f","\xa0"]),A=new RegExp("["+S.join("")+"]","g");function N(e){return e.replace(A," ")}var C=n(9862),O=n(7736),I=n.n(O),D=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},x=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},R=[Promise.all([n.e(953),n.e(683)]).then(n.t.bind(n,9683,23)),Promise.all([n.e(953),n.e(511)]).then(n.t.bind(n,4511,23)),Promise.all([n.e(953),n.e(510)]).then(n.t.bind(n,3510,23)),Promise.all([n.e(953),n.e(175)]).then(n.t.bind(n,9175,23)),Promise.all([n.e(953),n.e(438)]).then(n.t.bind(n,9438,23)),Promise.all([n.e(953),n.e(269)]).then(n.t.bind(n,1269,23)),Promise.all([n.e(953),n.e(593)]).then(n.t.bind(n,4593,23)),Promise.all([n.e(953),n.e(360)]).then(n.t.bind(n,3360,23)),Promise.all([n.e(953),n.e(819)]).then(n.t.bind(n,1819,23)),Promise.all([n.e(953),n.e(828)]).then(n.t.bind(n,6828,23))];function F(e,t){return D(this,void 0,void 0,(function(){var r,o;return x(this,(function(i){switch(i.label){case 0:return[4,n.e(953).then(n.t.bind(n,1953,23)).then((function(e){return"function"===typeof e?e:e.default}))];case 1:return r=i.sent(),o=!1===(null===t||void 0===t?void 0:t.useCommonAddons)?e:R.concat(e),[4,Promise.all(o.map((function(e){return e})))];case 2:return i.sent(),[2,r]}}))}))}var P,L=new(w());function M(e,t,n){F([],{useCommonAddons:!1}).then((function(e){var r,o;e.on(t,"select",(function(e,t){if(!r){var i,a=t.parentNode;(r=document.createElement("div")).className="CodeMirror-hint-information",a.appendChild(r),(o=document.createElement("div")).className="CodeMirror-hint-deprecation",a.appendChild(o),a.addEventListener("DOMNodeRemoved",i=function(e){e.target===a&&(a.removeEventListener("DOMNodeRemoved",i),r=null,o=null,i=null)})}var s=e.description?L.render(e.description):"Self descriptive.",l=e.type?'<span class="infoType">'+j(e.type)+"</span>":"";if(r.innerHTML='<div class="content">'+("<p>"===s.slice(0,3)?"<p>"+l+s.slice(3):l+s)+"</div>",e&&o&&e.deprecationReason){var c=e.deprecationReason?L.render(e.deprecationReason):"";o.innerHTML='<span class="deprecation-label">Deprecated</span>'+c,o.style.display="block"}else o&&(o.style.display="none");n&&n(r)}))}))}function j(e){return e instanceof C.Gc?j(e.ofType)+"!":e instanceof C.KT?"["+j(e.ofType)+"]":'<a class="typeName">'+I()(e.name)+"</a>"}var V=!1;"object"===typeof window&&(V="MacIntel"===window.navigator.platform);const U=((P={})[V?"Cmd-F":"Ctrl-F"]="findPersistent",P["Cmd-G"]="findPersistent",P["Ctrl-G"]="findPersistent",P["Ctrl-Left"]="goSubwordLeft",P["Ctrl-Right"]="goSubwordRight",P["Alt-Left"]="goGroupLeft",P["Alt-Right"]="goGroupRight",P);var q=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),z=function(){return z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},z.apply(this,arguments)},B=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},H=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Y=new(w()),G=/^[a-zA-Z0-9_@(]$/,Q=function(t){function r(e){var r=t.call(this,e)||this;return r.editor=null,r.ignoreChangeEvent=!1,r._node=null,r.addonModules=function(){return[Promise.all([n.e(953),n.e(337)]).then(n.t.bind(n,337,23)),Promise.all([n.e(953),n.e(35)]).then(n.t.bind(n,5035,23)),Promise.all([n.e(953),n.e(762)]).then(n.t.bind(n,2762,23)),Promise.all([n.e(953),n.e(534)]).then(n.t.bind(n,9534,23)),Promise.all([n.e(953),n.e(835)]).then(n.t.bind(n,8835,23)),Promise.all([n.e(953),n.e(923)]).then(n.t.bind(n,923,23)),Promise.all([n.e(953),n.e(368)]).then(n.t.bind(n,5987,23))]},r._onKeyUp=function(e,t){G.test(t.key)&&r.editor&&r.editor.execCommand("autocomplete")},r._onEdit=function(){!r.ignoreChangeEvent&&r.editor&&(r.cachedValue=r.editor.getValue(),r.props.onEdit&&r.props.onEdit(r.cachedValue))},r._onHasCompletion=function(e,t){M(0,t,r.props.onHintInformationRender)},r.cachedValue=e.value||"",r}return q(r,t),r.prototype.componentDidMount=function(){var e=this;this.initializeEditor().then((function(t){t&&(t.on("change",e._onEdit),t.on("keyup",e._onKeyUp),t.on("hasCompletion",e._onHasCompletion),t.on("beforeChange",e._onBeforeChange))})).catch(console.error)},r.prototype.componentDidUpdate=function(e){this.ignoreChangeEvent=!0;var t=!1;this.props.schema!==e.schema&&this.editor&&(this.editor.options.lint.schema=this.props.schema,this.editor.options.hintOptions.schema=this.props.schema,this.editor.options.info.schema=this.props.schema,this.editor.options.jump.schema=this.props.schema,t=!0),this.props.externalFragments!==e.externalFragments&&this.editor&&(this.editor.options.lint.externalFragments=this.props.externalFragments,this.editor.options.hintOptions.externalFragments=this.props.externalFragments,t=!0),t&&this.CodeMirror.signal(this.editor,"change",this.editor),this.props.value!==e.value&&this.props.value!==this.cachedValue&&this.editor&&(this.cachedValue=this.props.value,this.editor.setValue(this.props.value)),this.ignoreChangeEvent=!1},r.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion))},r.prototype.render=function(){var t=this;return e.createElement("section",{className:"query-editor","aria-label":"Query Editor",ref:function(e){t._node=e}})},r.prototype.initializeEditor=function(){var e,t,n,r;return B(this,void 0,void 0,(function(){var o,i,a,s=this;return H(this,(function(l){switch(l.label){case 0:return i=this,[4,F(this.addonModules())];case 1:return o=i.CodeMirror=l.sent(),[2,a=this.editor=o(this._node,{value:null!==(e=this.props.value)&&void 0!==e?e:"",lineNumbers:!0,tabSize:2,foldGutter:{minFoldSize:4},mode:"graphql",theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",lint:{schema:this.props.schema,validationRules:null!==(t=this.props.validationRules)&&void 0!==t?t:null,externalFragments:null===(n=this.props)||void 0===n?void 0:n.externalFragments},hintOptions:{schema:this.props.schema,closeOnUnfocus:!1,completeSingle:!1,container:this._node,externalFragments:null===(r=this.props)||void 0===r?void 0:r.externalFragments},info:{schema:this.props.schema,renderDescription:function(e){return Y.render(e)},onClick:function(e){return s.props.onClickReference&&s.props.onClickReference(e)}},jump:{schema:this.props.schema,onClick:function(e){return s.props.onClickReference&&s.props.onClickReference(e)}},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:z(z({"Cmd-Space":function(){return a.showHint({completeSingle:!0,container:s._node})},"Ctrl-Space":function(){return a.showHint({completeSingle:!0,container:s._node})},"Alt-Space":function(){return a.showHint({completeSingle:!0,container:s._node})},"Shift-Space":function(){return a.showHint({completeSingle:!0,container:s._node})},"Shift-Alt-Space":function(){return a.showHint({completeSingle:!0,container:s._node})},"Cmd-Enter":function(){s.props.onRunQuery&&s.props.onRunQuery()},"Ctrl-Enter":function(){s.props.onRunQuery&&s.props.onRunQuery()},"Shift-Ctrl-C":function(){s.props.onCopyQuery&&s.props.onCopyQuery()},"Shift-Ctrl-P":function(){s.props.onPrettifyQuery&&s.props.onPrettifyQuery()},"Shift-Ctrl-F":function(){s.props.onPrettifyQuery&&s.props.onPrettifyQuery()},"Shift-Ctrl-M":function(){s.props.onMergeQuery&&s.props.onMergeQuery()}},U),{"Cmd-S":function(){s.props.onRunQuery},"Ctrl-S":function(){s.props.onRunQuery}})})]}}))}))},r.prototype.getCodeMirror=function(){return this.editor},r.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},r.prototype._onBeforeChange=function(e,t){if("paste"===t.origin){var n=t.text.map(N);t.update(t.from,t.to,n)}},r}(e.Component),K=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),W=function(){return W=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},W.apply(this,arguments)},J=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},$=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},X=function(t){function r(e){var r=t.call(this,e)||this;return r.editor=null,r._node=null,r.ignoreChangeEvent=!1,r.addonModules=function(){return[Promise.all([n.e(953),n.e(820)]).then(n.t.bind(n,820,23)),Promise.all([n.e(953),n.e(464)]).then(n.t.bind(n,9464,23)),Promise.all([n.e(953),n.e(674)]).then(n.t.bind(n,3674,23))]},r._onKeyUp=function(e,t){var n=t.keyCode;r.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&r.editor.execCommand("autocomplete")},r._onEdit=function(){r.editor&&(r.ignoreChangeEvent||(r.cachedValue=r.editor.getValue(),r.props.onEdit&&r.props.onEdit(r.cachedValue)))},r._onHasCompletion=function(e,t){M(0,t,r.props.onHintInformationRender)},r.cachedValue=e.value||"",r}return K(r,t),r.prototype.componentDidMount=function(){var e=this;this.initializeEditor().then((function(t){t.on("change",e._onEdit),t.on("keyup",e._onKeyUp),t.on("hasCompletion",e._onHasCompletion)})).catch(console.error)},r.prototype.componentDidUpdate=function(e){if(this.editor&&this.CodeMirror){if(this.ignoreChangeEvent=!0,this.props.variableToType!==e.variableToType&&(this.editor.options.lint.variableToType=this.props.variableToType,this.editor.options.hintOptions.variableToType=this.props.variableToType,this.CodeMirror.signal(this.editor,"change",this.editor)),this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||"";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},r.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion),this.editor=null)},r.prototype.render=function(){var t=this;return e.createElement("div",{className:"codemirrorWrap",style:{position:this.props.active?"relative":"absolute",visibility:this.props.active?"visible":"hidden"},ref:function(e){t._node=e}})},r.prototype.initializeEditor=function(){return J(this,void 0,void 0,(function(){var e,t=this;return $(this,(function(n){switch(n.label){case 0:return e=this,[4,F(this.addonModules())];case 1:return e.CodeMirror=n.sent(),[2,this.editor=this.CodeMirror(this._node,{value:this.props.value||"",lineNumbers:!0,tabSize:2,mode:"graphql-variables",theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",foldGutter:{minFoldSize:4},lint:{variableToType:this.props.variableToType},hintOptions:{variableToType:this.props.variableToType,closeOnUnfocus:!1,completeSingle:!1,container:this._node},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:W({"Cmd-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Ctrl-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Alt-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Shift-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Cmd-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Ctrl-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Shift-Ctrl-P":function(){t.props.onPrettifyQuery&&t.props.onPrettifyQuery()},"Shift-Ctrl-M":function(){t.props.onMergeQuery&&t.props.onMergeQuery()}},U)})]}}))}))},r.prototype.getCodeMirror=function(){return this.editor},r.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},r}(e.Component),Z=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ee=function(){return ee=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ee.apply(this,arguments)},te=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ne=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},re=function(t){function r(e){var r=t.call(this,e)||this;return r.editor=null,r._node=null,r.ignoreChangeEvent=!1,r.addonModules=function(){return[Promise.all([n.e(953),n.e(148)]).then(n.t.bind(n,1148,23))]},r._onKeyUp=function(e,t){var n=t.keyCode;r.editor&&(n>=65&&n<=90||!t.shiftKey&&n>=48&&n<=57||t.shiftKey&&189===n||t.shiftKey&&222===n)&&r.editor.execCommand("autocomplete")},r._onEdit=function(){r.editor&&(r.ignoreChangeEvent||(r.cachedValue=r.editor.getValue(),r.props.onEdit&&r.props.onEdit(r.cachedValue)))},r._onHasCompletion=function(e,t){M(0,t,r.props.onHintInformationRender)},r.cachedValue=e.value||"",r}return Z(r,t),r.prototype.componentDidMount=function(){var e=this;this.initializeEditor().then((function(t){t.on("change",e._onEdit),t.on("keyup",e._onKeyUp),t.on("hasCompletion",e._onHasCompletion)})).catch(console.error)},r.prototype.componentDidUpdate=function(e){if(this.editor){if(this.ignoreChangeEvent=!0,this.props.value!==e.value&&this.props.value!==this.cachedValue){var t=this.props.value||"";this.cachedValue=t,this.editor.setValue(t)}this.ignoreChangeEvent=!1}},r.prototype.componentWillUnmount=function(){this.editor&&(this.editor.off("change",this._onEdit),this.editor.off("keyup",this._onKeyUp),this.editor.off("hasCompletion",this._onHasCompletion),this.editor=null)},r.prototype.render=function(){var t=this;return e.createElement("div",{className:"codemirrorWrap",style:{position:this.props.active?"relative":"absolute",visibility:this.props.active?"visible":"hidden"},ref:function(e){t._node=e}})},r.prototype.initializeEditor=function(){return te(this,void 0,void 0,(function(){var e,t=this;return ne(this,(function(n){switch(n.label){case 0:return e=this,[4,F(this.addonModules())];case 1:return e.CodeMirror=n.sent(),[2,this.editor=this.CodeMirror(this._node,{value:this.props.value||"",lineNumbers:!0,tabSize:2,mode:{name:"javascript",json:!0},theme:this.props.editorTheme||"graphiql",keyMap:"sublime",autoCloseBrackets:!0,matchBrackets:!0,showCursorWhenSelecting:!0,readOnly:!!this.props.readOnly&&"nocursor",foldGutter:{minFoldSize:4},gutters:["CodeMirror-linenumbers","CodeMirror-foldgutter"],extraKeys:ee({"Cmd-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Ctrl-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Alt-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Shift-Space":function(){return t.editor.showHint({completeSingle:!1,container:t._node})},"Cmd-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Ctrl-Enter":function(){t.props.onRunQuery&&t.props.onRunQuery()},"Shift-Ctrl-P":function(){t.props.onPrettifyQuery&&t.props.onPrettifyQuery()},"Shift-Ctrl-M":function(){t.props.onMergeQuery&&t.props.onMergeQuery()}},U)})]}}))}))},r.prototype.getCodeMirror=function(){return this.editor},r.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},r}(e.Component),oe=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ie=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},ae=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},se=function(r){function o(){var e=null!==r&&r.apply(this,arguments)||this;return e.viewer=null,e._node=null,e.allAddons=function(){return[Promise.all([n.e(953),n.e(438)]).then(n.t.bind(n,9438,23)),Promise.all([n.e(953),n.e(175)]).then(n.t.bind(n,9175,23)),Promise.all([n.e(953),n.e(819)]).then(n.t.bind(n,1819,23)),Promise.all([n.e(953),n.e(35)]).then(n.t.bind(n,5035,23)),Promise.all([n.e(953),n.e(593)]).then(n.t.bind(n,4593,23)),Promise.all([n.e(953),n.e(360)]).then(n.t.bind(n,3360,23)),Promise.all([n.e(953),n.e(828)]).then(n.t.bind(n,6828,23)),Promise.all([n.e(953),n.e(419)]).then(n.t.bind(n,6800,23))]},e}return oe(o,r),o.prototype.componentDidMount=function(){this.initializeEditor()},o.prototype.shouldComponentUpdate=function(e){return this.props.value!==e.value},o.prototype.componentDidUpdate=function(){this.viewer&&this.viewer.setValue(this.props.value||"")},o.prototype.componentWillUnmount=function(){this.viewer=null},o.prototype.render=function(){var t=this;return e.createElement("section",{className:"result-window","aria-label":"Result Window","aria-live":"polite","aria-atomic":"true",ref:function(e){e&&(t.props.registerRef(e),t._node=e)}})},o.prototype.initializeEditor=function(){return ie(this,void 0,void 0,(function(){var r,o,i,a;return ae(this,(function(s){switch(s.label){case 0:return[4,F(this.allAddons(),{useCommonAddons:!1})];case 1:return r=s.sent(),o=this.props.ResultsTooltip,i=this.props.ImagePreview,o||i?[4,Promise.all([n.e(953),n.e(194)]).then(n.t.bind(n,2194,23))]:[3,3];case 2:s.sent(),a=document.createElement("div"),r.registerHelper("info","graphql-results",(function(n,r,s,l){var c=[];return o&&c.push(e.createElement(o,{pos:l})),i&&"function"===typeof i.shouldRender&&i.shouldRender(n)&&c.push(e.createElement(i,{token:n})),c.length?(t.render(e.createElement("div",null,c),a),a):(t.unmountComponentAtNode(a),null)})),s.label=3;case 3:return this.viewer=r(this._node,{lineWrapping:!0,value:this.props.value||"",readOnly:!0,theme:this.props.editorTheme||"graphiql",mode:"graphql-results",keyMap:"sublime",foldGutter:{minFoldSize:4},gutters:["CodeMirror-foldgutter"],info:Boolean(this.props.ResultsTooltip||this.props.ImagePreview),extraKeys:U}),[2]}}))}))},o.prototype.getCodeMirror=function(){return this.viewer},o.prototype.getClientHeight=function(){return this._node&&this._node.clientHeight},o}(e.Component);function le(e){var t=e.onClick?e.onClick:function(){return null};return ce(e.type,t)}function ce(t,n){return t instanceof C.Gc?e.createElement("span",null,ce(t.ofType,n),"!"):t instanceof C.KT?e.createElement("span",null,"[",ce(t.ofType,n),"]"):e.createElement("a",{className:"type-name",onClick:function(e){e.preventDefault(),n(t,e)},href:"#"},null===t||void 0===t?void 0:t.name)}var ue=n(2024);function pe(t){var n,o=t.field;return"defaultValue"in o&&void 0!==o.defaultValue?e.createElement("span",null," = ",e.createElement("span",{className:"arg-default-value"},(n=(0,ue.K)(o.defaultValue,o.type))?(0,r.y)(n):"")):null}function de(t){var n=t.arg,r=t.onClickType,o=t.showDefaultValue;return e.createElement("span",{className:"arg"},e.createElement("span",{className:"arg-name"},n.name),": ",e.createElement(le,{type:n.type,onClick:r}),!1!==o&&e.createElement(pe,{field:n}))}function fe(t){var n=t.directive;return e.createElement("span",{className:"doc-category-item",id:n.name.value},"@",n.name.value)}var he=new(w())({breaks:!0,linkify:!0});function me(t){var n=t.markdown,r=t.className;return n?e.createElement("div",{className:r,dangerouslySetInnerHTML:{__html:he.render(n)}}):e.createElement("div",null)}var ve=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a};function ye(t){var n,r,o,i=t.field,a=t.onClickType,s=ve(e.useState(!1),2),l=s[0],c=s[1];if(i&&"args"in i&&i.args.length>0){n=e.createElement("div",{id:"doc-args",className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"arguments"),i.args.filter((function(e){return!e.deprecationReason})).map((function(t){return e.createElement("div",{key:t.name,className:"doc-category-item"},e.createElement("div",null,e.createElement(de,{arg:t,onClickType:a})),e.createElement(me,{className:"doc-value-description",markdown:t.description}),t&&"deprecationReason"in t&&e.createElement(me,{className:"doc-deprecation",markdown:null===t||void 0===t?void 0:t.deprecationReason}))})));var u=i.args.filter((function(e){return Boolean(e.deprecationReason)}));u.length>0&&(r=e.createElement("div",{id:"doc-deprecated-args",className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"deprecated arguments"),l?u.map((function(t,n){return e.createElement("div",{key:n},e.createElement("div",null,e.createElement(de,{arg:t,onClickType:a})),e.createElement(me,{className:"doc-value-description",markdown:t.description}),t&&"deprecationReason"in t&&e.createElement(me,{className:"doc-deprecation",markdown:null===t||void 0===t?void 0:t.deprecationReason}))})):e.createElement("button",{className:"show-btn",onClick:function(){return c(!l)}},"Show deprecated arguments...")))}return i&&i.astNode&&i.astNode.directives&&i.astNode.directives.length>0&&(o=e.createElement("div",{id:"doc-directives",className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"directives"),i.astNode.directives.map((function(t){return e.createElement("div",{key:t.name.value,className:"doc-category-item"},e.createElement("div",null,e.createElement(fe,{directive:t})))})))),e.createElement("div",null,e.createElement(me,{className:"doc-type-description",markdown:(null===i||void 0===i?void 0:i.description)||"No Description"}),i&&"deprecationReason"in i&&e.createElement(me,{className:"doc-deprecation",markdown:null===i||void 0===i?void 0:i.deprecationReason}),e.createElement("div",{className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"type"),e.createElement(le,{type:null===i||void 0===i?void 0:i.type,onClick:a})),n,o,r)}function ge(t){var n=t.schema,r=t.onClickType,o=n.getQueryType(),i=n.getMutationType&&n.getMutationType(),a=n.getSubscriptionType&&n.getSubscriptionType();return e.createElement("div",null,e.createElement(me,{className:"doc-type-description",markdown:n.description||"A GraphQL schema provides a root type for each kind of operation."}),e.createElement("div",{className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"root types"),e.createElement("div",{className:"doc-category-item"},e.createElement("span",{className:"keyword"},"query"),": ",e.createElement(le,{type:o,onClick:r})),i&&e.createElement("div",{className:"doc-category-item"},e.createElement("span",{className:"keyword"},"mutation"),": ",e.createElement(le,{type:i,onClick:r})),a&&e.createElement("div",{className:"doc-category-item"},e.createElement("span",{className:"keyword"},"subscription"),": ",e.createElement(le,{type:a,onClick:r}))))}function be(e,t){var n;return function(){for(var r=this,o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];n&&window.clearTimeout(n),n=window.setTimeout((function(){n=null,t.apply(r,o)}),e)}}var Ee=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();const _e=function(t){function n(e){var n=t.call(this,e)||this;return n.handleChange=function(e){var t=e.currentTarget.value;n.setState({value:t}),n.debouncedOnSearch(t)},n.handleClear=function(){n.setState({value:""}),n.props.onSearch("")},n.state={value:e.value||""},n.debouncedOnSearch=be(200,n.props.onSearch),n}return Ee(n,t),n.prototype.render=function(){return e.createElement("label",{className:"search-box"},e.createElement("div",{className:"search-box-icon","aria-hidden":"true"},"\u26b2"),e.createElement("input",{value:this.state.value,onChange:this.handleChange,type:"text",placeholder:this.props.placeholder,"aria-label":this.props.placeholder}),this.state.value&&e.createElement("button",{className:"search-box-clear",onClick:this.handleClear,"aria-label":"Clear search input"},"\u2715"))},n}(e.Component);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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ke=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},we=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return Te(n,t),n.prototype.shouldComponentUpdate=function(e){return this.props.schema!==e.schema||this.props.searchValue!==e.searchValue},n.prototype.render=function(){var t,n,r=this.props.searchValue,o=this.props.withinType,i=this.props.schema,a=this.props.onClickType,s=this.props.onClickField,l=[],c=[],u=[],p=i.getTypeMap(),d=Object.keys(p);o&&(d=d.filter((function(e){return e!==o.name}))).unshift(o.name);var f=function(t){if(l.length+c.length+u.length>=100)return"break";var n=p[t];if(o!==n&&Ae(t,r)&&c.push(e.createElement("div",{className:"doc-category-item",key:t},e.createElement(le,{type:n,onClick:a}))),n&&"getFields"in n){var i=n.getFields();Object.keys(i).forEach((function(c){var p,d=i[c];if(!Ae(c,r)){if(!("args"in d)||!d.args.length)return;if(0===(p=d.args.filter((function(e){return Ae(e.name,r)}))).length)return}var f=e.createElement("div",{className:"doc-category-item",key:t+"."+c},o!==n&&[e.createElement(le,{key:"type",type:n,onClick:a}),"."],e.createElement("a",{className:"field-name",onClick:function(e){return s(d,n,e)}},d.name),p&&["(",e.createElement("span",{key:"args"},p.map((function(t){return e.createElement(de,{key:t.name,arg:t,onClickType:a,showDefaultValue:!1})}))),")"]);o===n?l.push(f):u.push(f)}))}};try{for(var h=ke(d),m=h.next();!m.done;m=h.next()){if("break"===f(m.value))break}}catch(v){t={error:v}}finally{try{m&&!m.done&&(n=h.return)&&n.call(h)}finally{if(t)throw t.error}}return l.length+c.length+u.length===0?e.createElement("span",{className:"doc-alert-text"},"No results found."):o&&c.length+u.length>0?e.createElement("div",null,l,e.createElement("div",{className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"other results"),c,u)):e.createElement("div",{className:"doc-search-items"},l,c,u)},n}(e.Component);const Se=we;function Ae(e,t){try{var n=t.replace(/[^_0-9A-Za-z]/g,(function(e){return"\\"+e}));return-1!==e.search(new RegExp(n,"i"))}catch(r){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}}var Ne=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ce=function(t){function n(e){var n=t.call(this,e)||this;return n.handleShowDeprecated=function(){return n.setState({showDeprecated:!0})},n.state={showDeprecated:!1},n}return Ne(n,t),n.prototype.shouldComponentUpdate=function(e,t){return this.props.type!==e.type||this.props.schema!==e.schema||this.state.showDeprecated!==t.showDeprecated},n.prototype.render=function(){var t,n,r,o,i,a=this.props.schema,s=this.props.type,l=this.props.onClickType,c=this.props.onClickField,u=null,p=[];if(s instanceof C.hI?(u="possible types",p=a.getPossibleTypes(s)):s instanceof C.VA?(u="implementations",p=a.getPossibleTypes(s)):s instanceof C.bh&&(u="implements",p=s.getInterfaces()),p&&p.length>0&&(t=e.createElement("div",{id:"doc-types",className:"doc-category"},e.createElement("div",{className:"doc-category-title"},u),p.map((function(t){return e.createElement("div",{key:t.name,className:"doc-category-item"},e.createElement(le,{type:t,onClick:l}))})))),s&&"getFields"in s){var d=s.getFields(),f=Object.keys(d).map((function(e){return d[e]}));n=e.createElement("div",{id:"doc-fields",className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"fields"),f.filter((function(e){return!e.deprecationReason})).map((function(t){return e.createElement(Ie,{key:t.name,type:s,field:t,onClickType:l,onClickField:c})})));var h=f.filter((function(e){return Boolean(e.deprecationReason)}));h.length>0&&(r=e.createElement("div",{id:"doc-deprecated-fields",className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"deprecated fields"),this.state.showDeprecated?h.map((function(t){return e.createElement(Ie,{key:t.name,type:s,field:t,onClickType:l,onClickField:c})})):e.createElement("button",{className:"show-btn",onClick:this.handleShowDeprecated},"Show deprecated fields...")))}if(s instanceof C.Zb){var m=s.getValues();o=e.createElement("div",{className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"values"),m.filter((function(e){return Boolean(!e.deprecationReason)})).map((function(t){return e.createElement(De,{key:t.name,value:t})})));var v=m.filter((function(e){return Boolean(e.deprecationReason)}));v.length>0&&(i=e.createElement("div",{className:"doc-category"},e.createElement("div",{className:"doc-category-title"},"deprecated values"),this.state.showDeprecated?v.map((function(t){return e.createElement(De,{key:t.name,value:t})})):e.createElement("button",{className:"show-btn",onClick:this.handleShowDeprecated},"Show deprecated values...")))}return e.createElement("div",null,e.createElement(me,{className:"doc-type-description",markdown:"description"in s&&s.description||"No Description"}),s instanceof C.bh&&t,n,r,o,i,!(s instanceof C.bh)&&t)},n}(e.Component);const Oe=Ce;function Ie(t){var n=t.type,r=t.field,o=t.onClickType,i=t.onClickField;return e.createElement("div",{className:"doc-category-item"},e.createElement("a",{className:"field-name",onClick:function(e){return i(r,n,e)}},r.name),"args"in r&&r.args&&r.args.length>0&&["(",e.createElement("span",{key:"args"},r.args.filter((function(e){return!e.deprecationReason})).map((function(t){return e.createElement(de,{key:t.name,arg:t,onClickType:o})}))),")"],": ",e.createElement(le,{type:r.type,onClick:o}),e.createElement(pe,{field:r}),r.description&&e.createElement(me,{className:"field-short-description",markdown:r.description}),"deprecationReason"in r&&r.deprecationReason&&e.createElement(me,{className:"doc-deprecation",markdown:r.deprecationReason}))}function De(t){var n=t.value;return e.createElement("div",{className:"doc-category-item"},e.createElement("div",{className:"enum-value"},n.name),e.createElement(me,{className:"doc-value-description",markdown:n.description}),n.deprecationReason&&e.createElement(me,{className:"doc-deprecation",markdown:n.deprecationReason}))}var xe=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Re=function(){return Re=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Re.apply(this,arguments)},Fe={name:"Schema",title:"Documentation Explorer"},Pe=function(t){function n(e){var n=t.call(this,e)||this;return n.handleNavBackClick=function(){n.state.navStack.length>1&&n.setState({navStack:n.state.navStack.slice(0,-1)})},n.handleClickType=function(e){n.showDoc(e)},n.handleClickField=function(e){n.showDoc(e)},n.handleSearch=function(e){n.showSearch(e)},n.state={navStack:[Fe]},n}return xe(n,t),n.prototype.shouldComponentUpdate=function(e,t){return this.props.schema!==e.schema||this.state.navStack!==t.navStack||this.props.schemaErrors!==e.schemaErrors},n.prototype.render=function(){var t,n=this.props,r=n.schema,o=n.schemaErrors,i=this.state.navStack,a=i[i.length-1];t=o?e.createElement("div",{className:"error-container"},"Error fetching schema"):void 0===r?e.createElement("div",{className:"spinner-container"},e.createElement("div",{className:"spinner"})):r?a.search?e.createElement(Se,{searchValue:a.search,withinType:a.def,schema:r,onClickType:this.handleClickType,onClickField:this.handleClickField}):1===i.length?e.createElement(ge,{schema:r,onClickType:this.handleClickType}):(0,C.Xj)(a.def)?e.createElement(Oe,{schema:r,type:a.def,onClickType:this.handleClickType,onClickField:this.handleClickField}):e.createElement(ye,{field:a.def,onClickType:this.handleClickType}):e.createElement("div",{className:"error-container"},"No Schema Available");var s,l=1===i.length||(0,C.Xj)(a.def)&&"getFields"in a.def;return i.length>1&&(s=i[i.length-2].name),e.createElement("section",{className:"doc-explorer",key:a.name,"aria-label":"Documentation Explorer"},e.createElement("div",{className:"doc-explorer-title-bar"},s&&e.createElement("button",{className:"doc-explorer-back",onClick:this.handleNavBackClick,"aria-label":"Go back to "+s},s),e.createElement("div",{className:"doc-explorer-title"},a.title||a.name),e.createElement("div",{className:"doc-explorer-rhs"},this.props.children)),e.createElement("div",{className:"doc-explorer-contents"},l&&e.createElement(_e,{value:a.search,placeholder:"Search "+a.name+"...",onSearch:this.handleSearch}),t))},n.prototype.showDoc=function(e){var t=this.state.navStack;t[t.length-1].def!==e&&this.setState({navStack:t.concat([{name:e.name,def:e}])})},n.prototype.showDocForReference=function(e){e&&"Type"===e.kind?this.showDoc(e.type):"Field"===e.kind||"Argument"===e.kind&&e.field?this.showDoc(e.field):"EnumValue"===e.kind&&e.type&&this.showDoc(e.type)},n.prototype.showSearch=function(e){var t=this.state.navStack.slice(),n=t[t.length-1];t[t.length-1]=Re(Re({},n),{search:e}),this.setState({navStack:t})},n.prototype.reset=function(){this.setState({navStack:[Fe]})},n}(e.Component),Le=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Me=function(t){function n(e){var n=t.call(this,e)||this;return n.state={editable:!1},n.editField=null,n}return Le(n,t),n.prototype.render=function(){var t,n=this,r=this.props.label||this.props.operationName||(null===(t=this.props.query)||void 0===t?void 0:t.split("\n").filter((function(e){return 0!==e.indexOf("#")})).join("")),o=this.props.favorite?"\u2605":"\u2606";return e.createElement("li",{className:this.state.editable?"editable":void 0},this.state.editable?e.createElement("input",{type:"text",defaultValue:this.props.label,ref:function(e){n.editField=e},onBlur:this.handleFieldBlur.bind(this),onKeyDown:this.handleFieldKeyDown.bind(this),placeholder:"Type a label"}):e.createElement("button",{className:"history-label",onClick:this.handleClick.bind(this)},r),e.createElement("button",{onClick:this.handleEditClick.bind(this),"aria-label":"Edit label"},"\u270e"),e.createElement("button",{className:this.props.favorite?"favorited":void 0,onClick:this.handleStarClick.bind(this),"aria-label":this.props.favorite?"Remove favorite":"Add favorite"},o))},n.prototype.handleClick=function(){this.props.onSelect(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label)},n.prototype.handleStarClick=function(e){e.stopPropagation(),this.props.handleToggleFavorite(this.props.query,this.props.variables,this.props.headers,this.props.operationName,this.props.label,this.props.favorite)},n.prototype.handleFieldBlur=function(e){e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.target.value,this.props.favorite)},n.prototype.handleFieldKeyDown=function(e){13===e.keyCode&&(e.stopPropagation(),this.setState({editable:!1}),this.props.handleEditLabel(this.props.query,this.props.variables,this.props.headers,this.props.operationName,e.currentTarget.value,this.props.favorite))},n.prototype.handleEditClick=function(e){var t=this;e.stopPropagation(),this.setState({editable:!0},(function(){t.editField&&t.editField.focus()}))},n}(e.Component);const je=Me;var Ve=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ue=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Ve(arguments[t]));return e},qe=function(){function e(e,t,n){void 0===n&&(n=null),this.key=e,this.storage=t,this.maxSize=n,this.items=this.fetchAll()}return Object.defineProperty(e.prototype,"length",{get:function(){return this.items.length},enumerable:!1,configurable:!0}),e.prototype.contains=function(e){return this.items.some((function(t){return t.query===e.query&&t.variables===e.variables&&t.headers===e.headers&&t.operationName===e.operationName}))},e.prototype.edit=function(e){var t=this.items.findIndex((function(t){return 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())},e.prototype.delete=function(e){var t=this.items.findIndex((function(t){return 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())},e.prototype.fetchRecent=function(){return this.items[this.items.length-1]},e.prototype.fetchAll=function(){var e=this.storage.get(this.key);return e?JSON.parse(e)[this.key]:[]},e.prototype.push=function(e){var t,n=Ue(this.items,[e]);this.maxSize&&n.length>this.maxSize&&n.shift();for(var r=0;r<5;r++){var o=this.storage.set(this.key,JSON.stringify(((t={})[this.key]=n,t)));if(o&&o.error){if(!o.isQuotaError||!this.maxSize)return;n.shift()}else this.items=n}},e.prototype.save=function(){var e;this.storage.set(this.key,JSON.stringify(((e={})[this.key]=this.items,e)))},e}();const ze=qe;var Be=function(){return Be=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Be.apply(this,arguments)},He=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},Ye=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(He(arguments[t]));return e};const Ge=function(e,t){var n=this;this.storage=e,this.maxHistoryLength=t,this.shouldSaveQuery=function(e,t,n,r){if(!e)return!1;try{(0,o.qg)(e)}catch(i){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},this.fetchAllQueries=function(){var e=n.history.fetchAll(),t=n.favorite.fetchAll();return e.concat(t)},this.updateHistory=function(e,t,r,o){if(n.shouldSaveQuery(e,t,r,n.history.fetchRecent())){n.history.push({query:e,variables:t,headers:r,operationName:o});var i=n.history.items,a=n.favorite.items;n.queries=i.concat(a)}},this.toggleFavorite=function(e,t,r,o,i,a){var s={query:e,variables:t,headers:r,operationName:o,label:i};n.favorite.contains(s)?a&&(s.favorite=!1,n.favorite.delete(s)):(s.favorite=!0,n.favorite.push(s)),n.queries=Ye(n.history.items,n.favorite.items)},this.editLabel=function(e,t,r,o,i,a){var s={query:e,variables:t,headers:r,operationName:o,label:i};a?n.favorite.edit(Be(Be({},s),{favorite:a})):n.history.edit(s),n.queries=Ye(n.history.items,n.favorite.items)},this.history=new ze("queries",this.storage,this.maxHistoryLength),this.favorite=new ze("favorites",this.storage,null),this.queries=this.fetchAllQueries()};var Qe=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Ke=function(){return Ke=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ke.apply(this,arguments)},We=function(t){function n(e){var n=t.call(this,e)||this;n.onUpdateHistory=function(e,t,r,o){n.historyStore.updateHistory(e,t,r,o),n.setState({queries:n.historyStore.queries})},n.onHandleEditLabel=function(e,t,r,o,i,a){n.historyStore.editLabel(e,t,r,o,i,a),n.setState({queries:n.historyStore.queries})},n.onToggleFavorite=function(e,t,r,o,i,a){n.historyStore.toggleFavorite(e,t,r,o,i,a),n.setState({queries:n.historyStore.queries})},n.historyStore=new Ge(n.props.storage,n.props.maxHistoryLength);var r=n.historyStore.queries;return n.state={queries:r},n}return Qe(n,t),n.prototype.render=function(){var t=this,n=this.state.queries.slice().reverse().map((function(n,r){return e.createElement(je,Ke({handleEditLabel:t.onHandleEditLabel,handleToggleFavorite:t.onToggleFavorite,key:r+":"+(n.label||n.query),onSelect:t.props.onSelectQuery},n))}));return e.createElement("section",{"aria-label":"History"},e.createElement("div",{className:"history-title-bar"},e.createElement("div",{className:"history-title"},"History"),e.createElement("div",{className:"doc-explorer-rhs"},this.props.children)),e.createElement("ul",{className:"history-contents"},n))},n}(e.Component),Je=function(){function e(){this.sizes=[]}return e.prototype.updateSizes=function(e){var t=this;e.forEach((function(e,n){if(e){var r=e.getClientHeight();if(n<=t.sizes.length&&r!==t.sizes[n]){var o=e.getCodeMirror();o&&o.setSize(null,null)}t.sizes[n]=r}}))},e}();const $e=Je;const Xe=function(){function e(e){this.storage=e||("undefined"!==typeof window?window.localStorage:null)}return e.prototype.get=function(e){if(this.storage){var t=this.storage.getItem("graphiql:"+e);if("null"===t||"undefined"===t)return this.storage.removeItem("graphiql:"+e),null;if(t)return t}return null},e.prototype.set=function(e,t){var n=!1,r=null;if(this.storage){var o="graphiql:"+e;if(t)try{this.storage.setItem(o,t)}catch(i){r=i,n=function(e,t){return t instanceof DOMException&&(22===t.code||1014===t.code||"QuotaExceededError"===t.name||"NS_ERROR_DOM_QUOTA_REACHED"===t.name)&&0!==e.length}(this.storage,i)}else this.storage.removeItem(o)}return{isQuotaError:n,error:r}},e}();function Ze(e,t,n){if(n&&!(n.length<1)){var r=n.map((function(e){return e.name&&e.name.value}));if(t&&-1!==r.indexOf(t))return t;if(t&&e){var o=e.map((function(e){return e.name&&e.name.value})).indexOf(t);if(-1!==o&&o<r.length)return r[o]}return r[0]}}function et(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return e[n]}var tt=n(7279),nt=n(9834);function rt(e,t,n){var i,a=[];if(!e||!t)return{insertions:a,result:t};try{i=(0,o.qg)(t)}catch(u){return{insertions:a,result:t}}var l=n||ot,c=new tt.D(e);return(0,s.YR)(i,{leave:function(e){c.leave(e)},enter:function(e){if(c.enter(e),"Field"===e.kind&&!e.selectionSet){var n=it(function(e){if(e)return e}(c.getType()),l);if(n&&e.loc){var o=function(e,t){var n=t,r=t;for(;n;){var o=e.charCodeAt(n-1);if(10===o||13===o||8232===o||8233===o)break;n--,9!==o&&11!==o&&12!==o&&32!==o&&160!==o&&(r=n)}return e.substring(n,r)}(t,e.loc.start);a.push({index:e.loc.end,string:" "+(0,r.y)(n).replace(/\n/g,"\n"+o)})}}}}),{insertions:a,result:at(t,a)}}function ot(e){if(!("getFields"in e))return[];var t=e.getFields();if(t.id)return["id"];if(t.edges)return["edges"];if(t.node)return["node"];var n=[];return Object.keys(t).forEach((function(e){(0,C.zf)(t[e].type)&&n.push(e)})),n}function it(e,t){var n=(0,C.MR)(e);if(e&&!(0,C.zf)(e)){var r=t(n);if(Array.isArray(r)&&0!==r.length&&"getFields"in n)return{kind:nt.b.SELECTION_SET,selections:r.map((function(e){var r=n.getFields()[e],o=r?r.type:null;return{kind:nt.b.FIELD,name:{kind:nt.b.NAME,value:e},selectionSet:it(o,t)}}))}}}function at(e,t){if(0===t.length)return e;var n="",r=0;return t.forEach((function(t){var o=t.index,i=t.string;n+=e.slice(r,o)+i,r=o})),n+=e.slice(r)}function st(e){for(var t=0,n=e;n.offsetParent;)t+=n.offsetLeft,n=n.offsetParent;return t}function lt(e){for(var t=0,n=e;n.offsetParent;)t+=n.offsetTop,n=n.offsetParent;return t}var ct=function(){return ct=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ct.apply(this,arguments)},ut=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},pt=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},dt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(pt(arguments[t]));return e};function ft(e,t,n){var r,o,i,a=n?(0,C.MR)(n).name:null,s=[],l=[];try{for(var c=ut(t),u=c.next();!u.done;u=c.next()){var p=u.value;if("FragmentSpread"===p.kind){var d=p.name.value;if(!p.directives||0===p.directives.length){if(l.indexOf(d)>=0)continue;l.push(d)}var f=e[p.name.value];if(f){var h=f.typeCondition,m=f.directives,v=f.selectionSet;p={kind:nt.b.INLINE_FRAGMENT,typeCondition:h,directives:m,selectionSet:v}}}if(p.kind===nt.b.INLINE_FRAGMENT&&(!p.directives||0===(null===(i=p.directives)||void 0===i?void 0:i.length))){var y=p.typeCondition?p.typeCondition.name.value:null;if(!y||y===a){s.push.apply(s,dt(ft(e,p.selectionSet.selections,n)));continue}}s.push(p)}}catch(g){r={error:g}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}return s}function ht(e,t){var n,r,o=t?new tt.D(t):null,i=Object.create(null);try{for(var a=ut(e.definitions),l=a.next();!l.done;l=a.next()){var c=l.value;c.kind===nt.b.FRAGMENT_DEFINITION&&(i[c.name.value]=c)}}catch(p){n={error:p}}finally{try{l&&!l.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}var u={SelectionSet:function(e){var t=o?o.getParentType():null,n=e.selections;return n=function(e,t){var n,r,o=new Map,i=[];try{for(var a=ut(e),s=a.next();!s.done;s=a.next()){var l=s.value;if("Field"===l.kind){var c=t(l),u=o.get(c);if(l.directives&&l.directives.length){var p=ct({},l);i.push(p)}else u&&u.selectionSet&&l.selectionSet?u.selectionSet.selections=dt(u.selectionSet.selections,l.selectionSet.selections):u||(p=ct({},l),o.set(c,p),i.push(p))}else i.push(l)}}catch(d){n={error:d}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}(n=ft(i,n,t),(function(e){return e.alias?e.alias.value:e.name.value})),ct(ct({},e),{selections:n})},FragmentDefinition:function(){return null}};return(0,s.YR)(e,o?(0,tt.S)(o,u):u)}var mt=n(5587),vt=n.n(mt);function yt(e){return"object"===typeof e&&"function"===typeof e.then}function gt(e){return"object"===typeof e&&"subscribe"in e&&"function"===typeof e.subscribe}function bt(e){return"object"===typeof e&&null!==e&&("AsyncGenerator"===e[Symbol.toStringTag]||Symbol.asyncIterator in e)}function Et(e){return Promise.resolve(e).then((e=>{return bt(e)?(n=e,new Promise(((e,t)=>{var r;const o=null===(r=("return"in n?n:n[Symbol.asyncIterator]()).return)||void 0===r?void 0:r.bind(n);("next"in n?n:n[Symbol.asyncIterator]()).next.bind(n)().then((t=>{e(t.value),null===o||void 0===o||o()})).catch((e=>{t(e)}))}))):gt(e)?(t=e,new Promise(((e,n)=>{const r=t.subscribe({next:t=>{e(t),r.unsubscribe()},error:n,complete:()=>{n(new Error("no value resolved"))}})}))):e;var t,n}))}Symbol(),Symbol();var _t=n(3738);function Tt(e){return JSON.stringify(e,null,2)}function kt(e){return e instanceof _t.e?e.toString():e instanceof Error?(e=>Object.assign(Object.assign({},e),{message:e.message,stack:e.stack}))(e):e}function wt(e){return Array.isArray(e)?Tt({errors:e.map((e=>kt(e)))}):Tt({errors:kt(e)})}function St(e){return Tt(e)}var At=n(5857),Nt=function(){return Nt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Nt.apply(this,arguments)};function Ct(t){return e.createElement("div",{role:"button","aria-pressed":!1,className:"close","aria-label":"Close Tab",title:"Close Tab",onClick:function(e){e.stopPropagation(),t.onClick()}})}function Ot(t){return e.createElement("button",Nt({},t.tabProps,{role:"tab",type:"button","aria-selected":t.isActive,title:t.title,className:"tab"+(t.isActive?" active":""),onClick:t.onSelect}),t.title,t.isCloseable?e.createElement(Ct,{onClick:function(){return t.onClose()}}):null)}function It(t){return e.createElement("button",{onClick:t.onClick,className:"tab-add",title:"Create new tab"},e.createElement("span",null,"+"))}function Dt(t){return e.createElement("div",Nt({role:"tablist",className:"tabs"},t.tabsProps),t.children)}function xt(e){var t,n=/^(?!.*#).*(query|subscription|mutation)\s+([a-zA-Z0-9_]+)/.exec(e);return null!==(t=null===n||void 0===n?void 0:n[2])&&void 0!==t?t:"<untitled>"}function Rt(e){var t,n,r;return[null!==(t=e.query)&&void 0!==t?t:"",null!==(n=e.variables)&&void 0!==n?n:"",null!==(r=e.headers)&&void 0!==r?r:""].join("|")}function Ft(){var e=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}var Pt=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),Lt=function(){return Lt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Lt.apply(this,arguments)},Mt=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(t){i(t)}}function s(e){try{l(r.throw(e))}catch(t){i(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},jt=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},Vt=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 o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Ut=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof Bt?Bt(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},qt=function(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(s){o={error:s}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a},zt=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(qt(arguments[t]));return e},Bt=function(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};if(parseInt(e.version.slice(0,2),10)<16)throw Error(["GraphiQL 0.18.0 and after is not compatible with React 15 or below.","If you are using a CDN source (jsdelivr, unpkg, etc), follow this example:","https://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49"].join("\n"));var Ht=function(t){function n(e){var n,a,s,l,p,d,f,h,m,v,y,g=t.call(this,e)||this;if(g._editorQueryID=0,g.safeSetState=function(e,t){g.componentIsMounted&&g.setState(e,t)},g.persistTabsState=function(){var e,t;g.props.tabs&&(g._storage.set("tabState",JSON.stringify(g.state.tabs,(function(e,t){return"response"===e||g.state.shouldPersistHeaders&&"headers"===e?void 0:t}))),"object"===typeof g.props.tabs&&(null===(t=(e=g.props.tabs).onTabChange)||void 0===t||t.call(e,g.state.tabs)))},g.makeHandleOnSelectTab=function(e){return function(){g.handleStopQuery(),g.setState((function(t){return function(e,t){var n=t.tabs.activeTabIndex,r=t.tabs.tabs.map((function(e,r){return r!==n?e:Lt(Lt({},e),{query:t.query,variables:t.variables,operationName:t.operationName,headers:t.headers,response:t.response,hash:Rt({query:t.query,variables:t.variables,headers:t.headers})})})),o=t.tabs.tabs[e];return Lt(Lt({},t),{query:o.query,variables:o.variables,operationName:o.operationName,headers:o.headers,response:o.response,tabs:Lt(Lt({},t.tabs),{tabs:r,activeTabIndex:e})})}(e,t)}),(function(){g.persistTabsState(),g.state.query&&g.handleEditQuery(g.state.query)}))}},g.makeHandleOnCloseTab=function(e){return function(){g.state.tabs.activeTabIndex===e&&g.handleStopQuery(),g.setState((function(t){return function(e,t){var n=t.tabs.activeTabIndex>0?t.tabs.activeTabIndex-1:0,r=Lt(Lt({},t.tabs),{activeTabIndex:n,tabs:t.tabs.tabs.filter((function(t,n){return e!==n}))}),o=r.tabs[n];return Lt(Lt({},t),{query:o.query,variables:o.variables,operationName:o.operationName,headers:o.headers,response:o.response,tabs:r})}(e,t)}),g.persistTabsState)}},g.handleOnAddTab=function(){g.setState((function(e){return function(e){var t=e.tabs.activeTabIndex,n={id:Ft(),title:"<untitled>",headers:"",variables:"",query:"",operationName:"",response:"",hash:Rt({query:"",variables:"",headers:""})},r=e.tabs.tabs.map((function(n,r){return r!==t?n:Lt(Lt({},n),{headers:e.headers,variables:e.variables,query:e.query,operationName:e.operationName,response:e.response})}));return Lt(Lt({},e),{headers:n.headers,variables:n.variables,query:n.query,operationName:n.operationName,response:n.response,tabs:Lt(Lt({},e.tabs),{activeTabIndex:e.tabs.tabs.length,tabs:zt(r,[n])})})}(e)}),g.persistTabsState)},g.handleClickReference=function(e){g.setState({docExplorerOpen:!0},(function(){g.docExplorerComponent&&g.docExplorerComponent.showDocForReference(e)})),g._storage.set("docExplorerOpen",JSON.stringify(g.state.docExplorerOpen))},g.handleRunQuery=function(e){return Mt(g,void 0,void 0,(function(){var t,n,r,o,i,a,s,l,c,u=this;return jt(this,(function(p){switch(p.label){case 0:this._editorQueryID++,t=this._editorQueryID,n=this.autoCompleteLeafs()||this.state.query||"",r=this.state.variables,o=this.state.headers,i=this.state.shouldPersistHeaders,a=this.state.operationName,e&&e!==a&&(a=e,this.handleEditOperationName(a)),p.label=1;case 1:return p.trys.push([1,3,,4]),this.setState({isWaitingForResponse:!0,response:void 0,operationName:a}),this._storage.set("operationName",a),this._queryHistory?this._queryHistory.onUpdateHistory(n,r,o,a):this._historyStore&&this._historyStore.updateHistory(n,r,o,a),s={data:{}},[4,this._fetchQuery(n,r,o,a,i,(function(e){var n,r;if(t===u._editorQueryID){var o=!!Array.isArray(e)&&e;if(!o&&"string"!==typeof e&&null!==e&&"hasNext"in e&&(o=[e]),o){var i={data:s.data},a=zt((null===s||void 0===s?void 0:s.errors)||[],o.map((function(e){return e.errors})).flat().filter(Boolean));a.length&&(i.errors=a);try{for(var l=Bt(o),c=l.next();!c.done;c=l.next()){var p=c.value,d=p.path,f=p.data,h=(p.errors,Vt(p,["path","data","errors"]));if(d){if(!f)throw new Error("Expected part to contain a data property, but got "+p);vt()(i.data,d,f,{merge:!0})}else f&&(i.data=p.data);s=Lt(Lt({},i),h)}}catch(v){n={error:v}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}u.setState({isWaitingForResponse:!1,response:St(s)})}else{var m=St(e);u.setState((function(e){return Lt(Lt({},e),{tabs:Lt(Lt({},e.tabs),{tabs:e.tabs.tabs.map((function(t,n){return n!==e.tabs.activeTabIndex?t:Lt(Lt({},t),{response:m})}))}),isWaitingForResponse:!1,response:m})}),u.persistTabsState)}}}))];case 2:return l=p.sent(),this.setState({subscription:l}),[3,4];case 3:return c=p.sent(),this.setState({isWaitingForResponse:!1,response:c.message}),[3,4];case 4:return[2]}}))}))},g.handleStopQuery=function(){var e=g.state.subscription;g.setState({isWaitingForResponse:!1,subscription:null}),e&&e.unsubscribe()},g.handlePrettifyQuery=function(){var e,t,n,i=g.getQueryEditor(),a=null!==(e=null===i||void 0===i?void 0:i.getValue())&&void 0!==e?e:"",s=(0,r.y)((0,o.qg)(a));s!==a&&(null===i||void 0===i||i.setValue(s));var l=g.getVariableEditor(),c=null!==(t=null===l||void 0===l?void 0:l.getValue())&&void 0!==t?t:"";try{var u=JSON.stringify(JSON.parse(c),null,2);u!==c&&(null===l||void 0===l||l.setValue(u))}catch(d){}var p=g.getHeaderEditor(),h=null!==(n=null===p||void 0===p?void 0:p.getValue())&&void 0!==n?n:"";try{var m=JSON.stringify(JSON.parse(h),null,2);m!==h&&(null===p||void 0===p||p.setValue(m))}catch(f){}},g.handleMergeQuery=function(){var e=g.getQueryEditor();if(e.getValue()){var t=g.state.documentAST;e.setValue((0,r.y)(ht(t,g.state.schema)))}},g.handleEditQuery=be(100,(function(e){var t=g._updateQueryFacts(e,g.state.operationName,g.state.operations,g.state.schema);if(g.setState((function(n){return Lt(Lt(Lt(Lt({},n),{query:e}),t),{tabs:Xt(e,n.tabs,null===t||void 0===t?void 0:t.operationName)})}),g.persistTabsState),g._storage.set("query",e),g.props.onEditQuery)return g.props.onEditQuery(e,null===t||void 0===t?void 0:t.documentAST)})),g.handleCopyQuery=function(){var e=g.getQueryEditor(),t=e&&e.getValue();if(t)return c()(t),g.props.onCopyQuery?g.props.onCopyQuery(t):void 0},g._updateQueryFacts=function(e,t,n,r){var o=(0,u.getOperationFacts)(r,e);if(o){var i=Ze(n,t,o.operations),a=g.props.onEditOperationName;return a&&i&&t!==i&&a(i),Lt({operationName:i},o)}},g.handleEditVariables=function(e){g.setState((function(t){return Lt(Lt({},t),{variables:e,tabs:$t(e,t.tabs)})}),g.persistTabsState),be(500,(function(){return g._storage.set("variables",e)}))(),g.props.onEditVariables&&g.props.onEditVariables(e)},g.handleEditHeaders=function(e){g.setState((function(t){return Lt(Lt({},t),{headers:e,tabs:Jt(e,t.tabs)})}),g.persistTabsState),g.props.shouldPersistHeaders&&be(500,(function(){return g._storage.set("headers",e)}))(),g.props.onEditHeaders&&g.props.onEditHeaders(e)},g.handleEditOperationName=function(e){var t=g.props.onEditOperationName;t&&t(e)},g.handleHintInformationRender=function(e){var t;e.addEventListener("click",g._onClickHintInformation),e.addEventListener("DOMNodeRemoved",t=function(){e.removeEventListener("DOMNodeRemoved",t),e.removeEventListener("click",g._onClickHintInformation)})},g.handleEditorRunQuery=function(){g._runQueryAtCursor()},g._onClickHintInformation=function(e){if((null===e||void 0===e?void 0:e.currentTarget)&&"className"in e.currentTarget&&"typeName"===e.currentTarget.className){var t=e.currentTarget.innerHTML,n=g.state.schema;if(n){var r=n.getType(t);r&&(g.setState({docExplorerOpen:!0},(function(){g.docExplorerComponent&&g.docExplorerComponent.showDoc(r)})),be(500,(function(){return g._storage.set("docExplorerOpen",JSON.stringify(g.state.docExplorerOpen))}))())}}},g.handleToggleDocs=function(){"function"===typeof g.props.onToggleDocs&&g.props.onToggleDocs(!g.state.docExplorerOpen),g._storage.set("docExplorerOpen",JSON.stringify(!g.state.docExplorerOpen)),g.setState({docExplorerOpen:!g.state.docExplorerOpen})},g.handleToggleHistory=function(){"function"===typeof g.props.onToggleHistory&&g.props.onToggleHistory(!g.state.historyPaneOpen),g._storage.set("historyPaneOpen",JSON.stringify(!g.state.historyPaneOpen)),g.setState({historyPaneOpen:!g.state.historyPaneOpen})},g.handleSelectHistoryQuery=function(e,t,n,r){e&&g.handleEditQuery(e),t&&g.handleEditVariables(t),n&&g.handleEditHeaders(n),r&&g.handleEditOperationName(r)},g.handleResizeStart=function(e){if(g._didClickDragBar(e)){e.preventDefault();var t=e.clientX-st(e.target),n=function(e){if(0===e.buttons)return r();var n=g.editorBarComponent,o=e.clientX-st(n)-t,i=n.clientWidth-o;g.setState({editorFlex:o/i}),be(500,(function(){return g._storage.set("editorFlex",JSON.stringify(g.state.editorFlex))}))()},r=function(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),n=null,r=null};document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)}},g.handleResetResize=function(){g.setState({editorFlex:1}),g._storage.set("editorFlex",JSON.stringify(g.state.editorFlex))},g.handleDocsResizeStart=function(e){e.preventDefault();var t=g.state.docExplorerWidth,n=e.clientX-st(e.target),r=function(e){if(0===e.buttons)return o();var t=g.graphiqlContainer,r=e.clientX-st(t)-n,i=t.clientWidth-r;i<100?("function"===typeof g.props.onToggleDocs&&g.props.onToggleDocs(!g.state.docExplorerOpen),g._storage.set("docExplorerOpen",JSON.stringify(g.state.docExplorerOpen)),g.setState({docExplorerOpen:!1})):(g.setState({docExplorerOpen:!0,docExplorerWidth:Math.min(i,650)}),be(500,(function(){return g._storage.set("docExplorerWidth",JSON.stringify(g.state.docExplorerWidth))}))()),g._storage.set("docExplorerOpen",JSON.stringify(g.state.docExplorerOpen))},o=function(){g.state.docExplorerOpen||(g.setState({docExplorerWidth:t}),be(500,(function(){return g._storage.set("docExplorerWidth",JSON.stringify(g.state.docExplorerWidth))}))()),document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",o),r=null,o=null};document.addEventListener("mousemove",r),document.addEventListener("mouseup",o)},g.handleDocsResetResize=function(){g.setState({docExplorerWidth:350}),be(500,(function(){return g._storage.set("docExplorerWidth",JSON.stringify(g.state.docExplorerWidth))}))()},g.handleTabClickPropogation=function(e){e.preventDefault(),e.stopPropagation()},g.handleOpenHeaderEditorTab=function(e){g.setState({headerEditorActive:!0,variableEditorActive:!1,secondaryEditorOpen:!0})},g.handleOpenVariableEditorTab=function(e){g.setState({headerEditorActive:!1,variableEditorActive:!0,secondaryEditorOpen:!0})},g.handleSecondaryEditorResizeStart=function(e){e.preventDefault();var t=!1,n=g.state.secondaryEditorOpen,r=g.state.secondaryEditorHeight,o=e.clientY-lt(e.target),i=function(e){if(0===e.buttons)return a();t=!0;var n=g.editorBarComponent,i=e.clientY-lt(n)-o,s=n.clientHeight-i;s<60?g.setState({secondaryEditorOpen:!1,secondaryEditorHeight:r}):g.setState({secondaryEditorOpen:!0,secondaryEditorHeight:s}),be(500,(function(){return g._storage.set("secondaryEditorHeight",JSON.stringify(g.state.secondaryEditorHeight))}))()},a=function(){t||g.setState({secondaryEditorOpen:!n}),document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",a),i=null,a=null};document.addEventListener("mousemove",i),document.addEventListener("mouseup",a)},"function"!==typeof e.fetcher)throw new TypeError("GraphiQL requires a fetcher function.");g._storage=new Xe(e.storage);var b=null!==(p=e.maxHistoryLength)&&void 0!==p?p:20;g._historyStore=new Ge(g._storage,b),g.componentIsMounted=!1;var E,_=void 0!==e.query?e.query:g._storage.get("query")?g._storage.get("query"):void 0!==e.defaultQuery?e.defaultQuery:Kt,T=(0,u.getOperationFacts)(e.schema,_),k=void 0!==e.variables?e.variables:g._storage.get("variables"),w=void 0!==e.headers?e.headers:g._storage.get("headers"),S=void 0!==e.operationName?e.operationName:Ze(void 0,g._storage.get("operationName"),T&&T.operations),A=e.docExplorerOpen||!1;g._storage.get("docExplorerOpen")&&(A="true"===g._storage.get("docExplorerOpen")),E=void 0!==e.defaultVariableEditorOpen?e.defaultVariableEditorOpen:void 0!==e.defaultSecondaryEditorOpen?e.defaultSecondaryEditorOpen:Boolean(k||w);var N=null===(d=e.headerEditorEnabled)||void 0===d||d,C=null!==(f=e.shouldPersistHeaders)&&void 0!==f&&f,O=e.schema,I=e.response,D=void 0;if(O&&!g.props.dangerouslyAssumeSchemaIsValid){var x=(0,At.i)(O);x&&x.length>0&&(I=wt(x),O=void 0,D=x)}g._introspectionQuery=(0,i.I)({schemaDescription:null!==(h=e.schemaDescription)&&void 0!==h?h:void 0,inputValueDeprecation:null!==(m=e.inputValueDeprecation)&&void 0!==m?m:void 0}),g._introspectionQueryName=null!==(v=e.introspectionQueryName)&&void 0!==v?v:"IntrospectionQuery",g._introspectionQuerySansSubscriptions=g._introspectionQuery.replace("subscriptionType { name }","");var R,F=Rt({query:_,variables:k,headers:w}),P={id:Ft(),hash:F,title:null!==S&&void 0!==S?S:"<untitled>",query:_,variables:k,headers:w,operationName:S,response:void 0},L=null;if(g.props.tabs&&(L=g._storage.get("tabState")),null===L)R={activeTabIndex:0,tabs:[P]};else{R=JSON.parse(L);var M=!1;try{for(var j=Bt(R.tabs),V=j.next();!V.done;V=j.next()){(H=V.value).query=H.query,H.variables=H.variables,H.headers=C?H.headers:void 0,H.response=void 0,H.operationName=void 0,H.id=Ft(),H.hash=Rt(H),H.hash===F&&(M=!0)}}catch(Y){n={error:Y}}finally{try{V&&!V.done&&(a=j.return)&&a.call(j)}finally{if(n)throw n.error}}!1===M&&(R.tabs.push(P),R.activeTabIndex=R.tabs.length-1)}var U=R.tabs[0],q=0;try{for(var z=Bt(R.tabs),B=z.next();!B.done;B=z.next()){var H;if((H=B.value).hash===F){R.activeTabIndex=q,U=H;break}q++}}catch(G){s={error:G}}finally{try{B&&!B.done&&(l=z.return)&&l.call(z)}finally{if(s)throw s.error}}return g.state=Lt({tabs:R,schema:O,query:null===U||void 0===U?void 0:U.query,variables:null===U||void 0===U?void 0:U.variables,headers:null===U||void 0===U?void 0:U.headers,operationName:null===U||void 0===U?void 0:U.operationName,response:null!==(y=null===U||void 0===U?void 0:U.response)&&void 0!==y?y:I,docExplorerOpen:A,schemaErrors:D,editorFlex:Number(g._storage.get("editorFlex"))||1,secondaryEditorOpen:E,secondaryEditorHeight:Number(g._storage.get("secondaryEditorHeight"))||200,variableEditorActive:"true"!==g._storage.get("variableEditorActive")&&!e.headerEditorEnabled||"true"!==g._storage.get("headerEditorActive"),headerEditorActive:"true"===g._storage.get("headerEditorActive"),headerEditorEnabled:N,shouldPersistHeaders:C,historyPaneOpen:"true"===g._storage.get("historyPaneOpen")||!1,docExplorerWidth:Number(g._storage.get("docExplorerWidth"))||350,isWaitingForResponse:!1,subscription:null,maxHistoryLength:b},T),g.state.query&&g.handleEditQuery(g.state.query),g}return Pt(n,t),n.formatResult=function(e){return console.warn("The function `GraphiQL.formatResult` is deprecated and will be removed in the next major version. Please switch to using the `formatResult` function provided by the `@graphiql/toolkit` package."),St(e)},n.formatError=function(e){return console.warn("The function `GraphiQL.formatError` is deprecated and will be removed in the next major version. Please switch to using the `formatError` function provided by the `@graphiql/toolkit` package."),wt(e)},n.prototype.componentDidMount=function(){this.componentIsMounted=!0,void 0===this.state.schema&&this.fetchSchema(),this.codeMirrorSizer=new $e,"undefined"!==typeof window&&(window.g=this)},n.prototype.UNSAFE_componentWillMount=function(){this.componentIsMounted=!1},n.prototype.UNSAFE_componentWillReceiveProps=function(e){var t=this,n=this.state.schema,r=this.state.query,o=this.state.variables,i=this.state.headers,a=this.state.operationName,s=this.state.response;if(void 0!==e.schema&&(n=e.schema),void 0!==e.query&&this.props.query!==e.query&&(r=e.query),void 0!==e.variables&&this.props.variables!==e.variables&&(o=e.variables),void 0!==e.headers&&this.props.headers!==e.headers&&(i=e.headers),void 0!==e.operationName&&(a=e.operationName),void 0!==e.response&&(s=e.response),r&&n&&(n!==this.state.schema||r!==this.state.query||a!==this.state.operationName)){if(!this.props.dangerouslyAssumeSchemaIsValid){var l=(0,At.i)(n);l&&l.length>0&&(this.handleSchemaErrors(l),n=void 0)}var c=this._updateQueryFacts(r,a,this.state.operations,n);void 0!==c&&(a=c.operationName,this.setState(c))}void 0===e.schema&&e.fetcher!==this.props.fetcher&&(n=void 0),this._storage.set("operationName",a),this.setState({schema:n,query:r,variables:o,headers:i,operationName:a,response:s},(function(){void 0===t.state.schema&&(t.docExplorerComponent&&t.docExplorerComponent.reset(),t.fetchSchema())}))},n.prototype.componentDidUpdate=function(){this.codeMirrorSizer.updateSizes([this.queryEditorComponent,this.variableEditorComponent,this.headerEditorComponent,this.resultComponent])},n.prototype.render=function(){var t,r=this,o=e.Children.toArray(this.props.children),i=et(o,(function(e){return Wt(e,n.Logo)}))||e.createElement(n.Logo,null),a=et(o,(function(e){return Wt(e,n.Toolbar)}))||e.createElement(n.Toolbar,null,e.createElement(y,{onClick:this.handlePrettifyQuery,title:"Prettify Query (Shift-Ctrl-P)",label:"Prettify"}),e.createElement(y,{onClick:this.handleMergeQuery,title:"Merge Query (Shift-Ctrl-M)",label:"Merge"}),e.createElement(y,{onClick:this.handleCopyQuery,title:"Copy Query (Shift-Ctrl-C)",label:"Copy"}),e.createElement(y,{onClick:this.handleToggleHistory,title:"Show History",label:"History"}),(null===(t=this.props.toolbar)||void 0===t?void 0:t.additionalContent)?this.props.toolbar.additionalContent:null),s=et(o,(function(e){return Wt(e,n.Footer)})),l={WebkitFlex:this.state.editorFlex,flex:this.state.editorFlex},c={display:"block",width:this.state.docExplorerWidth},u="docExplorerWrap"+(this.state.docExplorerWidth<200?" doc-explorer-narrow":""),p={display:this.state.historyPaneOpen?"block":"none",width:"230px",zIndex:7},f=this.state.secondaryEditorOpen,h={height:f?this.state.secondaryEditorHeight:void 0},v=this.state.tabs;return e.createElement("div",{ref:function(e){r.graphiqlContainer=e},"data-testid":"graphiql-container",className:"graphiql-container"},this.state.historyPaneOpen&&e.createElement("div",{className:"historyPaneWrap",style:p},e.createElement(We,{ref:function(e){r._queryHistory=e},operationName:this.state.operationName,query:this.state.query,variables:this.state.variables,onSelectQuery:this.handleSelectHistoryQuery,storage:this._storage,maxHistoryLength:this.state.maxHistoryLength,queryID:this._editorQueryID},e.createElement("button",{className:"docExplorerHide",onClick:this.handleToggleHistory,"aria-label":"Close History"},"\u2715"))),e.createElement("div",{className:"editorWrap"},e.createElement("div",{className:"topBarWrap"},this.props.beforeTopBarContent,e.createElement("div",{className:"topBar"},i,e.createElement(d,{isRunning:Boolean(this.state.subscription),onRun:this.handleRunQuery,onStop:this.handleStopQuery,operations:this.state.operations}),a),!this.state.docExplorerOpen&&e.createElement("button",{className:"docExplorerShow",onClick:this.handleToggleDocs,"aria-label":"Open Documentation Explorer"},"Docs")),this.props.tabs?e.createElement(Dt,{tabsProps:{"aria-label":"Select active operation"}},v.tabs.map((function(t,n){return e.createElement(Ot,{key:t.id,isActive:n===v.activeTabIndex,title:t.title,isCloseable:v.tabs.length>1,onSelect:r.makeHandleOnSelectTab(n),onClose:r.makeHandleOnCloseTab(n),tabProps:{"aria-controls":"sessionWrap",id:"session-tab-"+n}})})),e.createElement(It,{onClick:this.handleOnAddTab})):null,e.createElement("div",{ref:function(e){r.editorBarComponent=e},role:"tabpanel",id:"sessionWrap",className:"editorBar","aria-labelledby":"session-tab-"+v.activeTabIndex,onDoubleClick:this.handleResetResize,onMouseDown:this.handleResizeStart},e.createElement("div",{className:"queryWrap",style:l},e.createElement(Q,{ref:function(e){r.queryEditorComponent=e},schema:this.state.schema,validationRules:this.props.validationRules,value:this.state.query,onEdit:this.handleEditQuery,onHintInformationRender:this.handleHintInformationRender,onClickReference:this.handleClickReference,onCopyQuery:this.handleCopyQuery,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,externalFragments:this.props.externalFragments}),e.createElement("section",{className:"variable-editor secondary-editor",style:h,"aria-label":this.state.variableEditorActive?"Query Variables":"Request Headers"},e.createElement("div",{className:"secondary-editor-title variable-editor-title",id:"secondary-editor-title",style:{cursor:f?"row-resize":"n-resize"},onMouseDown:this.handleSecondaryEditorResizeStart},e.createElement("div",{className:"variable-editor-title-text"+(this.state.variableEditorActive?" active":""),onClick:this.handleOpenVariableEditorTab,onMouseDown:this.handleTabClickPropogation},"Query Variables"),this.state.headerEditorEnabled&&e.createElement("div",{style:{marginLeft:"20px"},className:"variable-editor-title-text"+(this.state.headerEditorActive?" active":""),onClick:this.handleOpenHeaderEditorTab,onMouseDown:this.handleTabClickPropogation},"Request Headers")),e.createElement(X,{ref:function(e){r.variableEditorComponent=e},value:this.state.variables,variableToType:this.state.variableToType,onEdit:this.handleEditVariables,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.variableEditorActive}),this.state.headerEditorEnabled&&e.createElement(re,{ref:function(e){r.headerEditorComponent=e},value:this.state.headers,onEdit:this.handleEditHeaders,onHintInformationRender:this.handleHintInformationRender,onPrettifyQuery:this.handlePrettifyQuery,onMergeQuery:this.handleMergeQuery,onRunQuery:this.handleEditorRunQuery,editorTheme:this.props.editorTheme,readOnly:this.props.readOnly,active:this.state.headerEditorActive}))),e.createElement("div",{className:"resultWrap"},this.state.isWaitingForResponse&&e.createElement("div",{className:"spinner-container"},e.createElement("div",{className:"spinner"})),e.createElement(se,{registerRef:function(e){r.resultViewerElement=e},ref:function(e){r.resultComponent=e},value:this.state.response,editorTheme:this.props.editorTheme,ResultsTooltip:this.props.ResultsTooltip,ImagePreview:m}),s))),this.state.docExplorerOpen&&e.createElement("div",{className:u,style:c},e.createElement("div",{className:"docExplorerResizer",onDoubleClick:this.handleDocsResetResize,onMouseDown:this.handleDocsResizeStart}),e.createElement(Pe,{ref:function(e){r.docExplorerComponent=e},schemaErrors:this.state.schemaErrors,schema:this.state.schema},e.createElement("button",{className:"docExplorerHide",onClick:this.handleToggleDocs,"aria-label":"Close Documentation Explorer"},"\u2715"))))},n.prototype.getQueryEditor=function(){if(this.queryEditorComponent)return this.queryEditorComponent.getCodeMirror()},n.prototype.getVariableEditor=function(){return this.variableEditorComponent?this.variableEditorComponent.getCodeMirror():null},n.prototype.getHeaderEditor=function(){return this.headerEditorComponent?this.headerEditorComponent.getCodeMirror():null},n.prototype.refresh=function(){this.queryEditorComponent&&this.queryEditorComponent.getCodeMirror().refresh(),this.variableEditorComponent&&this.variableEditorComponent.getCodeMirror().refresh(),this.headerEditorComponent&&this.headerEditorComponent.getCodeMirror().refresh(),this.resultComponent&&this.resultComponent.getCodeMirror().refresh()},n.prototype.autoCompleteLeafs=function(){var e=rt(this.state.schema,this.state.query,this.props.getDefaultFieldNames),t=e.insertions,n=e.result;if(t&&t.length>0){var r=this.getQueryEditor();r&&r.operation((function(){var e=r.getCursor(),o=r.indexFromPos(e);r.setValue(n||"");var i=0,a=t.map((function(e){var t=e.index,n=e.string;return r.markText(r.posFromIndex(t+i),r.posFromIndex(t+(i+=n.length)),{className:"autoInsertedLeaf",clearOnEnter:!0,title:"Automatically added leaf fields"})}));setTimeout((function(){return a.forEach((function(e){return e.clear()}))}),7e3);var s=o;t.forEach((function(e){var t=e.index,n=e.string;t<o&&(s+=n.length)})),r.setCursor(r.posFromIndex(s))}))}return n},n.prototype.fetchSchema=function(){var e=this,t=this.props.fetcher,n={shouldPersistHeaders:Boolean(this.props.shouldPersistHeaders),documentAST:this.state.documentAST};try{this.state.headers&&this.state.headers.trim().length>2?n.headers=JSON.parse(this.state.headers):this.props.headers&&(n.headers=JSON.parse(this.props.headers))}catch(o){return void this.setState({response:"Introspection failed as headers are invalid."})}var r=Et(t({query:this._introspectionQuery,operationName:this._introspectionQueryName},n));yt(r)?r.then((function(o){if("string"!==typeof o&&"data"in o)return o;var i=Et(t({query:e._introspectionQuerySansSubscriptions,operationName:e._introspectionQueryName},n));if(!yt(r))throw new Error("Fetcher did not return a Promise for introspection.");return i})).then((function(t){var n,r;if(void 0===e.state.schema)if(t&&t.data&&"__schema"in(null===t||void 0===t?void 0:t.data)){var o=(0,a.D)(t.data);if(!e.props.dangerouslyAssumeSchemaIsValid){var i=(0,At.i)(o);i&&i.length>0&&(o=void 0,e.handleSchemaErrors(i))}if(o){var s=(0,u.getOperationFacts)(o,e.state.query);e.safeSetState(Lt(Lt({schema:o},s),{schemaErrors:void 0})),null===(r=(n=e.props).onSchemaChange)||void 0===r||r.call(n,o)}}else{var l="string"===typeof t?t:St(t);e.handleSchemaErrors([l])}})).catch((function(t){e.handleSchemaErrors([t])})):this.setState({response:"Fetcher did not return a Promise for introspection."})},n.prototype.handleSchemaErrors=function(e){this.safeSetState({response:e?wt(e):void 0,schema:void 0,schemaErrors:e})},n.prototype._fetchQuery=function(e,t,n,i,a,l){return Mt(this,void 0,void 0,(function(){var c,p,d,f,h,m,v=this;return jt(this,(function(y){c=this.props.fetcher,p=null,d=null;try{p=t&&""!==t.trim()?JSON.parse(t):null}catch(g){throw new Error("Variables are invalid JSON: "+g.message+".")}if("object"!==typeof p)throw new Error("Variables are not a JSON object.");try{d=n&&""!==n.trim()?JSON.parse(n):null}catch(g){throw new Error("Headers are invalid JSON: "+g.message+".")}if("object"!==typeof d)throw new Error("Headers are not a JSON object.");return this.props.externalFragments&&(f=new Map,Array.isArray(this.props.externalFragments)?this.props.externalFragments.forEach((function(e){f.set(e.name.value,e)})):(0,s.YR)((0,o.qg)(this.props.externalFragments,{}),{FragmentDefinition:function(e){f.set(e.name.value,e)}}),(h=(0,u.getFragmentDependenciesForAST)(this.state.documentAST,f)).length>0&&(e+="\n"+h.map((function(e){return(0,r.y)(e)})).join("\n"))),m=c({query:e,variables:p,operationName:i},{headers:d,shouldPersistHeaders:a,documentAST:this.state.documentAST}),[2,Promise.resolve(m).then((function(e){return gt(e)?e.subscribe({next:l,error:function(e){v.safeSetState({isWaitingForResponse:!1,response:e?wt(e):void 0,subscription:null})},complete:function(){v.safeSetState({isWaitingForResponse:!1,subscription:null})}}):bt(e)?(Mt(v,void 0,void 0,(function(){var t,n,r,o,i,a,s;return jt(this,(function(c){switch(c.label){case 0:c.trys.push([0,13,,14]),c.label=1;case 1:c.trys.push([1,6,7,12]),t=Ut(e),c.label=2;case 2:return[4,t.next()];case 3:if((n=c.sent()).done)return[3,5];r=n.value,l(r),c.label=4;case 4:return[3,2];case 5:return[3,12];case 6:return o=c.sent(),a={error:o},[3,12];case 7:return c.trys.push([7,,10,11]),n&&!n.done&&(s=t.return)?[4,s.call(t)]:[3,9];case 8:c.sent(),c.label=9;case 9:return[3,11];case 10:if(a)throw a.error;return[7];case 11:return[7];case 12:return this.safeSetState({isWaitingForResponse:!1,subscription:null}),[3,14];case 13:return i=c.sent(),this.safeSetState({isWaitingForResponse:!1,response:i?wt(i):void 0,subscription:null}),[3,14];case 14:return[2]}}))})),{unsubscribe:function(){var t,n;return null===(n=(t=e[Symbol.asyncIterator]()).return)||void 0===n?void 0:n.call(t)}}):(l(e),null)})).catch((function(e){return v.safeSetState({isWaitingForResponse:!1,response:e?wt(e):void 0}),null}))]}))}))},n.prototype._runQueryAtCursor=function(){if(this.state.subscription)this.handleStopQuery();else{var e,t=this.state.operations;if(t){var n=this.getQueryEditor();if(n&&n.hasFocus())for(var r=n.getCursor(),o=n.indexFromPos(r),i=0;i<t.length;i++){var a=t[i];if(a.loc&&a.loc.start<=o&&a.loc.end>=o){e=a.name&&a.name.value;break}}}this.handleRunQuery(e)}},n.prototype._didClickDragBar=function(e){if(0!==e.button||e.ctrlKey)return!1;var t=e.target;if(0!==t.className.indexOf("CodeMirror-gutter"))return!1;for(var n=this.resultViewerElement;t;){if(t===n)return!0;t=t.parentNode}return!1},n.Logo=Yt,n.Toolbar=Gt,n.Footer=Qt,n.QueryEditor=Q,n.VariableEditor=X,n.HeaderEditor=re,n.ResultViewer=se,n.Button=y,n.ToolbarButton=y,n.Group=g,n.Menu=E,n.MenuItem=_,n}(e.Component);function Yt(t){return e.createElement("div",{className:"title"},t.children||e.createElement("span",null,"Graph",e.createElement("em",null,"i"),"QL"))}function Gt(t){return e.createElement("div",{className:"toolbar",role:"toolbar","aria-label":"Editor Commands"},t.children)}function Qt(t){return e.createElement("div",{className:"footer"},t.children)}Yt.displayName="GraphiQLLogo",Gt.displayName="GraphiQLToolbar",Qt.displayName="GraphiQLFooter";var Kt='# Welcome to GraphiQL\n#\n# GraphiQL is an in-browser tool for writing, validating, and\n# testing GraphQL queries.\n#\n# Type queries into this side of the screen, and you will see intelligent\n# typeaheads aware of the current GraphQL type schema and live syntax and\n# validation errors highlighted within the text.\n#\n# GraphQL queries typically start with a "{" character. Lines that start\n# with a # are ignored.\n#\n# An example GraphQL query might look like:\n#\n#     {\n#       field(arg: "value") {\n#         subField\n#       }\n#     }\n#\n# Keyboard shortcuts:\n#\n#  Prettify Query:  Shift-Ctrl-P (or press the prettify button above)\n#\n#     Merge Query:  Shift-Ctrl-M (or press the merge button above)\n#\n#       Run Query:  Ctrl-Enter (or press the play button above)\n#\n#   Auto Complete:  Ctrl-Space (or just start typing)\n#\n\n';function Wt(e,t){var n;return!(!(null===(n=null===e||void 0===e?void 0:e.type)||void 0===n?void 0:n.displayName)||e.type.displayName!==t.displayName)||e.type===t}function Jt(e,t){return Lt(Lt({},t),{tabs:t.tabs.map((function(n,r){return r!==t.activeTabIndex?n:Lt(Lt({},n),{headers:e,hash:Rt({query:n.query,headers:e,variables:n.variables})})}))})}function $t(e,t){return Lt(Lt({},t),{tabs:t.tabs.map((function(n,r){return r!==t.activeTabIndex?n:Lt(Lt({},n),{variables:e,hash:Rt({query:n.query,headers:n.headers,variables:e})})}))})}function Xt(e,t,n){return Lt(Lt({},t),{tabs:t.tabs.map((function(r,o){return o!==t.activeTabIndex?r:Lt(Lt({},r),{title:null!==n&&void 0!==n?n:xt(e),query:e,hash:Rt({query:e,headers:r.headers,variables:r.variables})})}))})}var Zt=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){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),en=function(){return en=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},en.apply(this,arguments)};!function(t){function n(e){var n=t.call(this,e)||this;return n._node=null,n._listener=null,n.handleOpen=function(e){nn(e),n.setState({visible:!0}),n._subscribe()},n.state={visible:!1},n}Zt(n,t),n.prototype.componentWillUnmount=function(){this._release()},n.prototype.render=function(){var t,n=this,r=this.state.visible,o=e.Children.map(this.props.children,(function(r,o){if(!function(e){return!(!e||"object"!==typeof e||!("props"in e))}(r))return null;t&&!r.props.selected||(t=r);var i=r.props.onSelect||n.props.onSelect&&n.props.onSelect.bind(null,r.props.value,o);return e.createElement(tn,en({},r.props,{onSelect:i}))}));return e.createElement("a",{className:"toolbar-select toolbar-button",onClick:this.handleOpen.bind(this),onMouseDown:nn,ref:function(e){n._node=e},title:this.props.title},null===t||void 0===t?void 0:t.props.label,e.createElement("svg",{width:"13",height:"10"},e.createElement("path",{fill:"#666",d:"M 5 5 L 13 5 L 9 1 z"}),e.createElement("path",{fill:"#666",d:"M 5 6 L 13 6 L 9 10 z"})),e.createElement("ul",{className:"toolbar-select-options"+(r?" open":"")},o))},n.prototype._subscribe=function(){this._listener||(this._listener=this.handleClick.bind(this),document.addEventListener("click",this._listener))},n.prototype._release=function(){this._listener&&(document.removeEventListener("click",this._listener),this._listener=null)},n.prototype.handleClick=function(e){this._node!==e.target&&(nn(e),this.setState({visible:!1}),this._release())}}(e.Component);function tn(t){var n=t.onSelect,r=t.label,o=t.selected;return e.createElement("li",{onMouseOver:function(e){e.currentTarget.className="hover"},onMouseOut:function(e){e.currentTarget.className=""},onMouseDown:nn,onMouseUp:n},r,o&&e.createElement("svg",{width:"13",height:"13"},e.createElement("polygon",{points:"4.851,10.462 0,5.611 2.314,3.297 4.851,5.835\n    10.686,0 13,2.314 4.851,10.462"})))}function nn(e){e.preventDefault()}const rn=Ht;var on=n(4558);function an(){return an=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},an.apply(this,arguments)}function sn(e,t){return sn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},sn(e,t)}function ln(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,sn(e,t)}const cn=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)};const un=Array.isArray;const pn="object"==typeof global&&global&&global.Object===Object&&global;var dn="object"==typeof self&&self&&self.Object===Object&&self;const fn=pn||dn||Function("return this")();const hn=fn.Symbol;var mn=Object.prototype,vn=mn.hasOwnProperty,yn=mn.toString,gn=hn?hn.toStringTag:void 0;const bn=function(e){var t=vn.call(e,gn),n=e[gn];try{e[gn]=void 0;var r=!0}catch(i){}var o=yn.call(e);return r&&(t?e[gn]=n:delete e[gn]),o};var En=Object.prototype.toString;const _n=function(e){return En.call(e)};var Tn=hn?hn.toStringTag:void 0;const kn=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Tn&&Tn in Object(e)?bn(e):_n(e)};const wn=function(e){return null!=e&&"object"==typeof e};const Sn=function(e){return"symbol"==typeof e||wn(e)&&"[object Symbol]"==kn(e)};var An=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nn=/^\w*$/;const Cn=function(e,t){if(un(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Sn(e))||(Nn.test(e)||!An.test(e)||null!=t&&e in Object(t))};const On=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const In=function(e){if(!On(e))return!1;var t=kn(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const Dn=fn["__core-js_shared__"];var xn=function(){var e=/[^.]+$/.exec(Dn&&Dn.keys&&Dn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();const Rn=function(e){return!!xn&&xn in e};var Fn=Function.prototype.toString;const Pn=function(e){if(null!=e){try{return Fn.call(e)}catch(t){}try{return e+""}catch(t){}}return""};var Ln=/^\[object .+?Constructor\]$/,Mn=Function.prototype,jn=Object.prototype,Vn=Mn.toString,Un=jn.hasOwnProperty,qn=RegExp("^"+Vn.call(Un).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const zn=function(e){return!(!On(e)||Rn(e))&&(In(e)?qn:Ln).test(Pn(e))};const Bn=function(e,t){return null==e?void 0:e[t]};const Hn=function(e,t){var n=Bn(e,t);return zn(n)?n:void 0};const Yn=Hn(Object,"create");const Gn=function(){this.__data__=Yn?Yn(null):{},this.size=0};const Qn=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t};var Kn=Object.prototype.hasOwnProperty;const Wn=function(e){var t=this.__data__;if(Yn){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Kn.call(t,e)?t[e]:void 0};var Jn=Object.prototype.hasOwnProperty;const $n=function(e){var t=this.__data__;return Yn?void 0!==t[e]:Jn.call(t,e)};const Xn=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yn&&void 0===t?"__lodash_hash_undefined__":t,this};function Zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zn.prototype.clear=Gn,Zn.prototype.delete=Qn,Zn.prototype.get=Wn,Zn.prototype.has=$n,Zn.prototype.set=Xn;const er=Zn;const tr=function(){this.__data__=[],this.size=0};const nr=function(e,t){return e===t||e!==e&&t!==t};const rr=function(e,t){for(var n=e.length;n--;)if(nr(e[n][0],t))return n;return-1};var or=Array.prototype.splice;const ir=function(e){var t=this.__data__,n=rr(t,e);return!(n<0)&&(n==t.length-1?t.pop():or.call(t,n,1),--this.size,!0)};const ar=function(e){var t=this.__data__,n=rr(t,e);return n<0?void 0:t[n][1]};const sr=function(e){return rr(this.__data__,e)>-1};const lr=function(e,t){var n=this.__data__,r=rr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function cr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}cr.prototype.clear=tr,cr.prototype.delete=ir,cr.prototype.get=ar,cr.prototype.has=sr,cr.prototype.set=lr;const ur=cr;const pr=Hn(fn,"Map");const dr=function(){this.size=0,this.__data__={hash:new er,map:new(pr||ur),string:new er}};const fr=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e};const hr=function(e,t){var n=e.__data__;return fr(t)?n["string"==typeof t?"string":"hash"]:n.map};const mr=function(e){var t=hr(this,e).delete(e);return this.size-=t?1:0,t};const vr=function(e){return hr(this,e).get(e)};const yr=function(e){return hr(this,e).has(e)};const gr=function(e,t){var n=hr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function br(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}br.prototype.clear=dr,br.prototype.delete=mr,br.prototype.get=vr,br.prototype.has=yr,br.prototype.set=gr;const Er=br;function _r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(_r.Cache||Er),n}_r.Cache=Er;const Tr=_r;var kr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,wr=/\\(\\)?/g;const Sr=function(e){var t=Tr(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(kr,(function(e,n,r,o){t.push(r?o.replace(wr,"$1"):n||e)})),t}));const Ar=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o};var Nr=hn?hn.prototype:void 0,Cr=Nr?Nr.toString:void 0;const Or=function e(t){if("string"==typeof t)return t;if(un(t))return Ar(t,e)+"";if(Sn(t))return Cr?Cr.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n};const Ir=function(e){return null==e?"":Or(e)};const Dr=function(e,t){return un(e)?e:Cn(e,t)?[e]:Sr(Ir(e))};const xr=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};const Rr=function(e){if("string"==typeof e||Sn(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t};const Fr=function(e,t){for(var n=0,r=(t=Dr(t,e)).length;null!=e&&n<r;)e=e[Rr(t[n++])];return n&&n==r?e:void 0};const Pr=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i};const Lr=function(e,t){return t.length<2?e:Fr(e,Pr(t,0,-1))};const Mr=function(e,t,n){t=Dr(t,e);var r=null==(e=Lr(e,t))?e:e[Rr(xr(t))];return null==r?void 0:cn(r,e,n)};const jr=function(e){return e};var Vr=Math.max;const Ur=function(e,t,n){return t=Vr(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Vr(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),cn(e,this,s)}};const qr=function(e){return function(){return e}};const zr=function(){try{var e=Hn(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();const Br=zr?function(e,t){return zr(e,"toString",{configurable:!0,enumerable:!1,value:qr(t),writable:!0})}:jr;var Hr=Date.now;const Yr=function(e){var t=0,n=0;return function(){var r=Hr(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(Br);const Gr=function(e,t){return Yr(Ur(e,t,jr),e+"")};const Qr=Gr(Mr);function Kr(e){var t,n,r="";if("string"===typeof e||"number"===typeof e)r+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Kr(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function Wr(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Kr(e))&&(r&&(r+=" "),r+=t);return r}var Jr={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function $r(e){var t=typeof e;return"string"===t||"number"===t?Jr[e]||e:""}var Xr=function(e,t){return e&&t},Zr=function(e,t){return e&&!0!==e&&e+" "+t},eo=function(e,t){return e&&(!0===e?t:e+" "+t)},to=function(e){return Zr(e,"aligned")},no=function(e,t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),n&&"equal"===e)return"equal width";var r=typeof e;return"string"!==r&&"number"!==r||!t?$r(e):$r(e)+" "+t};const ro=function(e,t){var n=e.handledProps,r=void 0===n?[]:n;return Object.keys(t).reduce((function(e,n){return"childKey"===n||-1===r.indexOf(n)&&(e[n]=t[n]),e}),{})};const oo=function(e,t,n){var r=e.defaultProps,o=void 0===r?{}:r;if(t.as&&t.as!==o.as)return t.as;if(n){var i=n();if(i)return i}return t.href?"a":o.as||"div"};const io=function(e){return null==e};var ao=n(3363),so=function(e,t){"function"!==typeof e?null!==e&&"object"===typeof e&&(e.current=t):e(t)},lo=function(e){return null!==e&&"object"===typeof e&&e.hasOwnProperty("current")};var co=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).prevNode=void 0,t}ln(n,e);var r=n.prototype;return r.componentDidMount=function(){var e=t.findDOMNode(this);this.prevNode=e,so(this.props.innerRef,e)},r.componentDidUpdate=function(e){var n=t.findDOMNode(this);this.prevNode!==n&&(this.prevNode=n,so(this.props.innerRef,n)),e.innerRef!==this.props.innerRef&&so(this.props.innerRef,n)},r.componentWillUnmount=function(){so(this.props.innerRef,null),delete this.prevNode},r.render=function(){return this.props.children},n}(e.Component),uo=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).currentNode=void 0,e.handleRefOverride=function(t){var n=e.props,r=n.children,o=n.innerRef;so(r.ref,t),so(o,t),e.currentNode=t},e}ln(n,t);var r=n.prototype;return r.componentDidUpdate=function(e){e.innerRef!==this.props.innerRef&&so(this.props.innerRef,this.currentNode)},r.componentWillUnmount=function(){delete this.currentNode},r.render=function(){var t=this.props.children;return e.cloneElement(t,{ref:this.handleRefOverride})},n}(e.Component),po=["children","innerRef"],fo=function(t){var n=t.children,r=t.innerRef,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,po),i=e.Children.only(n),a=ao.isForwardRef(i)?uo:co,s=i&&o&&Object.keys(o).length>0?e.cloneElement(i,o):i;return e.createElement(a,{innerRef:r},s)};const ho=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1};const mo=function(){this.__data__=new ur,this.size=0};const vo=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n};const yo=function(e){return this.__data__.get(e)};const go=function(e){return this.__data__.has(e)};const bo=function(e,t){var n=this.__data__;if(n instanceof ur){var r=n.__data__;if(!pr||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Er(r)}return n.set(e,t),this.size=n.size,this};function Eo(e){var t=this.__data__=new ur(e);this.size=t.size}Eo.prototype.clear=mo,Eo.prototype.delete=vo,Eo.prototype.get=yo,Eo.prototype.has=go,Eo.prototype.set=bo;const _o=Eo;const To=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this};const ko=function(e){return this.__data__.has(e)};function wo(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Er;++t<n;)this.add(e[t])}wo.prototype.add=wo.prototype.push=To,wo.prototype.has=ko;const So=wo;const Ao=function(e,t){return e.has(t)};const No=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var p=-1,d=!0,f=2&n?new So:void 0;for(i.set(e,t),i.set(t,e);++p<s;){var h=e[p],m=t[p];if(r)var v=a?r(m,h,p,t,e,i):r(h,m,p,e,t,i);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!ho(t,(function(e,t){if(!Ao(f,t)&&(h===e||o(h,e,n,r,i)))return f.push(t)}))){d=!1;break}}else if(h!==m&&!o(h,m,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d};const Co=fn.Uint8Array;const Oo=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n};const Io=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n};var Do=hn?hn.prototype:void 0,xo=Do?Do.valueOf:void 0;const Ro=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Co(e),new Co(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return nr(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Oo;case"[object Set]":var l=1&r;if(s||(s=Io),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=No(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(xo)return xo.call(e)==xo.call(t)}return!1};const Fo=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e};const Po=function(e,t,n){var r=t(e);return un(e)?r:Fo(r,n(e))};const Lo=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i};const Mo=function(){return[]};var jo=Object.prototype.propertyIsEnumerable,Vo=Object.getOwnPropertySymbols;const Uo=Vo?function(e){return null==e?[]:(e=Object(e),Lo(Vo(e),(function(t){return jo.call(e,t)})))}:Mo;const qo=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r};const zo=function(e){return wn(e)&&"[object Arguments]"==kn(e)};var Bo=Object.prototype,Ho=Bo.hasOwnProperty,Yo=Bo.propertyIsEnumerable;const Go=zo(function(){return arguments}())?zo:function(e){return wn(e)&&Ho.call(e,"callee")&&!Yo.call(e,"callee")};const Qo=function(){return!1};var Ko="object"==typeof exports&&exports&&!exports.nodeType&&exports,Wo=Ko&&"object"==typeof module&&module&&!module.nodeType&&module,Jo=Wo&&Wo.exports===Ko?fn.Buffer:void 0;const $o=(Jo?Jo.isBuffer:void 0)||Qo;var Xo=/^(?:0|[1-9]\d*)$/;const Zo=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Xo.test(e))&&e>-1&&e%1==0&&e<t};const ei=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991};var ti={};ti["[object Float32Array]"]=ti["[object Float64Array]"]=ti["[object Int8Array]"]=ti["[object Int16Array]"]=ti["[object Int32Array]"]=ti["[object Uint8Array]"]=ti["[object Uint8ClampedArray]"]=ti["[object Uint16Array]"]=ti["[object Uint32Array]"]=!0,ti["[object Arguments]"]=ti["[object Array]"]=ti["[object ArrayBuffer]"]=ti["[object Boolean]"]=ti["[object DataView]"]=ti["[object Date]"]=ti["[object Error]"]=ti["[object Function]"]=ti["[object Map]"]=ti["[object Number]"]=ti["[object Object]"]=ti["[object RegExp]"]=ti["[object Set]"]=ti["[object String]"]=ti["[object WeakMap]"]=!1;const ni=function(e){return wn(e)&&ei(e.length)&&!!ti[kn(e)]};const ri=function(e){return function(t){return e(t)}};var oi="object"==typeof exports&&exports&&!exports.nodeType&&exports,ii=oi&&"object"==typeof module&&module&&!module.nodeType&&module,ai=ii&&ii.exports===oi&&pn.process,si=function(){try{var e=ii&&ii.require&&ii.require("util").types;return e||ai&&ai.binding&&ai.binding("util")}catch(t){}}();var li=si&&si.isTypedArray;const ci=li?ri(li):ni;var ui=Object.prototype.hasOwnProperty;const pi=function(e,t){var n=un(e),r=!n&&Go(e),o=!n&&!r&&$o(e),i=!n&&!r&&!o&&ci(e),a=n||r||o||i,s=a?qo(e.length,String):[],l=s.length;for(var c in e)!t&&!ui.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Zo(c,l))||s.push(c);return s};var di=Object.prototype;const fi=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||di)};const hi=function(e,t){return function(n){return e(t(n))}};const mi=hi(Object.keys,Object);var vi=Object.prototype.hasOwnProperty;const yi=function(e){if(!fi(e))return mi(e);var t=[];for(var n in Object(e))vi.call(e,n)&&"constructor"!=n&&t.push(n);return t};const gi=function(e){return null!=e&&ei(e.length)&&!In(e)};const bi=function(e){return gi(e)?pi(e):yi(e)};const Ei=function(e){return Po(e,bi,Uo)};var _i=Object.prototype.hasOwnProperty;const Ti=function(e,t,n,r,o,i){var a=1&n,s=Ei(e),l=s.length;if(l!=Ei(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:_i.call(t,u)))return!1}var p=i.get(e),d=i.get(t);if(p&&d)return p==t&&d==e;var f=!0;i.set(e,t),i.set(t,e);for(var h=a;++c<l;){var m=e[u=s[c]],v=t[u];if(r)var y=a?r(v,m,u,t,e,i):r(m,v,u,e,t,i);if(!(void 0===y?m===v||o(m,v,n,r,i):y)){f=!1;break}h||(h="constructor"==u)}if(f&&!h){var g=e.constructor,b=t.constructor;g==b||!("constructor"in e)||!("constructor"in t)||"function"==typeof g&&g instanceof g&&"function"==typeof b&&b instanceof b||(f=!1)}return i.delete(e),i.delete(t),f};const ki=Hn(fn,"DataView");const wi=Hn(fn,"Promise");const Si=Hn(fn,"Set");const Ai=Hn(fn,"WeakMap");var Ni="[object Map]",Ci="[object Promise]",Oi="[object Set]",Ii="[object WeakMap]",Di="[object DataView]",xi=Pn(ki),Ri=Pn(pr),Fi=Pn(wi),Pi=Pn(Si),Li=Pn(Ai),Mi=kn;(ki&&Mi(new ki(new ArrayBuffer(1)))!=Di||pr&&Mi(new pr)!=Ni||wi&&Mi(wi.resolve())!=Ci||Si&&Mi(new Si)!=Oi||Ai&&Mi(new Ai)!=Ii)&&(Mi=function(e){var t=kn(e),n="[object Object]"==t?e.constructor:void 0,r=n?Pn(n):"";if(r)switch(r){case xi:return Di;case Ri:return Ni;case Fi:return Ci;case Pi:return Oi;case Li:return Ii}return t});const ji=Mi;var Vi="[object Arguments]",Ui="[object Array]",qi="[object Object]",zi=Object.prototype.hasOwnProperty;const Bi=function(e,t,n,r,o,i){var a=un(e),s=un(t),l=a?Ui:ji(e),c=s?Ui:ji(t),u=(l=l==Vi?qi:l)==qi,p=(c=c==Vi?qi:c)==qi,d=l==c;if(d&&$o(e)){if(!$o(t))return!1;a=!0,u=!1}if(d&&!u)return i||(i=new _o),a||ci(e)?No(e,t,n,r,o,i):Ro(e,t,l,n,r,o,i);if(!(1&n)){var f=u&&zi.call(e,"__wrapped__"),h=p&&zi.call(t,"__wrapped__");if(f||h){var m=f?e.value():e,v=h?t.value():t;return i||(i=new _o),o(m,v,n,r,i)}}return!!d&&(i||(i=new _o),Ti(e,t,n,r,o,i))};const Hi=function e(t,n,r,o,i){return t===n||(null==t||null==n||!wn(t)&&!wn(n)?t!==t&&n!==n:Bi(t,n,r,o,e,i))};const Yi=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var p=new _o;if(r)var d=r(c,u,l,e,t,p);if(!(void 0===d?Hi(u,c,3,r,p):d))return!1}}return!0};const Gi=function(e){return e===e&&!On(e)};const Qi=function(e){for(var t=bi(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Gi(o)]}return t};const Ki=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}};const Wi=function(e){var t=Qi(e);return 1==t.length&&t[0][2]?Ki(t[0][0],t[0][1]):function(n){return n===e||Yi(n,e,t)}};const Ji=function(e,t,n){var r=null==e?void 0:Fr(e,t);return void 0===r?n:r};const $i=function(e,t){return null!=e&&t in Object(e)};const Xi=function(e,t,n){for(var r=-1,o=(t=Dr(t,e)).length,i=!1;++r<o;){var a=Rr(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ei(o)&&Zo(a,o)&&(un(e)||Go(e))};const Zi=function(e,t){return null!=e&&Xi(e,t,$i)};const ea=function(e,t){return Cn(e)&&Gi(t)?Ki(Rr(e),t):function(n){var r=Ji(n,e);return void 0===r&&r===t?Zi(n,e):Hi(t,r,3)}};const ta=function(e){return function(t){return null==t?void 0:t[e]}};const na=function(e){return function(t){return Fr(t,e)}};const ra=function(e){return Cn(e)?ta(Rr(e)):na(e)};const oa=function(e){return"function"==typeof e?e:null==e?jr:"object"==typeof e?un(e)?ea(e[0],e[1]):Wi(e):ra(e)};const ia=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}();const aa=function(e,t){return function(n,r){if(null==n)return n;if(!gi(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}((function(e,t){return e&&ia(e,t,bi)}));const sa=function(e,t){var n;return aa(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n};const la=function(e,t,n){if(!On(n))return!1;var r=typeof t;return!!("number"==r?gi(n)&&Zo(t,n.length):"string"==r&&t in n)&&nr(n[t],e)};const ca=function(e,t,n){var r=un(e)?ho:sa;return n&&la(e,t,n)&&(t=void 0),r(e,oa(t,3))};var ua=function(e){return null===e||void 0===e||Array.isArray(e)&&0===e.length};const pa=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1};const da=function(e){return e!==e};const fa=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1};const ha=function(e,t,n){return t===t?fa(e,t,n):pa(e,da,n)};const ma=function(e,t){return!!(null==e?0:e.length)&&ha(e,t,0)>-1};const va=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1};const ya=function(){};var ga=Si&&1/Io(new Si([,-0]))[1]==1/0?function(e){return new Si(e)}:ya;const ba=ga;const Ea=function(e,t,n){var r=-1,o=ma,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=va;else if(i>=200){var c=t?null:ba(e);if(c)return Io(c);a=!1,o=Ao,l=new So}else l=t?[]:s;e:for(;++r<i;){var u=e[r],p=t?t(u):u;if(u=n||0!==u?u:0,a&&p===p){for(var d=l.length;d--;)if(l[d]===p)continue e;t&&l.push(p),s.push(u)}else o(l,p,n)||(l!==s&&l.push(p),s.push(u))}return s};const _a=function(e){return e&&e.length?Ea(e):[]};const Ta=hi(Object.getPrototypeOf,Object);var ka=Function.prototype,wa=Object.prototype,Sa=ka.toString,Aa=wa.hasOwnProperty,Na=Sa.call(Object);const Ca=function(e){if(!wn(e)||"[object Object]"!=kn(e))return!1;var t=Ta(e);if(null===t)return!0;var n=Aa.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Sa.call(n)==Na};const Oa=function(e){return"number"==typeof e||wn(e)&&"[object Number]"==kn(e)};const Ia=function(e){return"string"==typeof e||!un(e)&&wn(e)&&"[object String]"==kn(e)};const Da=function(e){return!0===e||!1===e||wn(e)&&"[object Boolean]"==kn(e)};function xa(t,n,r,o){if(void 0===o&&(o={}),"function"!==typeof t&&"string"!==typeof t)throw new Error("createShorthand() Component must be a string or function.");if(io(r)||Da(r))return null;var i=Ia(r),a=Oa(r),s=In(r),l=e.isValidElement(r),c=Ca(r),u=i||a||un(r);if(!s&&!l&&!c&&!u)return null;var p=o.defaultProps,d=void 0===p?{}:p,f=l&&r.props||c&&r||u&&n(r),h=o.overrideProps,m=void 0===h?{}:h;m=In(m)?m(an({},d,f)):m;var v=an({},d,f,m);if(d.className||m.className||f.className){var y=Wr(d.className,m.className,f.className);v.className=_a(y.split(" ")).join(" ")}if((d.style||m.style||f.style)&&(v.style=an({},d.style,f.style,m.style)),io(v.key)){var g=v.childKey,b=o.autoGenerateKey,E=void 0===b||b;io(g)?E&&(i||a)&&(v.key=r):(v.key="function"===typeof g?g(v):g,delete v.childKey)}return l?e.cloneElement(r,v):"function"===typeof v.children?v.children(t,an({},v,{children:void 0})):u||c?e.createElement(t,v):s?r(t,v,v.children):void 0}function Ra(e,t){if("function"!==typeof e&&"string"!==typeof e)throw new Error("createShorthandFactory() Component must be a string or function.");return function(n,r){return xa(e,t,n,r)}}var Fa=Ra("input",(function(e){return{type:e}})),Pa=Ra("label",(function(e){return{children:e}}));function La(t){var n=t.children,r=t.className,o=t.content,i=Wr(t.size,"icons",r),a=ro(La,t),s=oo(La,t);return e.createElement(s,an({},a,{className:i}),ua(n)?o:n)}La.handledProps=["as","children","className","content","size"],La.propTypes={},La.defaultProps={as:"i"};const Ma=La;var ja=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleClick=function(t){e.props.disabled?t.preventDefault():Qr(e.props,"onClick",t,e.props)},e}ln(n,t);var r=n.prototype;return r.getIconAriaOptions=function(){var e={},t=this.props,n=t["aria-label"],r=t["aria-hidden"];return io(n)?e["aria-hidden"]="true":e["aria-label"]=n,io(r)||(e["aria-hidden"]=r),e},r.render=function(){var t=this.props,r=t.bordered,o=t.circular,i=t.className,a=t.color,s=t.corner,l=t.disabled,c=t.fitted,u=t.flipped,p=t.inverted,d=t.link,f=t.loading,h=t.name,m=t.rotated,v=Wr(a,h,t.size,Xr(r,"bordered"),Xr(o,"circular"),Xr(l,"disabled"),Xr(c,"fitted"),Xr(p,"inverted"),Xr(d,"link"),Xr(f,"loading"),eo(s,"corner"),Zr(u,"flipped"),Zr(m,"rotated"),"icon",i),y=ro(n,this.props),g=oo(n,this.props),b=this.getIconAriaOptions();return e.createElement(g,an({},y,b,{className:v,onClick:this.handleClick}))},n}(e.PureComponent);ja.handledProps=["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"],ja.propTypes={},ja.defaultProps={as:"i"},ja.Group=Ma,ja.create=Ra(ja,(function(e){return{name:e}}));const Va=ja;const Ua=function(e){return void 0===e};var qa=/\s/;const za=function(e){for(var t=e.length;t--&&qa.test(e.charAt(t)););return t};var Ba=/^\s+/;const Ha=function(e){return e?e.slice(0,za(e)+1).replace(Ba,""):e};var Ya=/^[-+]0x[0-9a-f]+$/i,Ga=/^0b[01]+$/i,Qa=/^0o[0-7]+$/i,Ka=parseInt;const Wa=function(e){if("number"==typeof e)return e;if(Sn(e))return NaN;if(On(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=On(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Ha(e);var n=Ga.test(e);return n||Qa.test(e)?Ka(e.slice(2),n?2:8):Ya.test(e)?NaN:+e};var Ja=1/0;const $a=function(e){return e?(e=Wa(e))===Ja||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0};const Xa=function(e){var t=$a(e),n=t%1;return t===t?n?t-n:t:0};const Za=function(e,t){return Ar(t,(function(t){return e[t]}))};const es=function(e){return null==e?[]:Za(e,bi(e))};var ts=Math.max;const ns=function(e,t,n,r){e=gi(e)?e:es(e),n=n&&!r?Xa(n):0;var o=e.length;return n<0&&(n=ts(o+n,0)),Ia(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&ha(e,t,n)>-1};const rs=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e};const os=function(e){return"function"==typeof e?e:jr};const is=function(e,t){return(un(e)?rs:aa)(e,os(t))};var as=["selected","defaultValue","defaultChecked","accept","autoCapitalize","autoComplete","autoCorrect","autoFocus","checked","disabled","form","id","inputMode","lang","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","step","title","type","value"],ss=[].concat(as,["onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onClick","onContextMenu","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"]),ls=["alt","height","src","srcSet","width","loading"],cs=function(e,t){void 0===t&&(t={});var n=t,r=n.htmlProps,o=void 0===r?ss:r,i=n.includeAria,a=void 0===i||i,s={},l={};return is(e,(function(e,t){var n=a&&(/^aria-.*$/.test(t)||"role"===t);(ns(o,t)||n?s:l)[t]=e})),[s,l]},us="object"===typeof document&&null!==document,ps="object"===typeof window&&null!==window&&window.self===window;const ds=function e(){return io(e.override)?us&&ps:e.override};var fs=n(4912),hs=n.n(fs),ms=n(7355),vs=n.n(ms),ys=Math.max,gs=Math.min;const bs=function(e,t,n){return e>=gs(t,n)&&e<ys(t,n)};const Es=function(e,t,n){return t=$a(t),void 0===n?(n=t,t=0):n=$a(n),e=Wa(e),bs(e,t,n)};const _s=function(e){return e&&e.length?e[0]:void 0};const Ts=function(e,t){if(ca([t,e],io))return!1;if(t.target&&(Qr(t.target,"setAttribute","data-suir-click-target",!0),document.querySelector("[data-suir-click-target=true]")))return Qr(t.target,"removeAttribute","data-suir-click-target"),e.contains(t.target);var n=t.clientX,r=t.clientY;if(ca([n,r],io))return!1;var o=e.getClientRects();if(!e.offsetWidth||!e.offsetHeight||!o||!o.length)return!1;var i=_s(o),a=i.top,s=i.bottom,l=i.left,c=i.right;return!ca([a,s,l,c],io)&&(Es(r,a,s+.001)&&Es(n,l,c+.001))};var ks=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=(t=e.call.apply(e,[this].concat(r))||this).constructor,a=i.autoControlledProps,s=i.getAutoControlledStateFromProps,l=Qr(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(t),"getInitialAutoControlledState",t.props)||{},c=a.reduce((function(e,n){return e[n]=function(e,t,n,r){void 0===r&&(r=!1);var o,i=t[e];if(void 0!==i)return i;if(r){var a=t[(o=e,"default"+(o[0].toUpperCase()+o.slice(1)))];if(void 0!==a)return a;if(n){var s=n[e];if(void 0!==s)return s}}return"checked"!==e&&("value"===e?t.multiple?[]:"":void 0)}(n,t.props,l,!0),e}),{});return t.state=an({},l,c,{autoControlledProps:a,getAutoControlledStateFromProps:s}),t}return ln(t,e),t.getDerivedStateFromProps=function(e,t){var n=t.autoControlledProps,r=t.getAutoControlledStateFromProps,o=n.reduce((function(t,n){return!Ua(e[n])&&(t[n]=e[n]),t}),{});if(r){var i=r(e,an({},t,o),t);return an({},o,i)}return o},t.getAutoControlledStateFromProps=function(){return null},t}(e.Component),ws=function(n){function r(){for(var e,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n.call.apply(n,[this].concat(r))||this).handleRef=function(t){so(e.props.innerRef,t)},e}ln(r,n);var o=r.prototype;return o.componentDidMount=function(){Qr(this.props,"onMount",null,this.props)},o.componentWillUnmount=function(){Qr(this.props,"onUnmount",null,this.props)},o.render=function(){if(!ds())return null;var n=this.props,r=n.children,o=n.mountNode,i=void 0===o?document.body:o;return(0,t.createPortal)(e.createElement(fo,{innerRef:this.handleRef},r),i)},r}(e.Component);ws.handledProps=["children","innerRef","mountNode","onMount","onUnmount"],ws.propTypes={};const Ss=ws;var As=function(t){function n(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=t.call.apply(t,[this].concat(o))||this).contentRef=e.createRef(),n.triggerRef=e.createRef(),n.latestDocumentMouseDownEvent=null,n.handleDocumentMouseDown=function(e){n.latestDocumentMouseDownEvent=e},n.handleDocumentClick=function(e){var t=n.props.closeOnDocumentClick,r=n.latestDocumentMouseDownEvent;n.latestDocumentMouseDownEvent=null,!n.contentRef.current||Ts(n.triggerRef.current,e)||r&&Ts(n.contentRef.current,r)||Ts(n.contentRef.current,e)||t&&n.close(e)},n.handleEscape=function(e){n.props.closeOnEscape&&vs().getCode(e)===vs().Escape&&n.close(e)},n.handlePortalMouseLeave=function(e){var t=n.props,r=t.closeOnPortalMouseLeave,o=t.mouseLeaveDelay;r&&e.target===n.contentRef.current&&(n.mouseLeaveTimer=n.closeWithTimeout(e,o))},n.handlePortalMouseEnter=function(){n.props.closeOnPortalMouseLeave&&clearTimeout(n.mouseLeaveTimer)},n.handleTriggerBlur=function(e){for(var t=n.props,r=t.trigger,o=t.closeOnTriggerBlur,i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];Qr.apply(void 0,[r,"props.onBlur",e].concat(a));var l=e.relatedTarget||document.activeElement,c=Qr(n.contentRef.current,"contains",l);o&&!c&&n.close(e)},n.handleTriggerClick=function(e){for(var t=n.props,r=t.trigger,o=t.closeOnTriggerClick,i=t.openOnTriggerClick,a=n.state.open,s=arguments.length,l=new Array(s>1?s-1:0),c=1;c<s;c++)l[c-1]=arguments[c];Qr.apply(void 0,[r,"props.onClick",e].concat(l)),a&&o?n.close(e):!a&&i&&n.open(e)},n.handleTriggerFocus=function(e){for(var t=n.props,r=t.trigger,o=t.openOnTriggerFocus,i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];Qr.apply(void 0,[r,"props.onFocus",e].concat(a)),o&&n.open(e)},n.handleTriggerMouseLeave=function(e){clearTimeout(n.mouseEnterTimer);for(var t=n.props,r=t.trigger,o=t.closeOnTriggerMouseLeave,i=t.mouseLeaveDelay,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];Qr.apply(void 0,[r,"props.onMouseLeave",e].concat(s)),o&&(n.mouseLeaveTimer=n.closeWithTimeout(e,i))},n.handleTriggerMouseEnter=function(e){clearTimeout(n.mouseLeaveTimer);for(var t=n.props,r=t.trigger,o=t.mouseEnterDelay,i=t.openOnTriggerMouseEnter,a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];Qr.apply(void 0,[r,"props.onMouseEnter",e].concat(s)),i&&(n.mouseEnterTimer=n.openWithTimeout(e,o))},n.open=function(e){Qr(n.props,"onOpen",e,an({},n.props,{open:!0})),n.setState({open:!0})},n.openWithTimeout=function(e,t){var r=an({},e);return setTimeout((function(){return n.open(r)}),t||0)},n.close=function(e){n.setState({open:!1}),Qr(n.props,"onClose",e,an({},n.props,{open:!1}))},n.closeWithTimeout=function(e,t){var r=an({},e);return setTimeout((function(){return n.close(r)}),t||0)},n.handleMount=function(){Qr(n.props,"onMount",null,n.props)},n.handleUnmount=function(){Qr(n.props,"onUnmount",null,n.props)},n.handleTriggerRef=function(e){n.triggerRef.current=e,so(n.props.triggerRef,e)},n}ln(n,t);var r=n.prototype;return r.componentWillUnmount=function(){clearTimeout(this.mouseEnterTimer),clearTimeout(this.mouseLeaveTimer)},r.render=function(){var t=this.props,n=t.children,r=t.eventPool,o=t.mountNode,i=t.trigger,a=this.state.open;return e.createElement(e.Fragment,null,a&&e.createElement(e.Fragment,null,e.createElement(Ss,{innerRef:this.contentRef,mountNode:o,onMount:this.handleMount,onUnmount:this.handleUnmount},n),e.createElement(hs(),{name:"mouseleave",on:this.handlePortalMouseLeave,pool:r,target:this.contentRef}),e.createElement(hs(),{name:"mouseenter",on:this.handlePortalMouseEnter,pool:r,target:this.contentRef}),e.createElement(hs(),{name:"mousedown",on:this.handleDocumentMouseDown,pool:r}),e.createElement(hs(),{name:"click",on:this.handleDocumentClick,pool:r}),e.createElement(hs(),{name:"keydown",on:this.handleEscape,pool:r})),i&&e.createElement(fo,{innerRef:this.handleTriggerRef},e.cloneElement(i,{onBlur:this.handleTriggerBlur,onClick:this.handleTriggerClick,onFocus:this.handleTriggerFocus,onMouseLeave:this.handleTriggerMouseLeave,onMouseEnter:this.handleTriggerMouseEnter})))},n}(ks);As.handledProps=["children","closeOnDocumentClick","closeOnEscape","closeOnPortalMouseLeave","closeOnTriggerBlur","closeOnTriggerClick","closeOnTriggerMouseLeave","defaultOpen","eventPool","mountNode","mouseEnterDelay","mouseLeaveDelay","onClose","onMount","onOpen","onUnmount","open","openOnTriggerClick","openOnTriggerFocus","openOnTriggerMouseEnter","trigger","triggerRef"],As.propTypes={},As.defaultProps={closeOnDocumentClick:!0,closeOnEscape:!0,eventPool:"default",openOnTriggerClick:!0},As.autoControlledProps=["open"],As.Inner=Ss;const Ns=As;function Cs(t){var n=t.blurring,r=t.className,o=t.children,i=t.content,a=t.dimmed,s=Wr(Xr(n,"blurring"),Xr(a,"dimmed"),"dimmable",r),l=ro(Cs,t),c=oo(Cs,t);return e.createElement(c,an({},l,{className:s}),ua(o)?i:o)}Cs.handledProps=["as","blurring","children","className","content","dimmed"],Cs.propTypes={};const Os=Cs;var Is=function(t){function n(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=t.call.apply(t,[this].concat(o))||this).containerRef=(0,e.createRef)(),n.contentRef=(0,e.createRef)(),n.handleClick=function(e){var t=n.contentRef.current;Qr(n.props,"onClick",e,n.props),t&&t!==e.target&&Ts(t,e)||Qr(n.props,"onClickOutside",e,n.props)},n}ln(n,t);var r=n.prototype;return r.componentDidMount=function(){var e=this.props.active;this.toggleStyles(e)},r.componentDidUpdate=function(e){var t=this.props.active;e.active!==t&&this.toggleStyles(t)},r.toggleStyles=function(e){var t=this.containerRef.current;t&&t.style&&(e?t.style.setProperty("display","flex","important"):t.style.removeProperty("display"))},r.render=function(){var t=this.props,r=t.active,o=t.children,i=t.className,a=t.content,s=t.disabled,l=t.inverted,c=t.page,u=t.simple,p=t.verticalAlign,d=Wr("ui",Xr(r,"active transition visible"),Xr(s,"disabled"),Xr(l,"inverted"),Xr(c,"page"),Xr(u,"simple"),to(p),"dimmer",i),f=ro(n,this.props),h=oo(n,this.props),m=ua(o)?a:o;return e.createElement(fo,{innerRef:this.containerRef},e.createElement(h,an({},f,{className:d,onClick:this.handleClick}),m&&e.createElement("div",{className:"content",ref:this.contentRef},m)))},n}(e.Component);Is.handledProps=["active","as","children","className","content","disabled","inverted","onClick","onClickOutside","page","simple","verticalAlign"],Is.propTypes={};var Ds=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handlePortalMount=function(){ds()&&(document.body.classList.add("dimmed"),document.body.classList.add("dimmable"))},e.handlePortalUnmount=function(){ds()&&(document.body.classList.remove("dimmed"),document.body.classList.remove("dimmable"))},e}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.active,o=t.page,i=ro(n,this.props);return o?e.createElement(Ns,{closeOnEscape:!1,closeOnDocumentClick:!1,onMount:this.handlePortalMount,onUnmount:this.handlePortalUnmount,open:r,openOnTriggerClick:!1},e.createElement(Is,an({},i,{active:r,page:o}))):e.createElement(Is,an({},i,{active:r,page:o}))},n}(e.Component);function xs(t){var n=t.children,r=t.className,o=t.content,i=Wr("ui",t.size,r,"images"),a=ro(xs,t),s=oo(xs,t);return e.createElement(s,an({},a,{className:i}),ua(n)?o:n)}Ds.handledProps=["active","page"],Ds.propTypes={},Ds.Dimmable=Os,Ds.Inner=Is,Ds.create=Ra(Ds,(function(e){return{content:e}})),xs.handledProps=["as","children","className","content","size"],xs.propTypes={};const Rs=xs;function Fs(t){var n=t.avatar,r=t.bordered,o=t.centered,i=t.children,a=t.circular,s=t.className,l=t.content,c=t.dimmer,u=t.disabled,p=t.floated,d=t.fluid,f=t.hidden,h=t.href,m=t.inline,v=t.label,y=t.rounded,g=t.size,b=t.spaced,E=t.verticalAlign,_=t.wrapped,T=t.ui,k=Wr(Xr(T,"ui"),g,Xr(n,"avatar"),Xr(r,"bordered"),Xr(a,"circular"),Xr(o,"centered"),Xr(u,"disabled"),Xr(d,"fluid"),Xr(f,"hidden"),Xr(m,"inline"),Xr(y,"rounded"),eo(b,"spaced"),Zr(p,"floated"),to(E),"image",s),w=ro(Fs,t),S=cs(w,{htmlProps:ls}),A=S[0],N=S[1],C=oo(Fs,t,(function(){if(!io(c)||!io(v)||!io(_)||!ua(i))return"div"}));return ua(i)?ua(l)?"img"===C?e.createElement(C,an({},N,A,{className:k})):e.createElement(C,an({},N,{className:k,href:h}),Ds.create(c,{autoGenerateKey:!1}),Us.create(v,{autoGenerateKey:!1}),e.createElement("img",A)):e.createElement(C,an({},w,{className:k}),l):e.createElement(C,an({},w,{className:k}),i)}Fs.handledProps=["as","avatar","bordered","centered","children","circular","className","content","dimmer","disabled","floated","fluid","hidden","href","inline","label","rounded","size","spaced","ui","verticalAlign","wrapped"],Fs.Group=Rs,Fs.propTypes={},Fs.defaultProps={as:"img",ui:!0},Fs.create=Ra(Fs,(function(e){return{src:e}}));const Ps=Fs;function Ls(t){var n=t.children,r=t.className,o=t.content,i=Wr("detail",r),a=ro(Ls,t),s=oo(Ls,t);return e.createElement(s,an({},a,{className:i}),ua(n)?o:n)}Ls.handledProps=["as","children","className","content"],Ls.propTypes={},Ls.create=Ra(Ls,(function(e){return{content:e}}));const Ms=Ls;function js(t){var n=t.children,r=t.circular,o=t.className,i=t.color,a=t.content,s=t.size,l=t.tag,c=Wr("ui",i,s,Xr(r,"circular"),Xr(l,"tag"),"labels",o),u=ro(js,t),p=oo(js,t);return e.createElement(p,an({},u,{className:c}),ua(n)?a:n)}js.handledProps=["as","children","circular","className","color","content","size","tag"],js.propTypes={};const Vs=js;var Us=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleClick=function(t){var n=e.props.onClick;n&&n(t,e.props)},e.handleIconOverrides=function(t){return{onClick:function(n){Qr(t,"onClick",n),Qr(e.props,"onRemove",n,e.props)}}},e}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.active,o=t.attached,i=t.basic,a=t.children,s=t.circular,l=t.className,c=t.color,u=t.content,p=t.corner,d=t.detail,f=t.empty,h=t.floating,m=t.horizontal,v=t.icon,y=t.image,g=t.onRemove,b=t.pointing,E=t.prompt,_=t.removeIcon,T=t.ribbon,k=t.size,w=t.tag,S=Wr("ui",c,(!0===b?"pointing":("left"===b||"right"===b)&&b+" pointing")||("above"===b||"below"===b)&&"pointing "+b,k,Xr(r,"active"),Xr(i,"basic"),Xr(s,"circular"),Xr(f,"empty"),Xr(h,"floating"),Xr(m,"horizontal"),Xr(!0===y,"image"),Xr(E,"prompt"),Xr(w,"tag"),eo(p,"corner"),eo(T,"ribbon"),Zr(o,"attached"),"label",l),A=ro(n,this.props),N=oo(n,this.props);if(!ua(a))return e.createElement(N,an({},A,{className:S,onClick:this.handleClick}),a);var C=Ua(_)?"delete":_;return e.createElement(N,an({className:S,onClick:this.handleClick},A),Va.create(v,{autoGenerateKey:!1}),"boolean"!==typeof y&&Ps.create(y,{autoGenerateKey:!1}),u,Ms.create(d,{autoGenerateKey:!1}),g&&Va.create(C,{autoGenerateKey:!1,overrideProps:this.handleIconOverrides}))},n}(e.Component);function qs(t){var n=t.children,r=t.className,o=t.content,i=t.hidden,a=t.visible,s=Wr(Xr(a,"visible"),Xr(i,"hidden"),"content",r),l=ro(qs,t),c=oo(qs,t);return e.createElement(c,an({},l,{className:s}),ua(n)?o:n)}Us.handledProps=["active","as","attached","basic","children","circular","className","color","content","corner","detail","empty","floating","horizontal","icon","image","onClick","onRemove","pointing","prompt","removeIcon","ribbon","size","tag"],Us.propTypes={},Us.Detail=Ms,Us.Group=Vs,Us.create=Ra(Us,(function(e){return{content:e}})),qs.handledProps=["as","children","className","content","hidden","visible"],qs.propTypes={};const zs=qs;const Bs=function(e,t){var n=-1,r=gi(e)?Array(e.length):[];return aa(e,(function(e,o,i){r[++n]=t(e,o,i)})),r};const Hs=function(e,t){return(un(e)?Ar:Bs)(e,oa(t,3))};function Ys(t){var n=t.attached,r=t.basic,o=t.buttons,i=t.children,a=t.className,s=t.color,l=t.compact,c=t.content,u=t.floated,p=t.fluid,d=t.icon,f=t.inverted,h=t.labeled,m=t.negative,v=t.positive,y=t.primary,g=t.secondary,b=t.size,E=t.toggle,_=t.vertical,T=t.widths,k=Wr("ui",s,b,Xr(r,"basic"),Xr(l,"compact"),Xr(p,"fluid"),Xr(d,"icon"),Xr(f,"inverted"),Xr(h,"labeled"),Xr(m,"negative"),Xr(v,"positive"),Xr(y,"primary"),Xr(g,"secondary"),Xr(E,"toggle"),Xr(_,"vertical"),eo(n,"attached"),Zr(u,"floated"),no(T),"buttons",a),w=ro(Ys,t),S=oo(Ys,t);return io(o)?e.createElement(S,an({},w,{className:k}),ua(i)?c:i):e.createElement(S,an({},w,{className:k}),Hs(o,(function(e){return Js.create(e)})))}Ys.handledProps=["as","attached","basic","buttons","children","className","color","compact","content","floated","fluid","icon","inverted","labeled","negative","positive","primary","secondary","size","toggle","vertical","widths"],Ys.propTypes={};const Gs=Ys;function Qs(t){var n=t.className,r=t.text,o=Wr("or",n),i=ro(Qs,t),a=oo(Qs,t);return e.createElement(a,an({},i,{className:o,"data-text":r}))}Qs.handledProps=["as","className","text"],Qs.propTypes={};const Ks=Qs;var Ws=function(t){function n(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=t.call.apply(t,[this].concat(o))||this).ref=(0,e.createRef)(),n.computeElementType=function(){var e=n.props,t=e.attached,r=e.label;if(!io(t)||!io(r))return"div"},n.computeTabIndex=function(e){var t=n.props,r=t.disabled,o=t.tabIndex;return io(o)?r?-1:"div"===e?0:void 0:o},n.focus=function(){return Qr(n.ref.current,"focus")},n.handleClick=function(e){n.props.disabled?e.preventDefault():Qr(n.props,"onClick",e,n.props)},n.hasIconClass=function(){var e=n.props,t=e.labelPosition,r=e.children,o=e.content,i=e.icon;return!0===i||i&&(t||ua(r)&&io(o))},n}ln(n,t);var r=n.prototype;return r.computeButtonAriaRole=function(e){var t=this.props.role;return io(t)?"button"!==e?"button":void 0:t},r.render=function(){var t=this.props,r=t.active,o=t.animated,i=t.attached,a=t.basic,s=t.children,l=t.circular,c=t.className,u=t.color,p=t.compact,d=t.content,f=t.disabled,h=t.floated,m=t.fluid,v=t.icon,y=t.inverted,g=t.label,b=t.labelPosition,E=t.loading,_=t.negative,T=t.positive,k=t.primary,w=t.secondary,S=t.size,A=t.toggle,N=t.type,C=Wr(u,S,Xr(r,"active"),Xr(a,"basic"),Xr(l,"circular"),Xr(p,"compact"),Xr(m,"fluid"),Xr(this.hasIconClass(),"icon"),Xr(y,"inverted"),Xr(E,"loading"),Xr(_,"negative"),Xr(T,"positive"),Xr(k,"primary"),Xr(w,"secondary"),Xr(A,"toggle"),eo(o,"animated"),eo(i,"attached")),O=Wr(eo(b||!!g,"labeled")),I=Wr(Xr(f,"disabled"),Zr(h,"floated")),D=ro(n,this.props),x=oo(n,this.props,this.computeElementType),R=this.computeTabIndex(x);if(!io(g)){var F=Wr("ui",C,"button",c),P=Wr("ui",O,"button",c,I),L=Us.create(g,{defaultProps:{basic:!0,pointing:"left"===b?"right":"left"},autoGenerateKey:!1});return e.createElement(x,an({},D,{className:P,onClick:this.handleClick}),"left"===b&&L,e.createElement(fo,{innerRef:this.ref},e.createElement("button",{className:F,"aria-pressed":A?!!r:void 0,disabled:f,type:N,tabIndex:R},Va.create(v,{autoGenerateKey:!1})," ",d)),("right"===b||!b)&&L)}var M=Wr("ui",C,I,O,"button",c),j=!ua(s),V=this.computeButtonAriaRole(x);return e.createElement(fo,{innerRef:this.ref},e.createElement(x,an({},D,{className:M,"aria-pressed":A?!!r:void 0,disabled:f&&"button"===x||void 0,onClick:this.handleClick,role:V,type:N,tabIndex:R}),j&&s,!j&&Va.create(v,{autoGenerateKey:!1}),!j&&d))},n}(e.Component);Ws.handledProps=["active","animated","as","attached","basic","children","circular","className","color","compact","content","disabled","floated","fluid","icon","inverted","label","labelPosition","loading","negative","onClick","positive","primary","role","secondary","size","tabIndex","toggle","type"],Ws.propTypes={},Ws.defaultProps={as:"button"},Ws.Content=zs,Ws.Group=Gs,Ws.Or=Ks,Ws.create=Ra(Ws,(function(e){return{content:e}}));const Js=Ws;const $s=function(e,t,n){"__proto__"==t&&zr?zr(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n};var Xs=Object.prototype.hasOwnProperty;const Zs=function(e,t,n){var r=e[t];Xs.call(e,t)&&nr(r,n)&&(void 0!==n||t in e)||$s(e,t,n)};const el=function(e,t,n,r){if(!On(e))return e;for(var o=-1,i=(t=Dr(t,e)).length,a=i-1,s=e;null!=s&&++o<i;){var l=Rr(t[o]),c=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return e;if(o!=a){var u=s[l];void 0===(c=r?r(u,l,s):void 0)&&(c=On(u)?u:Zo(t[o+1])?[]:{})}Zs(s,l,c),s=s[l]}return e};const tl=function(e,t,n){return null==e?e:el(e,t,n)};var nl=function(t){function n(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=t.call.apply(t,[this].concat(o))||this).inputRef=(0,e.createRef)(),n.labelRef=(0,e.createRef)(),n.canToggle=function(){var e=n.props,t=e.disabled,r=e.radio,o=e.readOnly,i=n.state.checked;return!t&&!o&&!(r&&i)},n.computeTabIndex=function(){var e=n.props,t=e.disabled,r=e.tabIndex;return io(r)?t?-1:0:r},n.handleClick=function(e){var t=n.props.id,r=n.state,o=r.checked,i=r.indeterminate,a=Qr(n.inputRef.current,"contains",e.target),s=Qr(n.labelRef.current,"contains",e.target),l=!s&&!a,c=!io(t);s&&c||Qr(n.props,"onClick",e,an({},n.props,{checked:!o,indeterminate:!!i})),n.isClickFromMouse&&(n.isClickFromMouse=!1,s&&!c&&n.handleChange(e),l&&n.handleChange(e),s&&c&&e.stopPropagation())},n.handleChange=function(e){var t=n.state.checked;n.canToggle()&&(Qr(n.props,"onChange",e,an({},n.props,{checked:!t,indeterminate:!1})),n.setState({checked:!t,indeterminate:!1}))},n.handleMouseDown=function(e){var t=n.state,r=t.checked,o=t.indeterminate;Qr(n.props,"onMouseDown",e,an({},n.props,{checked:!!r,indeterminate:!!o})),e.defaultPrevented||Qr(n.inputRef.current,"focus"),e.preventDefault()},n.handleMouseUp=function(e){var t=n.state,r=t.checked,o=t.indeterminate;n.isClickFromMouse=!0,Qr(n.props,"onMouseUp",e,an({},n.props,{checked:!!r,indeterminate:!!o}))},n.setIndeterminate=function(){var e=n.state.indeterminate;tl(n.inputRef,"current.indeterminate",!!e)},n}ln(n,t);var r=n.prototype;return r.componentDidMount=function(){this.setIndeterminate()},r.componentDidUpdate=function(){this.setIndeterminate()},r.render=function(){var t=this.props,r=t.className,o=t.disabled,i=t.label,a=t.id,s=t.name,l=t.radio,c=t.readOnly,u=t.slider,p=t.toggle,d=t.type,f=t.value,h=this.state,m=h.checked,v=h.indeterminate,y=Wr("ui",Xr(m,"checked"),Xr(o,"disabled"),Xr(v,"indeterminate"),Xr(io(i),"fitted"),Xr(l,"radio"),Xr(c,"read-only"),Xr(u,"slider"),Xr(p,"toggle"),"checkbox",r),g=ro(n,this.props),b=oo(n,this.props),E=cs(g,{htmlProps:as}),_=E[0],T=E[1],k=Pa(i,{defaultProps:{htmlFor:a},autoGenerateKey:!1})||e.createElement("label",{htmlFor:a});return e.createElement(b,an({},T,{className:y,onClick:this.handleClick,onChange:this.handleChange,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp}),e.createElement(fo,{innerRef:this.inputRef},e.createElement("input",an({},_,{checked:m,className:"hidden",disabled:o,id:a,name:s,readOnly:!0,tabIndex:this.computeTabIndex(),type:d,value:f}))),e.createElement(fo,{innerRef:this.labelRef},k))},n}(ks);function rl(t){var n=t.slider,r=t.toggle,o=t.type,i=ro(rl,t),a=!(n||r)||void 0;return e.createElement(nl,an({},i,{type:o,radio:a,slider:n,toggle:r}))}nl.handledProps=["as","checked","className","defaultChecked","defaultIndeterminate","disabled","fitted","id","indeterminate","label","name","onChange","onClick","onMouseDown","onMouseUp","radio","readOnly","slider","tabIndex","toggle","type","value"],nl.propTypes={},nl.defaultProps={type:"checkbox"},nl.autoControlledProps=["checked","indeterminate"],rl.handledProps=["slider","toggle","type"],rl.propTypes={},rl.defaultProps={type:"radio"};const ol=rl;function il(t){var n=t.children,r=t.className,o=t.content,i=t.control,a=t.disabled,s=t.error,l=t.inline,c=t.label,u=t.required,p=t.type,d=t.width,f=t.id,h=Wr(Xr(a,"disabled"),Xr(s,"error"),Xr(l,"inline"),Xr(u,"required"),no(d,"wide"),"field",r),m=ro(il,t),v=oo(il,t),y=Ji(s,"pointing","above"),g=Us.create(s,{autoGenerateKey:!1,defaultProps:{prompt:!0,pointing:y,id:f?f+"-error-message":void 0,role:"alert","aria-atomic":!0}}),b=("below"===y||"right"===y)&&g,E=("above"===y||"left"===y)&&g;if(io(i))return io(c)?e.createElement(v,an({},m,{className:h,id:f}),ua(n)?o:n):e.createElement(v,an({},m,{className:h,id:f}),b,Pa(c,{autoGenerateKey:!1}),E);var _={"aria-describedby":f&&s?f+"-error-message":null,"aria-invalid":!!s||void 0},T=an({},m,{content:o,children:n,disabled:a,required:u,type:p,id:f});return"input"!==i||"checkbox"!==p&&"radio"!==p?i===nl||i===ol?e.createElement(v,{className:h},b,(0,e.createElement)(i,an({},_,T,{label:c})),E):e.createElement(v,{className:h},Pa(c,{defaultProps:{htmlFor:f},autoGenerateKey:!1}),b,(0,e.createElement)(i,an({},_,T)),E):e.createElement(v,{className:h},e.createElement("label",null,b,(0,e.createElement)(i,an({},_,T))," ",c,E))}il.handledProps=["as","children","className","content","control","disabled","error","id","inline","label","required","type","width"],il.propTypes={};const al=il;function sl(t){var n=t.control,r=ro(sl,t),o=oo(sl,t);return e.createElement(o,an({},r,{control:n}))}sl.handledProps=["as","control"],sl.propTypes={},sl.defaultProps={as:al,control:Js};const ll=sl;function cl(t){var n=t.control,r=ro(cl,t),o=oo(cl,t);return e.createElement(o,an({},r,{control:n}))}cl.handledProps=["as","control"],cl.propTypes={},cl.defaultProps={as:al,control:nl};const ul=cl;const pl=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o};const dl=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0};const fl=function(e,t){var n=!0;return aa(e,(function(e,r,o){return n=!!t(e,r,o)})),n};const hl=function(e,t,n){var r=un(e)?dl:fl;return n&&la(e,t,n)&&(t=void 0),r(e,oa(t,3))};const ml=function(e,t,n,r){var o=-1,i=ma,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Ar(t,ri(n))),r?(i=va,a=!1):t.length>=200&&(i=Ao,a=!1,t=new So(t));e:for(;++o<s;){var u=e[o],p=null==n?u:n(u);if(u=r||0!==u?u:0,a&&p===p){for(var d=c;d--;)if(t[d]===p)continue e;l.push(u)}else i(t,p,r)||l.push(u)}return l};const vl=function(e){return wn(e)&&gi(e)};var yl=Gr((function(e,t){return vl(e)?ml(e,t):[]}));const gl=yl;const bl=function(e){return function(t,n,r){var o=Object(t);if(!gi(t)){var i=oa(n,3);t=bi(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}};var El=Math.max;const _l=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:Xa(n);return o<0&&(o=El(r+o,0)),pa(e,oa(t,3),o)};const Tl=bl(_l);const kl=function(e,t,n){var r=null==e?0:e.length;return r?(t=n||void 0===t?1:Xa(t),Pr(e,0,(t=r-t)<0?0:t)):[]};var wl=Object.prototype.hasOwnProperty;const Sl=function(e){if(null==e)return!0;if(gi(e)&&(un(e)||"string"==typeof e||"function"==typeof e.splice||$o(e)||ci(e)||Go(e)))return!e.length;var t=ji(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(fi(e))return!yi(e).length;for(var n in e)if(wl.call(e,n))return!1;return!0};const Al=ta("length");var Nl=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const Cl=function(e){return Nl.test(e)};var Ol="\\ud800-\\udfff",Il="["+Ol+"]",Dl="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xl="\\ud83c[\\udffb-\\udfff]",Rl="[^"+Ol+"]",Fl="(?:\\ud83c[\\udde6-\\uddff]){2}",Pl="[\\ud800-\\udbff][\\udc00-\\udfff]",Ll="(?:"+Dl+"|"+xl+")"+"?",Ml="[\\ufe0e\\ufe0f]?",jl=Ml+Ll+("(?:\\u200d(?:"+[Rl,Fl,Pl].join("|")+")"+Ml+Ll+")*"),Vl="(?:"+[Rl+Dl+"?",Dl,Fl,Pl,Il].join("|")+")",Ul=RegExp(xl+"(?="+xl+")|"+Vl+jl,"g");const ql=function(e){for(var t=Ul.lastIndex=0;Ul.test(e);)++t;return t};const zl=function(e){return Cl(e)?ql(e):Al(e)};const Bl=function(e){if(null==e)return 0;if(gi(e))return Ia(e)?zl(e):e.length;var t=ji(e);return"[object Map]"==t||"[object Set]"==t?e.size:yi(e).length};var Hl=hn?hn.isConcatSpreadable:void 0;const Yl=function(e){return un(e)||Go(e)||!!(Hl&&e&&e[Hl])};const Gl=function e(t,n,r,o,i){var a=-1,s=t.length;for(r||(r=Yl),i||(i=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,o,i):Fo(i,l):o||(i[i.length]=l)}return i};var Ql=Gr((function(e,t){return vl(e)?ml(e,Gl(t,1,vl,!0)):[]}));const Kl=Ql;const Wl=Gr((function(e){return Ea(Gl(e,1,vl,!0))}));const Jl=function(e,t){return Hi(e,t)};const $l=function(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Fr(e,a);n(s,a)&&el(i,Dr(a,e),s)}return i};const Xl=function(e,t){return $l(e,t,(function(t,n){return Zi(e,n)}))};const Zl=function(e){return(null==e?0:e.length)?Gl(e,1):[]};const ec=function(e){return Yr(Ur(e,void 0,Zl),e+"")}((function(e,t){return null==e?{}:Xl(e,t)}));var tc=n(341),nc=n.n(tc),rc=function(t){function n(){return t.apply(this,arguments)||this}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.className,o=Wr(t.name,"flag",r),i=ro(n,this.props),a=oo(n,this.props);return e.createElement(a,an({},i,{className:o}))},n}(e.PureComponent);rc.handledProps=["as","className","name"],rc.propTypes={},rc.defaultProps={as:"i"},rc.create=Ra(rc,(function(e){return{name:e}}));const oc=rc;function ic(t){var n=Wr("divider",t.className),r=ro(ic,t),o=oo(ic,t);return e.createElement(o,an({},r,{className:n}))}ic.handledProps=["as","className"],ic.propTypes={};const ac=ic;var sc=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleClick=function(t){Qr(e.props,"onClick",t,e.props)},e}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.active,o=t.children,i=t.className,a=t.content,s=t.disabled,l=t.description,c=t.flag,u=t.icon,p=t.image,d=t.label,f=t.selected,h=t.text,m=Wr(Xr(r,"active"),Xr(s,"disabled"),Xr(f,"selected"),"item",i),v=io(u)?function(t,n){return ca(e.Children.toArray(t),{type:n})}(o,"DropdownMenu")&&"dropdown":u,y=ro(n,this.props),g=oo(n,this.props),b={role:"option","aria-disabled":s,"aria-checked":r,"aria-selected":f};if(!ua(o))return e.createElement(g,an({},y,b,{className:m,onClick:this.handleClick}),o);var E=oc.create(c,{autoGenerateKey:!1}),_=Va.create(v,{autoGenerateKey:!1}),T=Ps.create(p,{autoGenerateKey:!1}),k=Us.create(d,{autoGenerateKey:!1}),w=xa("span",(function(e){return{children:e}}),l,{defaultProps:{className:"description"},autoGenerateKey:!1}),S=xa("span",(function(e){return{children:e}}),ua(a)?h:a,{defaultProps:{className:"text"},autoGenerateKey:!1});return e.createElement(g,an({},y,b,{className:m,onClick:this.handleClick}),T,_,E,k,w,S)},n}(e.Component);sc.handledProps=["active","as","children","className","content","description","disabled","flag","icon","image","label","onClick","selected","text","value"],sc.propTypes={},sc.create=Ra(sc,(function(e){return e}));const lc=sc;function cc(t){var n=t.children,r=t.className,o=t.content,i=t.icon,a=Wr("header",r),s=ro(cc,t),l=oo(cc,t);return ua(n)?e.createElement(l,an({},s,{className:a}),Va.create(i,{autoGenerateKey:!1}),o):e.createElement(l,an({},s,{className:a}),n)}cc.handledProps=["as","children","className","content","icon"],cc.propTypes={},cc.create=Ra(cc,(function(e){return{content:e}}));const uc=cc;function pc(t){var n=t.children,r=t.className,o=t.content,i=t.direction,a=t.open,s=t.scrolling,l=Wr(i,Xr(a,"visible"),Xr(s,"scrolling"),"menu transition",r),c=ro(pc,t),u=oo(pc,t);return e.createElement(u,an({},c,{className:l}),ua(n)?o:n)}pc.handledProps=["as","children","className","content","direction","open","scrolling"],pc.propTypes={};const dc=pc;var fc=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleChange=function(t){var n=Ji(t,"target.value");Qr(e.props,"onChange",t,an({},e.props,{value:n}))},e}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.autoComplete,o=t.className,i=t.tabIndex,a=t.type,s=t.value,l=Wr("search",o),c=ro(n,this.props);return e.createElement("input",an({},c,{"aria-autocomplete":"list",autoComplete:r,className:l,onChange:this.handleChange,tabIndex:i,type:a,value:s}))},n}(e.Component);fc.handledProps=["as","autoComplete","className","tabIndex","type","value"],fc.propTypes={},fc.defaultProps={autoComplete:"off",type:"text"},fc.create=Ra(fc,(function(e){return{type:e}}));const hc=fc;function mc(t){var n=t.children,r=t.className,o=t.content,i=Wr("divider",r),a=ro(mc,t),s=oo(mc,t);return e.createElement(s,an({"aria-atomic":!0,"aria-live":"polite",role:"alert"},a,{className:i}),ua(n)?o:n)}mc.handledProps=["as","children","className","content"],mc.propTypes={},mc.create=Ra(mc,(function(e){return{content:e}}));const vc=mc;var yc=/[\\^$.*+?()[\]{}|]/g,gc=RegExp(yc.source);const bc=function(e){return(e=Ir(e))&&gc.test(e)?e.replace(yc,"\\$&"):e};const Ec=function(e){return function(t){return null==e?void 0:e[t]}}({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"});var _c=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Tc=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");const kc=function(e){return(e=Ir(e))&&e.replace(_c,Ec).replace(Tc,"")};const wc=function(e,t){var n=[];return aa(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n};const Sc=function(e,t){return(un(e)?Lo:wc)(e,oa(t,3))};function Ac(t){var n=t.additionLabel,r=t.additionPosition,o=t.allowAdditions,i=t.deburr,a=t.multiple,s=t.options,l=t.search,c=t.searchQuery,u=t.value,p=s;if(a&&(p=Sc(p,(function(e){return!ns(u,e.value)}))),l&&c)if(In(l))p=l(p,c);else{var d=i?kc(c):c,f=new RegExp(bc(d),"i");p=Sc(p,(function(e){return f.test(i?kc(e.text):e.text)}))}if(o&&l&&c&&!ca(p,{text:c})){var h={key:"addition",text:[e.isValidElement(n)?e.cloneElement(n,{key:"addition-label"}):n||"",e.createElement("b",{key:"addition-query"},c)],value:c,className:"addition","data-additional":!0};"top"===r?p.unshift(h):p.push(h)}return p}Ac.handledProps=[];const Nc=function(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n};const Cc=function(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n};const Oc=function(e,t,n){var r=un(e)?Nc:Cc,o=arguments.length<3;return r(e,oa(t,4),n,o,aa)};function Ic(e){var t,n=e.additionLabel,r=e.additionPosition,o=e.allowAdditions,i=e.deburr,a=e.multiple,s=e.options,l=e.search,c=e.searchQuery,u=e.selectedIndex,p=e.value,d=Ac({value:p,options:s,searchQuery:c,additionLabel:n,additionPosition:r,allowAdditions:o,deburr:i,multiple:a,search:l}),f=Oc(d,(function(e,t,n){return t.disabled||e.push(n),e}),[]);if(!u||u<0){var h=f[0];t=a?h:_l(d,["value",p])||f[0]}else if(a)t=Tl(f,(function(e){return e>=u})),u>=d.length-1&&(t=f[f.length-1]);else{var m=_l(d,["value",p]);t=ns(f,m)?m:void 0}return(!t||t<0)&&(t=f[0]),t}var Dc=function(e,t){return io(e)?t:e},xc=function(e){return e?e.map((function(e){return ec(e,["key","value"])})):e};function Rc(t){var n=t.flag,r=t.image,o=t.text;return In(o)?o:{content:e.createElement(e.Fragment,null,oc.create(n),Ps.create(r),o)}}var Fc=function(t){function n(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=t.call.apply(t,[this].concat(o))||this).searchRef=(0,e.createRef)(),n.sizerRef=(0,e.createRef)(),n.ref=(0,e.createRef)(),n.handleChange=function(e,t){Qr(n.props,"onChange",e,an({},n.props,{value:t}))},n.closeOnChange=function(e){var t=n.props,r=t.closeOnChange,o=t.multiple;(Ua(r)?!o:r)&&n.close(e,ya)},n.closeOnEscape=function(e){n.props.closeOnEscape&&vs().getCode(e)===vs().Escape&&(e.preventDefault(),n.close(e))},n.moveSelectionOnKeyDown=function(e){var t,r=n.props,o=r.multiple,i=r.selectOnNavigation;if(n.state.open){var a=((t={})[vs().ArrowDown]=1,t[vs().ArrowUp]=-1,t)[vs().getCode(e)];if(void 0!==a){e.preventDefault();var s=n.getSelectedIndexAfterMove(a);!o&&i&&n.makeSelectedItemActive(e,s),n.setState({selectedIndex:s})}}},n.openOnSpace=function(e){var t,r,o,i=n.state.focus&&!n.state.open&&vs().getCode(e)===vs().Spacebar,a="INPUT"!==(null==(t=e.target)?void 0:t.tagName)&&"TEXTAREA"!==(null==(r=e.target)?void 0:r.tagName)&&!0!==(null==(o=e.target)?void 0:o.isContentEditable);i&&(a&&e.preventDefault(),n.open(e))},n.openOnArrow=function(e){var t=n.state,r=t.focus,o=t.open;if(r&&!o){var i=vs().getCode(e);i!==vs().ArrowDown&&i!==vs().ArrowUp||(e.preventDefault(),n.open(e))}},n.makeSelectedItemActive=function(e,t){var r=n.state,o=r.open,i=r.value,a=n.props.multiple,s=n.getSelectedItem(t),l=Ji(s,"value"),c=Ji(s,"disabled");if(io(l)||!o||c)return i;var u=a?Wl(i,[l]):l;return(a?!!Kl(u,i).length:u!==i)&&(n.setState({value:u}),n.handleChange(e,u),s["data-additional"]&&Qr(n.props,"onAddItem",e,an({},n.props,{value:l}))),i},n.selectItemOnEnter=function(e){var t=n.props.search,r=n.state,o=r.open,i=r.selectedIndex;if(o&&(vs().getCode(e)===vs().Enter||!t&&vs().getCode(e)===vs().Spacebar)){e.preventDefault();var a=Bl(Ac({value:n.state.value,options:n.props.options,searchQuery:n.state.searchQuery,additionLabel:n.props.additionLabel,additionPosition:n.props.additionPosition,allowAdditions:n.props.allowAdditions,deburr:n.props.deburr,multiple:n.props.multiple,search:n.props.search}));if(!t||0!==a){var s=n.makeSelectedItemActive(e,i);n.setState({selectedIndex:Ic({additionLabel:n.props.additionLabel,additionPosition:n.props.additionPosition,allowAdditions:n.props.allowAdditions,deburr:n.props.deburr,multiple:n.props.multiple,search:n.props.search,selectedIndex:i,value:s,options:n.props.options,searchQuery:""})}),n.closeOnChange(e),n.clearSearchQuery(),t&&Qr(n.searchRef.current,"focus")}}},n.removeItemOnBackspace=function(e){var t=n.props,r=t.multiple,o=t.search,i=n.state,a=i.searchQuery,s=i.value;if(vs().getCode(e)===vs().Backspace&&!a&&o&&r&&!Sl(s)){e.preventDefault();var l=kl(s);n.setState({value:l}),n.handleChange(e,l)}},n.closeOnDocumentClick=function(e){n.props.closeOnBlur&&(n.ref.current&&Ts(n.ref.current,e)||n.close())},n.handleMouseDown=function(e){n.isMouseDown=!0,Qr(n.props,"onMouseDown",e,n.props),document.addEventListener("mouseup",n.handleDocumentMouseUp)},n.handleDocumentMouseUp=function(){n.isMouseDown=!1,document.removeEventListener("mouseup",n.handleDocumentMouseUp)},n.handleClick=function(e){var t=n.props,r=t.minCharacters,o=t.search,i=n.state,a=i.open,s=i.searchQuery;if(Qr(n.props,"onClick",e,n.props),e.stopPropagation(),!o)return n.toggle(e);a?Qr(n.searchRef.current,"focus"):s.length>=r||1===r?n.open(e):Qr(n.searchRef.current,"focus")},n.handleIconClick=function(e){var t=n.props.clearable,r=n.hasValue();Qr(n.props,"onClick",e,n.props),e.stopPropagation(),t&&r?n.clearValue(e):n.toggle(e)},n.handleItemClick=function(e,t){var r=n.props,o=r.multiple,i=r.search,a=n.state.value,s=t.value;if(e.stopPropagation(),(o||t.disabled)&&e.nativeEvent.stopImmediatePropagation(),!t.disabled){var l=t["data-additional"],c=o?Wl(n.state.value,[s]):s;(o?!!Kl(c,a).length:c!==a)&&(n.setState({value:c}),n.handleChange(e,c)),n.clearSearchQuery(),Qr(i?n.searchRef.current:n.ref.current,"focus"),n.closeOnChange(e),l&&Qr(n.props,"onAddItem",e,an({},n.props,{value:s}))}},n.handleFocus=function(e){n.state.focus||(Qr(n.props,"onFocus",e,n.props),n.setState({focus:!0}))},n.handleBlur=function(e){var t=Ji(e,"currentTarget");if(!t||!t.contains(document.activeElement)){var r=n.props,o=r.closeOnBlur,i=r.multiple,a=r.selectOnBlur;n.isMouseDown||(Qr(n.props,"onBlur",e,n.props),a&&!i&&(n.makeSelectedItemActive(e,n.state.selectedIndex),o&&n.close()),n.setState({focus:!1}),n.clearSearchQuery())}},n.handleSearchChange=function(e,t){var r=t.value;e.stopPropagation();var o=n.props.minCharacters,i=n.state.open,a=r;Qr(n.props,"onSearchChange",e,an({},n.props,{searchQuery:a})),n.setState({searchQuery:a,selectedIndex:0}),!i&&a.length>=o?n.open():i&&1!==o&&a.length<o&&n.close()},n.handleKeyDown=function(e){n.moveSelectionOnKeyDown(e),n.openOnArrow(e),n.openOnSpace(e),n.selectItemOnEnter(e),Qr(n.props,"onKeyDown",e)},n.getSelectedItem=function(e){var t=Ac({value:n.state.value,options:n.props.options,searchQuery:n.state.searchQuery,additionLabel:n.props.additionLabel,additionPosition:n.props.additionPosition,allowAdditions:n.props.allowAdditions,deburr:n.props.deburr,multiple:n.props.multiple,search:n.props.search});return Ji(t,"["+e+"]")},n.getItemByValue=function(e){var t=n.props.options;return Tl(t,{value:e})},n.getDropdownAriaOptions=function(){var e=n.props,t=e.loading,r=e.disabled,o=e.search,i=e.multiple,a={role:o?"combobox":"listbox","aria-busy":t,"aria-disabled":r,"aria-expanded":!!n.state.open};return"listbox"===a.role&&(a["aria-multiselectable"]=i),a},n.clearSearchQuery=function(){var e=n.state.searchQuery;void 0!==e&&""!==e&&n.setState({searchQuery:""})},n.handleLabelClick=function(e,t){e.stopPropagation(),n.setState({selectedLabel:t.value}),Qr(n.props,"onLabelClick",e,t)},n.handleLabelRemove=function(e,t){e.stopPropagation();var r=n.state.value,o=gl(r,t.value);n.setState({value:o}),n.handleChange(e,o)},n.getSelectedIndexAfterMove=function(e,t){void 0===t&&(t=n.state.selectedIndex);var r=Ac({value:n.state.value,options:n.props.options,searchQuery:n.state.searchQuery,additionLabel:n.props.additionLabel,additionPosition:n.props.additionPosition,allowAdditions:n.props.allowAdditions,deburr:n.props.deburr,multiple:n.props.multiple,search:n.props.search});if(void 0!==r&&!hl(r,"disabled")){var o=r.length-1,i=t+e;return!n.props.wrapSelection&&(i>o||i<0)?i=t:i>o?i=0:i<0&&(i=o),r[i].disabled?n.getSelectedIndexAfterMove(e,i):i}},n.handleIconOverrides=function(e){return{className:Wr(n.props.clearable&&n.hasValue()&&"clear",e.className),onClick:function(t){Qr(e,"onClick",t,e),n.handleIconClick(t)}}},n.clearValue=function(e){var t=n.props.multiple?[]:"";n.setState({value:t}),n.handleChange(e,t)},n.computeSearchInputTabIndex=function(){var e=n.props,t=e.disabled,r=e.tabIndex;return io(r)?t?-1:0:r},n.computeSearchInputWidth=function(){var e=n.state.searchQuery;if(n.sizerRef.current&&e){n.sizerRef.current.style.display="inline",n.sizerRef.current.textContent=e;var t=Math.ceil(n.sizerRef.current.getBoundingClientRect().width);return n.sizerRef.current.style.removeProperty("display"),t}},n.computeTabIndex=function(){var e=n.props,t=e.disabled,r=e.search,o=e.tabIndex;if(!r)return t?-1:io(o)?0:o},n.handleSearchInputOverrides=function(e){return{onChange:function(t,r){Qr(e,"onChange",t,r),n.handleSearchChange(t,r)}}},n.hasValue=function(){var e=n.props.multiple,t=n.state.value;return e?!Sl(t):!io(t)&&""!==t},n.scrollSelectedItemIntoView=function(){if(n.ref.current){var e=n.ref.current.querySelector(".menu.visible");if(e){var t=e.querySelector(".item.selected");if(t){var r=t.offsetTop<e.scrollTop,o=t.offsetTop+t.clientHeight>e.scrollTop+e.clientHeight;r?e.scrollTop=t.offsetTop:o&&(e.scrollTop=t.offsetTop+t.clientHeight-e.clientHeight)}}}},n.setOpenDirection=function(){if(n.ref.current){var e=n.ref.current.querySelector(".menu.visible");if(e){var t=n.ref.current.getBoundingClientRect(),r=e.clientHeight,o=document.documentElement.clientHeight-t.top-t.height-r,i=t.top-r,a=o<0&&i>o;!a!==!n.state.upward&&n.setState({upward:a})}}},n.open=function(e,t){void 0===e&&(e=null),void 0===t&&(t=!0);var r=n.props,o=r.disabled,i=r.search;o||(i&&Qr(n.searchRef.current,"focus"),Qr(n.props,"onOpen",e,n.props),t&&n.setState({open:!0}),n.scrollSelectedItemIntoView())},n.close=function(e,t){void 0===t&&(t=n.handleClose),n.state.open&&(Qr(n.props,"onClose",e,n.props),n.setState({open:!1},t))},n.handleClose=function(){var e=document.activeElement===n.searchRef.current;!e&&n.ref.current&&n.ref.current.blur();var t=document.activeElement===n.ref.current,r=e||t;n.setState({focus:r})},n.toggle=function(e){return n.state.open?n.close(e):n.open(e)},n.renderText=function(){var e,t=n.props,r=t.multiple,o=t.placeholder,i=t.search,a=t.text,s=n.state,l=s.searchQuery,c=s.selectedIndex,u=s.value,p=s.open,d=n.hasValue(),f=Wr(o&&!d&&"default","text",i&&l&&"filtered"),h=o;return a?h=a:p&&!r?e=n.getSelectedItem(c):d&&(e=n.getItemByValue(u)),vc.create(e?Rc(e):h,{defaultProps:{className:f}})},n.renderSearchInput=function(){var t=n.props,r=t.search,o=t.searchInput,i=n.state.searchQuery;return r&&e.createElement(fo,{innerRef:n.searchRef},hc.create(o,{defaultProps:{style:{width:n.computeSearchInputWidth()},tabIndex:n.computeSearchInputTabIndex(),value:i},overrideProps:n.handleSearchInputOverrides}))},n.renderSearchSizer=function(){var t=n.props,r=t.search,o=t.multiple;return r&&o&&e.createElement("span",{className:"sizer",ref:n.sizerRef})},n.renderLabels=function(){var e=n.props,t=e.multiple,r=e.renderLabel,o=n.state,i=o.selectedLabel,a=o.value;if(t&&!Sl(a)){var s=Hs(a,n.getItemByValue);return Hs(pl(s),(function(e,t){var o={active:e.value===i,as:"a",key:Dc(e.key,e.value),onClick:n.handleLabelClick,onRemove:n.handleLabelRemove,value:e.value};return Us.create(r(e,t,o),{defaultProps:o})}))}},n.renderOptions=function(){var t=n.props,r=t.lazyLoad,o=t.multiple,i=t.search,a=t.noResultsMessage,s=n.state,l=s.open,c=s.selectedIndex,u=s.value;if(r&&!l)return null;var p=Ac({value:n.state.value,options:n.props.options,searchQuery:n.state.searchQuery,additionLabel:n.props.additionLabel,additionPosition:n.props.additionPosition,allowAdditions:n.props.allowAdditions,deburr:n.props.deburr,multiple:n.props.multiple,search:n.props.search});if(null!==a&&i&&Sl(p))return e.createElement("div",{className:"message"},a);var d=o?function(e){return ns(u,e)}:function(e){return e===u};return Hs(p,(function(e,t){return lc.create(an({active:d(e.value),selected:c===t},e,{key:Dc(e.key,e.value),style:an({},e.style,{pointerEvents:"all"})}),{generateKey:!1,overrideProps:function(e){return{onClick:function(t,r){null==e.onClick||e.onClick(t,r),n.handleItemClick(t,r)}}}})}))},n.renderMenu=function(){var t=n.props,r=t.children,o=t.direction,i=t.header,a=n.state.open,s=n.getDropdownMenuAriaOptions();if(!ua(r)){var l=e.Children.only(r),c=Wr(o,Xr(a,"visible"),l.props.className);return(0,e.cloneElement)(l,an({className:c},s))}return e.createElement(dc,an({},s,{direction:o,open:a}),uc.create(i,{autoGenerateKey:!1}),n.renderOptions())},n}ln(n,t);var r=n.prototype;return r.getInitialAutoControlledState=function(){return{focus:!1,searchQuery:""}},n.getAutoControlledStateFromProps=function(e,t,n){var r={__options:e.options,__value:t.value};return(!nc()(n.__value,t.value)||!Jl(xc(e.options),xc(n.__options)))&&(r.selectedIndex=Ic({additionLabel:e.additionLabel,additionPosition:e.additionPosition,allowAdditions:e.allowAdditions,deburr:e.deburr,multiple:e.multiple,search:e.search,selectedIndex:t.selectedIndex,value:t.value,options:e.options,searchQuery:t.searchQuery})),r},r.componentDidMount=function(){this.state.open&&this.open(null,!1)},r.shouldComponentUpdate=function(e,t){return!nc()(e,this.props)||!nc()(t,this.state)},r.componentDidUpdate=function(e,t){var n=this.props,r=n.closeOnBlur,o=n.minCharacters,i=n.openOnFocus,a=n.search;if(!t.focus&&this.state.focus){if(!this.isMouseDown){var s=!a||a&&1===o&&!this.state.open;i&&s&&this.open()}}else t.focus&&!this.state.focus&&!this.isMouseDown&&r&&this.close();!t.open&&this.state.open?(this.setOpenDirection(),this.scrollSelectedItemIntoView()):t.open&&this.state.open,t.selectedIndex!==this.state.selectedIndex&&this.scrollSelectedItemIntoView()},r.getDropdownMenuAriaOptions=function(){var e=this.props,t=e.search,n=e.multiple,r={};return t&&(r["aria-multiselectable"]=n,r.role="listbox"),r},r.render=function(){var t=this.props,r=t.basic,o=t.button,i=t.className,a=t.compact,s=t.disabled,l=t.error,c=t.fluid,u=t.floating,p=t.icon,d=t.inline,f=t.item,h=t.labeled,m=t.loading,v=t.multiple,y=t.pointing,g=t.search,b=t.selection,E=t.scrolling,_=t.simple,T=t.trigger,k=this.state,w=k.focus,S=k.open,A=k.upward,N=Wr("ui",Xr(S,"active visible"),Xr(s,"disabled"),Xr(l,"error"),Xr(m,"loading"),Xr(r,"basic"),Xr(o,"button"),Xr(a,"compact"),Xr(c,"fluid"),Xr(u,"floating"),Xr(d,"inline"),Xr(h,"labeled"),Xr(f,"item"),Xr(v,"multiple"),Xr(g,"search"),Xr(b,"selection"),Xr(_,"simple"),Xr(E,"scrolling"),Xr(A,"upward"),eo(y,"pointing"),"dropdown",i),C=ro(n,this.props),O=oo(n,this.props),I=this.getDropdownAriaOptions(O,this.props);return e.createElement(fo,{innerRef:this.ref},e.createElement(O,an({},C,I,{className:N,onBlur:this.handleBlur,onClick:this.handleClick,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onFocus:this.handleFocus,onChange:this.handleChange,tabIndex:this.computeTabIndex()}),this.renderLabels(),this.renderSearchInput(),this.renderSearchSizer(),T||this.renderText(),Va.create(p,{overrideProps:this.handleIconOverrides,autoGenerateKey:!1}),this.renderMenu(),S&&e.createElement(hs(),{name:"keydown",on:this.closeOnEscape}),S&&e.createElement(hs(),{name:"click",on:this.closeOnDocumentClick}),w&&e.createElement(hs(),{name:"keydown",on:this.removeItemOnBackspace})))},n}(ks);function Pc(t){var n=t.control,r=ro(Pc,t),o=oo(Pc,t);return e.createElement(o,an({},r,{control:n}))}Fc.handledProps=["additionLabel","additionPosition","allowAdditions","as","basic","button","children","className","clearable","closeOnBlur","closeOnChange","closeOnEscape","compact","deburr","defaultOpen","defaultSearchQuery","defaultSelectedLabel","defaultUpward","defaultValue","direction","disabled","error","floating","fluid","header","icon","inline","item","labeled","lazyLoad","loading","minCharacters","multiple","noResultsMessage","onAddItem","onBlur","onChange","onClick","onClose","onFocus","onLabelClick","onMouseDown","onOpen","onSearchChange","open","openOnFocus","options","placeholder","pointing","renderLabel","scrolling","search","searchInput","searchQuery","selectOnBlur","selectOnNavigation","selectedLabel","selection","simple","tabIndex","text","trigger","upward","value","wrapSelection"],Fc.propTypes={},Fc.defaultProps={additionLabel:"Add ",additionPosition:"top",closeOnBlur:!0,closeOnEscape:!0,deburr:!1,icon:"dropdown",minCharacters:1,noResultsMessage:"No results found.",openOnFocus:!0,renderLabel:Rc,searchInput:"text",selectOnBlur:!0,selectOnNavigation:!0,wrapSelection:!0},Fc.autoControlledProps=["open","searchQuery","selectedLabel","value","upward"],Fc.Divider=ac,Fc.Header=uc,Fc.Item=lc,Fc.Menu=dc,Fc.SearchInput=hc,Fc.Text=vc,Pc.handledProps=["as","control"],Pc.propTypes={},Pc.defaultProps={as:al,control:Fc};const Lc=Pc;function Mc(t){var n=t.children,r=t.className,o=t.grouped,i=t.inline,a=t.unstackable,s=t.widths,l=Wr(Xr(o,"grouped"),Xr(i,"inline"),Xr(a,"unstackable"),no(s,null,!0),"fields",r),c=ro(Mc,t),u=oo(Mc,t);return e.createElement(u,an({},c,{className:l}),n)}Mc.handledProps=["as","children","className","grouped","inline","unstackable","widths"],Mc.propTypes={};const jc=Mc;var Vc=function(t){function n(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.call.apply(t,[this].concat(i))||this).inputRef=(0,e.createRef)(),r.computeIcon=function(){var e=r.props,t=e.loading,n=e.icon;return io(n)?t?"spinner":void 0:n},r.computeTabIndex=function(){var e=r.props,t=e.disabled,n=e.tabIndex;return io(n)?t?-1:void 0:n},r.focus=function(){return r.inputRef.current.focus()},r.select=function(){return r.inputRef.current.select()},r.handleChange=function(e){var t=Ji(e,"target.value");Qr(r.props,"onChange",e,an({},r.props,{value:t}))},r.handleChildOverrides=function(e,t){return an({},t,e.props,{ref:function(t){so(e.ref,t),r.inputRef.current=t}})},r.partitionProps=function(){var e=r.props,t=e.disabled,o=e.type,i=r.computeTabIndex(),a=ro(n,r.props),s=cs(a),l=s[0],c=s[1];return[an({},l,{disabled:t,type:o,tabIndex:i,onChange:r.handleChange,ref:r.inputRef}),c]},r}return ln(n,t),n.prototype.render=function(){var t=this,r=this.props,o=r.action,i=r.actionPosition,a=r.children,s=r.className,l=r.disabled,c=r.error,u=r.fluid,p=r.focus,d=r.icon,f=r.iconPosition,h=r.input,m=r.inverted,v=r.label,y=r.labelPosition,g=r.loading,b=r.size,E=r.transparent,_=r.type,T=Wr("ui",b,Xr(l,"disabled"),Xr(c,"error"),Xr(u,"fluid"),Xr(p,"focus"),Xr(m,"inverted"),Xr(g,"loading"),Xr(E,"transparent"),Zr(i,"action")||Xr(o,"action"),Zr(f,"icon")||Xr(d||g,"icon"),Zr(y,"labeled")||Xr(v,"labeled"),"input",s),k=oo(n,this.props),w=this.partitionProps(),S=w[0],A=w[1];if(!ua(a)){var N=Hs(e.Children.toArray(a),(function(n){return"input"!==n.type?n:(0,e.cloneElement)(n,t.handleChildOverrides(n,S))}));return e.createElement(k,an({},A,{className:T}),N)}var C=Js.create(o,{autoGenerateKey:!1}),O=Us.create(v,{defaultProps:{className:Wr("label",ns(y,"corner")&&y)},autoGenerateKey:!1});return e.createElement(k,an({},A,{className:T}),"left"===i&&C,"right"!==y&&O,Fa(h||_,{defaultProps:S,autoGenerateKey:!1}),Va.create(this.computeIcon(),{autoGenerateKey:!1}),"left"!==i&&C,"right"===y&&O)},n}(e.Component);Vc.handledProps=["action","actionPosition","as","children","className","disabled","error","fluid","focus","icon","iconPosition","input","inverted","label","labelPosition","loading","onChange","size","tabIndex","transparent","type"],Vc.propTypes={},Vc.defaultProps={type:"text"},Vc.create=Ra(Vc,(function(e){return{type:e}}));const Uc=Vc;function qc(t){var n=t.control,r=ro(qc,t),o=oo(qc,t);return e.createElement(o,an({},r,{control:n}))}qc.handledProps=["as","control"],qc.propTypes={},qc.defaultProps={as:al,control:Uc};const zc=qc;function Bc(t){var n=t.control,r=ro(Bc,t),o=oo(Bc,t);return e.createElement(o,an({},r,{control:n}))}Bc.handledProps=["as","control"],Bc.propTypes={},Bc.defaultProps={as:al,control:ol};const Hc=Bc;function Yc(t){return e.createElement(Fc,an({},t,{selection:!0}))}Yc.handledProps=["options"],Yc.propTypes={},Yc.Divider=Fc.Divider,Yc.Header=Fc.Header,Yc.Item=Fc.Item,Yc.Menu=Fc.Menu;const Gc=Yc;function Qc(t){var n=t.control,r=t.options,o=ro(Qc,t),i=oo(Qc,t);return e.createElement(i,an({},o,{control:n,options:r}))}Qc.handledProps=["as","control","options"],Qc.propTypes={},Qc.defaultProps={as:al,control:Gc};const Kc=Qc;var Wc=function(t){function n(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=t.call.apply(t,[this].concat(o))||this).ref=(0,e.createRef)(),n.focus=function(){return n.ref.current.focus()},n.handleChange=function(e){var t=Ji(e,"target.value");Qr(n.props,"onChange",e,an({},n.props,{value:t}))},n.handleInput=function(e){var t=Ji(e,"target.value");Qr(n.props,"onInput",e,an({},n.props,{value:t}))},n}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.rows,o=t.value,i=ro(n,this.props),a=oo(n,this.props);return e.createElement(fo,{innerRef:this.ref},e.createElement(a,an({},i,{onChange:this.handleChange,onInput:this.handleInput,rows:r,value:o})))},n}(e.Component);Wc.handledProps=["as","onChange","onInput","rows","value"],Wc.propTypes={},Wc.defaultProps={as:"textarea",rows:3};const Jc=Wc;function $c(t){var n=t.control,r=ro($c,t),o=oo($c,t);return e.createElement(o,an({},r,{control:n}))}$c.handledProps=["as","control"],$c.propTypes={},$c.defaultProps={as:al,control:Jc};const Xc=$c;var Zc=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleSubmit=function(t){"string"!==typeof e.props.action&&Qr(t,"preventDefault");for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];Qr.apply(void 0,[e.props,"onSubmit",t,e.props].concat(r))},e}return ln(n,t),n.prototype.render=function(){var t=this.props,r=t.action,o=t.children,i=t.className,a=t.error,s=t.inverted,l=t.loading,c=t.reply,u=t.size,p=t.success,d=t.unstackable,f=t.warning,h=t.widths,m=Wr("ui",u,Xr(a,"error"),Xr(s,"inverted"),Xr(l,"loading"),Xr(c,"reply"),Xr(p,"success"),Xr(d,"unstackable"),Xr(f,"warning"),no(h,null,!0),"form",i),v=ro(n,this.props),y=oo(n,this.props);return e.createElement(y,an({},v,{action:r,className:m,onSubmit:this.handleSubmit}),o)},n}(e.Component);Zc.handledProps=["action","as","children","className","error","inverted","loading","onSubmit","reply","size","success","unstackable","warning","widths"],Zc.propTypes={},Zc.defaultProps={as:"form"},Zc.Field=al,Zc.Button=ll,Zc.Checkbox=ul,Zc.Dropdown=Lc,Zc.Group=jc,Zc.Input=zc,Zc.Radio=Hc,Zc.Select=Kc,Zc.TextArea=Xc;const eu=Zc,tu=fs.instance;var nu=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).handleButtonOverrides=function(t){return{onClick:function(n,r){Qr(t,"onClick",n,r),Qr(e.props,"onActionClick",n,r)}}},e}return ln(n,t),n.prototype.render=function(){var t=this,r=this.props,o=r.actions,i=r.children,a=r.className,s=r.content,l=Wr("actions",a),c=ro(n,this.props),u=oo(n,this.props);return ua(i)?ua(s)?e.createElement(u,an({},c,{className:l}),Hs(o,(function(e){return Js.create(e,{overrideProps:t.handleButtonOverrides})}))):e.createElement(u,an({},c,{className:l}),s):e.createElement(u,an({},c,{className:l}),i)},n}(e.Component);function ru(t){var n=t.children,r=t.className,o=t.content,i=t.image,a=t.scrolling,s=Wr(r,Xr(i,"image"),Xr(a,"scrolling"),"content"),l=ro(ru,t),c=oo(ru,t);return e.createElement(c,an({},l,{className:s}),ua(n)?o:n)}nu.handledProps=["actions","as","children","className","content","onActionClick"],nu.propTypes={},nu.create=Ra(nu,(function(e){return{actions:e}})),ru.handledProps=["as","children","className","content","image","scrolling"],ru.propTypes={},ru.create=Ra(ru,(function(e){return{content:e}}));const ou=ru;function iu(t){var n=t.children,r=t.className,o=t.content,i=Wr("description",r),a=ro(iu,t),s=oo(iu,t);return e.createElement(s,an({},a,{className:i}),ua(n)?o:n)}iu.handledProps=["as","children","className","content"],iu.propTypes={};const au=iu;const su=ds()?e.useLayoutEffect:e.useEffect;var lu=/\s+/;var cu=new Map,uu=function(e,t){var n=function(e){var t=[];return e?(e.forEach((function(e){"string"===typeof e.current&&e.current.split(lu).forEach((function(e){t.push(e)}))})),t.filter((function(e,t,n){return e.length>0&&n.indexOf(e)===t}))):[]}(t),r=function(e,t){return[t.filter((function(t){return-1===e.indexOf(t)})),e.filter((function(e){return-1===t.indexOf(e)}))]}(cu.get(e)||[],n),o=r[0],i=r[1];e&&(o.forEach((function(t){return e.classList.add(t)})),i.forEach((function(t){return e.classList.remove(t)}))),cu.set(e,n)},pu=new function(){var e=this;this.add=function(t,n){if(e.nodes.has(t)){e.nodes.get(t).add(n)}else{var r=new Set;r.add(n),e.nodes.set(t,r)}},this.del=function(t,n){if(e.nodes.has(t)){var r=e.nodes.get(t);1!==r.size?r.delete(n):e.nodes.delete(t)}},this.emit=function(t,n){n(t,e.nodes.get(t))},this.nodes=new Map};function du(t){var n=t.blurring,r=t.children,o=t.className,i=t.centered,a=t.content,s=t.inverted,l=t.mountNode,c=t.scrolling,u=e.useRef(),p=Wr("ui",Xr(s,"inverted"),Xr(!i,"top aligned"),"page modals dimmer transition visible active",o),d=Wr("dimmable dimmed",Xr(n,"blurring"),Xr(c,"scrolling")),f=ro(du,t),h=oo(du,t);return function(t,n){var r=e.useRef(),o=e.useRef(!1);su((function(){if(r.current=n,o.current){var e=lo(t)?t.current:t;pu.emit(e,uu)}o.current=!0}),[n]),su((function(){var e=lo(t)?t.current:t;return pu.add(e,r),pu.emit(e,uu),function(){pu.del(e,r),pu.emit(e,uu)}}),[t])}(l,d),e.useEffect((function(){u.current&&u.current.style&&u.current.style.setProperty("display","flex","important")}),[]),e.createElement(fo,{innerRef:u},e.createElement(h,an({},f,{className:p}),ua(r)?a:r))}du.handledProps=["as","blurring","centered","children","className","content","inverted","mountNode","scrolling"],du.propTypes={},du.create=Ra(du,(function(e){return{content:e}}));const fu=du;function hu(t){var n=t.children,r=t.className,o=t.content,i=Wr("header",r),a=ro(hu,t),s=oo(hu,t);return e.createElement(s,an({},a,{className:i}),ua(n)?o:n)}hu.handledProps=["as","children","className","content"],hu.propTypes={},hu.create=Ra(hu,(function(e){return{content:e}}));const mu=hu;var vu=function(t){function n(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=t.call.apply(t,[this].concat(i))||this).legacy=ds()&&!window.ActiveXObject&&"ActiveXObject"in window,r.ref=(0,e.createRef)(),r.dimmerRef=(0,e.createRef)(),r.latestDocumentMouseDownEvent=null,r.getMountNode=function(){return ds()?r.props.mountNode||document.body:null},r.handleActionsOverrides=function(e){return{onActionClick:function(t,n){Qr(e,"onActionClick",t,n),Qr(r.props,"onActionClick",t,r.props),r.handleClose(t)}}},r.handleClose=function(e){r.setState({open:!1}),Qr(r.props,"onClose",e,an({},r.props,{open:!1}))},r.handleDocumentMouseDown=function(e){r.latestDocumentMouseDownEvent=e},r.handleDocumentClick=function(e){var t=r.props.closeOnDimmerClick,n=r.latestDocumentMouseDownEvent;r.latestDocumentMouseDownEvent=null,!t||Ts(r.ref.current,n)||Ts(r.ref.current,e)||(r.setState({open:!1}),Qr(r.props,"onClose",e,an({},r.props,{open:!1})))},r.handleIconOverrides=function(e){return{onClick:function(t){Qr(e,"onClick",t),r.handleClose(t)}}},r.handleOpen=function(e){Qr(r.props,"onOpen",e,an({},r.props,{open:!0})),r.setState({open:!0})},r.handlePortalMount=function(e){var t=r.props.eventPool;r.setState({scrolling:!1}),r.setPositionAndClassNames(),tu.sub("mousedown",r.handleDocumentMouseDown,{pool:t,target:r.dimmerRef.current}),tu.sub("click",r.handleDocumentClick,{pool:t,target:r.dimmerRef.current}),Qr(r.props,"onMount",e,r.props)},r.handlePortalUnmount=function(e){var t=r.props.eventPool;cancelAnimationFrame(r.animationRequestId),tu.unsub("mousedown",r.handleDocumentMouseDown,{pool:t,target:r.dimmerRef.current}),tu.unsub("click",r.handleDocumentClick,{pool:t,target:r.dimmerRef.current}),Qr(r.props,"onUnmount",e,r.props)},r.setPositionAndClassNames=function(){var e,t=r.props.centered,n={};if(r.ref.current){var o=r.ref.current.getBoundingClientRect(),i=function(e){var t=e.height+0,n=e.height+0,r=window.innerHeight;return r/2+-n/2+t+50<r}(o);e=!i;var a=r.legacy?function(e,t,n){var r=t&&e?-n.height/2:0;return{marginLeft:-n.width/2,marginTop:r}}(i,t,o):{};nc()(r.state.legacyStyles,a)||(n.legacyStyles=a),r.state.scrolling!==e&&(n.scrolling=e)}Sl(n)||r.setState(n),r.animationRequestId=requestAnimationFrame(r.setPositionAndClassNames)},r.renderContent=function(t){var o=r.props,i=o.actions,a=o.basic,s=o.children,l=o.className,c=o.closeIcon,u=o.content,p=o.header,d=o.size,f=o.style,h=r.state,m=h.legacyStyles,v=h.scrolling,y=Wr("ui",d,Xr(a,"basic"),Xr(r.legacy,"legacy"),Xr(v,"scrolling"),"modal transition visible active",l),g=oo(n,r.props),b=!0===c?"close":c,E=Va.create(b,{overrideProps:r.handleIconOverrides});return e.createElement(fo,{innerRef:r.ref},e.createElement(g,an({},t,{className:y,style:an({},m,f)}),E,ua(s)?e.createElement(e.Fragment,null,mu.create(p,{autoGenerateKey:!1}),ou.create(u,{autoGenerateKey:!1}),nu.create(i,{overrideProps:r.handleActionsOverrides})):s))},r}ln(n,t);var r=n.prototype;return r.componentWillUnmount=function(){this.handlePortalUnmount()},r.render=function(){var t=this.props,r=t.centered,o=t.closeOnDocumentClick,i=t.dimmer,a=t.eventPool,s=t.trigger,l=this.state,c=l.open,u=l.scrolling,p=this.getMountNode();if(!ds())return(0,e.isValidElement)(s)?s:null;var d=ro(n,this.props),f=Ns.handledProps,h=Oc(d,(function(e,t,n){return ns(f,n)||(e[n]=t),e}),{}),m=ec(d,f);return e.createElement(Ns,an({closeOnDocumentClick:o},m,{trigger:s,eventPool:a,mountNode:p,open:c,onClose:this.handleClose,onMount:this.handlePortalMount,onOpen:this.handleOpen,onUnmount:this.handlePortalUnmount}),e.createElement(fo,{innerRef:this.dimmerRef},fu.create(Ca(i)?i:{},{autoGenerateKey:!1,defaultProps:{blurring:"blurring"===i,inverted:"inverted"===i},overrideProps:{children:this.renderContent(h),centered:r,mountNode:p,scrolling:u}})))},n}(ks);vu.handledProps=["actions","as","basic","centered","children","className","closeIcon","closeOnDimmerClick","closeOnDocumentClick","content","defaultOpen","dimmer","eventPool","header","mountNode","onActionClick","onClose","onMount","onOpen","onUnmount","open","size","style","trigger"],vu.propTypes={},vu.defaultProps={centered:!0,dimmer:!0,closeOnDimmerClick:!0,closeOnDocumentClick:!1,eventPool:"Modal"},vu.autoControlledProps=["open"],vu.Actions=nu,vu.Content=ou,vu.Description=au,vu.Dimmer=fu,vu.Header=mu;const yu=vu,gu=new TextEncoder,bu=new TextDecoder;function Eu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.reduce(((e,t)=>{let{length:n}=t;return e+n}),0),o=new Uint8Array(r);let i=0;for(const a of t)o.set(a,i),i+=a.length;return o}const _u=e=>(e=>{let t=e;"string"===typeof t&&(t=gu.encode(t));const n=[];for(let r=0;r<t.length;r+=32768)n.push(String.fromCharCode.apply(null,t.subarray(r,r+32768)));return btoa(n.join(""))})(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),Tu=e=>{let t=e;t instanceof Uint8Array&&(t=bu.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return(e=>{const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n})(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class ku extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(e){super(e),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,Error.captureStackTrace?.(this,this.constructor)}}class wu extends ku{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unspecified",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unspecified";super(e),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=t,this.reason=n}}class Su extends ku{static get code(){return"ERR_JWT_EXPIRED"}constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unspecified",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"unspecified";super(e),this.code="ERR_JWT_EXPIRED",this.claim=t,this.reason=n}}class Au extends ku{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}}class Nu extends ku{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}}class Cu extends ku{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}}class Ou extends ku{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}Symbol.asyncIterator;class Iu extends ku{constructor(){super(...arguments),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}const Du=crypto,xu=e=>e instanceof CryptoKey;Du.getRandomValues.bind(Du);function Ru(e){if("object"!==typeof(t=e)||null===t||"[object Object]"!==Object.prototype.toString.call(e))return!1;var t;if(null===Object.getPrototypeOf(e))return!0;let n=e;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return Object.getPrototypeOf(e)===n}const Fu=function(e,t,n,r,o){if(void 0!==o.crit&&void 0===r?.crit)throw new e('"crit" (Critical) Header Parameter MUST be integrity protected');if(!r||void 0===r.crit)return new Set;if(!Array.isArray(r.crit)||0===r.crit.length||r.crit.some((e=>"string"!==typeof e||0===e.length)))throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let i;i=void 0!==n?new Map([...Object.entries(n),...t.entries()]):t;for(const a of r.crit){if(!i.has(a))throw new Nu(`Extension Header Parameter "${a}" is not recognized`);if(void 0===o[a])throw new e(`Extension Header Parameter "${a}" is missing`);if(i.get(a)&&void 0===r[a])throw new e(`Extension Header Parameter "${a}" MUST be integrity protected`)}return new Set(r.crit)};Symbol();function Pu(e,t){const n=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:n,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:n,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:n,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:n,name:"ECDSA",namedCurve:t.namedCurve};case"EdDSA":return{name:t.name};default:throw new Nu(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}const Lu=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:n}=t.algorithm;if("number"!==typeof n||n<2048)throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}};function Mu(e){return new TypeError(`CryptoKey does not support this operation, its ${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"algorithm.name"} must be ${e}`)}function ju(e,t){return e.name===t}function Vu(e){return parseInt(e.name.slice(4),10)}function Uu(e,t){if(t.length&&!t.some((t=>e.usages.includes(t)))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const n=t.pop();e+=`one of ${t.join(", ")}, or ${n}.`}else 2===t.length?e+=`one of ${t[0]} or ${t[1]}.`:e+=`${t[0]}.`;throw new TypeError(e)}}function qu(e,t){switch(t){case"HS256":case"HS384":case"HS512":{if(!ju(e.algorithm,"HMAC"))throw Mu("HMAC");const n=parseInt(t.slice(2),10);if(Vu(e.algorithm.hash)!==n)throw Mu(`SHA-${n}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!ju(e.algorithm,"RSASSA-PKCS1-v1_5"))throw Mu("RSASSA-PKCS1-v1_5");const n=parseInt(t.slice(2),10);if(Vu(e.algorithm.hash)!==n)throw Mu(`SHA-${n}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!ju(e.algorithm,"RSA-PSS"))throw Mu("RSA-PSS");const n=parseInt(t.slice(2),10);if(Vu(e.algorithm.hash)!==n)throw Mu(`SHA-${n}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==e.algorithm.name&&"Ed448"!==e.algorithm.name)throw Mu("Ed25519 or Ed448");break;case"ES256":case"ES384":case"ES512":{if(!ju(e.algorithm,"ECDSA"))throw Mu("ECDSA");const n=function(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(t);if(e.algorithm.namedCurve!==n)throw Mu(n,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];Uu(e,r)}function zu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];if(r.length>2){const t=r.pop();e+=`one of type ${r.join(", ")}, or ${t}.`}else 2===r.length?e+=`one of type ${r[0]} or ${r[1]}.`:e+=`of type ${r[0]}.`;return null==t?e+=` Received ${t}`:"function"===typeof t&&t.name?e+=` Received function ${t.name}`:"object"===typeof t&&null!=t&&t.constructor?.name&&(e+=` Received an instance of ${t.constructor.name}`),e}const Bu=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return zu("Key must be ",e,...n)};function Hu(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return zu(`Key for the ${e} algorithm must be `,t,...r)}const Yu=e=>xu(e),Gu=["CryptoKey"];function Qu(e,t,n){if(xu(t))return qu(t,e,n),t;if(t instanceof Uint8Array){if(!e.startsWith("HS"))throw new TypeError(Bu(t,...Gu));return Du.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},!1,[n])}throw new TypeError(Bu(t,...Gu,"Uint8Array"))}const Ku=async(e,t,n,r)=>{const o=await Qu(e,t,"verify");Lu(e,o);const i=Pu(e,o.algorithm);try{return await Du.subtle.verify(i,o,n,r)}catch{return!1}},Wu=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=t.filter(Boolean);if(0===r.length||1===r.length)return!0;let o;for(const i of r){const e=Object.keys(i);if(o&&0!==o.size)for(const t of e){if(o.has(t))return!1;o.add(t)}else o=new Set(e)}return!0},Ju=(e,t,n)=>{e.startsWith("HS")||"dir"===e||e.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(e)?((e,t)=>{if(!(t instanceof Uint8Array)){if(!Yu(t))throw new TypeError(Hu(e,t,...Gu,"Uint8Array"));if("secret"!==t.type)throw new TypeError(`${Gu.join(" or ")} instances for symmetric algorithms must be of type "secret"`)}})(e,t):((e,t,n)=>{if(!Yu(t))throw new TypeError(Hu(e,t,...Gu));if("secret"===t.type)throw new TypeError(`${Gu.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===n&&"public"===t.type)throw new TypeError(`${Gu.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===n&&"public"===t.type)throw new TypeError(`${Gu.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(t.algorithm&&"verify"===n&&"private"===t.type)throw new TypeError(`${Gu.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(t.algorithm&&"encrypt"===n&&"private"===t.type)throw new TypeError(`${Gu.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)})(e,t,n)},$u=(e,t)=>{if(void 0!==t&&(!Array.isArray(t)||t.some((e=>"string"!==typeof e))))throw new TypeError(`"${e}" option must be an array of strings`);if(t)return new Set(t)};async function Xu(e,t,n){if(e instanceof Uint8Array&&(e=bu.decode(e)),"string"!==typeof e)throw new Cu("Compact JWS must be a string or Uint8Array");const{0:r,1:o,2:i,length:a}=e.split(".");if(3!==a)throw new Cu("Invalid Compact JWS");const s=await async function(e,t,n){if(!Ru(e))throw new Cu("Flattened JWS must be an object");if(void 0===e.protected&&void 0===e.header)throw new Cu('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==e.protected&&"string"!==typeof e.protected)throw new Cu("JWS Protected Header incorrect type");if(void 0===e.payload)throw new Cu("JWS Payload missing");if("string"!==typeof e.signature)throw new Cu("JWS Signature missing or incorrect type");if(void 0!==e.header&&!Ru(e.header))throw new Cu("JWS Unprotected Header incorrect type");let r={};if(e.protected)try{const t=Tu(e.protected);r=JSON.parse(bu.decode(t))}catch{throw new Cu("JWS Protected Header is invalid")}if(!Wu(r,e.header))throw new Cu("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const o={...r,...e.header};let i=!0;if(Fu(Cu,new Map([["b64",!0]]),n?.crit,r,o).has("b64")&&(i=r.b64,"boolean"!==typeof i))throw new Cu('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:a}=o;if("string"!==typeof a||!a)throw new Cu('JWS "alg" (Algorithm) Header Parameter missing or invalid');const s=n&&$u("algorithms",n.algorithms);if(s&&!s.has(a))throw new Au('"alg" (Algorithm) Header Parameter value not allowed');if(i){if("string"!==typeof e.payload)throw new Cu("JWS Payload must be a string")}else if("string"!==typeof e.payload&&!(e.payload instanceof Uint8Array))throw new Cu("JWS Payload must be a string or an Uint8Array instance");let l=!1;"function"===typeof t&&(t=await t(r,e),l=!0),Ju(a,t,"verify");const c=Eu(gu.encode(e.protected??""),gu.encode("."),"string"===typeof e.payload?gu.encode(e.payload):e.payload);let u,p;try{u=Tu(e.signature)}catch{throw new Cu("Failed to base64url decode the signature")}if(!await Ku(a,t,u,c))throw new Iu;if(i)try{p=Tu(e.payload)}catch{throw new Cu("Failed to base64url decode the payload")}else p="string"===typeof e.payload?gu.encode(e.payload):e.payload;const d={payload:p};return void 0!==e.protected&&(d.protectedHeader=r),void 0!==e.header&&(d.unprotectedHeader=e.header),l?{...d,key:t}:d}({payload:o,protected:r,signature:i},t,n),l={payload:s.payload,protectedHeader:s.protectedHeader};return"function"===typeof t?{...l,key:s.key}:l}const Zu=e=>Math.floor(e.getTime()/1e3),ep=86400,tp=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i,np=e=>{const t=tp.exec(e);if(!t||t[4]&&t[1])throw new TypeError("Invalid time period format");const n=parseFloat(t[2]);let r;switch(t[3].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":r=Math.round(n);break;case"minute":case"minutes":case"min":case"mins":case"m":r=Math.round(60*n);break;case"hour":case"hours":case"hr":case"hrs":case"h":r=Math.round(3600*n);break;case"day":case"days":case"d":r=Math.round(n*ep);break;case"week":case"weeks":case"w":r=Math.round(604800*n);break;default:r=Math.round(31557600*n)}return"-"===t[1]||"ago"===t[4]?-r:r},rp=e=>e.toLowerCase().replace(/^application\//,""),op=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{typ:r}=n;if(r&&("string"!==typeof e.typ||rp(e.typ)!==rp(r)))throw new wu('unexpected "typ" JWT header value',"typ","check_failed");let o;try{o=JSON.parse(bu.decode(t))}catch{}if(!Ru(o))throw new Ou("JWT Claims Set must be a top-level JSON object");const{requiredClaims:i=[],issuer:a,subject:s,audience:l,maxTokenAge:c}=n,u=[...i];void 0!==c&&u.push("iat"),void 0!==l&&u.push("aud"),void 0!==s&&u.push("sub"),void 0!==a&&u.push("iss");for(const v of new Set(u.reverse()))if(!(v in o))throw new wu(`missing required "${v}" claim`,v,"missing");if(a&&!(Array.isArray(a)?a:[a]).includes(o.iss))throw new wu('unexpected "iss" claim value',"iss","check_failed");if(s&&o.sub!==s)throw new wu('unexpected "sub" claim value',"sub","check_failed");if(l&&(p=o.aud,d="string"===typeof l?[l]:l,!("string"===typeof p?d.includes(p):Array.isArray(p)&&d.some(Set.prototype.has.bind(new Set(p))))))throw new wu('unexpected "aud" claim value',"aud","check_failed");var p,d;let f;switch(typeof n.clockTolerance){case"string":f=np(n.clockTolerance);break;case"number":f=n.clockTolerance;break;case"undefined":f=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:h}=n,m=Zu(h||new Date);if((void 0!==o.iat||c)&&"number"!==typeof o.iat)throw new wu('"iat" claim must be a number',"iat","invalid");if(void 0!==o.nbf){if("number"!==typeof o.nbf)throw new wu('"nbf" claim must be a number',"nbf","invalid");if(o.nbf>m+f)throw new wu('"nbf" claim timestamp check failed',"nbf","check_failed")}if(void 0!==o.exp){if("number"!==typeof o.exp)throw new wu('"exp" claim must be a number',"exp","invalid");if(o.exp<=m-f)throw new Su('"exp" claim timestamp check failed',"exp","check_failed")}if(c){const e=m-o.iat;if(e-f>("number"===typeof c?c:np(c)))throw new Su('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(e<0-f)throw new wu('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return o};const ip=async(e,t,n)=>{const r=await Qu(e,t,"sign");Lu(e,r);const o=await Du.subtle.sign(Pu(e,r.algorithm),r,n);return new Uint8Array(o)};class ap{constructor(e){if(!(e instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=e}setProtectedHeader(e){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=e,this}setUnprotectedHeader(e){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=e,this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader)throw new Cu("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Wu(this._protectedHeader,this._unprotectedHeader))throw new Cu("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const n={...this._protectedHeader,...this._unprotectedHeader};let r=!0;if(Fu(Cu,new Map([["b64",!0]]),t?.crit,this._protectedHeader,n).has("b64")&&(r=this._protectedHeader.b64,"boolean"!==typeof r))throw new Cu('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:o}=n;if("string"!==typeof o||!o)throw new Cu('JWS "alg" (Algorithm) Header Parameter missing or invalid');Ju(o,e,"sign");let i,a=this._payload;r&&(a=gu.encode(_u(a))),i=this._protectedHeader?gu.encode(_u(JSON.stringify(this._protectedHeader))):gu.encode("");const s=Eu(i,gu.encode("."),a),l=await ip(o,e,s),c={signature:_u(l),payload:""};return r&&(c.payload=bu.decode(a)),this._unprotectedHeader&&(c.header=this._unprotectedHeader),this._protectedHeader&&(c.protected=bu.decode(i)),c}}class sp{constructor(e){this._flattened=new ap(e)}setProtectedHeader(e){return this._flattened.setProtectedHeader(e),this}async sign(e,t){const n=await this._flattened.sign(e,t);if(void 0===n.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${n.protected}.${n.payload}.${n.signature}`}}function lp(e,t){if(!Number.isFinite(t))throw new TypeError(`Invalid ${e} input`);return t}class cp{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ru(e))throw new TypeError("JWT Claims Set MUST be an object");this._payload=e}setIssuer(e){return this._payload={...this._payload,iss:e},this}setSubject(e){return this._payload={...this._payload,sub:e},this}setAudience(e){return this._payload={...this._payload,aud:e},this}setJti(e){return this._payload={...this._payload,jti:e},this}setNotBefore(e){return"number"===typeof e?this._payload={...this._payload,nbf:lp("setNotBefore",e)}:e instanceof Date?this._payload={...this._payload,nbf:lp("setNotBefore",Zu(e))}:this._payload={...this._payload,nbf:Zu(new Date)+np(e)},this}setExpirationTime(e){return"number"===typeof e?this._payload={...this._payload,exp:lp("setExpirationTime",e)}:e instanceof Date?this._payload={...this._payload,exp:lp("setExpirationTime",Zu(e))}:this._payload={...this._payload,exp:Zu(new Date)+np(e)},this}setIssuedAt(e){return"undefined"===typeof e?this._payload={...this._payload,iat:Zu(new Date)}:e instanceof Date?this._payload={...this._payload,iat:lp("setIssuedAt",Zu(e))}:this._payload="string"===typeof e?{...this._payload,iat:lp("setIssuedAt",Zu(new Date)+np(e))}:{...this._payload,iat:lp("setIssuedAt",e)},this}}class up extends cp{setProtectedHeader(e){return this._protectedHeader=e,this}async sign(e,t){const n=new sp(gu.encode(JSON.stringify(this._payload)));if(n.setProtectedHeader(this._protectedHeader),Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&!1===this._protectedHeader.b64)throw new Ou("JWTs MUST NOT use unencoded payload");return n.sign(e,t)}}let pp;if("undefined"===typeof navigator||!navigator.userAgent?.startsWith?.("Mozilla/5.0 ")){pp=`${"jose"}/${"v5.2.3"}`}const dp=Tu;async function fp(e){try{"string"===typeof e&&(e=JSON.parse(e));const t=(new TextEncoder).encode("open-secrete"),n=await new up(e).setProtectedHeader({alg:"HS256"}).sign(t);return await async function(e,t,n){const r=await Xu(e,t,n);if(r.protectedHeader.crit?.includes("b64")&&!1===r.protectedHeader.b64)throw new Ou("JWTs MUST NOT use unencoded payload");const o={payload:op(r.protectedHeader,r.payload,n),protectedHeader:r.protectedHeader};return"function"===typeof t?{...o,key:r.key}:o}(n,t),n}catch(t){throw new Error("Error when generating OIDC token: "+t.message)}}function hp(e){if("undefined"===typeof e||"string"!==typeof e)return null;return function(e){if("string"!==typeof e)throw new Ou("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:n}=e.split(".");if(5===n)throw new Ou("Only JWTs using Compact JWS serialization can be decoded");if(3!==n)throw new Ou("Invalid JWT");if(!t)throw new Ou("JWTs must contain a payload");let r,o;try{r=dp(t)}catch{throw new Ou("Failed to base64url decode the payload")}try{o=JSON.parse(bu.decode(r))}catch{throw new Ou("Failed to parse the decoded payload as JSON")}if(!Ru(o))throw new Ou("Invalid JWT Claims Set");return o}(e)}async function mp(e,t){const n=hp(e);if(!Object.keys(n).length)throw new Error(`Invalid token ${e}`);return t&&(n.iss=t),n.exp=Math.floor(Date.now()/100+2e4),await fp(JSON.stringify(n))}var vp=n(812);let yp;!function(e){e.API_KEY="API_KEY",e.AMAZON_COGNITO_USER_POOLS="AMAZON_COGNITO_USER_POOLS",e.OPENID_CONNECT="OPENID_CONNECT",e.AWS_IAM="AWS_IAM"}(yp||(yp={}));class gp extends e.Component{constructor(e){super(e),this.state={currentCognitoToken:"",currentOIDCTokenDecoded:"",currentOIDCToken:"",userName:"",issuer:"",userGroups:[],apiKey:"",possibleGroups:[],email:"",supportedAuthModes:[yp.API_KEY],isOpen:!0,currentAuthMode:yp.API_KEY,oidcTokenError:"",iamRole:"auth"},this.onAdditionalFieldChange=(e,t)=>{this.setState({additionalFields:t.value})};const t=this.parseJWTToken(this.props.currentCognitoToken)||{};let n={userName:t["cognito:username"]||"",userGroups:t["cognito:groups"]||[],issuer:t.iss,email:t.email,possibleGroups:t["cognito:groups"]||[]};const r=["cognito:username","cognito:groups","iss","email","sub","aud","exp","event_id","iat","algorithm","auth_time"],o=Object.keys(t).filter((e=>!r.includes(e))).reduce(((e,n)=>({...e,[n]:t[n]})),{});this.state={...this.state,...n,additionalFields:JSON.stringify(o,null,4),currentCognitoToken:this.props.currentCognitoToken||"",currentOIDCToken:this.props.currentOIDCToken||"",currentOIDCTokenDecoded:JSON.stringify(this.parseJWTToken(this.props.currentOIDCToken),null,4)||"",apiKey:e.apiKey||"",supportedAuthModes:this.props.authModes,currentAuthMode:e.selectedAuthMode,iamRole:e.iamRole||"Auth"},this.onClose=this.onClose.bind(this),this.onGroupChange=this.onGroupChange.bind(this),this.onGroupAdd=this.onGroupAdd.bind(this),this.onGenerate=this.onGenerate.bind(this),this.changeAPIKey=this.changeAPIKey.bind(this),this.changeEmail=this.changeEmail.bind(this),this.onUserNameChange=this.onUserNameChange.bind(this),this.onOIDCTokenChange=this.onOIDCTokenChange.bind(this),this.onAuthModeChange=this.onAuthModeChange.bind(this)}onClose(){const e={authMode:this.state.currentAuthMode,apiKey:this.state.currentAuthMode===yp.API_KEY?this.state.apiKey:null,cognitoToken:this.state.currentAuthMode===yp.AMAZON_COGNITO_USER_POOLS?this.state.currentCognitoToken:null,OIDCToken:this.state.currentAuthMode===yp.OPENID_CONNECT?this.state.currentOIDCToken:null,iam:this.state.currentAuthMode===yp.AWS_IAM?"AWS4-HMAC-SHA256 IAMAuthorized":null,iamRole:this.state.iamRole};this.props.onClose&&this.props.onClose(e)}onGroupChange(e,t){this.setState({userGroups:t.value})}onGroupAdd(e,t){this.setState({possibleGroups:[...this.state.possibleGroups,t.value]})}onUserNameChange(e,t){this.setState({userName:t.value})}onOIDCTokenChange(e,t){this.setState({currentOIDCTokenDecoded:t.value})}onAuthModeChange(e,t){this.setState({currentAuthMode:t.value})}onIAMRoleChange(e,t){this.setState({iamRole:t.value})}changeEmail(e,t){this.setState({email:t.value})}changeAPIKey(e,t){this.setState({apiKey:t.value})}render(){let e,t="Save";if(this.state.currentAuthMode===yp.API_KEY)e=(0,vp.jsx)(vp.Fragment,{children:(0,vp.jsxs)(eu.Field,{children:[(0,vp.jsx)("label",{children:"ApiKey"}),(0,vp.jsx)(Uc,{readOnly:!0,placeholder:"APIKey",value:this.state.apiKey,onChange:this.changeAPIKey})]})});else if(this.state.currentAuthMode===yp.AMAZON_COGNITO_USER_POOLS)t="Generate Token",e=(0,vp.jsxs)(vp.Fragment,{children:[(0,vp.jsxs)(eu.Field,{children:[(0,vp.jsx)("label",{children:"Username"}),(0,vp.jsx)(Uc,{placeholder:"User Name",value:this.state.userName,onChange:this.onUserNameChange})]}),(0,vp.jsxs)(eu.Field,{children:[(0,vp.jsx)("label",{children:"Groups"}),(0,vp.jsx)(Fc,{placeholder:"Choose cognito user groups",search:!0,options:this.state.possibleGroups.map((e=>({key:e,value:e,text:e}))),selection:!0,fluid:!0,multiple:!0,allowAdditions:!0,value:this.state.userGroups,onAddItem:this.onGroupAdd,onChange:this.onGroupChange})]}),(0,vp.jsxs)(eu.Field,{children:[(0,vp.jsx)("label",{children:"Email"}),(0,vp.jsx)(Uc,{placeholder:"Email",value:this.state.email,onChange:this.changeEmail})]}),(0,vp.jsxs)(eu.Field,{children:[(0,vp.jsx)("label",{children:"Additional Fields"}),(0,vp.jsx)(Jc,{onChange:this.onAdditionalFieldChange,rows:10,placeholder:"Decoded OIDC Token",spellCheck:"false",value:this.state.additionalFields})]})]});else if(this.state.currentAuthMode===yp.OPENID_CONNECT){const t=this.state.oidcTokenError?(0,vp.jsx)(Us,{basic:!0,color:"red",pointing:"below",children:this.state.oidcTokenError}):null;e=(0,vp.jsx)(vp.Fragment,{children:(0,vp.jsxs)(eu.Field,{children:[(0,vp.jsx)("label",{children:"Decoded OpenID Connect Token"}),t,(0,vp.jsx)(Jc,{onChange:this.onOIDCTokenChange,rows:10,placeholder:"Decoded OIDC Token",spellCheck:"false",value:this.state.currentOIDCTokenDecoded})]})})}else this.state.currentAuthMode===yp.AWS_IAM&&(e=(0,vp.jsxs)(vp.Fragment,{children:[(0,vp.jsx)("label",{children:"Role:"}),(0,vp.jsx)("br",{}),(0,vp.jsx)(Fc,{placeholder:"Role",selection:!0,options:[{value:"Auth",text:"Auth"},{value:"UnAuth",text:"UnAuth"}],value:this.state.iamRole,onChange:this.onIAMRoleChange.bind(this)})]}));const n=this.state.supportedAuthModes.filter((e=>e)).map((e=>({key:e,value:e,text:e})));return(0,vp.jsxs)(yu,{onClose:this.onClose,onActionClick:this.onGenerate,open:this.state.isOpen,children:[(0,vp.jsx)(yu.Header,{children:"Auth Options"}),(0,vp.jsx)(yu.Content,{children:(0,vp.jsxs)(yu.Description,{children:[(0,vp.jsx)(Fc,{placeholder:"Auth Mode",selection:!0,options:n,value:this.state.currentAuthMode,onChange:this.onAuthModeChange}),(0,vp.jsx)("div",{style:{marginTop:"1em"},children:(0,vp.jsx)(eu,{children:e})})]})}),(0,vp.jsx)(yu.Actions,{children:(0,vp.jsx)(Js,{primary:!0,onClick:this.onGenerate,children:t})})]})}async onGenerate(){try{const e={isOpen:!1};this.state.currentAuthMode===yp.AMAZON_COGNITO_USER_POOLS?e.currentCognitoToken=await this.generateCognitoJWTToken():this.state.currentAuthMode===yp.OPENID_CONNECT&&(e.currentOIDCToken=await this.generateOIDCJWTToken()),this.setState(e,(()=>{this.onClose()}))}catch(e){}}async generateCognitoJWTToken(){let e;try{var t;e=JSON.parse((null===(t=this.state.additionalFields)||void 0===t?void 0:t.trim())||"{}")}catch(r){e={}}const n={sub:"7d8ca528-4931-4254-9273-ea5ee853f271","cognito:groups":[],email_verified:!0,algorithm:"HS256",iss:"https://cognito-idp.us-east-1.amazonaws.com/us-east-1_fake_idp",phone_number_verified:!0,"cognito:username":"","cognito:roles":[],aud:"2hifa096b3a24mvm3phskuaqi3",event_id:"18f4067e-9985-4eae-9f33-f45f495470d0",token_use:"id",phone_number:"+12062062016",exp:Math.floor(Date.now()/1e3)+43200,email:this.state.email,...e};n["cognito:username"]=this.state.userName,n["cognito:groups"]=this.state.userGroups,n.auth_time=Math.floor(Date.now()/1e3);return await fp(n)}async generateOIDCJWTToken(){const e=this.state.currentOIDCTokenDecoded||"";try{return await fp(e)}catch(t){throw this.setState({oidcTokenError:t.message}),t}}parseJWTToken(e){return hp(e)}}function bp(t){const[n,r]=(0,e.useState)(!0),o=()=>{r(!1),t.onClose()};return(0,vp.jsxs)(yu,{onClose:o,open:n,children:[(0,vp.jsx)(yu.Header,{children:"Reset "}),(0,vp.jsx)(yu.Content,{children:(0,vp.jsxs)(yu.Description,{children:[" ","Do you want to clear the data of your mock server?"," "]})}),(0,vp.jsxs)(yu.Actions,{children:[(0,vp.jsx)(Js,{primary:!0,onClick:()=>{r(!1),t.onClear(),t.onClose()},children:"Clear"}),(0,vp.jsx)(Js,{color:"red",onClick:o,children:"Cancel"})]})]})}const Ep={AMAZON_COGNITO_USER_POOLS:"User Pool",API_KEY:"API Key",OPENID_CONNECT:"Open ID",AWS_IAM:"IAM"},_p={name:"AppSyncTransformer",defaultAuthenticationType:{authenticationType:"API_KEY"},additionalAuthenticationProviders:[],apiKey:"da2-fakeApiId123456"},Tp="AMPLIFY_GRPAHIQL_EXPLORER_COGNITO_JWT_TOKEN",kp="AMPLIFY_GRPAHIQL_EXPLORER_OIDC_JWT_TOKEN",wp="AMPLIFY_GRPAHIQL_EXPLORER_API_KEY",Sp="AMPLIFY_GRPAHIQL_EXPLORER_AWS_IAM_ROLE";class Ap extends e.Component{constructor(e){super(e),this._graphiql=void 0,this.state={schema:null,query:"# shift-option/alt-click on a query below to jump to it in the explorer\n# option/alt-click on a field in the explorer to select all subfields\n",explorerIsOpen:!0,authModalVisible:!1,clearDataModalVisible:!1,apiInfo:_p,currentAuthMode:yp.API_KEY,credentials:{apiKey:"",cognitoJWTToken:"",oidcJWTToken:"",iamRole:"UnAuth"}},this.toggleAuthModal=()=>this.setState((e=>({authModalVisible:!e.authModalVisible}))),this.toggleClearDataModal=()=>this.setState((e=>({clearDataModalVisible:!e.clearDataModalVisible}))),this.hideDataModal=()=>{this.setState({clearDataModalVisible:!1})},this.clearDataAndShowMessage=async()=>{this.setState({clearDataModalVisible:!1}),this.setState({clearResponse:JSON.stringify(await fetch("/clear-data",{method:"DELETE"}).then((e=>e.json())),void 0,2)}),setTimeout((()=>{this.setState({clearResponse:""})}),8e3)},this.switchAuthMode=e=>{this.setState({currentAuthMode:e})},this._handleInspectOperation=(e,t)=>{const n=(0,o.qg)(this.state.query||"");if(!n)return console.error("Couldn't parse query document"),null;var r=e.getTokenAt(t),i={line:t.line,ch:r.start},a={line:t.line,ch:r.end},s={start:e.indexFromPos(i),end:e.indexFromPos(a)},l=n.definitions.find((e=>{if(!e.loc)return console.log("Missing location information for definition"),!1;const{start:t,end:n}=e.loc;return t<=s.start&&n>=s.end}));if(!l)return console.error(`Unable to find definition corresponding position at ${s.start}`),null;var c=`.graphiql-explorer-root #${"OperationDefinition"===l.kind?l.operation:"FragmentDefinition"===l.kind?"fragment":"unknown"}-${"OperationDefinition"===l.kind&&l.name||"FragmentDefinition"===l.kind&&l.name?l.name.value:"unknown"}`,u=document.querySelector(c);u&&u.scrollIntoView()},this._handleEditQuery=e=>this.setState({query:e}),this._handleToggleExplorer=()=>{this.setState({explorerIsOpen:!this.state.explorerIsOpen})},this.fetch=this.fetch.bind(this)}async componentDidMount(){var e;const t=await fetch("/api-config").then((e=>e.json()));await this.loadCredentials(t),this.setState({apiInfo:t});const n=await this.fetch({query:(0,i.I)()}),r=null===(e=this._graphiql)||void 0===e?void 0:e.getQueryEditor();null===r||void 0===r||r.setOption("extraKeys",{...r.options.extraKeys||{},"Shift-Alt-LeftClick":this._handleInspectOperation}),n&&n.data&&this.setState({schema:(0,a.D)(n.data)})}fetch(e){const t={};if(this.state.currentAuthMode===yp.API_KEY)t["x-api-key"]=this.state.credentials.apiKey;else if(this.state.currentAuthMode===yp.AMAZON_COGNITO_USER_POOLS)t.Authorization=this.state.credentials.cognitoJWTToken;else if(this.state.currentAuthMode===yp.OPENID_CONNECT)t.Authorization=this.state.credentials.oidcJWTToken;else if(this.state.currentAuthMode===yp.AWS_IAM){const{iamRole:e}=this.state.credentials,n="Auth"===e?this.state.apiInfo.authAccessKeyId||"ASIAVJKIAM-AuthRole":"ASIAVJKI-UnAuthRole";t.Authorization=`AWS4-HMAC-SHA256 Credential=${n}/${(new Date).toISOString()}/aws-fake/service`}return function(e,t){const n={Accept:"application/json","Content-Type":"application/json",...t};return fetch("/graphql",{method:"POST",headers:n,body:JSON.stringify(e)}).then((function(e){return e.json()})).then((function(e){try{return JSON.parse(e)}catch(t){return e}}))}(e,t)}storeCredentials(e){const t={};"API_KEY"===e.authMode?(t.apiKey=e.apiKey,window.localStorage.setItem(wp,e.apiKey)):e.authMode===yp.AMAZON_COGNITO_USER_POOLS?(t.cognitoJWTToken=e.cognitoToken,window.localStorage.setItem(Tp,e.cognitoToken)):e.authMode===yp.OPENID_CONNECT?(t.oidcJWTToken=e.OIDCToken,window.localStorage.setItem(kp,e.OIDCToken)):e.authMode===yp.AWS_IAM&&(t.iamRole=e.iamRole,window.localStorage.setItem(Sp,e.iamRole)),this.setState((n=>({...n,credentials:{...n.credentials,...t},currentAuthMode:e.authMode})))}async loadCredentials(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.apiInfo;const t={},n=[e.defaultAuthenticationType,...e.additionalAuthenticationProviders],r=n.map((e=>e.authenticationType));if(r.includes("API_KEY")&&(t.apiKey=_p.apiKey),r.includes("AMAZON_COGNITO_USER_POOLS")){let e=window.localStorage.getItem(Tp);e?t.cognitoJWTToken=await mp(e):(console.warn("Invalid Cognito token found in local storage. Using the default OIDC token"),t.cognitoJWTToken=await mp("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiI3ZDhjYTUyOC00OTMxLTQyNTQtOTI3My1lYTVlZTg1M2YyNzEiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6Ly9jb2duaXRvLWlkcC51cy1lYXN0LTEuYW1hem9uYXdzLmNvbS91cy1lYXN0LTFfZmFrZSIsInBob25lX251bWJlcl92ZXJpZmllZCI6dHJ1ZSwiY29nbml0bzp1c2VybmFtZSI6InVzZXIxIiwiYXVkIjoiMmhpZmEwOTZiM2EyNG12bTNwaHNrdWFxaTMiLCJldmVudF9pZCI6ImIxMmEzZTJmLTdhMzYtNDkzYy04NWIzLTIwZDgxOGJkNzhhMSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxOTc0MjY0NDEyLCJwaG9uZV9udW1iZXIiOiIrMTIwNjIwNjIwMTYiLCJleHAiOjE1NjQyNjgwMTIsImlhdCI6MTU2NDI2NDQxMywiZW1haWwiOiJ1c2VyQGRvbWFpbi5jb20ifQ.wHKY2KIhvWn4zpJ4TZ1vS3zRE9mGWsLY4NCV2Cof17Q"))}if(r.includes("OPENID_CONNECT")){const e=n.filter((e=>e.authenticationType===yp.OPENID_CONNECT)).map((e=>e.openIDConnectConfig.Issuer));try{t.oidcJWTToken=await mp(window.localStorage.getItem(kp)||"",e[0])}catch(o){console.warn("Invalid OIDC token found in local storage. Using the default OIDC token"),t.oidcJWTToken=await mp("eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyMSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJpc3MiOiJodHRwczovL3NvbWUtb2lkYy1wcm92aWRlci9hdXRoIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjp0cnVlLCJhdWQiOiIyaGlmYTA5NmIzYTI0bXZtM3Boc2t1YXFpMyIsImV2ZW50X2lkIjoiYjEyYTNlMmYtN2EzNi00OTNjLTg1YjMtMjBkODE4YmQ3OGExIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE5NzQyNjQ0MTIsInBob25lX251bWJlciI6IisxMjA2MjA2MjAxNiIsImV4cCI6MTU2NDI2ODAxMiwiaWF0IjoxNTY0MjY0NDEzLCJlbWFpbCI6InVzZXJAZG9tYWluLmNvbSJ9.uAegFXomOnA7Dkl-5FcS5icu5kL9Juqb81GnTrOZZqM",e[0])}}return r.includes("AWS_IAM")&&(t.iamRole=window.localStorage.getItem(Sp)||"auth"),this.setState((()=>({currentAuthMode:yp[e.defaultAuthenticationType.authenticationType]||yp.API_KEY}))),this.setState({credentials:t}),t}render(){const{query:e,schema:t,authModalVisible:n,apiInfo:r,clearDataModalVisible:o,clearResponse:i}=this.state,a=[yp[r.defaultAuthenticationType.authenticationType],...r.additionalAuthenticationProviders.map((e=>yp[e.authenticationType]))].filter((e=>e)),s=n?(0,vp.jsx)(gp,{selectedAuthMode:this.state.currentAuthMode,currentOIDCToken:this.state.credentials.oidcJWTToken,currentCognitoToken:this.state.credentials.cognitoJWTToken,apiKey:this.state.credentials.apiKey,iamRole:this.state.credentials.iamRole,authModes:a,onClose:e=>{this.storeCredentials(e),this.setState({authModalVisible:!1})}}):null,l=o?(0,vp.jsx)(bp,{onClose:this.hideDataModal,onClear:this.clearDataAndShowMessage}):null,c=[{onClick:()=>{var e;return null===(e=this._graphiql)||void 0===e?void 0:e.handlePrettifyQuery()},label:"Prettify",title:"Prettify Query (Shift-Ctrl-P)"},{onClick:()=>{var e;return null===(e=this._graphiql)||void 0===e?void 0:e.handleToggleHistory()},label:"History",title:"Show History"},{onClick:this._handleToggleExplorer,label:"Explorer",title:"Toggle Explorer"},{onClick:this.toggleAuthModal,label:"Update Auth",title:"Auth Setting"},{onClick:this.toggleClearDataModal,label:"Clear data",title:"Clear Mock Data"}];return(0,vp.jsxs)(vp.Fragment,{children:[s,l,(0,vp.jsxs)("div",{className:"graphiql-container",children:[(0,vp.jsx)(on.Ay,{schema:t,query:e,onEdit:this._handleEditQuery,onRunOperation:e=>{var t;return null===(t=this._graphiql)||void 0===t?void 0:t.handleRunQuery(e)},explorerIsOpen:this.state.explorerIsOpen,onToggleExplorer:this._handleToggleExplorer}),(0,vp.jsx)(rn,{ref:e=>this._graphiql=e,fetcher:this.fetch,schema:t,query:e,onEditQuery:this._handleEditQuery,response:i,children:(0,vp.jsxs)(rn.Toolbar,{children:[c.map(((e,t)=>(0,vp.jsx)(rn.Button,{onClick:e.onClick,label:e.label,title:e.title},t))),(0,vp.jsx)(rn.Menu,{label:`Auth - ${Ep[this.state.currentAuthMode]}${"AWS_IAM"===this.state.currentAuthMode?`(${this.state.credentials.iamRole} Role)`:""}`,title:Ep[this.state.currentAuthMode],children:a.map(((e,t)=>(0,vp.jsx)(rn.MenuItem,{title:Ep[e],label:`Use: ${Ep[e]}`,onSelect:()=>this.switchAuthMode(e)},t)))})]})})]})]})}}const Np=Ap,Cp=e=>{e&&e instanceof Function&&n.e(163).then(n.bind(n,163)).then((t=>{let{getCLS:n,getFID:r,getFCP:o,getLCP:i,getTTFB:a}=t;n(e),r(e),o(e),i(e),a(e)}))};t.render((0,vp.jsx)(e.StrictMode,{children:(0,vp.jsx)(Np,{})}),document.getElementById("root")),Cp()})()})();
//# sourceMappingURL=main.df7f05d6.js.map