PageSourceSearch

https://www.emarketer.com/content/_next/static/chunks/901-e33b50ec1801ab80.js

js emarketer.com collected 2026-09-24 08:24:02 UTC 273,279 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[901],{7063:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}n.r(t),n.d(t,{default:()=>r})},16612:(e,t,n)=>{"use strict";n.d(t,{L:()=>u,b:()=>o,e:()=>f,i:()=>l,j:()=>c,l:()=>a,r:()=>s});var r=n(93881),i=n(67081),a=function(){return"".concat(new Date().toUTCString()," :: @emarketer/auth ::")},o=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info";if(!(!e||!t)){if(t="".concat(a()," ").concat(t),e.loggerInstance===console)switch(n){case"info":default:console.log(t);break;case"warn":console.warn(t);break;case"error":console.error(t);break;case"debug":console.debug(t)}else if("function"==typeof(null==e?void 0:e.loggerInstance.info))switch(n){case"info":default:e.loggerInstance.info(t);break;case"warn":e.loggerInstance.warn(t);break;case"error":e.loggerInstance.error(t);break;case"debug":e.loggerInstance.debug(t)}}};function u(e,t){e&&t&&e.logLevel===r.L&&o(e,t)}function c(e){if(!e)return null;try{var t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/");return JSON.parse(i.Buffer.from(t,"base64").toString("binary"))}catch(e){return null}}function s(e){var t=c(e),n=t||{loginTypeId:"",jti:"",extranetId:"",sub:"",given_name:"",exp:0},i=null!==t,a=i&&t&&t.loginTypeId===r.i,o=t?t.pod?t.pod:r.g:"";return{isAuthenticated:i,isIpUser:a,loginTypeId:n.loginTypeId,userId:n.jti,extranetId:n.extranetId,pod:o.toLowerCase(),email:n.sub,firstName:n.given_name,expires:parseInt(n.exp,10)||0,tier:n.tier,roles:n.roles}}function l(e,t){var n=c(e);if(!n)return!1;var r=n.roles||"[]";try{var i=JSON.parse(r);if(Array.isArray(i))return i.indexOf(t)>-1}catch(e){}return!1}function f(e,t){if(!e)return null;var n=e.split(";").find(function(e){return e.trim().startsWith("".concat(t,"="))});return n?n.split("=").slice(1).join("=").trim():null}},17828:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(64054).createAsyncLocalStorage)()},19674:(e,t,n)=>{"use strict";n.d(t,{C:()=>u,V:()=>o});var r=n(49321),i=n(91777),a=n(30741);function o(e){return u(e.source,(0,a.g)(e.source,e.start))}function u(e,t){var n=e.locationOffset.column-1,r="".padStart(n)+e.body,a=t.line-1,o=e.locationOffset.line-1,u=t.line+o,s=1===t.line?n:0,l=t.column+s,f="".concat(e.name,":").concat(u,":").concat(l,"\n"),p=r.split(/\r\n|[\n\r]/g),d=p[a];if(d.length>120){for(var v=Math.floor(l/80),y=l%80,h=[],m=0;m<d.length;m+=80)h.push(d.slice(m,m+80));return f+c([["".concat(u," |"),h[0]]].concat((0,i.default)(h.slice(1,v+1).map(function(e){return["|",e]})),[["|","^".padStart(y)],["|",h[v+1]]]))}return f+c([["".concat(u-1," |"),p[a-1]],["".concat(u," |"),d],["|","^".padStart(l)],["".concat(u+1," |"),p[a+1]]])}function c(e){var t=e.filter(function(e){var t=(0,r.default)(e,2);return void 0!==(t[0],t[1])}),n=Math.max.apply(Math,(0,i.default)(t.map(function(e){return(0,r.default)(e,1)[0].length})));return t.map(function(e){var t=(0,r.default)(e,2),i=t[0],a=t[1];return i.padStart(n)+(a?" "+a:"")}).join("\n")}}
1,28928:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(87300),i=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n,i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){var a=(0,r.N)(e);throw Error("Cannot use ".concat(i,' "').concat(a,'" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.'))}}return!1}},30741:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var r=n(62288);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a=/\r\n|[\n\r]/g;function o(e,t){var n,o=0,u=1,c=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e))){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,u=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return u=e.done,e},e:function(e){c=!0,o=e},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw o}}}}(e.body.matchAll(a));try{for(c.s();!(n=c.n()).done;){var s=n.value;if("number"==typeof s.index||(0,r.V)(!1),s.index>=t)break;o=s.index+s[0].length,u+=1}}catch(e){c.e(e)}finally{c.f()}return{line:u,column:t+1-o}}},34531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});var r=n(17828)},35623:(e,t,n)=>{"use strict";n.d(t,{Wk:()=>g,eO:()=>y,yJ:()=>m});var r=n(82671),i=n(96625),a=n(2302),o=n(5148),u=n(27583),c=n(98141),s=n(61598),l=n(30741),f=n(19674);function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function v(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(v=function(){return!!e})()}var y=function(e){function t(e){(0,r.default)(this,t);for(var n,i,u,c,f,p,d,y=arguments.length,m=Array(y>1?y-1:0),g=1;g<y;g++)m[g-1]=arguments[g];var b=null==(n=m[0])||"kind"in n||"length"in n?{nodes:n,source:m[1],positions:m[2],path:m[3],originalError:m[4],extensions:m[5]}:n,E=b.nodes,T=b.source,O=b.positions,N=b.path,I=b.originalError,A=b.extensions;i=t,u=[e],i=(0,o.default)(i),(c=(0,a.default)(this,v()?Reflect.construct(i,u||[],(0,o.default)(this).constructor):i.apply(this,u))).name="GraphQLError",c.path=null!=N?N:void 0,c.originalError=null!=I?I:void 0,c.nodes=h(Array.isArray(E)?E:E?[E]:void 0);var S=h(null==(f=c.nodes)?void 0:f.map(function(e){return e.loc}).filter(function(e){return null!=e}));c.source=null!=T?T:null==S||null==(p=S[0])?void 0:p.source,c.positions=null!=O?O:null==S?void 0:S.map(function(e){return e.start}),c.locations=O&&T?O.map(function(e){return(0,l.g)(T,e)}):null==S?void 0:S.map(function(e){return(0,l.g)(e.source,e.start)});var _=(0,s.Z)(null==I?void 0:I.extensions)?null==I?void 0:I.extensions:void 0;return c.extensions=null!=(d=null!=A?A:_)?d:Object.create(null),Object.defineProperties(c,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=I&&I.stack?Object.defineProperty(c,"stack",{value:I.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(c,t):Object.defineProperty(c,"stack",{value:Error().stack,writable:!0,configurable:!0}),c}return(0,u.default)(t,e),(0,i.default)(t,[{key:Symbol.toStringTag,get:function(){return"GraphQLError"}},{key:"toString",value:function(){var e=this.message;if(this.nodes){var t,n=p(this.nodes);try{for(n.s();!(t=n.n()).done;){var r=t.value;r.loc&&(e+="\n\n"+(0,f.V)(r.loc))}}catch(e){n.e(e)}finally{n.f()}}else if(this.source&&this.locations){var i,a=p(this.locations);try{for(a.s();!(i=a.n()).done;){var o=i.value;e+="\n\n"+(0,f.C)(this.source,o)}}catch(e){a.e(e)}finally{a.f()}}return e}},{key:"toJSON",value:function(){var e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}])}((0,c.A)(Error));function h(e){return void 0===e||0===e.length?void 0:e}function m(e){return e.toString()}function g(e){return e.toJSON()}},37071:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});var r=n(35623);function i(e,t,n){return new r.eO("Syntax Error: ".concat(n),{source:e,positions:[t]})}},38932:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>r}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}))},45226:(e,t,n)=>{"use strict";var r=n(98799);function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?i(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});var o=n(95155),u=n(12115),c=n(67625);function s(e){return{default:e&&"default"in e?e.default:e}}n(45236);var l={loader:function(){return Promise.resolve(s(function(){return null}))},loading:null,ssr:!0},f=function(e){var t=a(a({},l),e),n=(0,u.lazy)(function(){return t.loader().then(s)}),r=t.loading;function i(e){var i=r?(0,o.jsx)(r,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,l=s?u.Suspense:u.Fragment,f=t.ssr?(0,o.jsxs)(o.Fragment,{children:[null,(0,o.jsx)(n,a({},e))]}):(0,o.jsx)(c.BailoutToCSR,{reason:"next/dynamic",children:(0,o.jsx)(n,a({},e))});return(0,o.jsx)(l,a(a({},s?{fallback:i}:{}),{},{children:f}))}return i.displayName="LoadableComponent",i}},45236:(e,t,n)=>{"use strict";n(91444);function r(e){return e.moduleIds,null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(95155),n(47650),n(34531),n(21354)},45332:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{aE:()=>p,uo:()=>a,vg:()=>c}),n(92493);var i=function e(t,n){function i(e,i,a){if("undefined"!=typeof document){"number"==typeof(a=r({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in a)a[u]&&(o+="; "+u,!0!==a[u]&&(o+="="+a[u].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+o}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var a=n[i].split("="),o=a.slice(1).join("=");try{var u=decodeURIComponent(a[0]);if(r[u]=t.read(o,u),e===u)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.filter(function(e){return!!e&&"/"!==e});return 0===r.length?"":1===r.length?String(r[0]):r.map(function(e,t){var n=String(e);return 0===t?n.replace(/\/+$/,""):n.replace(/^\/+/,"").replace(/\/+$/,"")}).join("/")}var o=function(){var e=new Date;return e.setDate(e.getDate()+30),e},u="em_avc";function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=i.get(e),n=t?parseInt(t):0;return i.set(e,(n+1).toString(),{expires:o(),path:"/",domain:".emarketer.com"}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=i.get(e);return t?parseInt(t):0}(u)}var s="production",l=function(e,t,n){var r,i;(null==(i=window.DD_LOGS)||null==(r=i.logger)?void 0:r[e])&&window.DD_LOGS.logger[e](t,n)},f=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.prefix,a=r.environment,o="true"===new URLSearchParams(window.location.search).get("showError");if((void 0===a?s:a)!==s||o){var u=i||({warn:"Warning:",error:"Error:",info:"Info:",debug:"Debug:"})[e]||"".concat(e.charAt(0).toUpperCase()+e.slice(1),":");console[e](u,t,n)}},p=function(e){return{warn:function(t,n){l("warn",t,n),f("warn",t,n,{environment:e})},error:function(t,n){l("error",t,n),f("error",t,n,{environment:e})},debug:function(t,n){f("debug",t,n,{environment:e})},info:function(t,n){l("info",t,n),f("info",t,n,{environment:e})}}}}
1,56929:(e,t,n)=>{"use strict";n.d(t,{default:()=>i.a});var r=n(67226),i=n.n(r)},61598:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{Z:()=>r})},62288:(e,t,n)=>{"use strict";function r(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{V:()=>r})},62692:(e,t,n)=>{"use strict";n.d(t,{J:()=>l,Z:()=>f});var r=n(82671),i=n(96625),a=n(37071),o=n(50862),u=n(8190),c=n(38723),s=n(87603),l=(0,i.default)(function e(t){(0,r.default)(this,e);var n=new o.ou(s.Y.SOF,0,0,0,0);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0},[{key:Symbol.toStringTag,get:function(){return"Lexer"}},{key:"advance",value:function(){return this.lastToken=this.token,this.token=this.lookahead()}},{key:"lookahead",value:function(){var e=this.token;if(e.kind!==s.Y.EOF)do if(e.next)e=e.next;else{var t=function(e,t){for(var n=e.source.body,r=n.length,i=t;i<r;){var o=n.charCodeAt(i);switch(o){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:for(var l=e,f=i,T=l.source.body,O=T.length,N=f+1;N<O;){var I=T.charCodeAt(N);if(10===I||13===I)break;if(p(I))++N;else if(d(T,N))N+=2;else break}return m(l,s.Y.COMMENT,f,N,T.slice(f+1,N));case 33:return m(e,s.Y.BANG,i,i+1);case 36:return m(e,s.Y.DOLLAR,i,i+1);case 38:return m(e,s.Y.AMP,i,i+1);case 40:return m(e,s.Y.PAREN_L,i,i+1);case 41:return m(e,s.Y.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return m(e,s.Y.SPREAD,i,i+3);break;case 58:return m(e,s.Y.COLON,i,i+1);case 61:return m(e,s.Y.EQUALS,i,i+1);case 64:return m(e,s.Y.AT,i,i+1);case 91:return m(e,s.Y.BRACKET_L,i,i+1);case 93:return m(e,s.Y.BRACKET_R,i,i+1);case 123:return m(e,s.Y.BRACE_L,i,i+1);case 124:return m(e,s.Y.PIPE,i,i+1);case 125:return m(e,s.Y.BRACE_R,i,i+1);case 34:if(34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2))return function(e,t){for(var n=e.source.body,r=n.length,i=e.lineStart,o=t+3,c=o,l="",f=[];o<r;){var v=n.charCodeAt(o);if(34===v&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){l+=n.slice(c,o),f.push(l);var y=m(e,s.Y.BLOCK_STRING,t,o+3,(0,u.OC)(f).join("\n"));return e.line+=f.length-1,e.lineStart=i,y}if(92===v&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)&&34===n.charCodeAt(o+3)){l+=n.slice(c,o),c=o+1,o+=4;continue}if(10===v||13===v){l+=n.slice(c,o),f.push(l),13===v&&10===n.charCodeAt(o+1)?o+=2:++o,l="",c=o,i=o;continue}if(p(v))++o;else if(d(n,o))o+=2;else throw(0,a.I)(e.source,o,"Invalid character within String: ".concat(h(e,o),"."))}throw(0,a.I)(e.source,o,"Unterminated string.")}(e,i);return function(e,t){for(var n=e.source.body,r=n.length,i=t+1,o=i,u="";i<r;){var c=n.charCodeAt(i);if(34===c)return u+=n.slice(o,i),m(e,s.Y.STRING,t,i+1,u);if(92===c){u+=n.slice(o,i);var l=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?function(e,t){for(var n=e.source.body,r=0,i=3;i<12;){var o=n.charCodeAt(t+i++);if(125===o){if(i<5||!p(r))break;return{value:String.fromCodePoint(r),size:i}}if((r=r<<4|E(o))<0)break}throw(0,a.I)(e.source,t,'Invalid Unicode escape sequence: "'.concat(n.slice(t,t+i),'".'))}(e,i):function(e,t){var n=e.source.body,r=b(n,t+2);if(p(r))return{value:String.fromCodePoint(r),size:6};if(v(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){var i=b(n,t+8);if(y(i))return{value:String.fromCodePoint(r,i),size:12}}throw(0,a.I)(e.source,t,'Invalid Unicode escape sequence: "'.concat(n.slice(t,t+6),'".'))}(e,i):function(e,t){var n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw(0,a.I)(e.source,t,'Invalid character escape sequence: "'.concat(n.slice(t,t+2),'".'))}(e,i);u+=l.value,i+=l.size,o=i;continue}if(10===c||13===c)break;if(p(c))++i;else if(d(n,i))i+=2;else throw(0,a.I)(e.source,i,"Invalid character within String: ".concat(h(e,i),"."))}throw(0,a.I)(e.source,i,"Unterminated string.")}(e,i)}if((0,c.yp)(o)||45===o)return function(e,t,n){var r=e.source.body,i=t,o=n,u=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),(0,c.yp)(o))throw(0,a.I)(e.source,i,"Invalid number, unexpected digit after 0: ".concat(h(e,i),"."))}else i=g(e,i,o),o=r.charCodeAt(i);if(46===o&&(u=!0,o=r.charCodeAt(++i),i=g(e,i,o),o=r.charCodeAt(i)),(69===o||101===o)&&(u=!0,(43===(o=r.charCodeAt(++i))||45===o)&&(o=r.charCodeAt(++i)),i=g(e,i,o),o=r.charCodeAt(i)),46===o||(0,c.un)(o))throw(0,a.I)(e.source,i,"Invalid number, expected digit but got: ".concat(h(e,i),"."));return m(e,u?s.Y.FLOAT:s.Y.INT,t,i,r.slice(t,i))}(e,i,o);if((0,c.un)(o)){for(var A=e,S=i,_=A.source.body,w=_.length,k=S+1;k<w;){var D=_.charCodeAt(k);
1if((0,c.xr)(D))++k;else break}return m(A,s.Y.NAME,S,k,_.slice(S,k))}throw(0,a.I)(e.source,i,39===o?"Unexpected single quote character ('), did you mean to use a double quote (\")?":p(o)||d(n,i)?"Unexpected character: ".concat(h(e,i),"."):"Invalid character: ".concat(h(e,i),"."))}return m(e,s.Y.EOF,r,r)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.Y.COMMENT);return e}}]);function f(e){return e===s.Y.BANG||e===s.Y.DOLLAR||e===s.Y.AMP||e===s.Y.PAREN_L||e===s.Y.PAREN_R||e===s.Y.SPREAD||e===s.Y.COLON||e===s.Y.EQUALS||e===s.Y.AT||e===s.Y.BRACKET_L||e===s.Y.BRACKET_R||e===s.Y.BRACE_L||e===s.Y.PIPE||e===s.Y.BRACE_R}function p(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function d(e,t){return v(e.charCodeAt(t))&&y(e.charCodeAt(t+1))}function v(e){return e>=55296&&e<=56319}function y(e){return e>=56320&&e<=57343}function h(e,t){var n=e.source.body.codePointAt(t);if(void 0===n)return s.Y.EOF;if(n>=32&&n<=126){var r=String.fromCodePoint(n);return'"'===r?"'\"'":'"'.concat(r,'"')}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,i){var a=e.line,u=1+n-e.lineStart;return new o.ou(t,n,r,a,u,i)}function g(e,t,n){if(!(0,c.yp)(n))throw(0,a.I)(e.source,t,"Invalid number, expected digit but got: ".concat(h(e,t),"."));for(var r=e.source.body,i=t+1;(0,c.yp)(r.charCodeAt(i));)++i;return i}function b(e,t){return E(e.charCodeAt(t))<<12|E(e.charCodeAt(t+1))<<8|E(e.charCodeAt(t+2))<<4|E(e.charCodeAt(t+3))}function E(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},64054:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return u}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let i="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return i?new i:new r}function o(e){return i?i.bind(e):r.bind(e)}function u(){return i?i.snapshot():function(e,...t){return e(...t)}}},67226:(e,t,n)=>{"use strict";var r=n(98799);function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});var o=n(85568)._(n(45226));function u(e,t){var n,r={};"function"==typeof e&&(r.loader=e);var i=a(a({},r),t);return(0,o.default)(a(a({},i),{},{modules:null==(n=i.loadableGenerated)?void 0:n.modules}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67625:(e,t,n)=>{"use strict";function r(e){return e.reason,e.children}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(48445)},71382:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},72951:(e,t,n)=>{var r,i;!function(a){void 0===(i="function"==typeof(r=a)?r.call(t,n,t,e):r)||(e.exports=i),e.exports=a()}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2}
1)+/g,decodeURIComponent)}return function n(r){function i(){}function a(t,n,a){if("undefined"!=typeof document){"number"==typeof(a=e({path:"/"},i.defaults,a)).expires&&(a.expires=new Date(new Date*1+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var o=JSON.stringify(n);/^[\{\[]/.test(o)&&(n=o)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var c in a)a[c]&&(u+="; "+c,!0!==a[c]&&(u+="="+a[c].split(";")[0]));return document.cookie=t+"="+n+u}}function o(e,n){if("undefined"!=typeof document){for(var i={},a=document.cookie?document.cookie.split("; "):[],o=0;o<a.length;o++){var u=a[o].split("="),c=u.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var s=t(u[0]);if(c=(r.read||r)(c,s)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(i[s]=c,e===s)break}catch(e){}}return e?i[e]:i}}return i.set=a,i.get=function(e){return o(e,!1)},i.getJSON=function(e){return o(e,!0)},i.remove=function(t,n){a(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}(function(){})})},85865:(e,t,n)=>{var r,i;!function(a,o){e.exports?e.exports=o():void 0===(i="function"==typeof(r=o)?r.call(t,n,t,e):r)||(e.exports=i)}(0,function(){var e,t,n=document,r=n.getElementsByTagName("head")[0],i="push",a="readyState",o="onreadystatechange",u={},c={},s={},l={};function f(e,t){for(var n=0,r=e.length;n<r;++n)if(!t(e[n]))return!1;return 1}function p(e,t){f(e,function(e){return t(e),1})}function d(t,n,r){t=t[i]?t:[t];var a=n&&n.call,o=a?n:r,y=a?t.join(""):n,h=t.length;function m(e){return e.call?e():u[e]}function g(){if(!--h)for(var e in u[y]=1,o&&o(),s)f(e.split("|"),m)&&!p(s[e],m)&&(s[e]=[])}return setTimeout(function(){p(t,function t(n,r){return null===n?g():(r||/^https?:\/\//.test(n)||!e||(n=-1===n.indexOf(".js")?e+n+".js":e+n),l[n])?(y&&(c[y]=1),2==l[n]?g():setTimeout(function(){t(n,!0)},0)):void(l[n]=1,y&&(c[y]=1),v(n,g))})},0),d}function v(e,i){var u,c=n.createElement("script");c.onload=c.onerror=c[o]=function(){(!c[a]||/^c|loade/.test(c[a]))&&!u&&(c.onload=c[o]=null,u=1,l[e]=2,i())},c.async=1,c.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,r.insertBefore(c,r.lastChild)}return d.get=v,d.order=function(e,t,n){!function r(i){i=e.shift(),e.length?d(i,r):d(i,t,n)}()},d.path=function(t){e=t},d.urlArgs=function(e){t=e},d.ready=function(e,t,n){e=e[i]?e:[e];var r,a=[];return!p(e,function(e){u[e]||a[i](e)})&&f(e,function(e){return u[e]})?t():(s[r=e.join("|")]=s[r]||[],s[r][i](t),n&&n(a)),d},d.done=function(e){d([null],e)},d})},87603:(e,t,n)=>{"use strict";var r;n.d(t,{Y:()=>r}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(r||(r={}))},88676:(e,t,n)=>{"use strict";n.d(t,{a:()=>K,g:()=>$,u:()=>G});var r=n(49321),i=n(82671),a=n(96625),o=n(2302),u=n(5148),c=n(27583),s=n(38401),l=n(92493),f=n(12115),p=n(91777),d=n(16612),v=n(93881);function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){(0,d.b)(t,"getCurrentTiers() :: emServiceDetails: ".concat(JSON.stringify(e)));var n=e.tierToRouteMapping.filter(function(e){return e.isOnNow});if(0===n.length)throw Error("getCurrentTiers() :: No active tier-to-route mappings found");if(n.length>1)throw Error("getCurrentTiers() :: Multiple active tier-to-route mappings found (".concat(n.length,")"));return n[0].tiers}function g(e,t){if((0,d.b)(t,"getAlternativeTiers() :: emServiceDetails: ".concat(JSON.stringify(e))),!(null!=e&&e.tierToRouteMapping)||0===e.tierToRouteMapping.length)throw Error("getAlternativeTiers() :: No tier-to-route mappings found");var n=e.tierToRouteMapping.filter(function(e){return!e.isOnNow});return 0===n.length?[]:n.flatMap(function(e){return e.tiers})}function b(e,t){(0,d.b)(t,"isPublicService() :: checking for ".concat(JSON.stringify(e)));var n=m(e,t);return 1===n.length&&n[0]===v.S}function E(e,t){return(0,d.b)(t,"supportsPublicUsers() :: checking for ".concat(JSON.stringify(e))),m(e,t).includes(v.S)}function T(e,t){return(0,d.b)(t,"supportsProUsers() :: checking for ".concat(JSON.stringify(e))),m(e,t).includes(v.b)}function O(e,t){return(0,d.b)(t,"supportsFreemiumUsers() :: checking for ".concat(JSON.stringify(e))),m(e,t).includes(v.a)}function N(e,t){return(T(e,t)||O(e,t))&&!E(e,t)}function I(e,t){return g(e,t).includes(v.S)}function A(e,t){return g(e,t).includes(v.b)||g(e,t).includes(v.a)}function S(e){return e?(0,d.i)(e,v.P)?v.b:v.a:v.j}function _(e){return e&&e.replace(/\/+$/,"").replace(/([^:]\/)\/+/g,"$1")}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=function(e,t){if(!e)return t||"";if(!t)return _(e);var n=e.replace(/\/+$/,""),r=t.replace(/^\/+/,"").replace(/\/+$/,"");return r?"".concat(n,"/").concat(r):n}(e,t);return _(n)}function k(e,t){if(!(null!=e&&e.tierToRouteMapping)||0===e.tierToRouteMapping.length)return null;var n,r=y(e.tierToRouteMapping);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(i.tiers.includes(t))return i.route}}catch(e){r.e(e)}finally{r.f()}return null}function D(e){if(!(null!=e&&e.tierToRouteMapping)||0===e.tierToRouteMapping.length)return null;var t,n=y(e.tierToRouteMapping);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(r.tiers.includes(v.a)||r.tiers.includes(v.b))return r.route}}catch(e){n.e(e)}finally{n.f()}return null}
1function R(e,t,n){var r=new URL(e),i="".concat(r.protocol,"//").concat(r.host),a=new URL(t),o="".concat(a.protocol,"//").concat(a.host);if((0,d.L)(n,"getLoggedInUrlFromPublicUrl() :: currentUrl :: ".concat(r,", newHost: ").concat(o)),i===o)return(0,d.L)(n,"getLoggedInUrlFromPublicUrl() :: current and new URLs are the same: ".concat(i)),null;var u=r.pathname.split("/").filter(function(e){return e});if(0===u.length)return null;var c=u[0];return((0,d.L)(n,"service :: ".concat(c)),c)?w(o,r.pathname.replace("/".concat(c,"/"),"").replace("/".concat(c),"")+r.search||""):((0,d.b)(n,"getLoggedInUrlFromPublicUrl() :: no service subroute, returning empty string"),null)}function x(){return(x=(0,s.A)(l.mark(function e(t){var r,i,a,o,u,c,s,f,h,m,g,_,x,L,j,C,U,F,P,V,M;return l.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(m=function(e){return w(o,"/Account/Login?returnUrl=".concat(encodeURIComponent(e)))},r=t.originalUrl,i=t.emService,a=t.emAuthCookies,o=t.emReAuthenticationServiceBaseUrl,c=void 0!==(u=t.isClientSide)&&u,s=t.logger,f=null,h=[],(0,d.L)(s,"validateServiceAccess() called with ".concat(r,"; emService: ").concat(JSON.stringify(i),";  emAuthCookies: ").concat(JSON.stringify(a),", emReAuthenticationServiceBaseUrl: ").concat(o,"; isClientSide: ").concat(c," ")),!(g=function(e,t){if((0,d.b)(t,"getEmServiceErrors() :: for emServiceDetails: ".concat(JSON.stringify(e))),!e)return"emServiceDetails object not defined";if(!(null!=e&&e.tierToRouteMapping)||0===e.tierToRouteMapping.length)return"tierToRouteMapping are empty";var n,r=new Set,i=y(e.tierToRouteMapping);try{for(i.s();!(n=i.n()).done;){var a,o=n.value,u=y(o.tiers);try{for(u.s();!(a=u.n()).done;){var c=a.value;if(r.has(c))return"found same tier(s) used in multiple mappings for tier: ".concat(c);r.add(c)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){i.e(e)}finally{i.f()}var s=e.tierToRouteMapping.filter(function(e){return e.isOnNow});return 1!==s.length?"multiple tierToRouteMapping ".concat(s.length," entries with isOnNow:true"):null}(i,s))){e.next=8;break}throw Error("emService validation failed with error: ".concat(g));case 8:if(!(b(i,s)&&a.em_at)){e.next=13;break}(0,d.L)(s,"validateServiceAccess() :: on public service and em_at exists"),A(i)&&(_=S(a.em_at),f=(x=k(i,_))?R(r,x,s):null,(0,d.L)(s,"validateServiceAccess() :: ori: ".concat(r,", redirect: ").concat(f))),f||(0,d.L)(s,"validateServiceAccess() :: no loggedin -> staying put on public service ".concat(r)),e.next=94;break;case 13:if(!(b(i,s)&&!a.em_at&&a.em_rte)){e.next=19;break}(0,d.L)(s,"validateServiceAccess() :: on public service and em_at doesn't exist, but em_rte exists"),A(i)&&(L=(j=D(i))?R(r,j,s):null),f=m(L||r),(0,d.L)(s,"validateServiceAccess() :: redirecting from ".concat(r," to ").concat(f)),e.next=94;break;case 19:if(!(b(i,s)&&!a.em_at&&!a.em_rte)){e.next=23;break}(0,d.L)(s,"validateServiceAccess() :: on public service and em_at/em_rte don't exist"),(0,d.L)(s,"validateServiceAccess() :: staying put && deleting cookies [".concat(JSON.stringify(v.U),"]")),h.push.apply(h,(0,p.default)(v.U)),e.next=94;break;case 23:if(!(N(i,s)&&a.em_at)){e.next=37;break}if((0,d.L)(s,"validateServiceAccess() :: on logged-in service and em_at exists"),A(i)&&(f=function(e){var t=e.originalUrl,n=e.emAuthCookies,r=e.emService,i=e.logger;if((0,d.L)(i,"getRedirectPodUrlByRole() called with URL: ".concat(t)),!t)throw(0,d.L)(i,"getRedirectPodUrlByRole() called with empty URL"),Error("getRedirectPodUrlByRole() :: Missing originalUrl");if(!(null!=n&&n.em_at))throw(0,d.L)(i,"getRedirectPodUrlByRole() called with missing em_at"),Error("getRedirectPodUrlByRole() :: Missing em_at");var a=(0,d.i)(n.em_at,v.P);if(a?T(r):O(r))return null;var o=new URL(t),u=k(r,a?v.b:v.a);if(!u)return(0,d.L)(i,"getRedirectPodUrlByRole() :: no route found for tier: ".concat(a?v.b:v.a)),null;var c=new URL(w(u,"".concat(o.pathname).concat(o.search)));return c.toString()!==o.toString()?c.toString():null}({originalUrl:r,emAuthCookies:a,emService:i,logger:s})),!f){e.next=28;break}(0,d.L)(s,"em_at valid for user -> should be redirecting from ".concat(r," to alternate service ").concat(f)),e.next=35;break;case 28:if((0,d.L)(s,"em_at valid for user -> staying put on ".concat(r)),!c){e.next=35;break}return(0,d.L)(s,"Running client side -> checking if token needs to be refreshed"),e.next=32,Promise.resolve().then(n.bind(n,97816)).then(function(e){return e.B});
1case 32:(0,e.sent.tryBackgroundRefreshToken)(o,s);case 35:e.next=94;break;case 37:if(!(N(i,s)&&!a.em_at&&a.em_rte)){e.next=60;break}if((0,d.L)(s,"validateServiceAccess() :: on logged-in service and em_at desn't exist, but em_rte exists"),C=!1,!c){e.next=57;break}return(0,d.L)(s,"Running client side -> will try silently refreshing em_at client-side"),e.prev=42,e.next=45,Promise.resolve().then(n.bind(n,97816)).then(function(e){return e.B});case 45:return U=e.sent.triggerClientSideAccessTokenRefresh,e.next=49,U(o,s);case 49:if(e.t0=e.sent,!e.t0){e.next=52;break}C=!0;case 52:e.next=57;break;case 54:e.prev=54,e.t1=e.catch(42),(0,d.L)(s,"Token refresh promise rejected, will redirect to login");case 57:C||(f=m(r)),(0,d.L)(s,"Accessing ".concat(JSON.stringify(i)," -> User's [em_at] expired, but session [em_rte] is still valid -> redirecting from ").concat(r," to ").concat(f)),e.next=94;break;case 60:if(!(N(i,s)&&!a.em_at&&!a.em_rte)){e.next=64;break}(0,d.L)(s,"validateServiceAccess() :: on logged-in service and em_at/em_rte don't exist"),I(i)&&(f=function(e){var t=e.loggedInUrl,n=e.emService,r=e.logger;if((0,d.L)(r,"getPublicUrlFromLoggedInUrl() called with URL: ".concat(t)),!t)throw(0,d.b)(r,"getPublicUrlFromLoggedInUrl() called with **empty** URL"),Error("getPublicUrlFromLoggedInUrl() :: url not provided");if(!I(n))throw(0,d.b)(r,"getPublicUrlFromLoggedInUrl() called without defined public tier alternative"),Error("getPublicUrlFromLoggedInUrl() :: called without defined public tier alternative");var i=new URL(t),a=k(n,v.S);if(!a)throw(0,d.b)(r,"getPublicUrlFromLoggedInUrl() :: no public route found"),Error("getPublicUrlFromLoggedInUrl() :: no public route found");var o=w(a,"".concat(i.pathname).concat(i.search));return(0,d.L)(r,"getPublicUrlFromLoggedInUrl() :: publicUrl :: ".concat(o)),o}({loggedInUrl:r,emService:i,logger:s})),f||(f=m(r)),h.push.apply(h,(0,p.default)(v.U)),(0,d.L)(s,"User is not logged in (trying to access PRO/FREEMIUM service) -> will be redirecting from [".concat(r,"] to [").concat(f,"]")),e.next=94;break;case 64:if(!(E(i,s)&&O(i,s)&&T(i,s))){e.next=94;break}if((0,d.L)(s,"validateServiceAccess() :: on everything-bagel service"),a.em_at||!a.em_rte){e.next=92;break}if(F=!0,!c){e.next=89;break}return e.next=70,Promise.resolve().then(n.bind(n,97816)).then(function(e){return e.B});case 70:if(V=(P=e.sent).triggerClientSideAccessTokenRefresh,M=P.tryBackgroundRefreshToken,!F){e.next=88;break}return(0,d.L)(s,"Running client side -> will try silently refreshing em_at client-side"),e.prev=75,e.next=78,V(o,s);case 78:if(e.t2=e.sent,!e.t2){e.next=81;break}F=!1;case 81:e.next=86;break;case 83:e.prev=83,e.t3=e.catch(75),(0,d.L)(s,"Token refresh promise rejected, will redirect to login");case 86:e.next=89;break;case 88:(0,d.L)(s,"Running client side -> checking if token needs to be refreshed"),M(o,s);case 89:F&&(f=m(r)),e.next=93;break;case 92:a.em_rte||h.push.apply(h,(0,p.default)(v.U));case 93:(0,d.L)(s,"Accessing ".concat(JSON.stringify(i)," -> User's [em_at] expired, but session [em_rte] is still valid -> redirecting from ").concat(r," to ").concat(f));case 94:return e.abrupt("return",{redirectUrl:f,emCookiesToTrash:h});case 95:case"end":return e.stop()}},e,null,[[42,54],[75,83]])}))).apply(this,arguments)}var L=n(97816);function j(e,t,n){return t=(0,u.default)(t),(0,o.default)(e,C()?Reflect.construct(t,n||[],(0,u.default)(e).constructor):t.apply(e,n))}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}var U=function(e,t){if(!e||"object"!=typeof e)throw Error("".concat((0,d.l)()," received data must be an object, received: ").concat(JSON.stringify(e)));for(var n=0,i=Object.entries(t);n<i.length;n++){var a=(0,r.default)(i[n],2),o=a[0],u=a[1],c=e[o],s=void 0!==c;if(u.required&&!s||s&&!u.validator(c))throw Error("".concat((0,d.l)()," ").concat(u.errorMessage))}var l=Object.keys(t),f=Object.keys(e).filter(function(e){return!l.includes(e)});f.length>0&&console.warn("".concat((0,d.l)()," received object contains unexpected fields: ").concat(f.join(", "),". Only ").concat(l.join(", ")," are allowed."))},F=(0,a.default)(function e(){(0,i.default)(this,e)}),P=function(e){function t(e,n){var r;return(0,i.default)(this,t),(r=j(this,t))._cookiesFromReqHeader=e,r._logger=n,r}return(0,c.default)(t,e),(0,a.default)(t,[{key:"extractToken",value:function(){var e,t=null!=(e=(0,d.e)(this._cookiesFromReqHeader,v.A))?e:"";return this._cookiesFromReqHeader||(0,d.b)(this._logger,'[ServerRequestTokenExtractor] Cookies from request header are empty: "'.concat(this._cookiesFromReqHeader,'"'),"warn"),t||(0,d.b)(this._logger,'[ServerRequestTokenExtractor] Access token cookie "'.concat(v.A,'" not found in request headers'),"warn"),t}}])}(F),V=function(e){function t(e,n){var r;return(0,i.default)(this,t),(r=j(this,t))._token=e,r._logger=n,r}return(0,c.default)(t,e),(0,a.default)(t,[{key:"extractToken",value:function(){return this._token||(0,d.b)(this._logger,"[ProvidedTokenExtractor] Provided access token is empty","warn"),this._token}}])}
1(F),M=(0,a.default)(function e(t){(0,i.default)(this,e),this._accessToken=t.extractToken(),this._userDetails=(0,d.r)(this._accessToken);var n,r=(null==(n=this._userDetails)?void 0:n.roles)||"[]";try{var a=JSON.parse(r);this._parsedRoles=Array.isArray(a)?a:[]}catch(e){this._parsedRoles=[]}},[{key:"accessToken",get:function(){return this._accessToken}},{key:"isAuthenticated",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.isAuthenticated)||!1}},{key:"isIpUser",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.isIpUser)||!1}},{key:"loginTypeId",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.loginTypeId)||""}},{key:"userId",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.userId)||""}},{key:"extranetId",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.extranetId)||""}},{key:"pod",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.pod)||""}},{key:"email",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.email)||""}},{key:"firstName",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.firstName)||""}},{key:"expires",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.expires)||0}},{key:"isProUser",get:function(){return this.isInRole(this._userDetails,v.P)&&this.isAuthenticated}},{key:"subscriptionTier",get:function(){var e;return(null==(e=this._userDetails)?void 0:e.tier)||"anonymous"}},{key:"roles",get:function(){return this._parsedRoles}},{key:"hasRole",value:function(e){return this.isInRole(this._userDetails,e)}},{key:"toJSON",value:function(){return{isAuthenticated:this.isAuthenticated,isIpUser:this.isIpUser,loginTypeId:this.loginTypeId,userId:this.userId,extranetId:this.extranetId,pod:this.pod,email:this.email,firstName:this.firstName,expires:this.expires,isProUser:this.isProUser,subscriptionTier:this.subscriptionTier,roles:this.roles}}},{key:"isInRole",value:function(e,t){var n=e.roles||"[]";try{var r=JSON.parse(n);if(Array.isArray(r))return r.indexOf(t)>-1}catch(e){}return!1}}]);function B(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(B=function(){return!!e})()}var Y={emService:{required:!0,validator:function(e){return e&&"object"==typeof e},errorMessage:"authVerificationParams.emService is required and must be an object"},emReAuthenticationServiceBaseUrl:{required:!0,validator:function(e){return"string"==typeof e&&e.trim().length>0},errorMessage:"authVerificationParams.emReAuthenticationServiceBaseUrl is required and must be a non-empty string"},logger:{required:!1,validator:function(e){return null==e||"object"==typeof e},errorMessage:"authVerificationParams.logger must be an object if provided"}},G=function(e){try{U(e,Y)}catch(e){console.warn("[useAuthVerification] Invalid params:",e)}(0,f.useEffect)(function(){Q(e)},[e])},Q=function(){var e=(0,s.A)(l.mark(function e(t){var n,r,i,a,o,u,c,s,f;return l.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:e.prev=0,U(t,Y),e.next=8;break;case 4:return e.prev=4,e.t0=e.catch(0),console.warn("[checkAuthVerificationClientSide] Invalid params:",e.t0),e.abrupt("return");case 8:if(n=t.emService,r=t.emReAuthenticationServiceBaseUrl,i=t.logger,a=window.location.href,(0,d.L)(i,"useAuthVerification() called on ".concat(a)),"true"!==L.C.get("em_isBot")){e.next=12;break}return(0,d.L)(i,"useAuthVerification() bot detected, skipping auth check"),e.abrupt("return");case 12:return o={em_at:L.C.get(v.A),em_rte:L.C.get(v.c)},(0,d.L)(i,"useAuthVerification() em_at: ".concat(o.em_at,", em_rte: ").concat(o.em_rte)),e.prev=14,e.next=17,function(e){return x.apply(this,arguments)}({originalUrl:a,emService:n,emAuthCookies:o,emReAuthenticationServiceBaseUrl:r,isClientSide:!0,logger:i});case 17:if(c=(u=e.sent).redirectUrl,s=u.emCookiesToTrash,(0,d.L)(i,"useAuthVerification() emCookiesToTrash: ".concat(s)),(null==s?void 0:s.length)>0){var l;l=a,f=/^https?:\/\/(localhost|127\.0\.0\.1|0\.0\.0\.0|\[::1\]):/.test(l)?"localhost":v.C,s.forEac
1h(function(e){(0,d.L)(i,"Deleting cookie: ".concat(e)),document.cookie="".concat(e,"=; domain=").concat(f,"; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;")})}(0,d.L)(i,"useAuthVerification() redirectUrl: ".concat(c)),c&&((null==i?void 0:i.logLevel)===v.L?((0,d.L)(i,"useAuthVerification() redirecting in 3 seconds..."),setTimeout(function(){window.location.href=c},3e3)):window.location.href=c),e.next=27;break;case 24:e.prev=24,e.t1=e.catch(14),(0,d.L)(i,"useAuthVerification() error: ".concat(e.t1));case 27:case"end":return e.stop()}},e,null,[[0,4],[14,24]])}));return function(t){return e.apply(this,arguments)}}(),q=function(e){function t(e){var n,r,a;return(0,i.default)(this,t),r=t,r=(0,u.default)(r),(n=(0,o.default)(this,B()?Reflect.construct(r,[],(0,u.default)(this).constructor):r.apply(this,a)))._logger=e,n}return(0,c.default)(t,e),(0,a.default)(t,[{key:"extractToken",value:function(){var e,t=null!=(e=L.C.get(v.A))?e:"";return t||(0,d.b)(this._logger,'[BrowserTokenExtractor] Access token cookie "'.concat(v.A,'" not found'),"warn"),t}}])}(F),J=(0,a.default)(function e(){(0,i.default)(this,e)},null,[{key:"fromBrowser",value:function(e){return new M(new q(e))}},{key:"fromRequest",value:function(e,t){return new M(new P(e,t))}},{key:"fromToken",value:function(e,t){return new M(new V(e,t))}}]),H=function(){return{isAuthenticated:!1,isIpUser:!1,loginTypeId:"",userId:"",extranetId:"",pod:"",email:"",firstName:"",expires:0,accessToken:"",isProUser:!1,subscriptionTier:"anonymous",roles:[],hasRole:function(){return!1}}},K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.logger,n=(0,f.useState)(function(){try{return(0,d.L)(t,"useUser: Initial state - calling UserFactory.fromBrowser()"),J.fromBrowser(t)}catch(e){return(0,d.L)(t,"useUser: Error during initial state: ".concat(e)),H()}}),i=(0,r.default)(n,2),a=i[0],o=i[1],u=(0,f.useCallback)(function(){(0,d.L)(t,"useUser: Refreshing user data");try{var e=J.fromBrowser(t);o(e)}catch(e){(0,d.L)(t,"useUser: Error creating user from browser: ".concat(e)),o(H())}},[t]);return{user:null!=a?a:H(),refreshUser:u}};function $(e,t,n){if(!A(t))return e;var r=v.j;if("undefined"!=typeof document)try{var i=L.C.get(v.A);r=S(i),(0,d.L)(n,"getLoginButtonLink() called with em_at: ".concat(i))}catch(e){(0,d.L)(n,"getLoginButtonLink() cookie extraction failed: ".concat(e))}var a=null,o=(a=r!=v.j?k(t,r):D(t))?R(window.location.href,a,n):null;return(0,d.L)(n,"getLoginButtonLink() :: calculated proUrl is ".concat(o)),o&&o!==window.location.href?"".concat(e,"/Account/Login?returnUrl=").concat(encodeURIComponent(o)):e}var z={decodeValues:!0,map:!1,silent:!1,split:"auto"};function X(e){return"string"!=typeof e||e in{}}function W(){return Object.create(null)}function Z(e){return"string"==typeof e&&!!e.trim()}function ee(e,t){var n,r,i,a,o=e.split(";").filter(Z),u=(n=o.shift(),r="",i="",(a=n.split("=")).length>1?(r=a.shift(),i=a.join("=")):i=n,{name:r,value:i}),c=u.name,s=u.value;if(t=t?Object.assign({},z,t):z,X(c))return null;try{s=t.decodeValues?decodeURIComponent(s):s}catch(e){console.error("set-cookie-parser: failed to decode cookie value. Set options.decodeValues=false to disable decoding.",e)}var l=W();return l.name=c,l.value=s,o.forEach(function(e){var t=e.split("="),n=t.shift().trimLeft().toLowerCase();if(!X(n)){var r=t.join("=");if("expires"===n)l.expires=new Date(r);else if("max-age"===n){var i=parseInt(r,10);Number.isNaN(i)||(l.maxAge=i)}else"secure"===n?l.secure=!0:"httponly"===n?l.httpOnly=!0:"samesite"===n?l.sameSite=r:"partitioned"===n?l.partitioned=!0:n&&(l[n]=r)}}),l}function et(e,t){if(t=t?Object.assign({},z,t):z,!e)return t.map?W():[];if(e.headers)if("function"==typeof e.headers.getSetCookie)e=e.headers.getSetCookie();else if(e.headers["set-cookie"])e=e.headers["set-cookie"];else{var n=e.headers[Object.keys(e.headers).find(function(e){return"set-cookie"===e.toLowerCase()})];n||!e.headers.cookie||t.silent||console.warn("Warning: set-cookie-parser appears to have been called on a request object. It is designed to parse Set-Cookie headers from responses, not Cookie headers from requests. Set the option {silent: true} to suppress this warning."),e=n}var r=t.split,i=Array.isArray(e);if("auto"===r&&(r=!i),i||(e=[e]),e=e.filter(Z),r&&(e=e.map(en).flat()),!t.map)return e.map(function(e){return ee(e,t)}
1).filter(Boolean);var a=W();return e.reduce(function(e,n){var r=ee(n,t);return r&&!X(r.name)&&(e[r.name]=r),e},a)}function en(e){if(Array.isArray(e))return e;if("string"!=typeof e)return[];var t,n,r,i,a,o=[],u=0;function c(){for(;u<e.length&&/\s/.test(e.charAt(u));)u+=1;return u<e.length}for(;u<e.length;){for(t=u,a=!1;c();)if(","===(n=e.charAt(u))){for(r=u,u+=1,c(),i=u;u<e.length&&"="!==(n=e.charAt(u))&&";"!==n&&","!==n;)u+=1;u<e.length&&"="===e.charAt(u)?(a=!0,u=i,o.push(e.substring(t,r)),t=u):u=r+1}else u+=1;(!a||u>=e.length)&&o.push(e.substring(t,e.length))}return o}et.parseSetCookie=et,et.parse=et,et.parseString=ee,et.splitCookiesString=en},91585:(e,t,n)=>{"use strict";n.d(t,{$x:()=>d,Mb:()=>y,qg:()=>p,u8:()=>v});var r=n(82671),i=n(96625),a=n(37071),o=n(50862),u=n(38932),c=n(38567),s=n(62692),l=n(98223),f=n(87603);function p(e,t){var n=new h(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}function d(e,t){var n=new h(e,t);n.expectToken(f.Y.SOF);var r=n.parseValueLiteral(!1);return n.expectToken(f.Y.EOF),r}function v(e,t){var n=new h(e,t);n.expectToken(f.Y.SOF);var r=n.parseConstValueLiteral();return n.expectToken(f.Y.EOF),r}function y(e,t){var n=new h(e,t);n.expectToken(f.Y.SOF);var r=n.parseTypeReference();return n.expectToken(f.Y.EOF),r}var h=(0,i.default)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,r.default)(this,e);var i=(0,l._)(t)?t:new l.k(t);this._lexer=new s.J(i),this._options=n,this._tokenCounter=0},[{key:"tokenCount",get:function(){return this._tokenCounter}},{key:"parseName",value:function(){var e=this.expectToken(f.Y.NAME);return this.node(e,{kind:c.b.NAME,value:e.value})}},{key:"parseDocument",value:function(){return this.node(this._lexer.token,{kind:c.b.DOCUMENT,definitions:this.many(f.Y.SOF,this.parseDefinition,f.Y.EOF)})}},{key:"parseDefinition",value:function(){if(this.peek(f.Y.BRACE_L))return this.parseOperationDefinition();var e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===f.Y.NAME){switch(t.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()}if(e)throw(0,a.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}},{key:"parseOperationDefinition",value:function(){var e,t=this._lexer.token;if(this.peek(f.Y.BRACE_L))return this.node(t,{kind:c.b.OPERATION_DEFINITION,operation:o.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});var n=this.parseOperationType();return this.peek(f.Y.NAME)&&(e=this.parseName()),this.node(t,{kind:c.b.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}},{key:"parseOperationType",value:function(){var e=this.expectToken(f.Y.NAME);switch(e.value){case"query":return o.cE.QUERY;case"mutation":return o.cE.MUTATION;case"subscription":return o.cE.SUBSCRIPTION}throw this.unexpected(e)}},{key:"parseVariableDefinitions",value:function(){return this.optionalMany(f.Y.PAREN_L,this.parseVariableDefinition,f.Y.PAREN_R)}},{key:"parseVariableDefinition",value:function(){return this.node(this._lexer.token,{kind:c.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(f.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(f.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}},{key:"parseVariable",value:function(){var e=this._lexer.token;return this.expectToken(f.Y.DOLLAR),this.node(e,{kind:c.b.VARIABLE,name:this.parseName()})}},{key:"parseSelectionSet",value:function(){return this.node(this._lexer.token,{kind:c.b.SELECTION_SET,selections:this.many(f.Y.BRACE_L,this.parseSelection,f.Y.BRACE_R)})}},{key:"parseSelection",value:function(){return this.peek(f.Y.SPREAD)?this.parseFragment():this.parseField()}},{key:"parseField",value:function(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(f.Y.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:c.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(f.Y.BRACE_L)?this.parseSelectionSet():void 0})}},{key:"parseArguments",value:function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(f.Y.PAREN_L,t,f.Y.PAREN_R)}},{key:"parseArgument",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._lexer.token,n=this.parseName();return this.expectToken(f.Y.COLON),this.node(t,{kind:c.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}},{key:"parseConstArgument",value:function(){return this.parseArgument(!0)}},{key:"parseFragment",value:function(){var e=this._lexer.token;this.expectToken(f.Y.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(f.Y.NAME)?this.node(e,{kind:c.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:c.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}},{key:"parseFragmentDefinition",value:function(){var e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:c.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:c.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}},{key:"parseFragmentName",value:function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}},{key:"parseValueLiteral",value:function(e){var t=this._lexer.token;switch(t.kind){case f.Y.BRACKET_L:return this.parseList(e);case f.Y.BRACE_L:return this.parseObject(e);case f.Y.INT:return this.advanceLexer(),this.node(t,{kind:c.b.INT,value:t.value});case f.Y.FLOAT:return this.advanceLexer(),this.node(t,{kind:c.b.FLOAT,value:t.value});case f.Y.STRING:case f.Y.BLOCK_STRING:return this.parseStringLiteral();case f.Y.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:c.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:c.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:c.b.NULL});default:return this.node(t,{kind:c.b.ENUM,value:t.value})}case f.Y.DOLLAR:if(e){if(this.expectToken(f.Y.DOLLAR),this._lexer.token.kind===f.Y.NAME){var n=this._lexer.token.value;throw(0,a.I)(this._lexer.source,t.start,'Unexpected variable "$'.concat(n,'" in constant value.'))}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}},{key:"parseConstValueLiteral",value:function(){return this.parseValueLiteral(!0)}},{key:"parseStringLiteral",value:function(){var e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:c.b.STRING,value:e.value,block:e.kind===f.Y.BLOCK_STRING})}},{key:"parseList",value:function(e){var t=this;return this.node(this._lexer.token,{kind:c.b.LIST,values:this.any(f.Y.BRACKET_L,function(){return t.parseValueLiteral(e)},f.Y.BRACKET_R)})}},{key:"parseObject",value:function(e){var t=this;return this.node(this._lexer.token,{kind:c.b.OBJECT,fields:this.any(f.Y.BRACE_L,function(){return t.parseObjectField(e)},f.Y.BRACE_R)})}},{key:"parseObjectField",value:function(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(f.Y.COLON),this.node(t,{kind:c.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}},{key:"parseDirectives",value:function(e){for(var t=[];this.peek(f.Y.AT);)t.push(this.parseDirective(e));return t}},{key:"parseConstDirectives",value:function(){return this.parseDirectives(!0)}},{key:"parseDirective",value:function(e){var t=this._lexer.token;return this.expectToken(f.Y.AT),this.node(t,{kind:c.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}},{key:"parseTypeReference",value:function(){var e,t=this._lexer.token;if(this.expectOptionalToken(f.Y.BRACKET_L)){var n=this.parseTypeReference();this.expectToken(f.Y.BRACKET_R),e=this.node(t,{kind:c.b.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(f.Y.BANG)?this.node(t,{kind:c.b.NON_NULL_TYPE,type:e}):e}},{key:"parseNamedType",value:function(){return this.node(this._lexer.token,{kind:c.b.NAMED_TYPE,name:this.parseName()})}},{key:"peekDescription",value:function(){return this.peek(f.Y.STRING)||this.peek(f.Y.BLOCK_STRING)}},{key:"parseDescription",value:function(){if(this.peekDescription())return this.parseStringLiteral()}},{key:"parseSchemaDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseConstDirectives(),r=this.many(f.Y.BRACE_L,this.parseOperationTypeDefinition,f.Y.BRACE_R);return this.node(e,{kind:c.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}},{key:"parseOperationTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(f.Y.COLON);var n=this.parseNamedType();return this.node(e,{kind:c.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}},{key:"parseScalarTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:c.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}},{key:"parseObjectTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:c.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}},{key:"parseImplementsInterfaces",value:function(){return this.expectOptionalKeyword("implements")?this.delimitedMany(f.Y.AMP,this.parseNamedType):[]}},{key:"parseFieldsDefinition",value:function(){return this.optionalMany(f.Y.BRACE_L,this.parseFieldDefinition,f.Y.BRACE_R)}},{key:"parseFieldDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(f.Y.COLON);var i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:c.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:a})}},{key:"parseArgumentDefs",value:function(){return this.optionalMany(f.Y.PAREN_L,this.parseInputValueDef,f.Y.PAREN_R)}},{key:"parseInputValueDef",value:function(){var e,t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(f.Y.COLON);var i=this.parseTypeReference();this.expectOptionalToken(f.Y.EQUALS)&&(e=this.parseConstValueLiteral());var a=this.parseConstDirectives();return this.node(t,{kind:c.b.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:a})}},{key:"parseInterfaceTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:c.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:a})}},{key:"parseUnionTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();
1return this.node(e,{kind:c.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}},{key:"parseUnionMemberTypes",value:function(){return this.expectOptionalToken(f.Y.EQUALS)?this.delimitedMany(f.Y.PIPE,this.parseNamedType):[]}},{key:"parseEnumTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:c.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}},{key:"parseEnumValuesDefinition",value:function(){return this.optionalMany(f.Y.BRACE_L,this.parseEnumValueDefinition,f.Y.BRACE_R)}},{key:"parseEnumValueDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:c.b.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}},{key:"parseEnumValueName",value:function(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,a.I)(this._lexer.source,this._lexer.token.start,"".concat(m(this._lexer.token)," is reserved and cannot be used for an enum value."));return this.parseName()}},{key:"parseInputObjectTypeDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:c.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}},{key:"parseInputFieldsDefinition",value:function(){return this.optionalMany(f.Y.BRACE_L,this.parseInputValueDef,f.Y.BRACE_R)}},{key:"parseTypeSystemExtension",value:function(){var e=this._lexer.lookahead();if(e.kind===f.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)}},{key:"parseSchemaExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseConstDirectives(),n=this.optionalMany(f.Y.BRACE_L,this.parseOperationTypeDefinition,f.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:c.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}},{key:"parseScalarTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:c.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}},{key:"parseObjectTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:c.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}},{key:"parseInterfaceTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:c.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}},{key:"parseUnionTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}},{key:"parseEnumTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}},{key:"parseInputObjectTypeExtension",value:function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}},{key:"parseDirectiveDefinition",value:function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(f.Y.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var a=this.parseDirectiveLocations();return this.node(e,{kind:c.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:a})}},{key:"parseDirectiveLocations",value:function(){return this.delimitedMany(f.Y.PIPE,this.parseDirectiveLocation)}},{key:"parseDirectiveLocation",value:function(){var e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(u.H,t.value))return t;throw this.unexpected(e)}},{key:"node",value:function(e,t){return!0!==this._options.noLocation&&(t.loc=new o.aZ(e,this._lexer.lastToken,this._lexer.source)),t}},{key:"peek",value:function(e){return this._lexer.token.kind===e}},{key:"expectToken",value:function(e){var t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,a.I)(this._lexer.source,t.start,"Expected ".concat(g(e),", found ").concat(m(t),"."))}},{key:"expectOptionalToken",value:function(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}},{key:"expectKeyword",value:function(e){var t=this._lexer.token;if(t.kind===f.Y.NAME&&t.value===e)this.advanceLexer();else throw(0,a.I)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(m(t),"."))}},{key:"expectOptionalKeyword",value:function(e){var t=this._lexer.token;return t.kind===f.Y.NAME&&t.value===e&&(this.advanceLexer(),!0)}},{key:"unexpected",value:function(e){var t=null!=e?e:this._lexer.token;return(0,a.I)(this._lexer.source,t.start,"Unexpected ".concat(m(t),"."))}},{key:"any",value:function(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r}},{key:"optionalMany",value:function(e,t,n){if(this.expectOptionalToken(e)){var r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}return[]}},{key:"many",value:function(e,t,n){this.expectToken(e);var r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}},{key:"delimitedMany",value:function(e,t){this.expectOptionalToken(e);var n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}},{key:"advanceLexer",value:function(){var e=this._options.maxTokens,t=this._lexer.advance();if(t.kind!==f.Y.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,a.I)(this._lexer.source,t.start,"Document contains more that ".concat(e," tokens. Parsing aborted."))}}]);function m(e){var t=e.value;return g(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function g(e){return(0,s.Z)(e)?'"'.concat(e,'"'):e}}
1,93314:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BREAK:()=>tM.sP,BreakingChangeType:()=>i,DEFAULT_DEPRECATION_REASON:()=>te,DangerousChangeType:()=>a,DirectiveLocation:()=>eK.H,ExecutableDefinitionsRule:()=>tH,FieldsOnCorrectTypeRule:()=>tz,FragmentsOnCompositeTypesRule:()=>tX,GRAPHQL_MAX_INT:()=>e$,GRAPHQL_MIN_INT:()=>ez,GraphQLBoolean:()=>e0,GraphQLDeprecatedDirective:()=>tt,GraphQLDirective:()=>e5,GraphQLEnumType:()=>eV,GraphQLError:()=>y.eO,GraphQLFloat:()=>eW,GraphQLID:()=>e1,GraphQLIncludeDirective:()=>e9,GraphQLInputObjectType:()=>eY,GraphQLInt:()=>eX,GraphQLInterfaceType:()=>eU,GraphQLList:()=>ey,GraphQLNonNull:()=>eh,GraphQLObjectType:()=>ew,GraphQLOneOfDirective:()=>tr,GraphQLScalarType:()=>e_,GraphQLSchema:()=>tw,GraphQLSkipDirective:()=>e7,GraphQLSpecifiedByDirective:()=>tn,GraphQLString:()=>eZ,GraphQLUnionType:()=>eF,Kind:()=>C.b,KnownArgumentNamesRule:()=>t8,KnownDirectivesRule:()=>t5,KnownFragmentNamesRule:()=>t9,KnownTypeNamesRule:()=>ne,Lexer:()=>id.J,Location:()=>h.aZ,LoneAnonymousOperationRule:()=>nn,LoneSchemaDefinitionRule:()=>nr,MaxIntrospectionDepthRule:()=>na,NoDeprecatedCustomRule:()=>iA,NoFragmentCyclesRule:()=>nu,NoSchemaIntrospectionCustomRule:()=>iS,NoUndefinedVariablesRule:()=>ns,NoUnusedFragmentsRule:()=>nf,NoUnusedVariablesRule:()=>nd,OperationTypeNode:()=>h.cE,OverlappingFieldsCanBeMergedRule:()=>nb,PossibleFragmentSpreadsRule:()=>nw,PossibleTypeExtensionsRule:()=>nx,ProvidedRequiredArgumentsRule:()=>nP,ScalarLeafsRule:()=>nB,SchemaMetaFieldDef:()=>tb,SingleFieldSubscriptionsRule:()=>re,Source:()=>is.k,Token:()=>h.ou,TokenKind:()=>iv.Y,TypeInfo:()=>tY,TypeKind:()=>r,TypeMetaFieldDef:()=>tE,TypeNameMetaFieldDef:()=>tT,UniqueArgumentDefinitionNamesRule:()=>ra,UniqueArgumentNamesRule:()=>ru,UniqueDirectiveNamesRule:()=>rc,UniqueDirectivesPerLocationRule:()=>rf,UniqueEnumValueNamesRule:()=>rd,UniqueFieldDefinitionNamesRule:()=>ry,UniqueFragmentNamesRule:()=>rh,UniqueInputFieldNamesRule:()=>rm,UniqueOperationNamesRule:()=>rg,UniqueOperationTypesRule:()=>rE,UniqueTypeNamesRule:()=>rT,UniqueVariableNamesRule:()=>rN,ValidationContext:()=>rB,ValuesOfCorrectTypeRule:()=>rI,VariablesAreInputTypesRule:()=>rS,VariablesInAllowedPositionRule:()=>rw,__Directive:()=>tp,__DirectiveLocation:()=>td,__EnumValue:()=>tm,__Field:()=>ty,__InputValue:()=>th,__Schema:()=>tf,__Type:()=>tv,__TypeKind:()=>tg,assertAbstractType:()=>ev,assertCompositeType:()=>ep,assertDirective:()=>e4,assertEnumType:()=>W,assertEnumValueName:()=>M,assertInputObjectType:()=>ee,assertInputType:()=>eo,assertInterfaceType:()=>K,assertLeafType:()=>el,assertListType:()=>en,assertName:()=>V,assertNamedType:()=>eN,assertNonNullType:()=>ei,assertNullableType:()=>eE,assertObjectType:()=>J,assertOutputType:()=>ec,assertScalarType:()=>Q,assertSchema:()=>t_,assertType:()=>Y,assertUnionType:()=>z,assertValidName:()=>ad,assertValidSchema:()=>tL,assertWrappingType:()=>eg,astFromValue:()=>ts,buildASTSchema:()=>iK,buildClientSchema:()=>iC,buildSchema:()=>i$,coerceInputValue:()=>nq,concatAST:()=>au,createSourceEventStream:()=>iO,defaultFieldResolver:()=>ii,defaultTypeResolver:()=>ir,doTypesOverlap:()=>eH,execute:()=>rZ,executeSync:()=>r0,extendSchema:()=>iM,findBreakingChanges:()=>am,findDangerousChanges:()=>ag,formatError:()=>y.Wk,getArgumentValues:()=>nZ,getDirectiveValues:()=>n0,getEnterLeaveForKind:()=>tM.XO,getIntrospectionQuery:()=>ik,getLocation:()=>il.g,getNamedType:()=>eI,getNullableType:()=>eT,getOperationAST:()=>iR,getOperationRootType:()=>ix,getVariableValues:()=>nW,getVisitFn:()=>tM.UY,graphql:()=>io,graphqlSync:()=>iu,introspectionFromSchema:()=>ij,introspectionTypes:()=>tO,isAbstractType:()=>ed,isCompositeType:()=>ef,isConstValueNode:()=>tq.TZ,isDefinitionNode:()=>tq.MD,isDirective:()=>e6,isEnumType:()=>X,isEqualType:()=>eq,isExecutableDefinitionNode:()=>tq._m,isInputObjectType:()=>Z,isInputType:()=>ea,isInterfaceType:()=>H,isIntrospectionType:()=>tN,isLeafType:()=>es,isListType:()=>et,isNamedType:()=>eO,isNonNullType:()=>er,isNullableType:()=>eb,isObjectType:()=>q,isOutputType:()=>eu,isRequiredArgument:()=>eC,isRequiredInputField:()=>eQ,isScalarType:()=>G,isSchema:()=>tS,isSelectionNode:()=>tq.VK,isSpecifiedDirective:()=>ta,isSpecifiedScalarType:()=>e8,isType:()=>B,isTypeDefinitionNode:()=>tq.a6,isTypeExtensionNode:()=>tq.i7,isTypeNode:()=>tq.dI,isTypeSubTypeOf:()=>eJ,isTypeSystemDefinitionNode:()=>tq.xu,isTypeSystemExtensionNode:()=>tq.fT,isUnionType:()=>$,isValidNameError:()=>av,isValueNode:()=>tq.aR,isWrappingType:()=>em,lexicographicSortSchema:()=>iZ,locatedError:()=>r$,parse:()=>l.qg,parseConstValue:()=>l.u8,parseType:()=>l.Mb,parseValue:()=>l.$x,print:()=>U.y,printError:()=>y.yJ,printIntrospectionSchema:()=>i6,printLocation:()=>ip.V,printSchema:()=>i3,printSourceLocation:()=>ip.C,printType:()=>i9,recommendedRules:()=>rk,resolveObjMapThunk:()=>eS,resolveReadonlyArrayThunk:()=>eA,responsePathAsArray:()=>nQ,separateOperations:()=>al,specifiedDirectives:()=>ti,specifiedRules:()=>rD,specifiedScalarTypes:()=>e2,stripIgnoredCharacters:()=>ap,subscribe:()=>iE,syntaxError:()=>i_.I,typeFromAST:()=>tB,validate:()=>rY,validateSchema:()=>tx,valueFromAST:()=>nK,valueFromASTUntyped:()=>F,version:()=>o,versionInfo:()=>u,visit:()=>tM.YR,visitInParallel:()=>tM.oP,visitWithTypeInfo:()=>tQ});var r,i,a,o="16.11.0",u=Object.freeze({major:16,minor:11,patch:0,preReleaseTag:null}),c=n(89971);function s(e){return"function"==typeof(null==e?void 0:e.then)}var l=n(91585),f=n(91777),p=n(82671),d=n(96625),v=n(87300),y=n(35623),h=n(50862),m=n(49321);function g(e,t){var n=(0,m.default)(t?[e,t]:[void 0,e],2),r=n[0],i=n[1],a=" Did you mean ";r&&(a+=r+" ");var o=i.map(function(e){return'"'.concat(e,'"')});switch(o.length){case 0:return"";case 1:return a+o[0]+"?";case 2:return a+o[0]+" or "+o[1]+"?"}var u=o.slice(0,5),c=u.pop();return a+u.join(", ")+", or "+c+"?"}function b(e){return e}var E=n(28928),T=n(61598);function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function N(e,t){var n,r=Object.create(null),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return O(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?O(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;r[t(a)]=a}}catch(e){i.e(e)}finally{i.f()}return r}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function A(e,t,n){var r,i=Object.create(null),a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return I(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;i[t(o)]=n(o)}}catch(e){a.e(e)}finally{a.f()}return i}function S(e,t){for(var n=Object.create(null),r=0,i=Object.keys(e);r<i.length;r++){var a=i[r];n[a]=t(e[a],a)}return n}function _(e,t){for(var n=0,r=0;n<e.length&&r<t.length;){var i=e.charCodeAt(n),a=t.charCodeAt(r);if(k(i)&&k(a)){var o=0;do++n,o=10*o+i-w,i=e.charCodeAt(n);while(k(i)&&o>0);var u=0;do++r,u=10*u+a-w,a=t.charCodeAt(r);while(k(a)&&u>0);if(o<u)return -1;if(o>u)return 1}else{if(i<a)return -1;if(i>a)return 1;++n,++r}}return e.length-t.length}var w=48;function k(e){return!isNaN(e)&&w<=e&&e<=57}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function R(e,t){var n,r=Object.create(null),i=new x(e),a=Math.floor(.4*e.length)+1,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return D(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(t);try{for(o.s();!(n=o.n()).done;){var u=n.value,c=i.measure(u,a);void 0!==c&&(r[u]=c)}}catch(e){o.e(e)}finally{o.f()}return Object.keys(r).sort(function(e,t){var n=r[e]-r[t];return 0!==n?n:_(e,t)})}var x=(0,d.default)(function e(t){(0,p.default)(this,e),this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=L(this._inputLowerCase),this._rows=[Array(t.length+1).fill(0),Array(t.length+1).fill(0),Array(t.length+1).fill(0)]},[{key:"measure",value:function(e,t){if(this._input===e)return 0;var n=e.toLowerCase();if(this._inputLowerCase===n)return 1;var r=L(n),i=this._inputArray;
1if(r.length<i.length){var a=r;r=i,i=a}var o=r.length,u=i.length;if(!(o-u>t)){for(var c=this._rows,s=0;s<=u;s++)c[0][s]=s;for(var l=1;l<=o;l++){for(var f=c[(l-1)%3],p=c[l%3],d=p[0]=l,v=1;v<=u;v++){var y=+(r[l-1]!==i[v-1]),h=Math.min(f[v]+1,p[v-1]+1,f[v-1]+y);l>1&&v>1&&r[l-1]===i[v-2]&&r[l-2]===i[v-1]&&(h=Math.min(h,c[(l-2)%3][v-2]+1)),h<d&&(d=h),p[v]=h}if(d>t)return}var m=c[o%3][u];return m<=t?m:void 0}}}]);function L(e){for(var t=e.length,n=Array(t),r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function j(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;for(var t=Object.create(null),n=0,r=Object.entries(e);n<r.length;n++){var i=(0,m.default)(r[n],2),a=i[0],o=i[1];t[a]=o}return t}var C=n(38567),U=n(57389);function F(e,t){switch(e.kind){case C.b.NULL:return null;case C.b.INT:return parseInt(e.value,10);case C.b.FLOAT:return parseFloat(e.value);case C.b.STRING:case C.b.ENUM:case C.b.BOOLEAN:return e.value;case C.b.LIST:return e.values.map(function(e){return F(e,t)});case C.b.OBJECT:return A(e.fields,function(e){return e.name.value},function(e){return F(e.value,t)});case C.b.VARIABLE:return null==t?void 0:t[e.name.value]}}var P=n(38723);function V(e){if(null!=e||(0,c.U)(!1,"Must provide name."),"string"==typeof e||(0,c.U)(!1,"Expected name to be a string."),0===e.length)throw new y.eO("Expected name to be a non-empty string.");for(var t=1;t<e.length;++t)if(!(0,P.xr)(e.charCodeAt(t)))throw new y.eO('Names must only contain [_a-zA-Z0-9] but "'.concat(e,'" does not.'));if(!(0,P.un)(e.charCodeAt(0)))throw new y.eO('Names must start with [_a-zA-Z] but "'.concat(e,'" does not.'));return e}function M(e){if("true"===e||"false"===e||"null"===e)throw new y.eO("Enum values cannot be named: ".concat(e));return V(e)}function B(e){return G(e)||q(e)||H(e)||$(e)||X(e)||Z(e)||et(e)||er(e)}function Y(e){if(!B(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL type."));return e}function G(e){return(0,E.h)(e,e_)}function Q(e){if(!G(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Scalar type."));return e}function q(e){return(0,E.h)(e,ew)}function J(e){if(!q(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Object type."));return e}function H(e){return(0,E.h)(e,eU)}function K(e){if(!H(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Interface type."));return e}function $(e){return(0,E.h)(e,eF)}function z(e){if(!$(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Union type."));return e}function X(e){return(0,E.h)(e,eV)}function W(e){if(!X(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Enum type."));return e}function Z(e){return(0,E.h)(e,eY)}function ee(e){if(!Z(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Input Object type."));return e}function et(e){return(0,E.h)(e,ey)}function en(e){if(!et(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL List type."));return e}function er(e){return(0,E.h)(e,eh)}function ei(e){if(!er(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL Non-Null type."));return e}function ea(e){return G(e)||X(e)||Z(e)||em(e)&&ea(e.ofType)}function eo(e){if(!ea(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL input type."));return e}function eu(e){return G(e)||q(e)||H(e)||$(e)||X(e)||em(e)&&eu(e.ofType)}function ec(e){if(!eu(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL output type."));return e}function es(e){return G(e)||X(e)}function el(e){if(!es(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL leaf type."));return e}function ef(e){return q(e)||H(e)||$(e)}function ep(e){if(!ef(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL composite type."));return e}function ed(e){return H(e)||$(e)}function ev(e){if(!ed(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL abstract type."));return e}var ey=(0,d.default)(function e(t){(0,p.default)(this,e),B(t)||(0,c.U)(!1,"Expected ".concat((0,v.N)(t)," to be a GraphQL type.")),this.ofType=t},[{key:Symbol.toStringTag,get:function(){return"GraphQLList"}},{key:"toString",value:function(){return"["+String(this.ofType)+"]"}},{key:"toJSON",value:function(){return this.toString()}}]),eh=(0,d.default)(function e(t){(0,p.default)(this,e),eb(t)||(0,c.U)(!1,"Expected ".concat((0,v.N
1)(t)," to be a GraphQL nullable type.")),this.ofType=t},[{key:Symbol.toStringTag,get:function(){return"GraphQLNonNull"}},{key:"toString",value:function(){return String(this.ofType)+"!"}},{key:"toJSON",value:function(){return this.toString()}}]);function em(e){return et(e)||er(e)}function eg(e){if(!em(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL wrapping type."));return e}function eb(e){return B(e)&&!er(e)}function eE(e){if(!eb(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL nullable type."));return e}function eT(e){if(e)return er(e)?e.ofType:e}function eO(e){return G(e)||q(e)||H(e)||$(e)||X(e)||Z(e)}function eN(e){if(!eO(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL named type."));return e}function eI(e){if(e){for(var t=e;em(t);)t=t.ofType;return t}}function eA(e){return"function"==typeof e?e():e}function eS(e){return"function"==typeof e?e():e}var e_=(0,d.default)(function e(t){(0,p.default)(this,e);var n,r,i,a,o=null!=(n=t.parseValue)?n:b;this.name=V(t.name),this.description=t.description,this.specifiedByURL=t.specifiedByURL,this.serialize=null!=(r=t.serialize)?r:b,this.parseValue=o,this.parseLiteral=null!=(i=t.parseLiteral)?i:function(e,t){return o(F(e,t))},this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(a=t.extensionASTNodes)?a:[],null==t.specifiedByURL||"string"==typeof t.specifiedByURL||(0,c.U)(!1,"".concat(this.name,' must provide "specifiedByURL" as a string, ')+"but got: ".concat((0,v.N)(t.specifiedByURL),".")),null==t.serialize||"function"==typeof t.serialize||(0,c.U)(!1,"".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.')),t.parseLiteral&&("function"==typeof t.parseValue&&"function"==typeof t.parseLiteral||(0,c.U)(!1,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))},[{key:Symbol.toStringTag,get:function(){return"GraphQLScalarType"}},{key:"toConfig",value:function(){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:this.extensionASTNodes}}},{key:"toString",value:function(){return this.name}},{key:"toJSON",value:function(){return this.toString()}}]),ew=(0,d.default)(function e(t){var n;(0,p.default)(this,e),this.name=V(t.name),this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(n=t.extensionASTNodes)?n:[],this._fields=function(){return eD(t)},this._interfaces=function(){return ek(t)},null==t.isTypeOf||"function"==typeof t.isTypeOf||(0,c.U)(!1,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat((0,v.N)(t.isTypeOf),"."))},[{key:Symbol.toStringTag,get:function(){return"GraphQLObjectType"}},{key:"getFields",value:function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}},{key:"getInterfaces",value:function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}},{key:"toConfig",value:function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eL(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}},{key:"toString",value:function(){return this.name}},{key:"toJSON",value:function(){return this.toString()}}]);function ek(e){var t,n=eA(null!=(t=e.interfaces)?t:[]);return Array.isArray(n)||(0,c.U)(!1,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),n}function eD(e){var t=eS(e.fields);return ex(t)||(0,c.U)(!1,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),S(t,function(t,n){ex(t)||(0,c.U)(!1,"".concat(e.name,".").concat(n," field config must be an object.")),null==t.resolve||"function"==typeof t.resolve||(0,c.U)(!1,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat((0,v.N
1)(t.resolve),"."));var r,i=null!=(r=t.args)?r:{};return ex(i)||(0,c.U)(!1,"".concat(e.name,".").concat(n," args must be an object with argument names as keys.")),{name:V(n),description:t.description,type:t.type,args:eR(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:j(t.extensions),astNode:t.astNode}})}function eR(e){return Object.entries(e).map(function(e){var t=(0,m.default)(e,2),n=t[0],r=t[1];return{name:V(n),description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:j(r.extensions),astNode:r.astNode}})}function ex(e){return(0,T.Z)(e)&&!Array.isArray(e)}function eL(e){return S(e,function(e){return{description:e.description,type:e.type,args:ej(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}})}function ej(e){return 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 eC(e){return er(e.type)&&void 0===e.defaultValue}var eU=(0,d.default)(function e(t){var n;(0,p.default)(this,e),this.name=V(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(n=t.extensionASTNodes)?n:[],this._fields=eD.bind(void 0,t),this._interfaces=ek.bind(void 0,t),null==t.resolveType||"function"==typeof t.resolveType||(0,c.U)(!1,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,v.N)(t.resolveType),"."))},[{key:Symbol.toStringTag,get:function(){return"GraphQLInterfaceType"}},{key:"getFields",value:function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}},{key:"getInterfaces",value:function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}},{key:"toConfig",value:function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eL(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}},{key:"toString",value:function(){return this.name}},{key:"toJSON",value:function(){return this.toString()}}]),eF=(0,d.default)(function e(t){var n;(0,p.default)(this,e),this.name=V(t.name),this.description=t.description,this.resolveType=t.resolveType,this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(n=t.extensionASTNodes)?n:[],this._types=eP.bind(void 0,t),null==t.resolveType||"function"==typeof t.resolveType||(0,c.U)(!1,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat((0,v.N)(t.resolveType),"."))},[{key:Symbol.toStringTag,get:function(){return"GraphQLUnionType"}},{key:"getTypes",value:function(){return"function"==typeof this._types&&(this._types=this._types()),this._types}},{key:"toConfig",value:function(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}},{key:"toString",value:function(){return this.name}},{key:"toJSON",value:function(){return this.toString()}}]);function eP(e){var t=eA(e.types);return Array.isArray(t)||(0,c.U)(!1,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),t}var eV=(0,d.default)(function e(t){var n;(0,p.default)(this,e),this.name=V(t.name),this.description=t.description,this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(n=t.extensionASTNodes)?n:[],this._values="function"==typeof t.values?t.values:eB(this.name,t.values),this._valueLookup=null,this._nameLookup=null},[{key:Symbol.toStringTag,get:function(){return"GraphQLEnumType"}},{key:"getValues",value:function(){return"function"==typeof this._values&&(this._values=eB(this.name,this._values())),this._values}},{key:"getValue",value:function(e){return null===this._nameLookup&&(this._nameLookup=N(this.getValues(),function(e){return e.name})),this._nameLookup[e]}},{key:"serialize",value:function(e){null===this._valueLookup&&(this._valueLookup=new Map(this.getValues().map(function(e){return[e.value,e]})));var t=this._valueLookup.get(e);if(void 0===t)throw new y.eO('Enum "'.concat(this.name,'" cannot represent value: ').concat((0,v.N
1)(e)));return t.name}},{key:"parseValue",value:function(e){if("string"!=typeof e){var t=(0,v.N)(e);throw new y.eO('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(t,".")+eM(this,t))}var n=this.getValue(e);if(null==n)throw new y.eO('Value "'.concat(e,'" does not exist in "').concat(this.name,'" enum.')+eM(this,e));return n.value}},{key:"parseLiteral",value:function(e,t){if(e.kind!==C.b.ENUM){var n=(0,U.y)(e);throw new y.eO('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(n,".")+eM(this,n),{nodes:e})}var r=this.getValue(e.value);if(null==r){var i=(0,U.y)(e);throw new y.eO('Value "'.concat(i,'" does not exist in "').concat(this.name,'" enum.')+eM(this,i),{nodes:e})}return r.value}},{key:"toConfig",value:function(){var e=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:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}},{key:"toString",value:function(){return this.name}},{key:"toJSON",value:function(){return this.toString()}}]);function eM(e,t){return g("the enum value",R(t,e.getValues().map(function(e){return e.name})))}function eB(e,t){return ex(t)||(0,c.U)(!1,"".concat(e," values must be an object with value names as keys.")),Object.entries(t).map(function(t){var n=(0,m.default)(t,2),r=n[0],i=n[1];return ex(i)||(0,c.U)(!1,"".concat(e,".").concat(r,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat((0,v.N)(i),".")),{name:M(r),description:i.description,value:void 0!==i.value?i.value:r,deprecationReason:i.deprecationReason,extensions:j(i.extensions),astNode:i.astNode}})}var eY=(0,d.default)(function e(t){var n,r;(0,p.default)(this,e),this.name=V(t.name),this.description=t.description,this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(n=t.extensionASTNodes)?n:[],this.isOneOf=null!=(r=t.isOneOf)&&r,this._fields=eG.bind(void 0,t)},[{key:Symbol.toStringTag,get:function(){return"GraphQLInputObjectType"}},{key:"getFields",value:function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}},{key:"toConfig",value:function(){var e=S(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:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,isOneOf:this.isOneOf}}},{key:"toString",value:function(){return this.name}},{key:"toJSON",value:function(){return this.toString()}}]);function eG(e){var t=eS(e.fields);return ex(t)||(0,c.U)(!1,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),S(t,function(t,n){return"resolve"in t&&(0,c.U)(!1,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),{name:V(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:j(t.extensions),astNode:t.astNode}})}function eQ(e){return er(e.type)&&void 0===e.defaultValue}function eq(e,t){return e===t||!!(er(e)&&er(t)||et(e)&&et(t))&&eq(e.ofType,t.ofType)}function eJ(e,t,n){return t===n||(er(n)?!!er(t)&&eJ(e,t.ofType,n.ofType):er(t)?eJ(e,t.ofType,n):et(n)?!!et(t)&&eJ(e,t.ofType,n.ofType):!et(t)&&ed(n)&&(H(t)||q(t))&&e.isSubType(n,t))}function eH(e,t,n){return t===n||(ed(t)?ed(n)?e.getPossibleTypes(t).some(function(t){return e.isSubType(n,t)}):e.isSubType(t,n):!!ed(n)&&e.isSubType(n,t))}var eK=n(38932),e$=0x7fffffff,ez=-0x80000000,eX=new e_({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=e3(e);if("boolean"==typeof t)return+!!t;var n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new y.eO("Int cannot represent non-integer value: ".concat((0,v.N
1)(t)));if(n>e$||n<ez)throw new y.eO("Int cannot represent non 32-bit signed integer value: "+(0,v.N)(t));return n},parseValue:function(e){if("number"!=typeof e||!Number.isInteger(e))throw new y.eO("Int cannot represent non-integer value: ".concat((0,v.N)(e)));if(e>e$||e<ez)throw new y.eO("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(e){if(e.kind!==C.b.INT)throw new y.eO("Int cannot represent non-integer value: ".concat((0,U.y)(e)),{nodes:e});var t=parseInt(e.value,10);if(t>e$||t<ez)throw new y.eO("Int cannot represent non 32-bit signed integer value: ".concat(e.value),{nodes:e});return t}}),eW=new e_({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=e3(e);if("boolean"==typeof t)return+!!t;var n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new y.eO("Float cannot represent non numeric value: ".concat((0,v.N)(t)));return n},parseValue:function(e){if("number"!=typeof e||!Number.isFinite(e))throw new y.eO("Float cannot represent non numeric value: ".concat((0,v.N)(e)));return e},parseLiteral:function(e){if(e.kind!==C.b.FLOAT&&e.kind!==C.b.INT)throw new y.eO("Float cannot represent non numeric value: ".concat((0,U.y)(e)),e);return parseFloat(e.value)}}),eZ=new e_({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=e3(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new y.eO("String cannot represent value: ".concat((0,v.N)(e)))},parseValue:function(e){if("string"!=typeof e)throw new y.eO("String cannot represent a non string value: ".concat((0,v.N)(e)));return e},parseLiteral:function(e){if(e.kind!==C.b.STRING)throw new y.eO("String cannot represent a non string value: ".concat((0,U.y)(e)),{nodes:e});return e.value}}),e0=new e_({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var t=e3(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new y.eO("Boolean cannot represent a non boolean value: ".concat((0,v.N)(t)))},parseValue:function(e){if("boolean"!=typeof e)throw new y.eO("Boolean cannot represent a non boolean value: ".concat((0,v.N)(e)));return e},parseLiteral:function(e){if(e.kind!==C.b.BOOLEAN)throw new y.eO("Boolean cannot represent a non boolean value: ".concat((0,U.y)(e)),{nodes:e});return e.value}}),e1=new e_({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=e3(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new y.eO("ID cannot represent value: ".concat((0,v.N)(e)))},parseValue:function(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new y.eO("ID cannot represent value: ".concat((0,v.N)(e)))},parseLiteral:function(e){if(e.kind!==C.b.STRING&&e.kind!==C.b.INT)throw new y.eO("ID cannot represent a non-string and non-integer value: "+(0,U.y)(e),{nodes:e});return e.value}}),e2=Object.freeze([eZ,eX,eW,e0,e1]);function e8(e){return e2.some(function(t){var n=t.name;return e.name===n})}function e3(e){if((0,T.Z)(e)){if("function"==typeof e.valueOf){var t=e.valueOf();if(!(0,T.Z)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function e6(e){return(0,E.h)(e,e5)}function e4(e){if(!e6(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL directive."));return e}var e5=(0,d.default)(function e(t){(0,p.default)(this,e),this.name=V(t.name),this.description=t.description,this.locations=t.locations,this.isRepeatable=null!=(n=t.isRepeatable)&&n,this.extensions=j(t.extensions),this.astNode=t.astNode,Array.isArray(t.locations)||(0,c.U)(!1,"@".concat(t.name," locations must be an Array."));var n,r,i=null!=(r=t.args)?r:{};(0,T.Z)(i)&&!Array.isArray(i)||(0,c.U)(!1,"@".concat(t.name," args must be an object with argument names as keys.")),this.args=eR(i)},[{key:Symbol.toStringTag,get:function(){return"GraphQLDirective"}},{key:"toConfig",value:function(){return{name:this.name,description:this.description,locations:this.locations,args:ej(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}},{key:"toString",value:function(){return"@"+this.name}},{key:"toJSON",value:function(){return this.toString()}}]),e9=new e5({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[eK.H.FIELD,eK.H.FRAGMENT_SPREAD,eK.H.INLINE_FRAGMENT],args:{if:{type:new eh(e0),description:"Included when true."}}}),e7=new e5({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[eK.H.FIELD,eK.H.FRAGMENT_SPREAD,eK.H.INLINE_FRAGMENT],args:{if:{type:new eh(e0),description:"Skipped when true."}}}),te="No longer supported",tt=new e5({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[eK.H.FIELD_DEFINITION,eK.H.ARGUMENT_DEFINITION,eK.H.INPUT_FIELD_DEFINITION,eK.H.ENUM_VALUE],args:{reason:{type:eZ,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:te}}}),tn=new e5({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[eK.H.SCALAR],args:{url:{type:new eh(eZ),description:"The URL that specifies the behavior of this scalar."}}}),tr=new e5({name:"oneOf",description:"Indicates exactly one field must be supplied and this field must not be `null`.",locations:[eK.H.INPUT_OBJECT],args:{}}),ti=Object.freeze([e9,e7,tt,tn,tr]);function ta(e){return ti.some(function(t){return t.name===e.name})}var to=n(62288);function tu(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ts(e,t){if(er(t)){var n=ts(e,t.ofType);return(null==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(et(t)){var r=t.ofType;if(tu(e)){var i,a=[],o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tc(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tc(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(o.s();!(i=o.n()).done;){var u=i.value,c=ts(u,r);null!=c&&a.push(c)}}catch(e){o.e(e)}finally{o.f()}return{kind:C.b.LIST,values:a}}return ts(e,r)}if(Z(t)){if(!(0,T.Z)(e))return null;for(var s=[],l=0,f=Object.values(t.getFields());l<f.length;l++){var p=f[l],d=ts(e[p.name],p.type);d&&s.push({kind:C.b.OBJECT_FIELD,name:{kind:C.b.NAME,value:p.name},value:d})}return{kind:C.b.OBJECT,fields:s}}if(es(t)){var y=t.serialize(e);if(null==y)return null;if("boolean"==typeof y)return{kind:C.b.BOOLEAN,value:y};if("number"==typeof y&&Number.isFinite(y)){var h=String(y);return tl.test(h)?{kind:C.b.INT,value:h}:{kind:C.b.FLOAT,value:h}}if("string"==typeof y)return X(t)?{kind:C.b.ENUM,value:y}:t===e1&&tl.test(y)?{kind:C.b.INT,value:y}:{kind:C.b.STRING,value:y};throw TypeError("Cannot convert value to AST: ".concat((0,v.N)(y),"."))}(0,to.V)(!1,"Unexpected input type: "+(0,v.N)(t))}var tl=/^-?(?:0|[1-9][0-9]*)$/,tf=new ew({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:eZ,resolve:function(e){return e.description}},types:{description:"A list of all types supported by this server.",type:new eh(new ey(new eh(tv))),resolve:function(e){return Object.values(e.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new eh(tv),resolve:function(e){return e.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:tv,resolve:function(e){return e.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:tv,resolve:function(e){return e.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new eh(new ey(new eh(tp))),resolve:function(e){return e.getDirectives()}}}}}),tp=new ew({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 eh(eZ),resolve:function(e){return e.name}},description:{type:eZ,resolve:function(e){return e.description}},isRepeatable:{type:new eh(e0),resolve:function(e){return e.isRepeatable}},locations:{type:new eh(new ey(new eh(td))),resolve:function(e){return e.locations}},args:{type:new eh(new ey(new eh(th))),args:{includeDeprecated:{type:e0,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}}}}}),td=new eV({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:eK.H.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:eK.H.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:eK.H.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:eK.H.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:eK.H.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:eK.H.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:eK.H.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:eK.H.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:eK.H.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:eK.H.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:eK.H.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:eK.H.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:eK.H.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:eK.H.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:eK.H.UNION,description:"Location adjacent to a union definition."},ENUM:{value:eK.H.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:eK.H.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:eK.H.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:eK.H.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),tv=new ew({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 eh(tg),resolve:function(e){return G(e)?r.SCALAR:q(e)?r.OBJECT:H(e)?r.INTERFACE:$(e)?r.UNION:X(e)?r.ENUM:Z(e)?r.INPUT_OBJECT:et(e)?r.LIST:er(e)?r.NON_NULL:void(0,to.V)(!1,'Unexpected type: "'.concat((0,v.N
1)(e),'".'))}},name:{type:eZ,resolve:function(e){return"name"in e?e.name:void 0}},description:{type:eZ,resolve:function(e){return"description"in e?e.description:void 0}},specifiedByURL:{type:eZ,resolve:function(e){return"specifiedByURL"in e?e.specifiedByURL:void 0}},fields:{type:new ey(new eh(ty)),args:{includeDeprecated:{type:e0,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(q(e)||H(e)){var r=Object.values(e.getFields());return n?r:r.filter(function(e){return null==e.deprecationReason})}}},interfaces:{type:new ey(new eh(tv)),resolve:function(e){if(q(e)||H(e))return e.getInterfaces()}},possibleTypes:{type:new ey(new eh(tv)),resolve:function(e,t,n,r){var i=r.schema;if(ed(e))return i.getPossibleTypes(e)}},enumValues:{type:new ey(new eh(tm)),args:{includeDeprecated:{type:e0,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(X(e)){var r=e.getValues();return n?r:r.filter(function(e){return null==e.deprecationReason})}}},inputFields:{type:new ey(new eh(th)),args:{includeDeprecated:{type:e0,defaultValue:!1}},resolve:function(e,t){var n=t.includeDeprecated;if(Z(e)){var r=Object.values(e.getFields());return n?r:r.filter(function(e){return null==e.deprecationReason})}}},ofType:{type:tv,resolve:function(e){return"ofType"in e?e.ofType:void 0}},isOneOf:{type:e0,resolve:function(e){if(Z(e))return e.isOneOf}}}}}),ty=new ew({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 eh(eZ),resolve:function(e){return e.name}},description:{type:eZ,resolve:function(e){return e.description}},args:{type:new eh(new ey(new eh(th))),args:{includeDeprecated:{type:e0,defaultValue:!1}},resolve:function(e,t){return t.includeDeprecated?e.args:e.args.filter(function(e){return null==e.deprecationReason})}},type:{type:new eh(tv),resolve:function(e){return e.type}},isDeprecated:{type:new eh(e0),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:eZ,resolve:function(e){return e.deprecationReason}}}}}),th=new ew({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 eh(eZ),resolve:function(e){return e.name}},description:{type:eZ,resolve:function(e){return e.description}},type:{type:new eh(tv),resolve:function(e){return e.type}},defaultValue:{type:eZ,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(e){var t=e.type,n=ts(e.defaultValue,t);return n?(0,U.y)(n):null}},isDeprecated:{type:new eh(e0),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:eZ,resolve:function(e){return e.deprecationReason}}}}}),tm=new ew({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 eh(eZ),resolve:function(e){return e.name}},description:{type:eZ,resolve:function(e){return e.description}},isDeprecated:{type:new eh(e0),resolve:function(e){return null!=e.deprecationReason}},deprecationReason:{type:eZ,resolve:function(e){return e.deprecationReason}}}}});!function(e){e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.INPUT_OBJECT="INPUT_OBJECT",e.LIST="LIST",e.NON_NULL="NON_NULL"}(r||(r={}));var tg=new eV({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:r.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:r.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:r.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:r.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:r.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:r.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:r.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:r.NON_NULL,description:"Indicates this type is a 
1non-null. `ofType` is a valid field."}}}),tb={name:"__schema",type:new eh(tf),description:"Access the current type schema of this server.",args:[],resolve:function(e,t,n,r){return r.schema},deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tE={name:"__type",type:tv,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new eh(eZ),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:function(e,t,n,r){var i=t.name;return r.schema.getType(i)},deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tT={name:"__typename",type:new eh(eZ),description:"The name of the current Object type at runtime.",args:[],resolve:function(e,t,n,r){return r.parentType.name},deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tO=Object.freeze([tf,tp,td,tv,ty,th,tm,tg]);function tN(e){return tO.some(function(t){var n=t.name;return e.name===n})}function tI(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tA(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tA(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function tA(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tS(e){return(0,E.h)(e,tw)}function t_(e){if(!tS(e))throw Error("Expected ".concat((0,v.N)(e)," to be a GraphQL schema."));return e}var tw=(0,d.default)(function e(t){(0,p.default)(this,e),this.__validationErrors=!0===t.assumeValid?[]:void 0,(0,T.Z)(t)||(0,c.U)(!1,"Must provide configuration object."),!t.types||Array.isArray(t.types)||(0,c.U)(!1,'"types" must be Array if provided but got: '.concat((0,v.N)(t.types),".")),!t.directives||Array.isArray(t.directives)||(0,c.U)(!1,'"directives" must be Array if provided but got: '+"".concat((0,v.N)(t.directives),".")),this.description=t.description,this.extensions=j(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=null!=(r=t.extensionASTNodes)?r:[],this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=null!=(i=t.directives)?i:ti;var n=new Set(t.types);if(null!=t.types){var r,i,a,o=tI(t.types);try{for(o.s();!(a=o.n()).done;){var u=a.value;n.delete(u),tk(u,n)}}catch(e){o.e(e)}finally{o.f()}}null!=this._queryType&&tk(this._queryType,n),null!=this._mutationType&&tk(this._mutationType,n),null!=this._subscriptionType&&tk(this._subscriptionType,n);var s,l=tI(this._directives);try{for(l.s();!(s=l.n()).done;){var f=s.value;if(e6(f)){var d,y=tI(f.args);try{for(y.s();!(d=y.n()).done;){var h=d.value;tk(h.type,n)}}catch(e){y.e(e)}finally{y.f()}}}}catch(e){l.e(e)}finally{l.f()}tk(tf,n),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);var m,g=tI(n);try{for(g.s();!(m=g.n()).done;){var b=m.value;if(null!=b){var E=b.name;if(E||(0,c.U)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[E])throw Error('Schema must contain uniquely named types but contains multiple types named "'.concat(E,'".'));if(this._typeMap[E]=b,H(b)){var O,N=tI(b.getInterfaces());try{for(N.s();!(O=N.n()).done;){var I=O.value;if(H(I)){var A=this._implementationsMap[I.name];void 0===A&&(A=this._implementationsMap[I.name]={objects:[],interfaces:[]}),A.interfaces.push(b)}}}catch(e){N.e(e)}finally{N.f()}}else if(q(b)){var S,_=tI(b.getInterfaces());try{for(_.s();!(S=_.n()).done;){var w=S.value;if(H(w)){var k=this._implementationsMap[w.name];void 0===k&&(k=this._implementationsMap[w.name]={objects:[],interfaces:[]}),k.objects.push(b)}}}catch(e){_.e(e)}finally{_.f()}}}}}catch(e){g.e(e)}finally{g.f()}},[{key:Symbol.toStringTag,get:function(){return"GraphQLSchema"}},{key:"getQueryType",value:function(){return this._queryType}},{key:"getMutationType",value:function(){return this._mutationType}},{key:"getSubscriptionType",value:function(){return this._subscriptionType}},{key:"getRootType",value:function(e){switch(e){case h.cE.QUERY:return this.getQueryType();case h.cE.MUTATION:return this.getMutationType();
1case h.cE.SUBSCRIPTION:return this.getSubscriptionType()}}},{key:"getTypeMap",value:function(){return this._typeMap}},{key:"getType",value:function(e){return this.getTypeMap()[e]}},{key:"getPossibleTypes",value:function(e){return $(e)?e.getTypes():this.getImplementations(e).objects}},{key:"getImplementations",value:function(e){var t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}},{key:"isSubType",value:function(e,t){var n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),$(e)){var r,i=tI(e.getTypes());try{for(i.s();!(r=i.n()).done;)n[r.value.name]=!0}catch(e){i.e(e)}finally{i.f()}}else{var a,o=this.getImplementations(e),u=tI(o.objects);try{for(u.s();!(a=u.n()).done;)n[a.value.name]=!0}catch(e){u.e(e)}finally{u.f()}var c,s=tI(o.interfaces);try{for(s.s();!(c=s.n()).done;)n[c.value.name]=!0}catch(e){s.e(e)}finally{s.f()}}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}},{key:"getDirectives",value:function(){return this._directives}},{key:"getDirective",value:function(e){return this.getDirectives().find(function(t){return t.name===e})}},{key:"toConfig",value:function(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}]);function tk(e,t){var n=eI(e);if(!t.has(n)){if(t.add(n),$(n)){var r,i=tI(n.getTypes());try{for(i.s();!(r=i.n()).done;){var a=r.value;tk(a,t)}}catch(e){i.e(e)}finally{i.f()}}else if(q(n)||H(n)){var o,u=tI(n.getInterfaces());try{for(u.s();!(o=u.n()).done;){var c=o.value;tk(c,t)}}catch(e){u.e(e)}finally{u.f()}for(var s=0,l=Object.values(n.getFields());s<l.length;s++){var f=l[s];tk(f.type,t);var p,d=tI(f.args);try{for(d.s();!(p=d.n()).done;){var v=p.value;tk(v.type,t)}}catch(e){d.e(e)}finally{d.f()}}}else if(Z(n))for(var y=0,h=Object.values(n.getFields());y<h.length;y++)tk(h[y].type,t)}return t}function tD(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tR(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tR(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function tR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tx(e){if(t_(e),e.__validationErrors)return e.__validationErrors;var t,n,r,i,a,o,u,c,s=new tj(e);(o=(a=(t=s).schema).getQueryType())?q(o)||t.reportError("Query root type must be Object type, it cannot be ".concat((0,v.N)(o),"."),null!=(n=tC(a,h.cE.QUERY))?n:o.astNode):t.reportError("Query root type must be provided.",a.astNode),(u=a.getMutationType())&&!q(u)&&t.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat((0,v.N)(u),"."),null!=(r=tC(a,h.cE.MUTATION))?r:u.astNode),(c=a.getSubscriptionType())&&!q(c)&&t.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat((0,v.N)(c),"."),null!=(i=tC(a,h.cE.SUBSCRIPTION))?i:c.astNode),function(e){var t,n=tD(e.schema.getDirectives());try{for(n.s();!(t=n.n()).done;){var r=t.value;if(!e6(r)){e.reportError("Expected directive but got: ".concat((0,v.N)(r),"."),null==r?void 0:r.astNode);continue}tU(e,r),0===r.locations.length&&e.reportError("Directive @".concat(r.name," must include 1 or more locations."),r.astNode);var i,a=tD(r.args);try{for(a.s();!(i=a.n()).done;){var o,u=i.value;tU(e,u),ea(u.type)||e.reportError("The type of @".concat(r.name,"(").concat(u.name,":) must be Input Type ")+"but got: ".concat((0,v.N
1)(u.type),"."),u.astNode),eC(u)&&null!=u.deprecationReason&&e.reportError("Required argument @".concat(r.name,"(").concat(u.name,":) cannot be deprecated."),[tV(u.astNode),null==(o=u.astNode)?void 0:o.type])}}catch(e){a.e(e)}finally{a.f()}}}catch(e){n.e(e)}finally{n.f()}}(s),function(e){for(var t,n,r,i,a=(t=e,n=Object.create(null),r=[],i=Object.create(null),function e(a){if(!n[a.name]){n[a.name]=!0,i[a.name]=r.length;for(var o=Object.values(a.getFields()),u=0;u<o.length;u++){var c=o[u];if(er(c.type)&&Z(c.type.ofType)){var s=c.type.ofType,l=i[s.name];if(r.push(c),void 0===l)e(s);else{var f=r.slice(l),p=f.map(function(e){return e.name}).join(".");t.reportError('Cannot reference Input Object "'.concat(s.name,'" within itself through a series of non-null fields: "').concat(p,'".'),f.map(function(e){return e.astNode}))}r.pop()}}i[a.name]=void 0}}),o=e.schema.getTypeMap(),u=0,c=Object.values(o);u<c.length;u++){var s=c[u];if(!eO(s)){e.reportError("Expected GraphQL named type but got: ".concat((0,v.N)(s),"."),s.astNode);continue}tN(s)||tU(e,s),q(s)||H(s)?(function(e,t){var n=Object.values(t.getFields());0===n.length&&e.reportError("Type ".concat(t.name," must define one or more fields."),[t.astNode].concat((0,f.default)(t.extensionASTNodes)));for(var r=0;r<n.length;r++){var i=n[r];tU(e,i),eu(i.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name," must be Output Type ")+"but got: ".concat((0,v.N)(i.type),"."),null==(a=i.astNode)?void 0:a.type);var a,o,u=tD(i.args);try{for(u.s();!(o=u.n()).done;){var c,s,l=o.value,p=l.name;tU(e,l),ea(l.type)||e.reportError("The type of ".concat(t.name,".").concat(i.name,"(").concat(p,":) must be Input ")+"Type but got: ".concat((0,v.N)(l.type),"."),null==(c=l.astNode)?void 0:c.type),eC(l)&&null!=l.deprecationReason&&e.reportError("Required argument ".concat(t.name,".").concat(i.name,"(").concat(p,":) cannot be deprecated."),[tV(l.astNode),null==(s=l.astNode)?void 0:s.type])}}catch(e){u.e(e)}finally{u.f()}}}(e,s),function(e,t){var n,r=Object.create(null),i=tD(t.getInterfaces());try{for(i.s();!(n=i.n()).done;){var a=n.value;if(!H(a)){e.reportError("Type ".concat((0,v.N)(t)," must only implement Interface types, ")+"it cannot implement ".concat((0,v.N)(a),"."),tF(t,a));continue}if(t===a){e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),tF(t,a));continue}if(r[a.name]){e.reportError("Type ".concat(t.name," can only implement ").concat(a.name," once."),tF(t,a));continue}r[a.name]=!0,function(e,t,n){var r,i=t.getInterfaces(),a=tD(n.getInterfaces());try{for(a.s();!(r=a.n()).done;){var o=r.value;i.includes(o)||e.reportError(o===t?"Type ".concat(t.name," cannot implement ").concat(n.name," because it would create a circular reference."):"Type ".concat(t.name," must implement ").concat(o.name," because it is implemented by ").concat(n.name,"."),[].concat((0,f.default)(tF(n,o)),(0,f.default)(tF(t,n))))}}catch(e){a.e(e)}finally{a.f()}}(e,t,a),function(e,t,n){for(var r=t.getFields(),i=0,a=Object.values(n.getFields());i<a.length;i++){var o=a[i],u=o.name,c=r[u];if(!c){e.reportError("Interface field ".concat(n.name,".").concat(u," expected but ").concat(t.name," does not provide it."),[o.astNode,t.astNode].concat((0,f.default)(t.extensionASTNodes)));continue}eJ(e.schema,c.type,o.type)||e.reportError("Interface field ".concat(n.name,".").concat(u," expects type ")+"".concat((0,v.N)(o.type)," but ").concat(t.name,".").concat(u," ")+"is type ".concat((0,v.N)(c.type),"."),[null==(s=o.astNode)?void 0:s.type,null==(l=c.astNode)?void 0:l.type]);var s,l,p,d=tD(o.args);try{for(d.s();!(p=d.n()).done;)if(function(){var r=p.value,i=r.name,a=c.args.find(function(e){return e.name===i});if(!a)return e.reportError("Interface field argument ".concat(n.name,".").concat(u,"(").concat(i,":) expected but ").concat(t.name,".").concat(u," does not provide it."),[r.astNode,c.astNode]),1;eq(r.type,a.type)||e.reportError("Interface field argument ".concat(n.name,".").concat(u,"(").concat(i,":) ")+"expects type ".concat((0,v.N)(r.type)," but ")+"".concat(t.name,".").concat(u,"(").concat(i,":
1) is type ")+"".concat((0,v.N)(a.type),"."),[null==(y=r.astNode)?void 0:y.type,null==(h=a.astNode)?void 0:h.type])}())continue}catch(e){d.e(e)}finally{d.f()}var y,h,m,g=tD(c.args);try{for(g.s();!(m=g.n()).done;)!function(){var r=m.value,i=r.name;!o.args.find(function(e){return e.name===i})&&eC(r)&&e.reportError("Object field ".concat(t.name,".").concat(u," includes required argument ").concat(i," that is missing from the Interface field ").concat(n.name,".").concat(u,"."),[r.astNode,o.astNode])}()}catch(e){g.e(e)}finally{g.f()}}}(e,t,a)}}catch(e){i.e(e)}finally{i.f()}}(e,s)):$(s)?function(e,t){var n=t.getTypes();0===n.length&&e.reportError("Union type ".concat(t.name," must define one or more member types."),[t.astNode].concat((0,f.default)(t.extensionASTNodes)));var r,i=Object.create(null),a=tD(n);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(i[o.name]){e.reportError("Union type ".concat(t.name," can only include type ").concat(o.name," once."),tP(t,o.name));continue}i[o.name]=!0,q(o)||e.reportError("Union type ".concat(t.name," can only include Object types, ")+"it cannot include ".concat((0,v.N)(o),"."),tP(t,String(o)))}}catch(e){a.e(e)}finally{a.f()}}(e,s):X(s)?function(e,t){var n=t.getValues();0===n.length&&e.reportError("Enum type ".concat(t.name," must define one or more values."),[t.astNode].concat((0,f.default)(t.extensionASTNodes)));var r,i=tD(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;tU(e,a)}}catch(e){i.e(e)}finally{i.f()}}(e,s):Z(s)&&(function(e,t){var n=Object.values(t.getFields());0===n.length&&e.reportError("Input Object type ".concat(t.name," must define one or more fields."),[t.astNode].concat((0,f.default)(t.extensionASTNodes)));for(var r=0;r<n.length;r++){var i,a,o=n[r];tU(e,o),ea(o.type)||e.reportError("The type of ".concat(t.name,".").concat(o.name," must be Input Type ")+"but got: ".concat((0,v.N)(o.type),"."),null==(i=o.astNode)?void 0:i.type),eQ(o)&&null!=o.deprecationReason&&e.reportError("Required input field ".concat(t.name,".").concat(o.name," cannot be deprecated."),[tV(o.astNode),null==(a=o.astNode)?void 0:a.type]),t.isOneOf&&function(e,t,n){if(er(t.type)){var r;n.reportError("OneOf input field ".concat(e.name,".").concat(t.name," must be nullable."),null==(r=t.astNode)?void 0:r.type)}void 0!==t.defaultValue&&n.reportError("OneOf input field ".concat(e.name,".").concat(t.name," cannot have a default value."),t.astNode)}(t,o,e)}}(e,s),a(s))}}(s);var l=s.getErrors();return e.__validationErrors=l,l}function tL(e){var t=tx(e);if(0!==t.length)throw Error(t.map(function(e){return e.message}).join("\n\n"))}var tj=(0,d.default)(function e(t){(0,p.default)(this,e),this._errors=[],this.schema=t},[{key:"reportError",value:function(e,t){var n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new y.eO(e,{nodes:n}))}},{key:"getErrors",value:function(){return this._errors}}]);function tC(e,t){var n;return null==(n=[e.astNode].concat((0,f.default)(e.extensionASTNodes)).flatMap(function(e){var t;return null!=(t=null==e?void 0:e.operationTypes)?t:[]}).find(function(e){return e.operation===t}))?void 0:n.type}function tU(e,t){t.name.startsWith("__")&&e.reportError('Name "'.concat(t.name,'" must not begin with "__", which is reserved by GraphQL introspection.'),t.astNode)}function tF(e,t){var n=e.astNode,r=e.extensionASTNodes;return(null!=n?[n].concat((0,f.default)(r)):r).flatMap(function(e){var t;return null!=(t=e.interfaces)?t:[]}).filter(function(e){return e.name.value===t.name})}function tP(e,t){var n=e.astNode,r=e.extensionASTNodes;return(null!=n?[n].concat((0,f.default)(r)):r).flatMap(function(e){var t;return null!=(t=e.types)?t:[]}).filter(function(e){return e.name.value===t})}function tV(e){var t;return null==e||null==(t=e.directives)?void 0:t.find(function(e){return e.name.value===tt.name})}var tM=n(86788);function tB(e,t){switch(t.kind){case C.b.LIST_TYPE:var n=tB(e,t.type);return n&&new ey(n);case C.b.NON_NULL_TYPE:var r=tB(e,t.type);return r&&new eh(r);case C.b.NAMED_TYPE:return e.getType(t.name.value)}}var tY=(0,d.default)(function e(t,n,r){(0,p.default)(this,e),this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=r?r:tG,n&&(ea(n)&&this._inputTypeStack.push(n),ef(n)&&this._parentTypeStack.push(n),eu(n)&&this._typeStack.push(n))},[{key:Symbol.toStringTag,get:function(){return"TypeInfo"}},{key:"getType",value:function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}},{key:"getParentType",value:function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}},{key:"getInputType",value:function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}},{key:"getParentInputType",value:function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}},{key:"getFieldDef",value:function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}},{key:"getDefaultValue",value:function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}},{key:"getDirective",value:function(){return this._directive}},{key:"getArgument",value:function(){return this._argument}},{key:"getEnumValue",value:function(){return this._enumValue}},{key:"enter",value:function(e){var t=this._schema;switch(e.kind){case C.b.SELECTION_SET:var n=eI(this.getType());this._parentTypeStack.push(ef(n)?n:void 0);break;case C.b.FIELD:var r,i,a=this.getParentType();a&&(r=this._getFieldDef(t,a,e))&&(i=r.type),this._fieldDefStack.push(r),this._typeStack.push(eu(i)?i:void 0);break;case C.b.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case C.b.OPERATION_DEFINITION:var o=t.getRootType(e.operation);this._typeStack.push(q(o)?o:void 0);break;case C.b.INLINE_FRAGMENT:case C.b.FRAGMENT_DEFINITION:var u=e.typeCondition,c=u?tB(t,u):eI(this.getType());this._typeStack.push(eu(c)?c:void 0);break;case C.b.VARIABLE_DEFINITION:var s=tB(t,e.type);this._inputTypeStack.push(ea(s)?s:void 0);break;case C.b.ARGUMENT:var l,f,p,d=null!=(l=this.getDirective())?l:this.getFieldDef();d&&(f=d.args.find(function(t){return t.name===e.name.value}))&&(p=f.type),this._argument=f,this._defaultValueStack.push(f?f.defaultValue:void 0),this._inputTypeStack.push(ea(p)?p:void 0);break;case C.b.LIST:var v=eT(this.getInputType()),y=et(v)?v.ofType:v;this._defaultValueStack.push(void 0),this._inputTypeStack.push(ea(y)?y:void 0);break;case C.b.OBJECT_FIELD:var h,m,g=eI(this.getInputType());Z(g)&&(m=g.getFields()[e.name.value])&&(h=m.type),this._defaultValueStack.push(m?m.defaultValue:void 0),this._inputTypeStack.push(ea(h)?h:void 0);break;case C.b.ENUM:var b,E=eI(this.getInputType());X(E)&&(b=E.getValue(e.value)),this._enumValue=b}}},{key:"leave",value:function(e){switch(e.kind){case C.b.SELECTION_SET:this._parentTypeStack.pop();break;case C.b.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case C.b.DIRECTIVE:this._directive=null;break;case C.b.OPERATION_DEFINITION:case C.b.INLINE_FRAGMENT:case C.b.FRAGMENT_DEFINITION:this._typeStack.pop();break;case C.b.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case C.b.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case C.b.LIST:case C.b.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case C.b.ENUM:this._enumValue=null}}}]);function tG(e,t,n){var r=n.name.value;return r===tb.name&&e.getQueryType()===t?tb:r===tE.name&&e.getQueryType()===t?tE:r===tT.name&&ef(t)?tT:q(t)||H(t)?t.getFields()[r]:void 0}function tQ(e,t){return{enter:function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var a=r[0];e.enter(a);var o=(0,tM.XO)(t,a.kind).enter;if(o){var u=o.apply(t,r);return void 0!==u&&(e.leave(a),(0,h.Ll)(u)&&e.enter(u)),u}},leave:function(){for(var n,r=arguments.length,i=Array(r),a=0;a<r;a++)i[a]=arguments[a];var o=i[0],u=(0,tM.XO)(t,o.kind).leave;return u&&(n=u.apply(t,i)),e.leave(o),n}}}var tq=n(45122);function tJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tH(e){return{Document:function(t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tJ(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tJ(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(t.definitions);try{for(r.s();!(n=r.n()).done;){var i=n.value;if(!(0,tq._m)(i)){var a=i.kind===C.b.SCHEMA_DEFINITION||i.kind===C.b.SCHEMA_EXTENSION?"schema":'"'+i.name.value+'"';e.reportError(new y.eO("The ".concat(a," definition is not executable."),{nodes:i}))}}}catch(e){r.e(e)}finally{r.f()}return!1}}}function tK(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return t$(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t$(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function t$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tz(e){return{Field:function(t){var n=e.getParentType();if(n&&!e.getFieldDef()){var r,i,a=e.getSchema(),o=t.name.value,u=g("to use an inline fragment on",function(e,t,n){if(!ed(t))return[];var r,i=new Set,a=Object.create(null),o=tK(e.getPossibleTypes(t));try{for(o.s();!(r=o.n()).done;){var u=r.value;if(u.getFields()[n]){i.add(u),a[u.name]=1;var c,s=tK(u.getInterfaces());try{for(s.s();!(c=s.n()).done;){var l,p=c.value;p.getFields()[n]&&(i.add(p),a[p.name]=(null!=(l=a[p.name])?l:0)+1)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){o.e(e)}finally{o.f()}return(0,f.default)(i).sort(function(t,n){var r=a[n.name]-a[t.name];return 0!==r?r:H(t)&&e.isSubType(t,n)?-1:H(n)&&e.isSubType(n,t)?1:_(t.name,n.name)}).map(function(e){return e.name})}(a,n,o));""===u&&(u=g((r=n,i=o,q(r)||H(r)?R(i,Object.keys(r.getFields())):[]))),e.reportError(new y.eO('Cannot query field "'.concat(o,'" on type "').concat(n.name,'".')+u,{nodes:t}))}}}}function tX(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var r=tB(e.getSchema(),n);if(r&&!ef(r)){var i=(0,U.y)(n);e.reportError(new y.eO('Fragment cannot condition on non composite type "'.concat(i,'".'),{nodes:n}))}}},FragmentDefinition:function(t){var n=tB(e.getSchema(),t.typeCondition);if(n&&!ef(n)){var r=(0,U.y)(t.typeCondition);e.reportError(new y.eO('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(r,'".'),{nodes:t.typeCondition}))}}}}var tW=n(69497);function tZ(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return t0(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t0(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
1}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function t0(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t1(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 t2(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?t1(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function t8(e){return t2(t2({},t3(e)),{},{Argument:function(t){var n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){var a=t.name.value,o=R(a,r.args.map(function(e){return e.name}));e.reportError(new y.eO('Unknown argument "'.concat(a,'" on field "').concat(i.name,".").concat(r.name,'".')+g(o),{nodes:t}))}}})}function t3(e){var t,n=Object.create(null),r=e.getSchema(),i=tZ(r?r.getDirectives():ti);try{for(i.s();!(t=i.n()).done;){var a=t.value;n[a.name]=a.args.map(function(e){return e.name})}}catch(e){i.e(e)}finally{i.f()}var o,u=tZ(e.getDocument().definitions);try{for(u.s();!(o=u.n()).done;){var c=o.value;if(c.kind===C.b.DIRECTIVE_DEFINITION){var s,l=null!=(s=c.arguments)?s:[];n[c.name.value]=l.map(function(e){return e.name.value})}}}catch(e){u.e(e)}finally{u.f()}return{Directive:function(t){var r=t.name.value,i=n[r];if(t.arguments&&i){var a,o=tZ(t.arguments);try{for(o.s();!(a=o.n()).done;){var u=a.value,c=u.name.value;if(!i.includes(c)){var s=R(c,i);e.reportError(new y.eO('Unknown argument "'.concat(c,'" on directive "@').concat(r,'".')+g(s),{nodes:u}))}}}catch(e){o.e(e)}finally{o.f()}}return!1}}}function t6(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return t4(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t4(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function t4(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t5(e){var t,n=Object.create(null),r=e.getSchema(),i=t6(r?r.getDirectives():ti);try{for(i.s();!(t=i.n()).done;){var a=t.value;n[a.name]=a.locations}}catch(e){i.e(e)}finally{i.f()}var o,u=t6(e.getDocument().definitions);try{for(u.s();!(o=u.n()).done;){var c=o.value;c.kind===C.b.DIRECTIVE_DEFINITION&&(n[c.name.value]=c.locations.map(function(e){return e.value}))}}catch(e){u.e(e)}finally{u.f()}return{Directive:function(t,r,i,a,o){var u=t.name.value,c=n[u];if(!c)return void e.reportError(new y.eO('Unknown directive "@'.concat(u,'".'),{nodes:t}));var s=function(e){var t=e[e.length-1];switch("kind"in t||(0,to.V)(!1),t.kind){case C.b.OPERATION_DEFINITION:var n=t.operation;switch(n){case h.cE.QUERY:return eK.H.QUERY;case h.cE.MUTATION:return eK.H.MUTATION;case h.cE.SUBSCRIPTION:return eK.H.SUBSCRIPTION}return;case C.b.FIELD:return eK.H.FIELD;case C.b.FRAGMENT_SPREAD:return eK.H.FRAGMENT_SPREAD;case C.b.INLINE_FRAGMENT:return eK.H.INLINE_FRAGMENT;case C.b.FRAGMENT_DEFINITION:return eK.H.FRAGMENT_DEFINITION;case C.b.VARIABLE_DEFINITION:return eK.H.VARIABLE_DEFINITION;case C.b.SCHEMA_DEFINITION:case C.b.SCHEMA_EXTENSION:return eK.H.SCHEMA;case C.b.SCALAR_TYPE_DEFINITION:case C.b.SCALAR_TYPE_EXTENSION:return eK.H.SCALAR;case C.b.OBJECT_TYPE_DEFINITION:case C.b.OBJECT_TYPE_EXTENSION:return eK.H.OBJECT;case C.b.FIELD_DEFINITION:return eK.H.FIELD_DEFINITION;case C.b.INTERFACE_TYPE_DEFINITION:case C.b.INTERFACE_TYPE_EXTENSION:return eK.H.INTERFACE;case C.b.UNION_TYPE_DEFINITION:case C.b.UNION_TYPE_EXTENSION:return eK.H.UNION;case C.b.ENUM_TYPE_DEFINITION:case C.b.ENUM_TYPE_EXTENSION:return eK.H.ENUM;case C.b.ENUM_VALUE_DEFINITION:return eK.H.ENUM_VALUE;case C.b.INPUT_OBJECT_TYPE_DEFINITION:case C.b.INPUT_OBJECT_TYPE_EXTENSION:return eK.H.INPUT_OBJECT;case C.b.INPUT_VALUE_DEFINITION:var r=e[e.length-3];return"kind"in r||(0,to.V)(!1),r.kind===C.b.INPUT_OBJECT_TYPE_DEFINITION?eK.H.INPUT_FIELD_DEFINITION:eK.H.ARGUMENT_DEFINITION;default:(0,to.V)(!1,"Unexpected kind: "+(0,v.N)(t.kind))}}(o);s&&!c.includes(s)&&e.reportError(new y.eO('Directive "@'.concat(u,'" may not be used on ').concat(s,"."),{nodes:t}))}}}function t9(e){return{FragmentSpread:function(t){var n=t.name.value;e.getFragment(n)||e.reportError(new y.eO('Unknown fragment "'.concat(n,'".'),{nodes:t.name}))}}}function t7(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ne(e){var t,n=e.getSchema(),r=n?n.getTypeMap():Object.create(null),i=Object.create(null),a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return t7(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t7(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.getDocument().definitions);try{for(a.s();!(t=a.n()).done;){var o=t.value;(0,tq.a6)(o)&&(i[o.name.value]=!0)}}catch(e){a.e(e)}finally{a.f()}var u=[].concat((0,f.default)(Object.keys(r)),(0,f.default)(Object.keys(i)));return{NamedType:function(t,n,a,o,c){var s=t.name.value;if(!r[s]&&!i[s]){var l,f,p=null!=(f=c[2])?f:a,d=null!=p&&"kind"in(l=p)&&((0,tq.xu)(l)||(0,tq.fT)(l));if(d&&nt.includes(s))return;var v=R(s,d?nt.concat(u):u);e.reportError(new y.eO('Unknown type "'.concat(s,'".')+g(v),{nodes:t}))}}}}var nt=[].concat((0,f.default)(e2),(0,f.default)(tO)).map(function(e){return e.name});function nn(e){var t=0;return{Document:function(e){t=e.definitions.filter(function(e){return e.kind===C.b.OPERATION_DEFINITION}).length},OperationDefinition:function(n){!n.name&&t>1&&e.reportError(new y.eO("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function nr(e){var t,n,r,i=e.getSchema(),a=null!=(t=null!=(n=null!=(r=null==i?void 0:i.astNode)?r:null==i?void 0:i.getQueryType())?n:null==i?void 0:i.getMutationType())?t:null==i?void 0:i.getSubscriptionType(),o=0;return{SchemaDefinition:function(t){if(a)return void e.reportError(new y.eO("Cannot define a new schema within a schema extension.",{nodes:t}));o>0&&e.reportError(new y.eO("Must provide only one schema definition.",{nodes:t})),++o}}}function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function na(e){return{Field:function(t){if(("__schema"===t.name.value||"__type"===t.name.value)&&function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object.create(null),i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n.kind===C.b.FRAGMENT_SPREAD){var a=n.name.value;if(!0===r[a])return!1;var o=e.getFragment(a);if(!o)return!1;try{return r[a]=!0,t(o,r,i)}finally{r[a]=void 0}}if(n.kind===C.b.FIELD&&("fields"===n.name.value||"interfaces"===n.name.value||"possibleTypes"===n.name.value||"inputFields"===n.name.value)&&++i>=3)return!0;if("selectionSet"in n&&n.selectionSet){var u,c=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ni(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ni(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(n.selectionSet.selections);try{for(c.s();!(u=c.n()).done;){var s=u.value;if(t(s,r,i))return!0}}catch(e){c.e(e)}finally{c.f()}}return!1}(t))return e.reportError(new y.eO("Maximum introspection depth exceeded",{nodes:[t]})),!1}}}function no(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nu(e){var t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(i){return function i(a){if(!t[a.name.value]){var o=a.name.value;t[o]=!0;var u=e.getFragmentSpreads(a.selectionSet);if(0!==u.length){r[o]=n.length;var c,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return no(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?no(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(u);try{for(s.s();!(c=s.n()).done;){var l=c.value,f=l.name.value,p=r[f];if(n.push(l),void 0===p){var d=e.getFragment(f);d&&i(d)}else{var v=n.slice(p),h=v.slice(0,-1).map(function(e){return'"'+e.name.value+'"'}).join(", ");e.reportError(new y.eO('Cannot spread fragment "'.concat(f,'" within itself')+(""!==h?" via ".concat(h,"."):"."),{nodes:v}))}n.pop()}}catch(e){s.e(e)}finally{s.f()}r[o]=void 0}}}(i),!1}}}function nc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ns(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nc(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nc(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.getRecursiveVariableUsages(n));try{for(i.s();!(r=i.n()).done;){var a=r.value.node,o=a.name.value;!0!==t[o]&&e.reportError(new y.eO(n.name?'Variable "$'.concat(o,'" is not defined by operation "').concat(n.name.value,'".'):'Variable "$'.concat(o,'" is not defined.'),{nodes:[a,n]}))}}catch(e){i.e(e)}finally{i.f()}}},VariableDefinition:function(e){t[e.variable.name.value]=!0}}}function nl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nf(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 r=Object.create(null),i=0;i<t.length;i++){var a,o=t[i],u=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nl(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nl(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.getRecursivelyReferencedFragments(o));try{for(u.s();!(a=u.n()).done;)r[a.value.name.value]=!0}catch(e){u.e(e)}finally{u.f()}}for(var c=0;c<n.length;c++){var s=n[c],l=s.name.value;!0!==r[l]&&e.reportError(new y.eO('Fragment "'.concat(l,'" is never used.'),{nodes:s}))}}}}}function np(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}
1function nd(e){var t=[];return{OperationDefinition:{enter:function(){t=[]},leave:function(n){var r,i=Object.create(null),a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return np(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?np(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.getRecursiveVariableUsages(n));try{for(a.s();!(r=a.n()).done;)i[r.value.node.name.value]=!0}catch(e){a.e(e)}finally{a.f()}for(var o=0,u=t;o<u.length;o++){var c=u[o],s=c.variable.name.value;!0!==i[s]&&e.reportError(new y.eO(n.name?'Variable "$'.concat(s,'" is never used in operation "').concat(n.name.value,'".'):'Variable "$'.concat(s,'" is never used.'),{nodes:c}))}}},VariableDefinition:function(e){t.push(e)}}}function nv(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 ny(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nv(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nh(e){switch(e.kind){case C.b.OBJECT:return ny(ny({},e),{},{fields:e.fields.map(function(e){return ny(ny({},e),{},{value:nh(e.value)})}).sort(function(e,t){return _(e.name.value,t.name.value)})});case C.b.LIST:return ny(ny({},e),{},{values:e.values.map(nh)});case C.b.INT:case C.b.FLOAT:case C.b.STRING:case C.b.BOOLEAN:case C.b.NULL:case C.b.ENUM:case C.b.VARIABLE:return e}}function nm(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ng(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ng(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function ng(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nb(e){var t=new nS,n=new n_,r=new Map;return{SelectionSet:function(i){var a,o=nm(function(e,t,n,r,i,a){var o=[],u=nI(e,t,i,a),c=(0,m.default)(u,2),s=c[0],l=c[1];if(function(e,t,n,r,i,a){for(var o=0,u=Object.entries(a);o<u.length;o++){var c=(0,m.default)(u[o],2),s=c[0],l=c[1];if(l.length>1)for(var f=0;f<l.length;f++)for(var p=f+1;p<l.length;p++){var d=nN(e,n,r,i,!1,s,l[f],l[p]);d&&t.push(d)}}}(e,o,t,n,r,s),0!==l.length)for(var f=0;f<l.length;f++){nE(e,o,t,n,r,!1,s,l[f]);for(var p=f+1;p<l.length;p++)nT(e,o,t,n,r,!1,l[f],l[p])}return o}(e,r,t,n,e.getParentType(),i));try{for(o.s();!(a=o.n()).done;){var u=(0,m.default)(a.value,3),c=(0,m.default)(u[0],2),s=c[0],l=c[1],f=u[1],p=u[2],d=function e(t){return Array.isArray(t)?t.map(function(t){var n=(0,m.default)(t,2),r=n[0],i=n[1];return'subfields "'.concat(r,'" conflict because ')+e(i)}).join(" and "):t}(l);e.reportError(new y.eO('Fields "'.concat(s,'" conflict because ').
1concat(d,". Use different aliases on the fields to fetch both if this was intentional."),{nodes:f.concat(p)}))}}catch(e){o.e(e)}finally{o.f()}}}}function nE(e,t,n,r,i,a,o,u){if(!r.has(o,u,a)){r.add(o,u,a);var c=e.getFragment(u);if(c){var s=nA(e,n,c),l=(0,m.default)(s,2),f=l[0],p=l[1];if(o!==f){nO(e,t,n,r,i,a,o,f);var d,v=nm(p);try{for(v.s();!(d=v.n()).done;){var y=d.value;nE(e,t,n,r,i,a,o,y)}}catch(e){v.e(e)}finally{v.f()}}}}}function nT(e,t,n,r,i,a,o,u){if(!(o===u||i.has(o,u,a))){i.add(o,u,a);var c=e.getFragment(o),s=e.getFragment(u);if(c&&s){var l=nA(e,n,c),f=(0,m.default)(l,2),p=f[0],d=f[1],v=nA(e,n,s),y=(0,m.default)(v,2),h=y[0],g=y[1];nO(e,t,n,r,i,a,p,h);var b,E=nm(g);try{for(E.s();!(b=E.n()).done;){var T=b.value;nT(e,t,n,r,i,a,o,T)}}catch(e){E.e(e)}finally{E.f()}var O,N=nm(d);try{for(N.s();!(O=N.n()).done;){var I=O.value;nT(e,t,n,r,i,a,I,u)}}catch(e){N.e(e)}finally{N.f()}}}}function nO(e,t,n,r,i,a,o,u){for(var c=0,s=Object.entries(o);c<s.length;c++){var l=(0,m.default)(s[c],2),f=l[0],p=l[1],d=u[f];if(d){var v,y=nm(p);try{for(y.s();!(v=y.n()).done;){var h,g=v.value,b=nm(d);try{for(b.s();!(h=b.n()).done;){var E=h.value,T=nN(e,n,r,i,a,f,g,E);T&&t.push(T)}}catch(e){b.e(e)}finally{b.f()}}}catch(e){y.e(e)}finally{y.f()}}}}function nN(e,t,n,r,i,a,o,u){var c=(0,m.default)(o,3),s=c[0],l=c[1],p=c[2],d=(0,m.default)(u,3),y=d[0],h=d[1],g=d[2],b=i||s!==y&&q(s)&&q(y);if(!b){var E=l.name.value,T=h.name.value;if(E!==T)return[[a,'"'.concat(E,'" and "').concat(T,'" are different fields')],[l],[h]];if(!function(e,t){var n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;var i=new Map(r.map(function(e){var t=e.name,n=e.value;return[t.value,n]}));return n.every(function(e){var t=e.value,n=i.get(e.name.value);return void 0!==n&&function(e){return(0,U.y)(nh(e))}(t)===function(e){return(0,U.y)(nh(e))}(n)})}(l,h))return[[a,"they have differing arguments"],[l],[h]]}var O=null==p?void 0:p.type,N=null==g?void 0:g.type;if(O&&N&&function e(t,n){return et(t)?!et(n)||e(t.ofType,n.ofType):!!et(n)||(er(t)?!er(n)||e(t.ofType,n.ofType):!!er(n)||!!(es(t)||es(n))&&t!==n)}(O,N))return[[a,'they return conflicting types "'.concat((0,v.N)(O),'" and "').concat((0,v.N)(N),'"')],[l],[h]];var I=l.selectionSet,A=h.selectionSet;if(I&&A){var S=function(e,t,n,r,i,a,o,u,c){var s=[],l=nI(e,t,a,o),f=(0,m.default)(l,2),p=f[0],d=f[1],v=nI(e,t,u,c),y=(0,m.default)(v,2),h=y[0],g=y[1];nO(e,s,t,n,r,i,p,h);var b,E=nm(g);try{for(E.s();!(b=E.n()).done;){var T=b.value;nE(e,s,t,n,r,i,p,T)}}catch(e){E.e(e)}finally{E.f()}var O,N=nm(d);try{for(N.s();!(O=N.n()).done;){var I=O.value;nE(e,s,t,n,r,i,h,I)}}catch(e){N.e(e)}finally{N.f()}var A,S=nm(d);try{for(S.s();!(A=S.n()).done;){var _,w=A.value,k=nm(g);try{for(k.s();!(_=k.n()).done;){var D=_.value;nT(e,s,t,n,r,i,w,D)}}catch(e){k.e(e)}finally{k.f()}}}catch(e){S.e(e)}finally{S.f()}return s}(e,t,n,r,b,eI(O),I,eI(N),A),_=a,w=l,k=h;return S.length>0?[[_,S.map(function(e){return(0,m.default)(e,1)[0]})],[w].concat((0,f.default)(S.map(function(e){return(0,m.default)(e,2)[1]}).flat())),[k].concat((0,f.default)(S.map(function(e){return(0,m.default)(e,3)[2]}).flat()))]:void 0}}function nI(e,t,n,r){var i=t.get(r);if(i)return i;var a=Object.create(null),o=Object.create(null);!function e(t,n,r,i,a){var o,u=nm(r.selections);try{for(u.s();!(o=u.n()).done;){var c=o.value;switch(c.kind){case C.b.FIELD:var s=c.name.value,l=void 0;(q(n)||H(n))&&(l=n.getFields()[s]);var f=c.alias?c.alias.value:s;i[f]||(i[f]=[]),i[f].push([n,c,l]);break;case C.b.FRAGMENT_SPREAD:a[c.name.value]=!0;break;case C.b.INLINE_FRAGMENT:var p=c.typeCondition,d=p?tB(t.getSchema(),p):n;e(t,d,c.selectionSet,i,a)}}}catch(e){u.e(e)}finally{u.f()}}(e,n,r,a,o);var u=[a,Object.keys(o)];return t.set(r,u),u}function nA(e,t,n){var r=t.get(n.selectionSet);if(r)return r;var i=tB(e.getSchema(),n.typeCondition);return nI(e,t,i,n.selectionSet)}var nS=(0,d.default)(function e(){(0,p.default)(this,e),this._data=new Map},[{key:"has",value:function(e,t,n){var r,i=null==(r=this._data.get(e))?void 0:r.get(t);return void 0!==i&&(!!n||n===i)}},{key:"add",value:function(e,t,n){var r=this._data.get(e);void 0===r?this._data.set(e,new Map([[t,n]])):r.set(t,n)}}]),n_=(0,d.default)(function e(){(0,p.default)(this,e),this._orderedPairSet=new nS},[{key:"has",value:function(e,t,n){return e<t?this._orderedPairSet.has(e,t,n):this._orderedPairSet.has(t,e,n)}},{key:"add",value:function(e,t,n){e<t?this._orderedPairSet.add(e,t,n):this._orderedPairSet.add(t,e,n)}}]);function nw(e){return{InlineFragment:function(t){var n=e.getType(),r=e.getParentType();if(ef(n)&&ef(r)&&!eH(e.getSchema(),n,r)){var i=(0,v.N)(r),a=(0,v.N)(n);e.reportError(new y.eO('Fragment cannot be spread here as objects of type "'.concat(i,'" can never be of type "').concat(a,'".'),{nodes:t}))}},FragmentSpread:function(t){var n=t.name.value,r=function(e,t){var n=e.getFragment(t);if(n){var r=tB(e.getSchema(),n.typeCondition);if(ef(r))return r}}(e,n),i=e.getParentType();if(r&&i&&!eH(e.getSchema(),r,i)){var a=(0,v.N)(i),o=(0,v.N)(r);e.reportError(new y.eO('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(a,'" can never be of type "').concat(o,'".'),{nodes:t}))}}}}function nk(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 nD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?nk(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nx(e){var t,n=e.getSchema(),r=Object.create(null),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nR(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nR(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.getDocument().definitions);try{for(i.s();!(t=i.n()).done;){var a=t.value;(0,tq.a6)(a)&&(r[a.name.value]=a)}}catch(e){i.e(e)}finally{i.f()}return{ScalarTypeExtension:o,ObjectTypeExtension:o,InterfaceTypeExtension:o,UnionTypeExtension:o,EnumTypeExtension:o,InputObjectTypeExtension:o};function o(t){var i,a,o=t.name.value,u=r[o],c=null==n?void 0:n.getType(o);if(u?a=nL[u.kind]:c&&(a=G(i=c)?C.b.SCALAR_TYPE_EXTENSION:q(i)?C.b.OBJECT_TYPE_EXTENSION:H(i)?C.b.INTERFACE_TYPE_EXTENSION:$(i)?C.b.UNION_TYPE_EXTENSION:X(i)?C.b.ENUM_TYPE_EXTENSION:Z(i)?C.b.INPUT_OBJECT_TYPE_EXTENSION:void(0,to.V)(!1,"Unexpected type: "+(0,v.N)(i))),a){if(a!==t.kind){var s=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";default:(0,to.V)(!1,"Unexpected kind: "+(0,v.N)(e))}}(t.kind);e.reportError(new y.eO("Cannot extend non-".concat(s,' type "').concat(o,'".'),{nodes:u?[u,t]:t}))}}else{var l=R(o,Object.keys(nD(nD({},r),null==n?void 0:n.getTypeMap())));e.reportError(new y.eO('Cannot extend type "'.concat(o,'" because it is not defined.')+g(l),{nodes:t.name}))}}}var nL=(0,tW.default)((0,tW.default)((0,tW.default)((0,tW.default)((0,tW.default)((0,tW.default)({},C.b.SCALAR_TYPE_DEFINITION,C.b.SCALAR_TYPE_EXTENSION),C.b.OBJECT_TYPE_DEFINITION,C.b.OBJECT_TYPE_EXTENSION),C.b.INTERFACE_TYPE_DEFINITION,C.b.INTERFACE_TYPE_EXTENSION),C.b.UNION_TYPE_DEFINITION,C.b.UNION_TYPE_EXTENSION),C.b.ENUM_TYPE_DEFINITION,C.b.ENUM_TYPE_EXTENSION),C.b.INPUT_OBJECT_TYPE_DEFINITION,C.b.INPUT_OBJECT_TYPE_EXTENSION);function nj(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nC(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nC(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function nC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nU(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 nF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?nU(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nP(e){return nF(nF({},nV(e)),{},{Field:{leave:function(t){var n=e.getFieldDef();if(!n)return!1;var r,i,a=new Set(null==(r=t.arguments)?void 0:r.map(function(e){return e.name.value})),o=nj(n.args);try{for(o.s();!(i=o.n()).done;){var u=i.value;if(!a.has(u.name)&&eC(u)){var c=(0,v.N)(u.type);e.reportError(new y.eO('Field "'.concat(n.name,'" argument "').concat(u.name,'" of type "').concat(c,'" is required, but it was not provided.'),{nodes:t}))}}}catch(e){o.e(e)}finally{o.f()}}}})}function nV(e){var t,n,r=Object.create(null),i=e.getSchema(),a=nj(null!=(t=null==i?void 0:i.getDirectives())?t:ti);try{for(a.s();!(n=a.n()).done;){var o=n.value;r[o.name]=N(o.args.filter(eC),function(e){return e.name})}}catch(e){a.e(e)}finally{a.f()}var u,c=nj(e.getDocument().definitions);try{for(c.s();!(u=c.n()).done;){var s=u.value;if(s.kind===C.b.DIRECTIVE_DEFINITION){var l,f=null!=(l=s.arguments)?l:[];r[s.name.value]=N(f.filter(nM),function(e){return e.name.value})}}}catch(e){c.e(e)}finally{c.f()}return{Directive:{leave:function(t){var n=t.name.value,i=r[n];if(i)for(var a,o=new Set((null!=(a=t.arguments)?a:[]).map(function(e){return e.name.value})),u=0,c=Object.entries(i);u<c.length;u++){var s=(0,m.default)(c[u],2),l=s[0],f=s[1];if(!o.has(l)){var p=B(f.type)?(0,v.N)(f.type):(0,U.y)(f.type);e.reportError(new y.eO('Directive "@'.concat(n,'" argument "').concat(l,'" of type "').concat(p,'" is required, but it was not provided.'),{nodes:t}))}}}}}}function nM(e){return e.type.kind===C.b.NON_NULL_TYPE&&null==e.defaultValue}function nB(e){return{Field:function(t){var n=e.getType(),r=t.selectionSet;if(n)if(es(eI(n))){if(r){var i=t.name.value,a=(0,v.N)(n);e.reportError(new y.eO('Field "'.concat(i,'" must not have a selection since type "').concat(a,'" has no subfields.'),{nodes:r}))}}else if(r){if(0===r.selections.length){var o=t.name.value,u=(0,v.N)(n);e.reportError(new y.eO('Field "'.concat(o,'" of type "').concat(u,'" must have at least one field selected.'),{nodes:t}))}}else{var c=t.name.value,s=(0,v.N)(n);e.reportError(new y.eO('Field "'.concat(c,'" of type "').concat(s,'" must have a selection of subfields. Did you mean "').concat(c,' { ... }"?'),{nodes:t}))}}}}function nY(e){return e.map(function(e){return"number"==typeof e?"["+e.toString()+"]":"."+e}).join("")}function nG(e,t,n){return{prev:e,key:t,typename:n}}function nQ(e){for(var t=[],n=e;n;)t.push(n.key),n=n.prev;return t.reverse()}function nq(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:nJ;return function e(t,n,r,i){if(er(n))return null!=t?e(t,n.ofType,r,i):void r(nQ(i),t,new y.eO('Expected non-nullable type "'.concat((0,v.N)(n),'" not to be null.')));if(null==t)return null;if(et(n)){var a,o=n.ofType;return tu(t)?Array.from(t,function(t,n){return e(t,o,r,nG(i,n,void 0))}):[e(t,o,r,i)]}if(Z(n)){if(!(0,T.Z)(t)||Array.isArray(t))return void r(nQ(i),t,new y.eO('Expected type "'.concat(n.name,'" to be an object.')));for(var u={},c=n.getFields(),s=0,l=Object.values(c);s<l.length;s++){var f=l[s],p=t[f.name];if(void 0===p){if(void 0!==f.defaultValue)u[f.name]=f.defaultValue;else if(er(f.type)){var d=(0,v.N)(f.type);r(nQ(i),t,new y.eO('Field "'.concat(f.name,'" of required type "').concat(d,'" was not provided.')))}continue}u[f.name]=e(p,f.type,r,nG(i,f.name,n.name))}for(var h=0,m=Object.keys(t);h<m.length;h++){var b=m[h];if(!c[b]){var E=R(b,Object.keys(n.getFields()));r(nQ(i),t,new y.eO('Field "'.concat(b,'" is not defined by type "').concat(n.name,'".')+g(E)))}}if(n.isOneOf){var O=Object.keys(u);1!==O.length&&r(nQ(i),t,new y.eO('Exactly one key must be specified for OneOf type "'.concat(n.name,'".')));var N=O[0],I=u[N];null===I&&r(nQ(i).concat(N),I,new y.eO('Field "'.concat(N,'" must be non-null.')))}return u}if(es(n)){try{a=n.parseValue(t)}catch(e){e instanceof y.eO?r(nQ(i),t,e):r(nQ(i),t,new y.eO('Expected type "'.concat(n.name,'". ')+e.message,{originalError:e}));return}return void 0===a&&r(nQ(i),t,new y.eO('Expected type "'.concat(n.name,'".'))),a}(0,to.V)(!1,"Unexpected input type: "+(0,v.N)(n))}(e,t,n,void 0)}function nJ(e,t,n){var r="Invalid value "+(0,v.N)(t);throw e.length>0&&(r+=' at "value'.concat(nY(e),'"')),n.message=r+": "+n.message,n}function nH(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nK(e,t,n){if(e){if(e.kind===C.b.VARIABLE){var r,i=e.name.value;if(null==n||void 0===n[i])return;var a=n[i];if(null===a&&er(t))return;return a}if(er(t)){if(e.kind===C.b.NULL)return;return nK(e,t.ofType,n)}if(e.kind===C.b.NULL)return null;if(et(t)){var o=t.ofType;if(e.kind===C.b.LIST){var u,c=[],s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nH(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nH(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.values);try{for(s.s();!(u=s.n()).done;){var l=u.value;if(n$(l,n)){if(er(o))return;c.push(null)}else{var f=nK(l,o,n);if(void 0===f)return;c.push(f)}}}catch(e){s.e(e)}finally{s.f()}return c}var p=nK(e,o,n);if(void 0===p)return;return[p]}if(Z(t)){if(e.kind!==C.b.OBJECT)return;for(var d=Object.create(null),y=N(e.fields,function(e){return e.name.value}),h=0,m=Object.values(t.getFields());h<m.length;h++){var g=m[h],b=y[g.name];if(!b||n$(b.value,n)){if(void 0!==g.defaultValue)d[g.name]=g.defaultValue;else if(er(g.type))return;continue}var E=nK(b.value,g.type,n);if(void 0===E)return;d[g.name]=E}if(t.isOneOf){var T=Object.keys(d);if(1!==T.length||null===d[T[0]])return}return d}if(es(t)){try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}(0,to.V)(!1,"Unexpected input type: "+(0,v.N)(t))}}function n$(e,t){return e.kind===C.b.VARIABLE&&(null==t||void 0===t[e.name.value])}function nz(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return nX(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nX(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function nX(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nW(e,t,n,r){var i=[],a=null==r?void 0:r.maxErrors;try{var o=function(e,t,n,r){var i,a,o={},u=nz(t);try{for(u.s();!(a=u.n()).done;)if(i=function(){var t=a.value,i=t.variable.name.value,u=tB(e,t.type);if(!ea(u)){var c=(0,U.y)(t.type);return r(new y.eO('Variable "$'.concat(i,'" expected value of type "').concat(c,'" which cannot be used as an input type.'),{nodes:t.type})),0}if(!n1(n,i)){if(t.defaultValue)o[i]=nK(t.defaultValue,u);else if(er(u)){var s=(0,v.N)(u);r(new y.eO('Variable "$'.concat(i,'" of required type "').concat(s,'" was not provided.'),{nodes:t}))}return 0}var l=n[i];if(null===l&&er(u)){var f=(0,v.N)(u);return r(new y.eO('Variable "$'.concat(i,'" of non-null type "').concat(f,'" must not be null.'),{nodes:t})),0}o[i]=nq(l,u,function(e,n,a){var o='Variable "$'.concat(i,'" got invalid value ')+(0,v.N)(n);e.length>0&&(o+=' at "'.concat(i).concat(nY(e),'"')),r(new y.eO(o+"; "+a.message,{nodes:t,originalError:a}))})}(),0===i)continue}catch(e){u.e(e)}finally{u.f()}return o}(e,t,n,function(e){if(null!=a&&i.length>=a)throw new y.eO("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:o}}catch(e){i.push(e)}return{errors:i}}function nZ(e,t,n){var r,i,a={},o=N(null!=(r=t.arguments)?r:[],function(e){return e.name.value}),u=nz(e.args);try{for(u.s();!(i=u.n()).done;){var c=i.value,s=c.name,l=c.type,f=o[s];if(!f){if(void 0!==c.defaultValue)a[s]=c.defaultValue;else if(er(l))throw new y.eO('Argument "'.concat(s,'" of required type "').concat((0,v.N
1)(l),'" ')+"was not provided.",{nodes:t});continue}var p=f.value,d=p.kind===C.b.NULL;if(p.kind===C.b.VARIABLE){var h=p.name.value;if(null==n||!n1(n,h)){if(void 0!==c.defaultValue)a[s]=c.defaultValue;else if(er(l))throw new y.eO('Argument "'.concat(s,'" of required type "').concat((0,v.N)(l),'" ')+'was provided the variable "$'.concat(h,'" which was not provided a runtime value.'),{nodes:p});continue}d=null==n[h]}if(d&&er(l))throw new y.eO('Argument "'.concat(s,'" of non-null type "').concat((0,v.N)(l),'" ')+"must not be null.",{nodes:p});var m=nK(p,l,n);if(void 0===m)throw new y.eO('Argument "'.concat(s,'" has invalid value ').concat((0,U.y)(p),"."),{nodes:p});a[s]=m}}catch(e){u.e(e)}finally{u.f()}return a}function n0(e,t,n){var r,i=null==(r=t.directives)?void 0:r.find(function(t){return t.name.value===e.name});if(i)return nZ(e,i,n)}function n1(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function n2(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return n8(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?n8(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function n8(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function n3(e,t,n,r,i){var a=new Map;return n6(e,t,n,r,i,a,new Set),a}function n6(e,t,n,r,i,a,o){var u,c=n2(i.selections);try{for(c.s();!(u=c.n()).done;){var s=u.value;switch(s.kind){case C.b.FIELD:if(!n4(n,s))continue;var l,f=(l=s).alias?l.alias.value:l.name.value,p=a.get(f);void 0!==p?p.push(s):a.set(f,[s]);break;case C.b.INLINE_FRAGMENT:if(!n4(n,s)||!n5(e,s,r))continue;n6(e,t,n,r,s.selectionSet,a,o);break;case C.b.FRAGMENT_SPREAD:var d=s.name.value;if(o.has(d)||!n4(n,s))continue;o.add(d);var v=t[d];if(!v||!n5(e,v,r))continue;n6(e,t,n,r,v.selectionSet,a,o)}}}catch(e){c.e(e)}finally{c.f()}}function n4(e,t){var n=n0(e7,t,e);if((null==n?void 0:n.if)===!0)return!1;var r=n0(e9,t,e);return(null==r?void 0:r.if)!==!1}function n5(e,t,n){var r=t.typeCondition;if(!r)return!0;var i=tB(e,r);return i===n||!!ed(i)&&e.isSubType(i,n)}function n9(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return n7(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?n7(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function n7(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function re(e){return{OperationDefinition:function(t){if("subscription"===t.operation){var n=e.getSchema(),r=n.getSubscriptionType();if(r){var i,a=t.name?t.name.value:null,o=Object.create(null),u=e.getDocument(),c=Object.create(null),s=n9(u.definitions);try{for(s.s();!(i=s.n()).done;){var l=i.value;l.kind===C.b.FRAGMENT_DEFINITION&&(c[l.name.value]=l)}}catch(e){s.e(e)}finally{s.f()}var p=n3(n,c,o,r,t.selectionSet);if(p.size>1){var d=(0,f.default)(p.values()).slice(1).flat();e.reportError(new y.eO(null!=a?'Subscription "'.concat(a,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",{nodes:d}))}var v,h=n9(p.values());try{for(h.s();!(v=h.n()).done;){var m=v.value;m[0].name.value.startsWith("__")&&e.reportError(new y.eO(null!=a?'Subscription "'.concat(a,'" must not select an introspection top level field.'):"Anonymous Subscription must not select an introspection top level field.",{nodes:m}))}}catch(e){h.e(e)}finally{h.f()}}}}}}function rt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rn(e,t){var n,r=new Map,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rt(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rt(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(i.s();!(n=i.n()).done;){var a=n.value,o=t(a),u=r.get(o);void 0===u?r.set(o,[a]):u.push(a)}}catch(e){i.e(e)}finally{i.f()}return r}function rr(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ri(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ri(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function ri(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ra(e){return{DirectiveDefinition:function(e){var t,r=null!=(t=e.arguments)?t:[];return n("@".concat(e.name.value),r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r,i=e.name.value,a=rr(null!=(t=e.fields)?t:[]);try{for(a.s();!(r=a.n()).done;){var o,u=r.value,c=u.name.value,s=null!=(o=u.arguments)?o:[];n("".concat(i,".").concat(c),s)}}catch(e){a.e(e)}finally{a.f()}return!1}function n(t,n){var r,i=rr(rn(n,function(e){return e.name.value}));try{for(i.s();!(r=i.n()).done;){var a=(0,m.default)(r.value,2),o=a[0],u=a[1];u.length>1&&e.reportError(new y.eO('Argument "'.concat(t,"(").concat(o,':)" can only be defined once.'),{nodes:u.map(function(e){return e.name})}))}}catch(e){i.e(e)}finally{i.f()}return!1}}function ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ru(e){return{Field:t,Directive:t};function t(t){var n,r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ro(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ro(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(rn(null!=(n=t.arguments)?n:[],function(e){return e.name.value}));try{for(i.s();!(r=i.n()).done;){var a=(0,m.default)(r.value,2),o=a[0],u=a[1];u.length>1&&e.reportError(new y.eO('There can be only one argument named "'.concat(o,'".'),{nodes:u.map(function(e){return e.name})}))}}catch(e){i.e(e)}finally{i.f()}}}function rc(e){var t=Object.create(null),n=e.getSchema();return{DirectiveDefinition:function(r){var i=r.name.value;return null!=n&&n.getDirective(i)?void e.reportError(new y.eO('Directive "@'.concat(i,'" already exists in the schema. It cannot be redefined.'),{nodes:r.name})):(t[i]?e.reportError(new y.eO('There can be only one directive named "@'.concat(i,'".'),{nodes:[t[i],r.name]})):t[i]=r.name,!1)}}}function rs(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rl(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rl(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function rl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rf(e){var t,n=Object.create(null),r=e.getSchema(),i=rs(r?r.getDirectives():ti);try{for(i.s();!(t=i.n()).done;){var a=t.value;n[a.name]=!a.isRepeatable}}catch(e){i.e(e)}finally{i.f()}var o,u=rs(e.getDocument().definitions);try{for(u.s();!(o=u.n()).done;){var c=o.value;c.kind===C.b.DIRECTIVE_DEFINITION&&(n[c.name.value]=!c.repeatable)}}catch(e){u.e(e)}finally{u.f()}var s=Object.create(null),l=Object.create(null);
1return{enter:function(t){if("directives"in t&&t.directives){if(t.kind===C.b.SCHEMA_DEFINITION||t.kind===C.b.SCHEMA_EXTENSION)i=s;else if((0,tq.a6)(t)||(0,tq.i7)(t)){var r=t.name.value;void 0===(i=l[r])&&(l[r]=i=Object.create(null))}else i=Object.create(null);var i,a,o=rs(t.directives);try{for(o.s();!(a=o.n()).done;){var u=a.value,c=u.name.value;n[c]&&(i[c]?e.reportError(new y.eO('The directive "@'.concat(c,'" can only be used once at this location.'),{nodes:[i[c],u]})):i[c]=u)}}catch(e){o.e(e)}finally{o.f()}}}}}function rp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rd(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i=t.name.value;r[i]||(r[i]=Object.create(null));var a,o,u=null!=(a=t.values)?a:[],c=r[i],s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rp(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rp(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(u);try{for(s.s();!(o=s.n()).done;){var l=o.value,f=l.name.value,p=n[i];X(p)&&p.getValue(f)?e.reportError(new y.eO('Enum value "'.concat(i,".").concat(f,'" already exists in the schema. It cannot also be defined in this type extension.'),{nodes:l.name})):c[f]?e.reportError(new y.eO('Enum value "'.concat(i,".").concat(f,'" can only be defined once.'),{nodes:[c[f],l.name]})):c[f]=l.name}}catch(e){s.e(e)}finally{s.f()}return!1}}function rv(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function ry(e){var t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i=t.name.value;r[i]||(r[i]=Object.create(null));var a,o,u=null!=(a=t.fields)?a:[],c=r[i],s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rv(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rv(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(u);try{for(s.s();!(o=s.n()).done;){var l,f,p=o.value,d=p.name.value;(l=n[i],f=d,(q(l)||H(l)||Z(l))&&null!=l.getFields()[f])?e.reportError(new y.eO('Field "'.concat(i,".").concat(d,'" already exists in the schema. It cannot also be defined in this type extension.'),{nodes:p.name})):c[d]?e.reportError(new y.eO('Field "'.concat(i,".").concat(d,'" can only be defined once.'),{nodes:[c[d],p.name]})):c[d]=p.name}}catch(e){s.e(e)}finally{s.f()}return!1}}function rh(e){var t=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var r=n.name.value;return t[r]?e.reportError(new y.eO('There can be only one fragment named "'.concat(r,'".'),{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}function rm(e){var t=[],n=Object.create(null);return{ObjectValue:{enter:function(){t.push(n),n=Object.create(null)},leave:function(){var e=t.pop();e||(0,to.V)(!1),n=e}},ObjectField:function(t){var r=t.name.value;n[r]?e.reportError(new y.eO('There can be only one input field named "'.concat(r,'".'),{nodes:[n[r],t.name]})):n[r]=t.name}}}function rg(e){var t=Object.create(null);return{OperationDefinition:function(n){var r=n.name;return r&&(t[r.value]?e.reportError(new y.eO('There can be only one operation named "'.concat(r.value,'".'),{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:function(){return!1}}}function rb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rE(e){var t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i,a,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rb(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rb(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(null!=(i=t.operationTypes)?i:[]);try{for(o.s();!(a=o.n()).done;){var u=a.value,c=u.operation,s=n[c];r[c]?e.reportError(new y.eO("Type for ".concat(c," already defined in the schema. It cannot be redefined."),{nodes:u})):s?e.reportError(new y.eO("There can be only one ".concat(c," type in schema."),{nodes:[s,u]})):n[c]=u}}catch(e){o.e(e)}finally{o.f()}return!1}}function rT(e){var t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){var i=r.name.value;return null!=n&&n.getType(i)?void e.reportError(new y.eO('Type "'.concat(i,'" already exists in the schema. It cannot also be defined in this type definition.'),{nodes:r.name})):(t[i]?e.reportError(new y.eO('There can be only one type named "'.concat(i,'".'),{nodes:[t[i],r.name]})):t[i]=r.name,!1)}}function rO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rN(e){return{OperationDefinition:function(t){var n,r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rO(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rO(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(rn(null!=(n=t.variableDefinitions)?n:[],function(e){return e.variable.name.value}));try{for(i.s();!(r=i.n()).done;){var a=(0,m.default)(r.value,2),o=a[0],u=a[1];u.length>1&&e.reportError(new y.eO('There can be only one variable named "$'.concat(o,'".'),{nodes:u.map(function(e){return e.variable.name})}))}}catch(e){i.e(e)}finally{i.f()}}}}function rI(e){var t={};return{OperationDefinition:{enter:function(){t={}}},VariableDefinition:function(e){t[e.variable.name.value]=e},ListValue:function(t){if(!et(eT(e.getParentInputType())))return rA(e,t),!1},ObjectValue:function(n){var r=eI(e.getInputType());if(!Z(r))return rA(e,n),!1;for(var i=N(n.fields,function(e){return e.name.value}),a=0,o=Object.values(r.getFields());a<o.length;a++){var u=o[a];if(!i[u.name]&&eQ(u)){var c=(0,v.N)(u.type);e.reportError(new y.eO('Field "'.concat(r.name,".").concat(u.name,'" of required type "').concat(c,'" was not provided.'),{nodes:n}))}}r.isOneOf&&function(e,t,n,r,i){var a,o=Object.keys(r);if(1!==o.length)return e.reportError(new y.eO('OneOf Input Object "'.concat(n.name,'" must specify exactly one key.'),{nodes:[t]}));var u=null==(a=r[o[0]])?void 0:a.value,c=!u||u.kind===C.b.NULL,s=(null==u?void 0:u.kind)===C.b.VARIABLE;if(c)return e.reportError(new y.eO('Field "'.concat(n.name,".").concat(o[0],'" must be non-null.'),{nodes:[t]}));if(s){var l=u.name.value;i[l].type.kind!==C.b.NON_NULL_TYPE&&e.reportError(new y.eO('Variable "'.concat(l,'" must be non-nullable to be used for OneOf Input Object "').concat(n.name,'".'),{nodes:[t]}))}}(e,n,r,i,t)},ObjectField:function(t){var n=eI(e.getParentInputType());if(!e.getInputType()&&Z(n)){var r=R(t.name.value,Object.keys(n.getFields()));e.reportError(new y.eO('Field "'.concat(t.name.value,'" is not defined by type "').concat(n.name,'".')+g(r),{nodes:t}))}}
1,NullValue:function(t){var n=e.getInputType();er(n)&&e.reportError(new y.eO('Expected value of type "'.concat((0,v.N)(n),'", found ').concat((0,U.y)(t),"."),{nodes:t}))},EnumValue:function(t){return rA(e,t)},IntValue:function(t){return rA(e,t)},FloatValue:function(t){return rA(e,t)},StringValue:function(t){return rA(e,t)},BooleanValue:function(t){return rA(e,t)}}}function rA(e,t){var n=e.getInputType();if(n){var r=eI(n);if(!es(r)){var i=(0,v.N)(n);e.reportError(new y.eO('Expected value of type "'.concat(i,'", found ').concat((0,U.y)(t),"."),{nodes:t}));return}try{var a=r.parseLiteral(t,void 0);if(void 0===a){var o=(0,v.N)(n);e.reportError(new y.eO('Expected value of type "'.concat(o,'", found ').concat((0,U.y)(t),"."),{nodes:t}))}}catch(r){var u=(0,v.N)(n);r instanceof y.eO?e.reportError(r):e.reportError(new y.eO('Expected value of type "'.concat(u,'", found ').concat((0,U.y)(t),"; ")+r.message,{nodes:t,originalError:r}))}}}function rS(e){return{VariableDefinition:function(t){var n=tB(e.getSchema(),t.type);if(void 0!==n&&!ea(n)){var r=t.variable.name.value,i=(0,U.y)(t.type);e.reportError(new y.eO('Variable "$'.concat(r,'" cannot be non-input type "').concat(i,'".'),{nodes:t.type}))}}}}function r_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rw(e){var t=Object.create(null);return{OperationDefinition:{enter:function(){t=Object.create(null)},leave:function(n){var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r_(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r_(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.getRecursiveVariableUsages(n));try{for(i.s();!(r=i.n()).done;){var a=r.value,o=a.node,u=a.type,c=a.defaultValue,s=a.parentType,l=o.name.value,f=t[l];if(f&&u){var p,d,h,m,g,b=e.getSchema(),E=tB(b,f.type);if(E&&(p=b,d=E,h=f.defaultValue,m=u,g=c,er(m)&&!er(d)?!((null!=h&&h.kind!==C.b.NULL||void 0!==g)&&eJ(p,d,m.ofType)):!eJ(p,d,m))){var T=(0,v.N)(E),O=(0,v.N)(u);e.reportError(new y.eO('Variable "$'.concat(l,'" of type "').concat(T,'" used in position expecting type "').concat(O,'".'),{nodes:[f,o]}))}Z(s)&&s.isOneOf&&eb(E)&&e.reportError(new y.eO('Variable "$'.concat(l,'" is of type "').concat(E,'" but must be non-nullable to be used for OneOf Input Object "').concat(s,'".'),{nodes:[f,o]}))}}}catch(e){i.e(e)}finally{i.f()}}},VariableDefinition:function(e){t[e.variable.name.value]=e}}}var rk=Object.freeze([na]),rD=Object.freeze([tH,rg,nn,re,ne,tX,rS,nB,tz,rh,t9,nf,nw,nu,rN,ns,nd,t5,rf,t8,ru,rI,nP,rw,nb,rm].concat((0,f.default)(rk))),rR=Object.freeze([nr,rE,rT,rd,ry,ra,rc,ne,t5,rf,nx,t3,ru,rm,nV]),rx=n(2302),rL=n(5148),rj=n(27583);function rC(e,t,n){return t=(0,rL.default)(t),(0,rx.default)(e,rU()?Reflect.construct(t,n||[],(0,rL.default)(e).constructor):t.apply(e,n))}function rU(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rU=function(){return!!e})()}function rF(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rP(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rP(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
1}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function rP(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rV=(0,d.default)(function e(t,n){(0,p.default)(this,e),this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n},[{key:Symbol.toStringTag,get:function(){return"ASTValidationContext"}},{key:"reportError",value:function(e){this._onError(e)}},{key:"getDocument",value:function(){return this._ast}},{key:"getFragment",value:function(e){var t;if(this._fragments)t=this._fragments;else{t=Object.create(null);var n,r=rF(this.getDocument().definitions);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.kind===C.b.FRAGMENT_DEFINITION&&(t[i.name.value]=i)}}catch(e){r.e(e)}finally{r.f()}this._fragments=t}return t[e]}},{key:"getFragmentSpreads",value:function(e){var t=this._fragmentSpreads.get(e);if(!t){t=[];for(var n=[e];r=n.pop();){var r,i,a=rF(r.selections);try{for(a.s();!(i=a.n()).done;){var o=i.value;o.kind===C.b.FRAGMENT_SPREAD?t.push(o):o.selectionSet&&n.push(o.selectionSet)}}catch(e){a.e(e)}finally{a.f()}}this._fragmentSpreads.set(e,t)}return t}},{key:"getRecursivelyReferencedFragments",value:function(e){var t=this._recursivelyReferencedFragments.get(e);if(!t){t=[];for(var n=Object.create(null),r=[e.selectionSet];i=r.pop();){var i,a,o=rF(this.getFragmentSpreads(i));try{for(o.s();!(a=o.n()).done;){var u=a.value.name.value;if(!0!==n[u]){n[u]=!0;var c=this.getFragment(u);c&&(t.push(c),r.push(c.selectionSet))}}}catch(e){o.e(e)}finally{o.f()}}this._recursivelyReferencedFragments.set(e,t)}return t}}]),rM=function(e){function t(e,n,r){var i;return(0,p.default)(this,t),(i=rC(this,t,[e,r]))._schema=n,i}return(0,rj.default)(t,e),(0,d.default)(t,[{key:Symbol.toStringTag,get:function(){return"SDLValidationContext"}},{key:"getSchema",value:function(){return this._schema}}])}(rV),rB=function(e){function t(e,n,r,i){var a;return(0,p.default)(this,t),(a=rC(this,t,[n,i]))._schema=e,a._typeInfo=r,a._variableUsages=new Map,a._recursiveVariableUsages=new Map,a}return(0,rj.default)(t,e),(0,d.default)(t,[{key:Symbol.toStringTag,get:function(){return"ValidationContext"}},{key:"getSchema",value:function(){return this._schema}},{key:"getVariableUsages",value:function(e){var t=this._variableUsages.get(e);if(!t){var n=[],r=new tY(this._schema);(0,tM.YR)(e,tQ(r,{VariableDefinition:function(){return!1},Variable:function(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue(),parentType:r.getParentInputType()})}})),t=n,this._variableUsages.set(e,t)}return t}},{key:"getRecursiveVariableUsages",value:function(e){var t=this._recursiveVariableUsages.get(e);if(!t){t=this.getVariableUsages(e);var n,r=rF(this.getRecursivelyReferencedFragments(e));try{for(r.s();!(n=r.n()).done;){var i=n.value;t=t.concat(this.getVariableUsages(i))}}catch(e){r.e(e)}finally{r.f()}this._recursiveVariableUsages.set(e,t)}return t}},{key:"getType",value:function(){return this._typeInfo.getType()}},{key:"getParentType",value:function(){return this._typeInfo.getParentType()}},{key:"getInputType",value:function(){return this._typeInfo.getInputType()}},{key:"getParentInputType",value:function(){return this._typeInfo.getParentInputType()}},{key:"getFieldDef",value:function(){return this._typeInfo.getFieldDef()}},{key:"getDirective",value:function(){return this._typeInfo.getDirective()}},{key:"getArgument",value:function(){return this._typeInfo.getArgument()}},{key:"getEnumValue",value:function(){return this._typeInfo.getEnumValue()}}])}(rV);function rY(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rD,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new tY(e),o=null!=(n=null==i?void 0:i.maxErrors)?n:100;t||(0,c.U)(!1,"Must provide document."),tL(e);var u=Object.freeze({}),s=[],l=new rB(e,t,a,function(e){if(s.length>=o)throw s.push(new y.eO("Too many validation errors, error limit reached. Validation aborted.")),u;s.push(e)}),f=(0,tM.oP)(r.map(function(e){return e(l)}));try{(0,tM.YR)(t,tQ(a,f))}catch(e){if(e!==u)throw e}return s}function rG(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rR,r=[],i=new rM(e,t,function(e){r.push(e)}),a=n.map(function(e){return e(i)});return(0,tM.YR)(e,(0,tM.oP)(a)),r}function rQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rq(e){return Promise.all(Object.values(e)).then(function(t){var n,r=Object.create(null),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rQ(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rQ(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(Object.keys(e).entries());try{for(i.s();!(n=i.n()).done;){var a=(0,m.default)(n.value,2),o=a[0];r[a[1]]=t[o]}}catch(e){i.e(e)}finally{i.f()}return r})}function rJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function rH(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(rH=function(){return!!e})()}var rK=function(e){function t(e){var n,r,i;return(0,p.default)(this,t),r=t,i=["Unexpected error value: "+(0,v.N)(e)],r=(0,rL.default)(r),(n=(0,rx.default)(this,rH()?Reflect.construct(r,i||[],(0,rL.default)(this).constructor):r.apply(this,i))).name="NonErrorThrown",n.thrownValue=e,n}return(0,rj.default)(t,e),(0,d.default)(t)}((0,n(98141).A)(Error));function r$(e,t,n){var r,i=e instanceof Error?e:new rK(e);return Array.isArray(i.path)?i:new y.eO(i.message,{nodes:null!=(r=i.nodes)?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}function rz(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rX(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rX(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function rX(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rW=function(e){var t;return function(n,r,i){void 0===t&&(t=new WeakMap);var a=t.get(n);void 0===a&&(a=new WeakMap,t.set(n,a));var o=a.get(r);void 0===o&&(o=new WeakMap,a.set(r,o));var u=o.get(i);return void 0===u&&(u=e(n,r,i),o.set(i,u)),u}}(function(e,t,n){return function(e,t,n,r,i){var a,o=new Map,u=new Set,c=n2(i);try{for(c.s();!(a=c.n()).done;){var s=a.value;s.selectionSet&&n6(e,t,n,r,s.selectionSet,o,u)}}catch(e){c.e(e)}finally{c.f()}return o}(e.schema,e.fragments,e.variableValues,t,n)});function rZ(e){arguments.length<2||(0,c.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");var t=e.schema,n=e.document,r=e.variableValues,i=e.rootValue;r2(t,n,r);var a=r8(e);if(!("schema"in a))return{errors:a};try{var o=a.operation,u=function(e,t,n){var r,i,a,o,u,c=e.schema.getRootType(t.operation);if(null==c)throw new y.eO("Schema is not configured to execute ".concat(t.operation," operation."),{nodes:t});var l=n3(e.schema,e.fragments,e.variableValues,c,t.selectionSet),f=void 0;switch(t.operation){case h.cE.QUERY:return r3(e,c,n,f,l);case h.cE.MUTATION:return r=e,i=c,a=n,o=f,u=l,function(e,t,n){var r,i=n,a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rJ(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rJ(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
1}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(a.s();!(r=a.n()).done;)!function(){var e=r.value;i=s(i)?i.then(function(n){return t(n,e)}):t(i,e)}()}catch(e){a.e(e)}finally{a.f()}return i}(u.entries(),function(e,t){var n=(0,m.default)(t,2),u=n[0],c=n[1],l=nG(o,u,i.name),f=r6(r,i,a,c,l);return void 0===f?e:s(f)?f.then(function(t){return e[u]=t,e}):(e[u]=f,e)},Object.create(null));case h.cE.SUBSCRIPTION:return r3(e,c,n,f,l)}}(a,o,i);if(s(u))return u.then(function(e){return r1(e,a.errors)},function(e){return a.errors.push(e),r1(null,a.errors)});return r1(u,a.errors)}catch(e){return a.errors.push(e),r1(null,a.errors)}}function r0(e){var t=rZ(e);if(s(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function r1(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function r2(e,t,n){t||(0,c.U)(!1,"Must provide document."),tL(e),null==n||(0,T.Z)(n)||(0,c.U)(!1,"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 r8(e){var t,n,r,i,a,o=e.schema,u=e.document,c=e.rootValue,s=e.contextValue,l=e.variableValues,f=e.operationName,p=e.fieldResolver,d=e.typeResolver,v=e.subscribeFieldResolver,h=e.options,m=Object.create(null),g=rz(u.definitions);try{for(g.s();!(a=g.n()).done;){var b=a.value;switch(b.kind){case C.b.OPERATION_DEFINITION:if(null==f){if(void 0!==i)return[new y.eO("Must provide operation name if query contains multiple operations.")];i=b}else(null==(t=b.name)?void 0:t.value)===f&&(i=b);break;case C.b.FRAGMENT_DEFINITION:m[b.name.value]=b}}}catch(e){g.e(e)}finally{g.f()}if(!i)return null!=f?[new y.eO('Unknown operation named "'.concat(f,'".'))]:[new y.eO("Must provide an operation.")];var E=nW(o,null!=(n=i.variableDefinitions)?n:[],null!=l?l:{},{maxErrors:null!=(r=null==h?void 0:h.maxCoercionErrors)?r:50});return E.errors?E.errors:{schema:o,fragments:m,rootValue:c,contextValue:s,operation:i,variableValues:E.coerced,fieldResolver:null!=p?p:ii,typeResolver:null!=d?d:ir,subscribeFieldResolver:null!=v?v:ii,errors:[]}}function r3(e,t,n,r,i){var a=Object.create(null),o=!1;try{var u,c=rz(i.entries());try{for(c.s();!(u=c.n()).done;){var l=(0,m.default)(u.value,2),f=l[0],p=l[1],d=nG(r,f,t.name),v=r6(e,t,n,p,d);void 0!==v&&(a[f]=v,s(v)&&(o=!0))}}catch(e){c.e(e)}finally{c.f()}}catch(e){if(o)return rq(a).finally(function(){throw e});throw e}return o?rq(a):a}function r6(e,t,n,r,i){var a=ia(e.schema,t,r[0]);if(a){var o=a.type,u=null!=(l=a.resolve)?l:e.fieldResolver,c=r4(e,a,r,t,i);try{var l,f,p=nZ(a,r[0],e.variableValues),d=e.contextValue,v=u(n,p,d,c);if(f=s(v)?v.then(function(t){return r9(e,o,r,c,i,t)}):r9(e,o,r,c,i,v),s(f))return f.then(void 0,function(t){var n=r$(t,r,nQ(i));return r5(n,o,e)});return f}catch(t){return r5(r$(t,r,nQ(i)),o,e)}}}function r4(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function r5(e,t,n){if(er(t))throw e;return n.errors.push(e),null}function r9(e,t,n,r,i,a){if(a instanceof Error)throw a;if(er(t)){var o,u,c,l,f,p,d,h,m=r9(e,t.ofType,n,r,i,a);if(null===m)throw Error("Cannot return null for non-nullable field ".concat(r.parentType.name,".").concat(r.fieldName,"."));return m}return null==a?null:et(t)?function(e,t,n,r,i,a){if(!tu(a))throw new y.eO('Expected Iterable, but did not find one for field "'.concat(r.parentType.name,".").concat(r.fieldName,'".'));var o=t.ofType,u=!1,c=Array.from(a,function(t,a){var c,l=nG(i,a,void 0);try{if(c=s(t)?t.then(function(t){return r9(e,o,n,r,l,t)}):r9(e,o,n,r,l,t),s(c))return u=!0,c.then(void 0,function(t){var r=r$(t,n,nQ(l));return r5(r,o,e)});return c}catch(t){return r5(r$(t,n,nQ(l)),o,e)}});return u?Promise.all(c):c}(e,t,n,r,i,a):es(t)?function(e,t){var n=e.serialize(t);
1if(null==n)throw Error("Expected `".concat((0,v.N)(e),".serialize(").concat((0,v.N)(t),")` to ")+"return non-nullable value, returned: ".concat((0,v.N)(n)));return n}(t,a):ed(t)?(o=e,u=t,c=n,l=r,f=i,p=a,s(h=(null!=(d=u.resolveType)?d:o.typeResolver)(p,o.contextValue,l,u))?h.then(function(e){return ie(o,r7(e,o,u,c,l,p),c,l,f,p)}):ie(o,r7(h,o,u,c,l,p),c,l,f,p)):q(t)?ie(e,t,n,r,i,a):void(0,to.V)(!1,"Cannot complete value of unexpected output type: "+(0,v.N)(t))}function r7(e,t,n,r,i,a){if(null==e)throw new y.eO('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'". Either the "').concat(n.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),r);if(q(e))throw new y.eO("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new y.eO('Abstract type "'.concat(n.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'" with ')+"value ".concat((0,v.N)(a),', received "').concat((0,v.N)(e),'".'));var o=t.schema.getType(e);if(null==o)throw new y.eO('Abstract type "'.concat(n.name,'" was resolved to a type "').concat(e,'" that does not exist inside the schema.'),{nodes:r});if(!q(o))throw new y.eO('Abstract type "'.concat(n.name,'" was resolved to a non-object type "').concat(e,'".'),{nodes:r});if(!t.schema.isSubType(n,o))throw new y.eO('Runtime Object type "'.concat(o.name,'" is not a possible type for "').concat(n.name,'".'),{nodes:r});return o}function ie(e,t,n,r,i,a){var o=rW(e,t,n);if(t.isTypeOf){var u=t.isTypeOf(a,e.contextValue,r);if(s(u))return u.then(function(r){if(!r)throw it(t,a,n);return r3(e,t,a,i,o)});if(!u)throw it(t,a,n)}return r3(e,t,a,i,o)}function it(e,t,n){return new y.eO('Expected value of type "'.concat(e.name,'" but got: ').concat((0,v.N)(t),"."),{nodes:n})}var ir=function(e,t,n,r){if((0,T.Z)(e)&&"string"==typeof e.__typename)return e.__typename;for(var i=n.schema.getPossibleTypes(r),a=[],o=0;o<i.length;o++){var u=i[o];if(u.isTypeOf){var c=u.isTypeOf(e,t,n);if(s(c))a[o]=c;else if(c)return u.name}}if(a.length)return Promise.all(a).then(function(e){for(var t=0;t<e.length;t++)if(e[t])return i[t].name})},ii=function(e,t,n,r){if((0,T.Z)(e)||"function"==typeof e){var i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function ia(e,t,n){var r=n.name.value;return r===tb.name&&e.getQueryType()===t?tb:r===tE.name&&e.getQueryType()===t?tE:r===tT.name?tT:t.getFields()[r]}function io(e){return new Promise(function(t){return t(ic(e))})}function iu(e){var t=ic(e);if(s(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function ic(e){arguments.length<2||(0,c.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");var t,n=e.schema,r=e.source,i=e.rootValue,a=e.contextValue,o=e.variableValues,u=e.operationName,s=e.fieldResolver,f=e.typeResolver,p=tx(n);if(p.length>0)return{errors:p};try{t=(0,l.qg)(r)}catch(e){return{errors:[e]}}var d=rY(n,t);return d.length>0?{errors:d}:rZ({schema:n,document:t,rootValue:i,contextValue:a,variableValues:o,operationName:u,fieldResolver:s,typeResolver:f})}var is=n(98223),il=n(30741),ip=n(19674),id=n(62692),iv=n(87603),iy=n(38401),ih=n(92493);function im(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}function ig(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 ib(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ig(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ig(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iE(e){return iT.apply(this,arguments)}function iT(){return(iT=(0,iy.A)(ih.mark(function e(t){var n,r,i=arguments;return ih.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i.length<2||(0,c.U)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead."),e.next=3,iO(t);case 3:if(im(n=e.sent)){e.next=6;break}return e.abrupt("return",n);case 6:return r=function(e){return rZ(ib(ib({},t),{},{rootValue:e}))},e.abrupt("return",function(e,t){var n=e[Symbol.asyncIterator]();function r(e){return i.apply(this,arguments)}function i(){return(i=(0,iy.A)(ih.mark(function e(r){return ih.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!r.done){e.next=2;break}return e.abrupt("return",r);case 2:return e.prev=2,e.next=5,t(r.value);case 5:return e.t0=e.sent,e.abrupt("return",{value:e.t0,done:!1});case 9:if(e.prev=9,e.t1=e.catch(2),"function"!=typeof n.return){e.next=19;break}return e.prev=12,e.next=15,n.return();case 15:e.next=19;break;case 17:e.prev=17,e.t2=e.catch(12);case 19:throw e.t1;case 20:case"end":return e.stop()}},e,null,[[2,9],[12,17]])}))).apply(this,arguments)}return(0,tW.default)({next:function(){return(0,iy.A)(ih.mark(function e(){return ih.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=r,e.next=3,n.next();case 3:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 5:case"end":return e.stop()}},e)}))()},return:function(){return(0,iy.A)(ih.mark(function e(){return ih.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!=typeof n.return){e.next=8;break}return e.t1=r,e.next=4,n.return();case 4:e.t2=e.sent,e.t0=(0,e.t1)(e.t2),e.next=9;break;case 8:e.t0={value:void 0,done:!0};case 9:return e.abrupt("return",e.t0);case 10:case"end":return e.stop()}},e)}))()},throw:function(e){return(0,iy.A)(ih.mark(function t(){return ih.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n.throw){t.next=6;break}return t.t0=r,t.next=4,n.throw(e);case 4:return t.t1=t.sent,t.abrupt("return",(0,t.t0)(t.t1));case 6:throw e;case 7:case"end":return t.stop()}},t)}))()}},Symbol.asyncIterator,function(){return this})}(n,r));case 8:case"end":return e.stop()}},e)}))).apply(this,arguments)}function iO(){return iN.apply(this,arguments)}function iN(){return(iN=(0,iy.A)(ih.mark(function e(){var t,n,r,i,a,o,u,c=arguments;return ih.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:for(n=Array(t=c.length),r=0;r<t;r++)n[r]=c[r];if(a=(i=function(e){var t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(n)).schema,r2(a,i.document,i.variableValues),"schema"in(o=r8(i))){e.next=7;break}return e.abrupt("return",{errors:o});case 7:return e.prev=7,e.next=10,function(e){return iI.apply(this,arguments)}(o);case 10:if(im(u=e.sent)){e.next=13;break}throw Error("Subscription field must return Async Iterable. "+"Received: ".concat((0,v.N
1)(u),"."));case 13:return e.abrupt("return",u);case 16:if(e.prev=16,e.t0=e.catch(7),!(e.t0 instanceof y.eO)){e.next=20;break}return e.abrupt("return",{errors:[e.t0]});case 20:throw e.t0;case 21:case"end":return e.stop()}},e,null,[[7,16]])}))).apply(this,arguments)}function iI(){return(iI=(0,iy.A)(ih.mark(function e(t){var n,r,i,a,o,u,c,s,l,p,d,v,h,g,b,E,T,O,N;return ih.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.schema,r=t.fragments,i=t.operation,a=t.variableValues,o=t.rootValue,null!=(u=n.getSubscriptionType())){e.next=4;break}throw new y.eO("Schema is not configured to execute subscription operation.",{nodes:i});case 4:if(c=n3(n,r,a,u,i.selectionSet),l=(s=(0,m.default)((0,f.default)(c.entries())[0],2))[0],p=s[1],d=ia(n,u,p[0])){e.next=10;break}throw v=p[0].name.value,new y.eO('The subscription field "'.concat(v,'" is not defined.'),{nodes:p});case 10:return h=nG(void 0,l,u.name),g=r4(t,d,p,u,h),e.prev=12,E=nZ(d,p[0],a),T=t.contextValue,O=null!=(b=d.subscribe)?b:t.subscribeFieldResolver,e.next=18,O(o,E,T,g);case 18:if(!((N=e.sent)instanceof Error)){e.next=21;break}throw N;case 21:return e.abrupt("return",N);case 24:throw e.prev=24,e.t0=e.catch(12),r$(e.t0,p,nQ(h));case 27:case"end":return e.stop()}},e,null,[[12,24]])}))).apply(this,arguments)}function iA(e){return{Field:function(t){var n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){var i=e.getParentType();null!=i||(0,to.V)(!1),e.reportError(new y.eO("The field ".concat(i.name,".").concat(n.name," is deprecated. ").concat(r),{nodes:t}))}},Argument:function(t){var n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){var i=e.getDirective();if(null!=i)e.reportError(new y.eO('Directive "@'.concat(i.name,'" argument "').concat(n.name,'" is deprecated. ').concat(r),{nodes:t}));else{var a=e.getParentType(),o=e.getFieldDef();null!=a&&null!=o||(0,to.V)(!1),e.reportError(new y.eO('Field "'.concat(a.name,".").concat(o.name,'" argument "').concat(n.name,'" is deprecated. ').concat(r),{nodes:t}))}}},ObjectField:function(t){var n=eI(e.getParentInputType());if(Z(n)){var r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new y.eO("The input field ".concat(n.name,".").concat(r.name," is deprecated. ").concat(i),{nodes:t}))}},EnumValue:function(t){var n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){var i=eI(e.getInputType());null!=i||(0,to.V)(!1),e.reportError(new y.eO('The enum value "'.concat(i.name,".").concat(n.name,'" is deprecated. ').concat(r),{nodes:t}))}}}}function iS(e){return{Field:function(t){var n=eI(e.getType());n&&tN(n)&&e.reportError(new y.eO('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),{nodes:t}))}}}var i_=n(37071);function iw(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 ik(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iw(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iw(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,oneOf:!1},e),n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",a=t.schemaDescription?n:"";function o(e){return t.inputValueDeprecation?e:""}var u=t.oneOf?"isOneOf":"";return"\n    query IntrospectionQuery {\n      __schema {\n        ".concat(a,"\n        queryType { name kind }\n        mutationType { name kind }\n        subscriptionType { name kind }\n        types {\n          ...FullType\n        }\n        directives {\n          name\n          ").concat(n,"\n          ").concat(i,"\n          locations\n          args").concat(o("(includeDeprecated: true)")," {\n            ...InputValue\n          }\n        }\n      }\n    }\n\n    fragment FullType on __Type {\n      kind\n      name\n      ").concat(n,"\n      ").concat(r,"\n      ").concat(u,"\n      fields(includeDeprecated: true) {\n        name\n        ").concat(n,"\n        args").concat(o("(includeDeprecated: true)")," {\n          ...InputValue\n        }\n        type {\n          ...TypeRef\n        }\n        isDeprecated\n        deprecationReason\n      }\n      inputFields").concat(o("(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(o("isDeprecated"),"\n      ").concat(o("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                    ofType {\n                      kind\n                      name\n                      ofType {\n                        kind\n                        name\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  ")}function iD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iR(e,t){var n,r=null,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return iD(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iD(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e.definitions);try{for(i.s();!(n=i.n()).done;){var a,o=n.value;if(o.kind===C.b.OPERATION_DEFINITION){if(null==t){if(r)return null;r=o}else if((null==(a=o.name)?void 0:a.value)===t)return o}}}catch(e){i.e(e)}finally{i.f()}return r}function ix(e,t){if("query"===t.operation){var n=e.getQueryType();if(!n)throw new y.eO("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){var r=e.getMutationType();if(!r)throw new y.eO("Schema is not configured for mutations.",{nodes:t});return r}if("subscription"===t.operation){var i=e.getSubscriptionType();if(!i)throw new y.eO("Schema is not configured for subscriptions.",{nodes:t});return i}throw new y.eO("Can only have query, mutation and subscription operations.",{nodes:t})}function iL(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 ij(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iL(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,oneOf:!0},t),r=r0({schema:e,document:(0,l.qg)(ik(n))});return!r.errors&&r.data||(0,to.V)(!1),r.data}function iC(e,t){(0,T.Z)(e)&&(0,T.Z)(e.__schema)||(0,c.U)(!1,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat((0,v.N)(e),"."));for(var n=e.__schema,i=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 r.SCALAR:return new e_({name:(t=e).name,description:t.description,specifiedByURL:t.specifiedByURL});case r.OBJECT:return new ew({name:(n=e).name,description:n.description,interfaces:function(){return E(n)},fields:function(){return O(n)}});case r.INTERFACE:return new eU({name:(i=e).name,description:i.description,interfaces:function(){return E(i)},fields:function(){return O(i)}});case r.UNION:var t,n,i,a=e;if(!a.possibleTypes){var o=(0,v.N)(a);throw Error("Introspection result missing possibleTypes: ".concat(o,"."))}return new eF({name:a.name,description:a.description,types:function(){return a.possibleTypes.map(g)}});case r.ENUM:var u=e;if(!u.enumValues){var c=(0,v.N)(u);throw Error("Introspection result missing enumValues: ".concat(c,"."))}return new eV({name:u.name,description:u.description,values:A(u.enumValues,function(e){return e.name},function(e){return{description:e.description,deprecationReason:e.deprecationReason}})});case r.INPUT_OBJECT:var s=e;if(!s.inputFields){var l=(0,v.N)(s);throw Error("Introspection result missing inputFields: ".concat(l,"."))}return new eY({name:s.name,description:s.description,fields:function(){return I(s.inputFields)},isOneOf:s.isOneOf})}var f=(0,v.N)(e);throw Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(f,"."))}(e)}),a=0,o=[].concat((0,f.default)(e2),(0,f.default)(tO));a<o.length;a++){var u=o[a];i[u.name]&&(i[u.name]=u)}var s=n.queryType?g(n.queryType):null,p=n.mutationType?g(n.mutationType):null,d=n.subscriptionType?g(n.subscriptionType):null,y=n.directives?n.directives.map(function(e){if(!e.args){var t=(0,v.N
1)(e);throw Error("Introspection result missing directive args: ".concat(t,"."))}if(!e.locations){var n=(0,v.N)(e);throw Error("Introspection result missing directive locations: ".concat(n,"."))}return new e5({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:I(e.args)})}):[];return new tw({description:n.description,query:s,mutation:p,subscription:d,types:Object.values(i),directives:y,assumeValid:null==t?void 0:t.assumeValid});function h(e){if(e.kind===r.LIST){var t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new ey(h(t))}if(e.kind===r.NON_NULL){var n=e.ofType;if(!n)throw Error("Decorated type deeper than introspection query.");return new eh(eE(h(n)))}return m(e)}function m(e){var t=e.name;if(!t)throw Error("Unknown type reference: ".concat((0,v.N)(e),"."));var n=i[t];if(!n)throw 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 g(e){return J(m(e))}function b(e){return K(m(e))}function E(e){if(null===e.interfaces&&e.kind===r.INTERFACE)return[];if(!e.interfaces){var t=(0,v.N)(e);throw Error("Introspection result missing interfaces: ".concat(t,"."))}return e.interfaces.map(b)}function O(e){if(!e.fields)throw Error("Introspection result missing fields: ".concat((0,v.N)(e),"."));return A(e.fields,function(e){return e.name},N)}function N(e){var t=h(e.type);if(!eu(t)){var n=(0,v.N)(t);throw Error("Introspection must provide output type for fields, but received: ".concat(n,"."))}if(!e.args){var r=(0,v.N)(e);throw 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 A(e,function(e){return e.name},S)}function S(e){var t=h(e.type);if(!ea(t)){var n=(0,v.N)(t);throw Error("Introspection must provide input type for arguments, but received: ".concat(n,"."))}var r=null!=e.defaultValue?nK((0,l.$x)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:r,deprecationReason:e.deprecationReason}}}function iU(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 iF(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iU(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iU(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iP(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return iV(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iV(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function iV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iM(e,t,n){t_(e),null!=t&&t.kind===C.b.DOCUMENT||(0,c.U)(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&function(e,t){var n=rG(e,t);if(0!==n.length)throw Error(n.map(function(e){return e.message}).join("\n\n"))}(t,e);var r=e.toConfig(),i=iB(r,t,n);return r===i?e:new tw(i)}function iB(e,t,n){var r,i,a,o,u,c,s=[],l=Object.create(null),p=[],d=[],y=iP(t.definitions);try{for(y.s();!(c=y.n()).done;){var h=c.value;if(h.kind===C.b.SCHEMA_DEFINITION)u=h;else if(h.kind===C.b.SCHEMA_EXTENSION)d.push(h);else if((0,tq.a6)(h))s.push(h);else if((0,tq.i7)(h)){var m=h.name.value,g=l[m];l[m]=g?g.concat([h]):[h]}else h.kind===C.b.DIRECTIVE_DEFINITION&&p.push(h)}}catch(e){y.e(e)}finally{y.f()}if(0===Object.keys(l).length&&0===s.length&&0===p.length&&0===d.length&&null==u)return e;var b,E=Object.create(null),T=iP(e.types);try{for(T.s();!(b=T.n()).done;){var O,N=b.value;E[N.name]=(O=N,tN(O)||e8(O)?O:G(O)?function(e){var t,n,r=e.toConfig(),i=null!=(t=l[r.name])?t:[],a=r.specifiedByURL,o=iP(i);try{for(o.s();!(n=o.n()).done;){var u,c=n.value;a=null!=(u=iQ(c))?u:a}}catch(e){o.e(e)}finally{o.f()}return new e_(iF(iF({},r),{},{specifiedByURL:a,extensionASTNodes:r.extensionASTNodes.concat(i)}))}(O):q(O)?function(e){var t,n=e.toConfig(),r=null!=(t=l[n.name])?t:[];return new ew(iF(iF({},n),{},{interfaces:function(){return[].concat((0,f.default)(e.getInterfaces().map(R)),(0,f.default)(Y(r)))},fields:function(){return iF(iF({},S(n.fields,x)),P(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(O):H(O)?function(e){var t,n=e.toConfig(),r=null!=(t=l[n.name])?t:[];return new eU(iF(iF({},n),{},{interfaces:function(){return[].concat((0,f.default)(e.getInterfaces().map(R)),(0,f.default)(Y(r)))},fields:function(){return iF(iF({},S(n.fields,x)),P(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(O):$(O)?function(e){var t,n=e.toConfig(),r=null!=(t=l[n.name])?t:[];return new eF(iF(iF({},n),{},{types:function(){return[].concat((0,f.default)(e.getTypes().map(R)),(0,f.default)(Q(r)))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(O):X(O)?function(e){var t,n=e.toConfig(),r=null!=(t=l[e.name])?t:[];return new eV(iF(iF({},n),{},{values:iF(iF({},n.values),B(r)),extensionASTNodes:n.extensionASTNodes.concat(r)}))}(O):Z(O)?function(e){var t,n=e.toConfig(),r=null!=(t=l[n.name])?t:[];return new eY(iF(iF({},n),{},{fields:function(){return iF(iF({},S(n.fields,function(e){return iF(iF({},e),{},{type:D(e.type)})})),M(r))},extensionASTNodes:n.extensionASTNodes.concat(r)}))}(O):void(0,to.V)(!1,"Unexpected type: "+(0,v.N)(O)))}}catch(e){T.e(e)}finally{T.f()}for(var I=0;I<s.length;I++){var A,_=s[I],w=_.name.value;E[w]=null!=(A=iY[w])?A:function(e){var t=e.name.value,n=null!=(r=l[t])?r:[];switch(e.kind){case C.b.OBJECT_TYPE_DEFINITION:var r,i,a=[e].concat((0,f.default)(n));return new ew({name:t,description:null==(i=e.description)?void 0:i.value,interfaces:function(){return Y(a)},fields:function(){return P(a)},astNode:e,extensionASTNodes:n});case C.b.INTERFACE_TYPE_DEFINITION:var o,u=[e].concat((0,f.default)(n));return new eU({name:t,description:null==(o=e.description)?void 0:o.value,interfaces:function(){return Y(u)},fields:function(){return P(u)},astNode:e,extensionASTNodes:n});case C.b.ENUM_TYPE_DEFINITION:var c,s=[e].concat((0,f.default)(n));return new eV({name:t,description:null==(c=e.description)?void 0:c.value,values:B(s),astNode:e,extensionASTNodes:n});case C.b.UNION_TYPE_DEFINITION:var p,d=[e].concat((0,f.default)(n));return new eF({name:t,description:null==(p=e.description)?void 0:p.value,types:function(){return Q(d)},astNode:e,extensionASTNodes:n});case C.b.SCALAR_TYPE_DEFINITION:return new e_({name:t,description:null==(v=e.description)?void 0:v.value,specifiedByURL:iQ(e),astNode:e,extensionASTNodes:n});case C.b.INPUT_OBJECT_TYPE_DEFINITION:var v,y,h=[e].concat((0,f.default)(n));return new eY({name:t,description:null==(y=e.description)?void 0:y.value,fields:function(){return M(h)},astNode:e,extensionASTNodes:n,isOneOf:!!n0(tr,e)})}}(_)}var k=iF(iF({query:e.query&&R(e.query),mutation:e.mutation&&R(e.mutation),subscription:e.subscription&&R(e.subscription)},u&&j([u])),j(d));return iF(iF({description:null==(r=u)||null==(i=r.description)?void 0:i.value}
1,k),{},{types:Object.values(E),directives:[].concat((0,f.default)(e.directives.map(function(e){var t=e.toConfig();return new e5(iF(iF({},t),{},{args:S(t.args,L)}))})),(0,f.default)(p.map(function(e){var t;return new e5({name:e.name.value,description:null==(t=e.description)?void 0:t.value,locations:e.locations.map(function(e){return e.value}),isRepeatable:e.repeatable,args:V(e.arguments),astNode:e})}))),extensions:Object.create(null),astNode:null!=(a=u)?a:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!=(o=null==n?void 0:n.assumeValid)&&o});function D(e){return et(e)?new ey(D(e.ofType)):er(e)?new eh(D(e.ofType)):R(e)}function R(e){return E[e.name]}function x(e){return iF(iF({},e),{},{type:D(e.type),args:e.args&&S(e.args,L)})}function L(e){return iF(iF({},e),{},{type:D(e.type)})}function j(e){var t,n={},r=iP(e);try{for(r.s();!(t=r.n()).done;){var i,a,o=null!=(i=t.value.operationTypes)?i:[],u=iP(o);try{for(u.s();!(a=u.n()).done;){var c=a.value;n[c.operation]=U(c.type)}}catch(e){u.e(e)}finally{u.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function U(e){var t,n=e.name.value,r=null!=(t=iY[n])?t:E[n];if(void 0===r)throw Error('Unknown type: "'.concat(n,'".'));return r}function F(e){return e.kind===C.b.LIST_TYPE?new ey(F(e.type)):e.kind===C.b.NON_NULL_TYPE?new eh(F(e.type)):U(e)}function P(e){var t,n=Object.create(null),r=iP(e);try{for(r.s();!(t=r.n()).done;){var i,a,o=null!=(i=t.value.fields)?i:[],u=iP(o);try{for(u.s();!(a=u.n()).done;){var c,s=a.value;n[s.name.value]={type:F(s.type),description:null==(c=s.description)?void 0:c.value,args:V(s.arguments),deprecationReason:iG(s),astNode:s}}}catch(e){u.e(e)}finally{u.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function V(e){var t,n=Object.create(null),r=iP(null!=e?e:[]);try{for(r.s();!(t=r.n()).done;){var i,a=t.value,o=F(a.type);n[a.name.value]={type:o,description:null==(i=a.description)?void 0:i.value,defaultValue:nK(a.defaultValue,o),deprecationReason:iG(a),astNode:a}}}catch(e){r.e(e)}finally{r.f()}return n}function M(e){var t,n=Object.create(null),r=iP(e);try{for(r.s();!(t=r.n()).done;){var i,a,o=null!=(i=t.value.fields)?i:[],u=iP(o);try{for(u.s();!(a=u.n()).done;){var c,s=a.value,l=F(s.type);n[s.name.value]={type:l,description:null==(c=s.description)?void 0:c.value,defaultValue:nK(s.defaultValue,l),deprecationReason:iG(s),astNode:s}}}catch(e){u.e(e)}finally{u.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function B(e){var t,n=Object.create(null),r=iP(e);try{for(r.s();!(t=r.n()).done;){var i,a,o=null!=(i=t.value.values)?i:[],u=iP(o);try{for(u.s();!(a=u.n()).done;){var c,s=a.value;n[s.name.value]={description:null==(c=s.description)?void 0:c.value,deprecationReason:iG(s),astNode:s}}}catch(e){u.e(e)}finally{u.f()}}}catch(e){r.e(e)}finally{r.f()}return n}function Y(e){return e.flatMap(function(e){var t,n;return null!=(t=null==(n=e.interfaces)?void 0:n.map(U))?t:[]})}function Q(e){return e.flatMap(function(e){var t,n;return null!=(t=null==(n=e.types)?void 0:n.map(U))?t:[]})}}var iY=N([].concat((0,f.default)(e2),(0,f.default)(tO)),function(e){return e.name});function iG(e){var t=n0(tt,e);return null==t?void 0:t.reason}function iQ(e){var t=n0(tn,e);return null==t?void 0:t.url}function iq(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 iJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iq(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iq(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iH(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iK(e,t){null!=e&&e.kind===C.b.DOCUMENT||(0,c.U)(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e){var t=rG(e);if(0!==t.length)throw Error(t.map(function(e){return e.message}).join("\n\n"))}(e);var n=iB({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode){var r,i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return iH(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iH(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(n.types);try{for(i.s();!(r=i.n()).done;){var a=r.value;switch(a.name){case"Query":n.query=a;break;case"Mutation":n.mutation=a;break;case"Subscription":n.subscription=a}}}catch(e){i.e(e)}finally{i.f()}}var o=[].concat((0,f.default)(n.directives),(0,f.default)(ti.filter(function(e){return n.directives.every(function(t){return t.name!==e.name})})));return new tw(iJ(iJ({},n),{},{directives:o}))}function i$(e,t){return iK((0,l.qg)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function iz(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function iX(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 iW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iX(Object(n),!0).forEach(function(t){(0,tW.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iX(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function iZ(e){var t,n,r,i=e.toConfig(),a=A(i1(i.types),function(e){return e.name},function(e){if(G(e)||tN(e))return e;if(q(e)){var t=e.toConfig();return new ew(iW(iW({},t),{},{interfaces:function(){return l(t.interfaces)},fields:function(){return s(t.fields)}}))}if(H(e)){var n=e.toConfig();return new eU(iW(iW({},n),{},{interfaces:function(){return l(n.interfaces)},fields:function(){return s(n.fields)}}))}if($(e)){var r=e.toConfig();return new eF(iW(iW({},r),{},{types:function(){return l(r.types)}}))}if(X(e)){var i=e.toConfig();return new eV(iW(iW({},i),{},{values:i0(i.values,function(e){return e})}))}if(Z(e)){var a=e.toConfig();return new eY(iW(iW({},a),{},{fields:function(){return i0(a.fields,function(e){return iW(iW({},e),{},{type:o(e.type)})})}}))}(0,to.V)(!1,"Unexpected type: "+(0,v.N)(e))});return new tw(iW(iW({},i),{},{types:Object.values(a),directives:i1(i.directives).map(function(e){var t=e.toConfig();return new e5(iW(iW({},t),{},{locations:i2(t.locations,function(e){return e}),args:c(t.args)}))}),query:(t=i.query)&&u(t),mutation:(n=i.mutation)&&u(n),subscription:(r=i.subscription)&&u(r)}));function o(e){return et(e)?new ey(o(e.ofType)):er(e)?new eh(o(e.ofType)):u(e)}function u(e){return a[e.name]}function c(e){return i0(e,function(e){return iW(iW({},e),{},{type:o(e.type)})})}function s(e){return i0(e,function(e){return iW(iW({},e),{},{type:o(e.type),args:e.args&&c(e.args)})})}function l(e){return i1(e).map(u)}}function i0(e,t){var n,r=Object.create(null),i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return iz(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iz(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
1}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(Object.keys(e).sort(_));try{for(i.s();!(n=i.n()).done;){var a=n.value;r[a]=t(e[a])}}catch(e){i.e(e)}finally{i.f()}return r}function i1(e){return i2(e,function(e){return e.name})}function i2(e,t){return e.slice().sort(function(e,n){return _(t(e),t(n))})}var i8=n(8190);function i3(e){return i5(e,function(e){return!ta(e)},i4)}function i6(e){return i5(e,ta,tN)}function i4(e){return!e8(e)&&!tN(e)}function i5(e,t,n){var r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[function(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();return!r||"Subscription"===r.name}(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 i=e.getSubscriptionType();return i&&t.push("  subscription: ".concat(i.name)),aa(e)+"schema {\n".concat(t.join("\n"),"\n}")}}(e)].concat((0,f.default)(r.map(function(e){var t;return aa(t=e)+"directive @"+t.name+an(t.args)+(t.isRepeatable?" repeatable":"")+" on "+t.locations.join(" | ")})),(0,f.default)(i.map(function(e){return i9(e)}))).filter(Boolean).join("\n\n")}function i9(e){var t,n,r,i,a,o,u,c,s,l;return G(e)?aa(t=e)+"scalar ".concat(t.name)+function(e){if(null==e.specifiedByURL)return"";var t=(0,U.y)({kind:C.b.STRING,value:e.specifiedByURL});return" @specifiedBy(url: ".concat(t,")")}(t):q(e)?aa(n=e)+"type ".concat(n.name)+i7(n)+ae(n):H(e)?aa(r=e)+"interface ".concat(r.name)+i7(r)+ae(r):$(e)?(o=(a=(i=e).getTypes()).length?" = "+a.join(" | "):"",aa(i)+"union "+i.name+o):X(e)?(c=(u=e).getValues().map(function(e,t){return aa(e,"  ",!t)+"  "+e.name+ai(e.deprecationReason)}),aa(u)+"enum ".concat(u.name)+at(c)):Z(e)?(l=Object.values((s=e).getFields()).map(function(e,t){return aa(e,"  ",!t)+"  "+ar(e)}),aa(s)+"input ".concat(s.name)+(s.isOneOf?" @oneOf":"")+at(l)):void(0,to.V)(!1,"Unexpected type: "+(0,v.N)(e))}function i7(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(e){return e.name}).join(" & "):""}function ae(e){return at(Object.values(e.getFields()).map(function(e,t){return aa(e,"  ",!t)+"  "+e.name+an(e.args,"  ")+": "+String(e.type)+ai(e.deprecationReason)}))}function at(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function an(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return 0===e.length?"":e.every(function(e){return!e.description})?"("+e.map(ar).join(", ")+")":"(\n"+e.map(function(e,n){return aa(e,"  "+t,!n)+"  "+t+ar(e)}).join("\n")+"\n"+t+")"}function ar(e){var t=ts(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=" = ".concat((0,U.y)(t))),n+ai(e.deprecationReason)}function ai(e){if(null==e)return"";if(e!==te){var t=(0,U.y)({kind:C.b.STRING,value:e});return" @deprecated(reason: ".concat(t,")")}return" @deprecated"}function aa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=e.description;return null==r?"":(t&&!n?"\n"+t:t)+(0,U.y)({kind:C.b.STRING,value:r,block:(0,i8.CS)(r)}).replace(/\n/g,"\n"+t)+"\n"}function ao(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function au(e){var t,n=[],r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ao(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ao(e,t):void 0}}(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
1}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}(e);try{for(r.s();!(t=r.n()).done;){var i=t.value;n.push.apply(n,(0,f.default)(i.definitions))}}catch(e){r.e(e)}finally{r.f()}return{kind:C.b.DOCUMENT,definitions:n}}function ac(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return as(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?as(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function as(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function al(e){var t,n=[],r=Object.create(null),i=ac(e.definitions);try{for(i.s();!(t=i.n()).done;){var a=t.value;switch(a.kind){case C.b.OPERATION_DEFINITION:n.push(a);break;case C.b.FRAGMENT_DEFINITION:r[a.name.value]=af(a.selectionSet)}}}catch(e){i.e(e)}finally{i.f()}for(var o=Object.create(null),u=0;u<n.length;u++)!function(){var t,i=n[u],a=new Set,c=ac(af(i.selectionSet));try{for(c.s();!(t=c.n()).done;){var s=t.value;!function e(t,n,r){if(!t.has(r)){t.add(r);var i=n[r];if(void 0!==i){var a,o=ac(i);try{for(o.s();!(a=o.n()).done;){var u=a.value;e(t,n,u)}}catch(e){o.e(e)}finally{o.f()}}}}(a,r,s)}}catch(e){c.e(e)}finally{c.f()}o[i.name?i.name.value:""]={kind:C.b.DOCUMENT,definitions:e.definitions.filter(function(e){return e===i||e.kind===C.b.FRAGMENT_DEFINITION&&a.has(e.name.value)})}}();return o}function af(e){var t=[];return(0,tM.YR)(e,{FragmentSpread:function(e){t.push(e.name.value)}}),t}function ap(e){for(var t=(0,is._)(e)?e:new is.k(e),n=t.body,r=new id.J(t),i="",a=!1;r.advance().kind!==iv.Y.EOF;){var o=r.token,u=o.kind,c=!(0,id.Z)(o.kind);a&&(c||o.kind===iv.Y.SPREAD)&&(i+=" ");var s=n.slice(o.start,o.end);u===iv.Y.BLOCK_STRING?i+=(0,i8.yo)(o.value,{minimize:!0}):i+=s,a=c}return i}function ad(e){var t=av(e);if(t)throw t;return e}function av(e){if("string"==typeof e||(0,c.U)(!1,"Expected name to be a string."),e.startsWith("__"))return new y.eO('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'));try{V(e)}catch(e){return e}}function ay(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ah(e,void 0);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ah(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw a}}}}function ah(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function am(e,t){return ab(e,t).filter(function(e){return e.type in i})}function ag(e,t){return ab(e,t).filter(function(e){return e.type in a})}function ab(e,t){return[].concat((0,f.default)(function(e,t){var n,r=[],o=aN(Object.values(e.getTypeMap()),Object.values(t.getTypeMap())),u=ay(o.removed);try{for(u.s();!(n=u.n()).done;){var c=n.value;r.push({type:i.TYPE_REMOVED,description:e8(c)?"Standard scalar ".concat(c.name," was removed because it is not referenced anymore."):"".concat(c.name," was removed.")})}}catch(e){u.e(e)}finally{u.f()}var s,l=ay(o.persisted);try{for(l.s();!(s=l.n()).done;
1){var p=(0,m.default)(s.value,2),d=p[0],v=p[1];X(d)&&X(v)?r.push.apply(r,(0,f.default)(function(e,t){var n,r=[],o=aN(e.getValues(),t.getValues()),u=ay(o.added);try{for(u.s();!(n=u.n()).done;){var c=n.value;r.push({type:a.VALUE_ADDED_TO_ENUM,description:"".concat(c.name," was added to enum type ").concat(e.name,".")})}}catch(e){u.e(e)}finally{u.f()}var s,l=ay(o.removed);try{for(l.s();!(s=l.n()).done;){var f=s.value;r.push({type:i.VALUE_REMOVED_FROM_ENUM,description:"".concat(f.name," was removed from enum type ").concat(e.name,".")})}}catch(e){l.e(e)}finally{l.f()}return r}(d,v))):$(d)&&$(v)?r.push.apply(r,(0,f.default)(function(e,t){var n,r=[],o=aN(e.getTypes(),t.getTypes()),u=ay(o.added);try{for(u.s();!(n=u.n()).done;){var c=n.value;r.push({type:a.TYPE_ADDED_TO_UNION,description:"".concat(c.name," was added to union type ").concat(e.name,".")})}}catch(e){u.e(e)}finally{u.f()}var s,l=ay(o.removed);try{for(l.s();!(s=l.n()).done;){var f=s.value;r.push({type:i.TYPE_REMOVED_FROM_UNION,description:"".concat(f.name," was removed from union type ").concat(e.name,".")})}}catch(e){l.e(e)}finally{l.f()}return r}(d,v))):Z(d)&&Z(v)?r.push.apply(r,(0,f.default)(function(e,t){var n,r=[],o=aN(Object.values(e.getFields()),Object.values(t.getFields())),u=ay(o.added);try{for(u.s();!(n=u.n()).done;){var c=n.value;eQ(c)?r.push({type:i.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(c.name," on input type ").concat(e.name," was added.")}):r.push({type:a.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(c.name," on input type ").concat(e.name," was added.")})}}catch(e){u.e(e)}finally{u.f()}var s,l=ay(o.removed);try{for(l.s();!(s=l.n()).done;){var f=s.value;r.push({type:i.FIELD_REMOVED,description:"".concat(e.name,".").concat(f.name," was removed.")})}}catch(e){l.e(e)}finally{l.f()}var p,d=ay(o.persisted);try{for(d.s();!(p=d.n()).done;){var v=(0,m.default)(p.value,2),y=v[0],h=v[1];aE(y.type,h.type)||r.push({type:i.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(y.name," changed type from ")+"".concat(String(y.type)," to ").concat(String(h.type),".")})}}catch(e){d.e(e)}finally{d.f()}return r}(d,v))):q(d)&&q(v)||H(d)&&H(v)?r.push.apply(r,(0,f.default)(function(e,t){var n,r=[],o=aN(Object.values(e.getFields()),Object.values(t.getFields())),u=ay(o.removed);try{for(u.s();!(n=u.n()).done;){var c=n.value;r.push({type:i.FIELD_REMOVED,description:"".concat(e.name,".").concat(c.name," was removed.")})}}catch(e){u.e(e)}finally{u.f()}var s,l=ay(o.persisted);try{for(l.s();!(s=l.n()).done;){var p=(0,m.default)(s.value,2),d=p[0],v=p[1];r.push.apply(r,(0,f.default)(function(e,t,n){var r,o=[],u=aN(t.args,n.args),c=ay(u.removed);try{for(c.s();!(r=c.n()).done;){var s=r.value;o.push({type:i.ARG_REMOVED,description:"".concat(e.name,".").concat(t.name," arg ").concat(s.name," was removed.")})}}catch(e){c.e(e)}finally{c.f()}var l,f=ay(u.persisted);try{for(f.s();!(l=f.n()).done;){var p=(0,m.default)(l.value,2),d=p[0],v=p[1];if(aE(d.type,v.type)){if(void 0!==d.defaultValue)if(void 0===v.defaultValue)o.push({type:a.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," defaultValue was removed.")});else{var y=aO(d.defaultValue,d.type),h=aO(v.defaultValue,v.type);y!==h&&o.push({type:a.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed defaultValue from ").concat(y," to ").concat(h,".")})}}else o.push({type:i.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(t.name," arg ").concat(d.name," has changed type from ")+"".concat(String(d.type)," to ").concat(String(v.type),".")})}}catch(e){f.e(e)}finally{f.f()}var g,b=ay(u.added);try{for(b.s();!(g=b.n()).done;){var E=g.value;eC(E)?o.push({type:i.REQUIRED_ARG_ADDED,description:"A required arg ".concat(E.name," on ").concat(e.name,".").concat(t.name," was added.")}):o.push({type:a.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(E.name," on ").concat(e.name,".").concat(t.name," was added.")})}}catch(e){b.e(e)}finally{b.f()}return o}(e,d,v))),!function e(t,n){return et(t)?et(n)&&e(t.ofType,n.ofType)||er(n)&&e(t,n.ofType):er(t)?er(n)&&e(t.ofType,n.ofType):eO(n)&&t.n
1ame===n.name||er(n)&&e(t,n.ofType)}(d.type,v.type)&&r.push({type:i.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(d.name," changed type from ")+"".concat(String(d.type)," to ").concat(String(v.type),".")})}}catch(e){l.e(e)}finally{l.f()}return r}(d,v)).concat((0,f.default)(function(e,t){var n,r=[],o=aN(e.getInterfaces(),t.getInterfaces()),u=ay(o.added);try{for(u.s();!(n=u.n()).done;){var c=n.value;r.push({type:a.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(c.name," added to interfaces implemented by ").concat(e.name,".")})}}catch(e){u.e(e)}finally{u.f()}var s,l=ay(o.removed);try{for(l.s();!(s=l.n()).done;){var f=s.value;r.push({type:i.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(f.name,".")})}}catch(e){l.e(e)}finally{l.f()}return r}(d,v)))):d.constructor!==v.constructor&&r.push({type:i.TYPE_CHANGED_KIND,description:"".concat(d.name," changed from ")+"".concat(aT(d)," to ").concat(aT(v),".")})}}catch(e){l.e(e)}finally{l.f()}return r}(e,t)),(0,f.default)(function(e,t){var n,r=[],a=aN(e.getDirectives(),t.getDirectives()),o=ay(a.removed);try{for(o.s();!(n=o.n()).done;){var u=n.value;r.push({type:i.DIRECTIVE_REMOVED,description:"".concat(u.name," was removed.")})}}catch(e){o.e(e)}finally{o.f()}var c,s=ay(a.persisted);try{for(s.s();!(c=s.n()).done;){var l,f=(0,m.default)(c.value,2),p=f[0],d=f[1],v=aN(p.args,d.args),y=ay(v.added);try{for(y.s();!(l=y.n()).done;){var h=l.value;eC(h)&&r.push({type:i.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(h.name," on directive ").concat(p.name," was added.")})}}catch(e){y.e(e)}finally{y.f()}var g,b=ay(v.removed);try{for(b.s();!(g=b.n()).done;){var E=g.value;r.push({type:i.DIRECTIVE_ARG_REMOVED,description:"".concat(E.name," was removed from ").concat(p.name,".")})}}catch(e){b.e(e)}finally{b.f()}p.isRepeatable&&!d.isRepeatable&&r.push({type:i.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(p.name,".")});var T,O=ay(p.locations);try{for(O.s();!(T=O.n()).done;){var N=T.value;d.locations.includes(N)||r.push({type:i.DIRECTIVE_LOCATION_REMOVED,description:"".concat(N," was removed from ").concat(p.name,".")})}}catch(e){O.e(e)}finally{O.f()}}}catch(e){s.e(e)}finally{s.f()}return r}(e,t)))}!function(e){e.TYPE_REMOVED="TYPE_REMOVED",e.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",e.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",e.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",e.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",e.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",e.FIELD_REMOVED="FIELD_REMOVED",e.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",e.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",e.ARG_REMOVED="ARG_REMOVED",e.ARG_CHANGED_KIND="ARG_CHANGED_KIND",e.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",e.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",e.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",e.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",e.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED"}(i||(i={})),function(e){e.VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",e.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",e.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",e.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",e.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",e.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"}(a||(a={}));function aE(e,t){return et(e)?et(t)&&aE(e.ofType,t.ofType):er(e)?er(t)&&aE(e.ofType,t.ofType)||!er(t)&&aE(e.ofType,t):eO(t)&&e.name===t.name}function aT(e){return G(e)?"a Scalar type":q(e)?"an Object type":H(e)?"an Interface type":$(e)?"a Union type":X(e)?"an Enum type":Z(e)?"an Input type":void(0,to.V)(!1,"Unexpected type: "+(0,v.N)(e))}function aO(e,t){var n=ts(e,t);return null!=n||(0,to.V)(!1),(0,U.y)(nh(n))}function aN(e,t){var n,r=[],i=[],a=[],o=N(e,function(e){return e.name}),u=N(t,function(e){return e.name}),c=ay(e);try{for(c.s();!(n=c.n()).done;){var s=n.value,l=u[s.name];void 0===l?i.push(s):a.push([s,l])}}catch(e){c.e(e)}finally{c.f()}var f,p=ay(t);try{for(p.s();!(f=p.n()).done;){var d=f.value;void 0===o[d.name]&&r.push(d)}}catch(e){p.e(e)}finally{p.f()}return{added:r,persisted:a,removed:i}}},93881:(e,t,n)=>{"use strict";n.d(t,{A:()=>f,C:()=>r,L:()=>a,P:()=>l,S:()=>o,U:()=>i,a:()=>u,b:()=>c,c:()=>p,g:()=>d,i:()=>v,j:()=>s});var r=".emarketer.com",i=["em_extid","em_sjs","em_uid"],a="debug",o="public",u="freemium",c="pro",s="unknown-tier-internal-use-only",l="ii_core",f="em_at",p="em_rte",d="na1",v="2"},97816:(e,t,n)=>{"use strict";n.r(t),n.d(t,{B:()=>E,C:()=>v,J:()=>f,c:()=>b,d:()=>p,t:()=>g});var r=n(38401),i=n(82671),a=n(96625),o=n(92493),u=n(16612);function c(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var s=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=c({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
1URIComponent).replace(/[()]/g,escape);var a="";for(var o in i)i[o]&&(a+="; "+o,!0!==i[o]&&(a+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var a=n[i].split("="),o=a.slice(1).join("=");try{var u=decodeURIComponent(a[0]);if(r[u]=t.read(o,u),e===u)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){r(e,"",c({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,c({},this.attributes,t))},withConverter:function(t){return e(c({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),l=n(93881),f=(0,a.default)(function e(){(0,i.default)(this,e)},[{key:"get",value:function(e){return s.get(e)}},{key:"set",value:function(e,t,n){s.set(e,t,n)}},{key:"remove",value:function(e,t){s.remove(e,t)}}]),p=new f,d=function(){function e(){(0,i.default)(this,e)}return(0,a.default)(e,null,[{key:"setProvider",value:function(t){e.provider=t}},{key:"getProvider",value:function(){return e.provider}},{key:"get",value:function(t){return e.provider.get(t)}},{key:"set",value:function(t,n,r){e.provider.set(t,n,r)}},{key:"remove",value:function(t,n){e.provider.remove(t,n)}}])}();d.provider=p;var v=d,y=null;function h(e){var t=new Date().getTime(),n=1e3*e;return{currentTime:t,expirationTimeInMilliseconds:n,REFRESH_WINDOW_MS:15e5,timeUntilRefreshWindow:n-t-15e5}}var m=function(){var e=(0,r.A)(o.mark(function e(t,n){return o.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return(0,u.L)(n,"Triggering client-side silent token refresh"),e.prev=1,e.next=4,fetch("".concat(t,"/RefreshToken"),{credentials:"include",headers:{Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache"},method:"POST"});case 4:if(!e.sent.ok){e.next=8;break}(0,u.L)(n,"Token refreshed successfully"),e.t0=!!v.get(l.A),e.next=9;break;case 8:(0,u.L)(n,"Failed to refresh token"),e.t0=!1;case 9:return e.abrupt("return",e.t0);case 12:return e.prev=12,e.t1=e.catch(1),e.abrupt("return",((0,u.L)(n,"Error during token refresh: ".concat(e.t1)),!1));case 15:case"end":return e.stop()}},e,null,[[1,12]])}));return function(t,n){return e.apply(this,arguments)}}(),g=function(e,t){(0,u.L)(t,"tryBackgroundRefreshToken() called"),y&&(clearTimeout(y),y=null,(0,u.L)(t,"tryBackgroundRefreshToken() :: Cleared existing background refresh timeout"));var n=function(){var e,t=v.get(l.A);return null==(e=(0,u.j)(t))?void 0:e.exp},r=n();if(!r)return void(0,u.L)(t,"No em_at cookie expiration time found. Skipping token refresh.");(0,u.L)(t,"em_at cookie expiration time found: ".concat(r));var i=h(r),a=i.currentTime,o=i.expirationTimeInMilliseconds,c=i.REFRESH_WINDOW_MS,s=i.timeUntilRefreshWindow;o>a&&(s>0?(y=setTimeout(function(){(0,u.L)(t,"Token refresh setTimeout callback called"),y=null;var r=n();if(!r)return void(0,u.L)(t,"No em_at cookie expiration time found in token refresh setTimeout callback. Skipping token refresh.");var i=h(r),a=i.currentTime;i.expirationTimeInMilliseconds-a<i.REFRESH_WINDOW_MS?m(e,t):(0,u.L)(t,"Token refresh window condition not met after timeout, skipping trigger.")},s),(0,u.L)(t,"Token refresh scheduled in ".concat(s," ms"))):o-a<c&&m(e,t))},b=function(e){y&&(clearTimeout(y),y=null,(0,u.L)(e,"Background refresh timeout cleared"))},E=Object.freeze(Object.defineProperty({__proto__:null,clearBackgroundRefreshTimeout:b,getRefreshTimingInfo:h,triggerClientSideAccessTokenRefresh:m,tryBackgroundRefreshToken:g},Symbol.toStringTag,{value:"Module"}))},98223:(e,t,n)=>{"use strict";n.d(t,{_:()=>s,k:()=>c});var r=n(82671),i=n(96625),a=n(89971),o=n(87300),u=n(28928),c=(0,i.default)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};(0,r.default)(this,e),"string"==typeof t||(0,a.U)(!1,"Body must be a string. Received: ".concat((0,o.N)(t),".")),this.body=t,this.name=n,this.locationOffset=i,this.locationOffset.line>0||(0,a.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,a.U)(!1,"column in locationOffset is 1-indexed and must be positive.")},[{key:Symbol.toStringTag,get:function(){return"Source"}}]);function s(e){return(0,u.h)(e,c)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.