1(self.webpackChunklingua_fonica=self.webpackChunklingua_fonica||[]).push([[143],{7228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},2858:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},5354:function(e,t,n){var r=n(9489);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},3884:function(e){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){s=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}},e.exports.__esModule=!0,e.exports.default=e.exports},521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},3038:function(e,t,n){var r=n(2858),o=n(3884),i=n(379),a=n(521);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},379:function(e,t,n){var r=n(7228);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.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.exports.__esModule=!0,e.exports.default=e.exports},4674:function(e,t,n){"use strict";n.d(t,{M:function(){return i},c:function(){return a}});var r=n(9900),o=(n(1032),n(4156));function i(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(n){var r,i,a=n.graphQLErrors,s=n.clientErrors,u=n.networkError,c=n.errorMessage,l=n.extraInfo,f=e.call(this,c)||this;return f.graphQLErrors=a||[],f.clientErrors=s||[],f.networkError=u||null,f.message=c||(r=f,i="",((0,o.O)(r.graphQLErrors)||(0,o.O)(r.clientErrors))&&(r.graphQLErrors||[]).concat(r.clientErrors||[]).forEach((function(e){var t=e?e.message:"Error message not found.";i+="".concat(t,"\n")})),r.networkError&&(i+="".concat(r.networkError.message,"\n")),i=i.replace(/\n$/,"")),f.extraInfo=l,f.__proto__=t.prototype,f}return(0,r.ZT)(t,e),t}(Error)},2183:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(7294),o=n(7510).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function i(){var e=r.createContext[o];return e||(Object.defineProperty(r.createContext,o,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},4156:function(e,t,n){"use strict";function r(e){return Array.isArray(e)&&e.length>0}n.d(t,{O:function(){return r}})},7510:function(e,t,n){"use strict";n.d(t,{mr:function(){return o},sy:function(){return i},aS:function(){return a}});var r=n(1032),o="function"==typeof WeakMap&&"ReactNative"!==(0,r.wY)((function(){return navigator.product})),i="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for;(0,r.wY)((function(){return window.document.createElement})),(0,r.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},8721:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))}
1)),n}n.d(t,{o:function(){return r}})},2331:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(9900),o=n(8721);function i(e,t){return(0,o.o)(e,t,t.variables&&{variables:(0,r.pi)((0,r.pi)({},e&&e.variables),t.variables)})}},1032:function(e,t,n){"use strict";n.d(t,{ej:function(){return s},kG:function(){return u},wY:function(){return p}});var r=n(9900),o="Invariant Violation",i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,s=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,a(r,t.prototype),r}return(0,r.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l){var t=console[e]||console.log;return t.apply(console,arguments)}}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));n(5743);function p(e){try{return e()}catch(i){}}var d=p((function(){return globalThis}))||p((function(){return window}))||p((function(){return self}))||p((function(){return n.g}))||p((function(){return p.constructor("return this")()})),h="__",v=[h,h].join("DEV");var y=function(){try{return Boolean(__DEV__)}catch(i){return Object.defineProperty(d,v,{value:"production"!==p((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),d[v]}}();function m(e){try{return e()}catch(t){}}var g=m((function(){return globalThis}))||m((function(){return window}))||m((function(){return self}))||m((function(){return n.g}))||m((function(){return m.constructor("return this")()})),b=!1;function w(){b&&(delete g.process,b=!1)}!g||m((function(){return"production"}))||m((function(){return process}))||(Object.defineProperty(g,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),b=!0),n(4504).H,w(),__DEV__?u("boolean"==typeof y,y):u("boolean"==typeof y,36)},4118:function(e){e.exports=function(){var e,t=["navigation","request","process","log","user","state","error","manual"],n=function(e,t,n){for(var r=n,o=0,i=e.length;o<i;o++)r=t(r,e[o],o,e);return r},r=function(e,t){return n(e,(function(e,n,r,o){return t(n,r,o)?e.concat(n):e}),[])},o=function(e,t){return n(e,(function(e,n,r,o){return!0===e||n===t}),!1)},i=function(e){return"[object Array]"===Object.prototype.toString.call(e)},a=!{toString:null}.propertyIsEnumerable("toString"),s=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],u=function(e){var t,n=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.push(t);if(!a)return n;for(var r=0,o=s.length;r<o;r++)Object.prototype.hasOwnProperty.call(e,s[r])&&n.push(s[r]);return n},c=function(e,t){return void 0===e&&(e=1),void 0===t&&(t=1/0),function(n){return"number"==typeof n&&parseInt(""+n,10)===n&&n>=e&&n<=t}},l=function(e){return"function"==typeof e||i(e)&&r(e,(function(e){return"function"==typeof e})).length===e.length},f=function(e){return"string"==typeof e&&!!e.length},p={},d=function(){return{unhandledExceptions:!0,unhandledRejections:!0}};p.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:f},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||f(e)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||f(e)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledErrorTypes:{defaultValue:function(){return d()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(e){if("object"!=typeof e||!e)return!1;var t=u(e),n=u(d());return!(r(t,(function(e){return o(n,e)})).length<t.length||r(u(e),(function(t){return"boolean"!=typeof e[t]})).length>0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:l},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}}
1,message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(e){return e&&"object"==typeof e&&f(e.notify)&&f(e.sessions)&&0===r(u(e),(function(e){return!o(["notify","sessions"],e)})).length}},autoTrackSessions:{defaultValue:function(e){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||i(e)&&r(e,(function(e){return"string"==typeof e})).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"==typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number â¤100",validate:function(e){return c(0,100)(e)}},enabledBreadcrumbTypes:{defaultValue:function(){return t},message:"should be null or a list of available breadcrumb types ("+t.join(",")+")",validate:function(e){return null===e||i(e)&&n(e,(function(e,n){return!1===e?e:o(t,n)}),!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||"string"==typeof e}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(e){return null===e||e&&n(u(e),(function(e,t){return e&&o(["id","email","name"],t)}),!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(e){return"object"==typeof e&&null!==e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&n(["debug","info","warn","error"],(function(t,n){return t&&"function"==typeof e[n]}),!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(e){return i(e)&&e.length===r(e,(function(e){return"string"==typeof e||e&&"function"==typeof e.test})).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(e){return i(e)&&e.length===r(e,(function(e){return e&&"object"==typeof e&&"function"==typeof e.load})).length}},featureFlags:{defaultValue:function(){return[]},message:'should be an array of objects that have a "name" property',validate:function(e){return i(e)&&e.length===r(e,(function(e){return e&&"object"==typeof e&&"string"==typeof e.name})).length}}};var h=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e,t){return n(e,(function(e,n,r,o){return e.concat(t(n,r,o))}),[])};function y(){return y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y.apply(this,arguments)}var m=p.schema,g={releaseStage:h({},m.releaseStage,{defaultValue:function(){return/^localhost(:\d+)?$/.test(window.location.host)?"development":"production"}}),appType:y({},m.appType,{defaultValue:function(){return"browser"}}),logger:h({},m.logger,{defaultValue:function(){return"undefined"!=typeof console&&"function"==typeof console.debug?b():void 0}})},b=function(){var e={},t=console.log;return v(["debug","info","warn","error"],(function(n){var r=console[n];e[n]="function"==typeof r?r.bind(console,"[bugsnag]"):t.bind(console,"[bugsnag]")})),e},w=function(){function e(e,t,n,r){void 0===r&&(r=new Date),this.type=n,this.message=e,this.metadata=t,this.timestamp=r}return e.prototype.toJSON=function(){return{type:this.type,name:this.message,timestamp:this.timestamp,metaData:this.metadata}},e}(),_={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("stackframe",[],n):"object"==typeof _?_=n():t.StackFrame=n()}(this,(function(){"use strict";function e(e){return!isNaN(parseFloat(e))&&isFinite(e)}function t(e){return e.charAt(0).toUpperCase()+e.substring(1)}function n(e){return function(){return this[e]}}var r=["isConstructor","isEval","isNative","isToplevel"],o=["columnNumber","lineNumber"],i=["fileName","functionName","source"],a=["args"],s=r.concat(o,i,a);function u(e){if(e instanceof Object)for(var n=0;n<s.length;n++)e.hasOwnProperty(s[n])&&void 0!==e[s[n]]&&this["set"+t(s[n])](e[s[n]])}u.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof u)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new u(e)}},toString:function(){return(this.getFunctionName()||"{anonymous}")+"("+(this.getArgs()||[]).join(",")+")"+(this.getFileName()?"@"+this.getFileName():"")+(e(this.getLineNumber())?":"+this.getLineNumber():"")+(e(this.getColumnNumber())?":"+this.getColumnNumber():"")}};for(var c=0;c<r.length;c++)u.prototype["get"+t(r[c])]=n(r[c]),u.prototype["set"+t(r[c])]=function(e){return function(t){this[e]=Boolean(t)}}(r[c]);for(var l=0;l<o.length;l++)u.prototype["get"+t(o[l])]=n(o[l]),u.prototype["set"+t(o[l])]=function(t){return function(n){if(!e(n))throw new TypeError(t+" must be a Number");this[t]=Number(n)}}(o[l]);for(var f=0;f<i.length;f++)u.prototype["get"+t(i[f])]=n(i[f]),u.prototype["set"+t(i[f])]=function(e){return function(t){this[e]=String(t)}}(i[f]);return u}));var S={};!function(t,n){"use strict";
1"function"==typeof e&&e.amd?e("error-stack-parser",["stackframe"],n):"object"==typeof S?S=n(_):t.ErrorStackParser=n(t.StackFrame)}(this,(function(e){"use strict";var t=/(^|@)\S+\:\d+/,n=/^\s*at .*(\S+\:\d+|\(native\))/m,r=/^(eval@)?(\[native code\])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(n))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var t=/(.+?)(?:\:(\d+))?(?:\:(\d+))?$/.exec(e.replace(/[\(\)]/g,""));return[t[1],t[2]||void 0,t[3]||void 0]},parseV8OrIE:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(n)}),this).map((function(t){t.indexOf("(eval ")>-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var n=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),r=n.match(/ (\((.+):(\d+):(\d+)\)$)/),o=(n=r?n.replace(r[0],""):n).split(/\s+/).slice(1),i=this.extractLocation(r?r[1]:o.pop()),a=o.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:a,fileName:s,lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(r)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var n=/((.*".+"[^@]*)?[^@]*)(?:@)/,r=t.match(n),o=r&&r[1]?r[1]:void 0,i=this.extractLocation(t.replace(n,""));return new e({functionName:o,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)/i,r=t.message.split("\n"),o=[],i=2,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera10:function(t){for(var n=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,r=t.stacktrace.split("\n"),o=[],i=0,a=r.length;i<a;i+=2){var s=n.exec(r[i]);s&&o.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:r[i]}))}return o},parseOpera11:function(n){return n.stack.split("\n").filter((function(e){return!!e.match(t)&&!e.match(/^Error created at/)}),this).map((function(t){var n,r=t.split("@"),o=this.extractLocation(r.pop()),i=r.shift()||"",a=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^\)]*\)/g,"")||void 0;i.match(/\(([^\)]*)\)/)&&(n=i.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===n||"[arguments not available]"===n?void 0:n.split(",");return new e({functionName:a,args:s,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)}}}));var E=S,O=function(e,t,n,r){var o=r&&r.redactedKeys?r.redactedKeys:[],i=r&&r.redactedPaths?r.redactedPaths:[];return JSON.stringify(q(e,o,i),t,n)},k=20,x=25e3,j=8,P="...";function D(e){return e instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(e))}function T(e){return"[Throws: "+(e?e.message:"?")+"]"}function R(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return!0;return!1}function C(e,t){for(var n=0,r=e.length;n<r;n++)if(0===t.indexOf(e[n]))return!0;return!1}function I(e,t){for(var n=0,r=e.length;n<r;n++){if("string"==typeof e[n]&&e[n].toLowerCase()===t.toLowerCase())return!0;if(e[n]&&"function"==typeof e[n].test&&e[n].test(t))return!0}return!1}function N(e){return"[object Array]"===Object.prototype.toString.call(e)}function F(e,t){try{return e[t]}catch(n){return T(n)}}function q(e,t,n){var r=[],o=0;function i(e,a){function s(){return a.length>j&&o>x}if(o++,a.length>k)return P;if(s())return P;if(null===e||"object"!=typeof e)return e;if(R(r,e))return"[Circular]";if(r.push(e),"function"==typeof e.toJSON)try{o--;var u=i(e.toJSON(),a);return r.pop(),u}catch(v){return T(v)}if(D(e)){o--;var c=i({name:e.name,message:e.message},a);return r.pop(),c}if(N(e)){for(var l=[],f=0,p=e.length;f<p;f++){if(s()){l.push(P);break}l.push(i(e[f],a.concat("[]")))}return r.pop(),l}var d={};try{for(var h in e)if(Object.prototype.hasOwnProperty.call(e,h))if(C(n,a.join("."))&&I(t,h))d[h]="[REDACTED]";else{if(s()){d[h]=P;break}
1d[h]=i(F(e,h),a.concat(h))}}catch(y){}return r.pop(),d}return i(e,[])}function M(e,t,n){"string"==typeof t&&(void 0===n?n=null:null!==n&&"string"!=typeof n&&(n=O(n)),e[t]=n)}function A(e,t){if(i(t))for(var n=0;n<t.length;++n){var r=t[n];null!==r&&"object"==typeof r&&M(e,r.name,r.variant)}}function L(e){return v(u(e),(function(t){var n={featureFlag:t};return"string"==typeof e[t]&&(n.variant=e[t]),n}))}var V={add:M,merge:A,toEventApi:L},Q=function(e){return!(!e||!e.stack&&!e.stacktrace&&!e["opera#sourceloc"]||"string"!=typeof(e.stack||e.stacktrace||e["opera#sourceloc"])||e.stack===e.name+": "+e.message)};function U(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}var B=U,G=function(e,t,n,r){var o;if(t){var i;if(null===n)return W(e,t);"object"==typeof n&&(i=n),"string"==typeof n&&((o={})[n]=r,i=o),i&&(e[t]||(e[t]={}),e[t]=h({},e[t],i))}},W=function(e,t,n){"string"==typeof t&&(n?e[t]&&delete e[t][n]:delete e[t])},z={add:G,get:function(e,t,n){if("string"==typeof t)return n?e[t]?e[t][n]:void 0:e[t]},clear:W},H={};!function(t,n){"use strict";"function"==typeof e&&e.amd?e("stack-generator",["stackframe"],n):"object"==typeof H?H=n(_):t.StackGenerator=n(t.StackFrame)}(this,(function(e){return{backtrace:function(t){var n=[],r=10;"object"==typeof t&&"number"==typeof t.maxStackSize&&(r=t.maxStackSize);for(var o=arguments.callee;o&&n.length<r&&o.arguments;){for(var i=new Array(o.arguments.length),a=0;a<i.length;++a)i[a]=o.arguments[a];/function(?:\s+([\w$]+))+\s*\(/.test(o.toString())?n.push(new e({functionName:RegExp.$1||void 0,args:i})):n.push(new e({args:i}));try{o=o.caller}catch(s){break}}return n}}}));var J=function(){function e(t,n,r,o,i){void 0===r&&(r=[]),void 0===o&&(o=$()),this.apiKey=void 0,this.context=void 0,this.groupingHash=void 0,this.originalError=i,this._handledState=o,this.severity=this._handledState.severity,this.unhandled=this._handledState.unhandled,this.app={},this.device={},this.request={},this.breadcrumbs=[],this.threads=[],this._metadata={},this._features={},this._user={},this._session=void 0,this.errors=[X(t,n,e.__type,r)]}var t=e.prototype;return t.addMetadata=function(e,t,n){return z.add(this._metadata,e,t,n)},t.getMetadata=function(e,t){return z.get(this._metadata,e,t)},t.clearMetadata=function(e,t){return z.clear(this._metadata,e,t)},t.addFeatureFlag=function(e,t){void 0===t&&(t=null),V.add(this._features,e,t)},t.addFeatureFlags=function(e){V.merge(this._features,e)},t.clearFeatureFlag=function(e){delete this._features[e]},t.clearFeatureFlags=function(){this._features={}},t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){return{payloadVersion:"4",exceptions:v(this.errors,(function(e){return h({},e,{message:e.errorMessage})})),severity:this.severity,unhandled:this._handledState.unhandled,severityReason:this._handledState.severityReason,app:this.app,device:this.device,request:this.request,breadcrumbs:this.breadcrumbs,context:this.context,groupingHash:this.groupingHash,metaData:this._metadata,user:this._user,session:this._session,featureFlags:V.toEventApi(this._features)}},e}(),Z=function(e){var t={file:e.fileName,method:K(e.functionName),lineNumber:e.lineNumber,columnNumber:e.columnNumber,code:void 0,inProject:void 0};return t.lineNumber>-1&&!t.file&&!t.method&&(t.file="global code"),t},K=function(e){return/^global code$/i.test(e)?"global code":e},$=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},Y=function(e){return"string"==typeof e?e:""};function X(e,t,r,o){return{errorClass:Y(e),errorMessage:Y(t),type:r,stacktrace:n(o,(function(e,t){var n=Z(t);try{return"{}"===JSON.stringify(n)?e:e.concat(n)}catch(r){return e}}),[])}}function ee(e){return e.cause?[e].concat(ee(e.cause)):[e]}J.getStacktrace=function(e,t,n){if(Q(e))return E.parse(e).slice(t);try{return r(H.backtrace(),(function(e){return-1===(e.functionName||"").indexOf("StackGenerator$$")})).slice(1+n)}catch(o){return[]}},J.create=function(e,t,n,r,o,i){void 0===o&&(o=0);
1var a,s=ne(e,t,r,i),u=s[0],c=s[1];try{var l=J.getStacktrace(u,c>0?1+c+o:0,1+o);a=new J(u.name,u.message,l,n,e)}catch(h){a=new J(u.name,u.message,[],n,e)}if("InvalidError"===u.name&&a.addMetadata(""+r,"non-error parameter",te(e)),u.cause){var f,p=ee(u).slice(1),d=v(p,(function(e){var t=B(e)&&Q(e)?E.parse(e):[],n=ne(e,!0,"error cause")[0];return"InvalidError"===n.name&&a.addMetadata("error cause",te(e)),X(n.name,n.message,J.__type,t)}));(f=a.errors).push.apply(f,d)}return a};var te=function(e){return null===e?"null":void 0===e?"undefined":e},ne=function(e,t,n,r){var o,i=0,a=function(e){var t="error cause"===n?"was":"received";r&&r.warn(n+" "+t+' a non-error: "'+e+'"');var o=new Error(n+" "+t+' a non-error. See "'+n+'" tab for more detail.');return o.name="InvalidError",o};if(t)switch(typeof e){case"string":case"number":case"boolean":o=new Error(String(e)),i+=1;break;case"function":o=a("function"),i+=2;break;case"object":null!==e&&B(e)?o=e:null!==e&&re(e)?((o=new Error(e.message||e.errorMessage)).name=e.name||e.errorClass,i+=1):(o=a(null===e?"null":"unsupported object"),i+=2);break;default:o=a("nothing"),i+=2}else B(e)?o=e:(o=a(typeof e),i+=2);if(!Q(o))try{throw o}catch(s){Q(s)&&(o=s,i=1)}return[o,i]};J.__type="browserjs";var re=function(e){return!("string"!=typeof e.name&&"string"!=typeof e.errorClass||"string"!=typeof e.message&&"string"!=typeof e.errorMessage)},oe=J,ie=function(e,t,n){var r=0;!function o(){if(r>=e.length)return n(null,!0);t(e[r],(function(e,t){return e?n(e):!1===t?n(null,!1):(r++,void o())}))}()},ae=function(e,t,n,r){var o=function(e,r){if("function"!=typeof e)return r(null);try{if(2!==e.length){var o=e(t);return o&&"function"==typeof o.then?o.then((function(e){return setTimeout((function(){return r(null,e)}))}),(function(e){setTimeout((function(){return n(e),r(null,!0)}))})):r(null,o)}e(t,(function(e,t){if(e)return n(e),r(null);r(null,t)}))}catch(i){n(i),r(null)}};ie(e,o,r)},se=function(e,t,n,r){for(var o=!1,i=e.slice();!o&&i.length;)try{o=!1===i.pop()(t)}catch(a){r.error("Error occurred in "+n+" callback, continuing anywayâ¦"),r.error(a)}return o},ue=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},ce="object"==typeof window?window:self,le=0;for(var fe in ce)Object.hasOwnProperty.call(ce,fe)&&le++;var pe=navigator.mimeTypes?navigator.mimeTypes.length:0,de=ue((pe+navigator.userAgent.length).toString(36)+le.toString(36),4),he=function(){return de},ve=0,ye=4,me=36,ge=Math.pow(me,ye);function be(){return ue((Math.random()*ge<<0).toString(me),ye)}function we(){return ve=ve<ge?ve:0,++ve-1}function _e(){return"c"+(new Date).getTime().toString(me)+ue(we().toString(me),ye)+he()+(be()+be())}_e.fingerprint=he;var Se=_e,Ee=function(){function e(){this.id=Se(),this.startedAt=new Date,this._handled=0,this._unhandled=0,this._user={},this.app={},this.device={}}var t=e.prototype;return t.getUser=function(){return this._user},t.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},t.toJSON=function(){return{id:this.id,startedAt:this.startedAt,events:{handled:this._handled,unhandled:this._unhandled}}},t._track=function(e){this[e._handledState.unhandled?"_unhandled":"_handled"]+=1},e}(),Oe=Ee,ke=function(){},xe=function(){function e(t,n,r,o){var i=this;void 0===n&&(n=p.schema),void 0===r&&(r=[]),this._notifier=o,this._config={},this._schema=n,this._delivery={sendSession:ke,sendEvent:ke},this._logger={debug:ke,info:ke,warn:ke,error:ke},this._plugins={},this._breadcrumbs=[],this._session=null,this._metadata={},this._features={},this._context=void 0,this._user={},this._cbs={e:[],s:[],sp:[],b:[]},this.Client=e,this.Event=oe,this.Breadcrumb=w,this.Session=Oe,this._config=this._configure(t,r),v(r.concat(this._config.plugins),(function(e){e&&i._loadPlugin(e)})),this._depth=1;var a=this,s=this.notify;this.notify=function(){return s.apply(a,arguments)}}var i=e.prototype;return i.addMetadata=function(e,t,n){return z.add(this._metadata,e,t,n)},i.getMetadata=function(e,t){return z.get(this._metadata,e,t)},i.clearMetadata=function(e,t){return z.clear(this._metadata,e,t)},i.addFeatureFlag=function(e,t){void 0===t&&(t=null),V.add(this._features,e,t)},i.addFeatureFlags=function(e){V.merge(this._features,e)},i.clearFeatureFlag=function(e){delete this._features[e]},i.clearFeatureFlags=function(){this._features={}},i.getContext=function(){return this._context},i.setContext=function(e){this._context=e},i._configure=function(e,t){var r=n(t,(function(e,t){return t&&t.configSchema?h({},e,t.configSchema):e}),this._schema),o=n(u(r),(function(t,n){var o=r[n].defaultValue(e[
1n]);return void 0!==e[n]?r[n].validate(e[n])?r[n].allowPartialObject?t.config[n]=h(o,e[n]):t.config[n]=e[n]:(t.errors[n]=r[n].message,t.config[n]=o):t.config[n]=o,t}),{errors:{},config:{}}),i=o.errors,a=o.config;if(r.apiKey){if(!a.apiKey)throw new Error("No Bugsnag API Key set");/^[0-9a-f]{32}$/i.test(a.apiKey)||(i.apiKey="should be a string of 32 hexadecimal characters")}return this._metadata=h({},a.metadata),V.merge(this._features,a.featureFlags),this._user=h({},a.user),this._context=a.context,a.logger&&(this._logger=a.logger),a.onError&&(this._cbs.e=this._cbs.e.concat(a.onError)),a.onBreadcrumb&&(this._cbs.b=this._cbs.b.concat(a.onBreadcrumb)),a.onSession&&(this._cbs.s=this._cbs.s.concat(a.onSession)),u(i).length&&this._logger.warn(je(i,e)),a},i.getUser=function(){return this._user},i.setUser=function(e,t,n){this._user={id:e,email:t,name:n}},i._loadPlugin=function(e){var t=e.load(this);return e.name&&(this._plugins["~"+e.name+"~"]=t),this},i.getPlugin=function(e){return this._plugins["~"+e+"~"]},i._setDelivery=function(e){this._delivery=e(this)},i.startSession=function(){var e=new Oe;return e.app.releaseStage=this._config.releaseStage,e.app.version=this._config.appVersion,e.app.type=this._config.appType,e._user=h({},this._user),se(this._cbs.s,e,"onSession",this._logger)?(this._logger.debug("Session not started due to onSession callback"),this):this._sessionDelegate.startSession(this,e)},i.addOnError=function(e,t){void 0===t&&(t=!1),this._cbs.e[t?"unshift":"push"](e)},i.removeOnError=function(e){this._cbs.e=r(this._cbs.e,(function(t){return t!==e}))},i._addOnSessionPayload=function(e){this._cbs.sp.push(e)},i.addOnSession=function(e){this._cbs.s.push(e)},i.removeOnSession=function(e){this._cbs.s=r(this._cbs.s,(function(t){return t!==e}))},i.addOnBreadcrumb=function(e,t){void 0===t&&(t=!1),this._cbs.b[t?"unshift":"push"](e)},i.removeOnBreadcrumb=function(e){this._cbs.b=r(this._cbs.b,(function(t){return t!==e}))},i.pauseSession=function(){return this._sessionDelegate.pauseSession(this)},i.resumeSession=function(){return this._sessionDelegate.resumeSession(this)},i.leaveBreadcrumb=function(e,n,r){if(e="string"==typeof e?e:"",r="string"==typeof r&&o(t,r)?r:"manual",n="object"==typeof n&&null!==n?n:{},e){var i=new w(e,n,r);se(this._cbs.b,i,"onBreadcrumb",this._logger)?this._logger.debug("Breadcrumb not attached due to onBreadcrumb callback"):(this._breadcrumbs.push(i),this._breadcrumbs.length>this._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs)))}},i._isBreadcrumbTypeEnabled=function(e){var t=this._config.enabledBreadcrumbTypes;return null===t||o(t,e)},i.notify=function(e,t,n){void 0===n&&(n=ke);var r=oe.create(e,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(r,t,n)},i._notify=function(t,n,r){var i=this;if(void 0===r&&(r=ke),t.app=h({},t.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),t.context=t.context||this._context,t._metadata=h({},t._metadata,this._metadata),t._features=h({},t._features,this._features),t._user=h({},t._user,this._user),t.breadcrumbs=this._breadcrumbs.slice(),null!==this._config.enabledReleaseStages&&!o(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),r(null,t);var a=t.severity,s=function(e){i._logger.error("Error occurred in onError callback, continuing anywayâ¦"),i._logger.error(e)},u=[].concat(this._cbs.e).concat(n);ae(u,t,s,(function(n,o){if(n&&s(n),!o)return i._logger.debug("Event not sent due to onError callback"),r(null,t);i._isBreadcrumbTypeEnabled("error")&&e.prototype.leaveBreadcrumb.call(i,t.errors[0].errorClass,{errorClass:t.errors[0].errorClass,errorMessage:t.errors[0].errorMessage,severity:t.severity},"error"),a!==t.severity&&(t._handledState.severityReason={type:"userCallbackSetSeverity"}),t.unhandled!==t._handledState.unhandled&&(t._handledState.severityReason.unhandledOverridden=!0,t._handledState.unhandled=t.unhandled),i._session&&(i._session._track(t),t._session=i._session),i._delivery.sendEvent({apiKey:t.apiKey||i._config.apiKey,notifier:i._notifier,events:[t]},(function(e){return r(e,t)}))}))},e}(),je=function(e,t){return new Error("Invalid configuration\n"+v(u(e),(function(n){return" - "+n+" "+e[n]+", got "+Pe(t[n])})).join("\n\n"))},Pe=function(e){switch(typeof e){case"string":case"number":case"object":return JSON.stringify(e);default:return String(e)}},De=xe,Te={},Re=["events.[].metaData","events.[].breadcrumbs.[].metaData","events.[].request"];Te.event=function(e,t){var n=O(e,null,null,{redactedPaths:Re,redactedKeys:t});if(n.length>1e6&&(e.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+n.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(n=O(e,null,null,{redactedPaths:Re,redactedKeys:t})).length>
11e6))throw new Error("payload exceeded 1MB limit");return n},Te.session=function(e,t){var n=O(e,null,null);if(n.length>1e6)throw new Error("payload exceeded 1MB limit");return n};var Ce={};Ce=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});var o=Ie(e._config,"notify","4",t),i=new t.XDomainRequest;i.onload=function(){r(null)},i.open("POST",o),setTimeout((function(){try{i.send(Te.event(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}}),0)},sendSession:function(n,r){void 0===r&&(r=function(){});var o=Ie(e._config,"sessions","1",t),i=new t.XDomainRequest;i.onload=function(){r(null)},i.open("POST",o),setTimeout((function(){try{i.send(Te.session(n,e._config.redactedKeys))}catch(t){e._logger.error(t),r(t)}}),0)}}};var Ie=function(e,t,n,r){var o=JSON.parse(JSON.stringify(new Date));return Ne(e.endpoints[t],r.location.protocol)+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+n+"&sentAt="+encodeURIComponent(o)},Ne=Ce._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},Fe=function(e,t){return void 0===t&&(t=window),{sendEvent:function(n,r){void 0===r&&(r=function(){});try{var o=e._config.endpoints.notify,i=new t.XMLHttpRequest;i.onreadystatechange=function(){i.readyState===t.XMLHttpRequest.DONE&&r(null)},i.open("POST",o),i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("Bugsnag-Api-Key",n.apiKey||e._config.apiKey),i.setRequestHeader("Bugsnag-Payload-Version","4"),i.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),i.send(Te.event(n,e._config.redactedKeys))}catch(a){e._logger.error(a)}},sendSession:function(n,r){void 0===r&&(r=function(){});try{var o=e._config.endpoints.sessions,i=new t.XMLHttpRequest;i.onreadystatechange=function(){i.readyState===t.XMLHttpRequest.DONE&&r(null)},i.open("POST",o),i.setRequestHeader("Content-Type","application/json"),i.setRequestHeader("Bugsnag-Api-Key",e._config.apiKey),i.setRequestHeader("Bugsnag-Payload-Version","1"),i.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),i.send(Te.session(n,e._config.redactedKeys))}catch(a){e._logger.error(a)}}}},qe=new Date,Me=function(){qe=new Date},Ae={name:"appDuration",load:function(e){return e.addOnError((function(e){var t=new Date;e.app.duration=t-qe}),!0),{reset:Me}}},Le=function(e){return void 0===e&&(e=window),{load:function(t){t.addOnError((function(t){void 0===t.context&&(t.context=e.location.pathname)}),!0)}}},Ve=function(e,t){var n="000000000"+e;return n.substr(n.length-t)},Qe="object"==typeof window?window:self,Ue=0;for(var Be in Qe)Object.hasOwnProperty.call(Qe,Be)&&Ue++;var Ge=navigator.mimeTypes?navigator.mimeTypes.length:0,We=Ve((Ge+navigator.userAgent.length).toString(36)+Ue.toString(36),4),ze=function(){return We},He=0,Je=4,Ze=36,Ke=Math.pow(Ze,Je);function $e(){return Ve((Math.random()*Ke<<0).toString(Ze),Je)}function Ye(){return He=He<Ke?He:0,++He-1}function Xe(){return"c"+(new Date).getTime().toString(Ze)+Ve(Ye().toString(Ze),Je)+ze()+($e()+$e())}Xe.fingerprint=ze;var et=Xe,tt="bugsnag-anonymous-id",nt=function(){try{var e=window.localStorage,t=e.getItem(tt);return t&&/^c[a-z0-9]{20,32}$/.test(t)||(t=et(),e.setItem(tt,t)),t}catch(n){}},rt=function(e,t){return void 0===e&&(e=navigator),void 0===t&&(t=window.screen),{load:function(n){var r={locale:e.browserLanguage||e.systemLanguage||e.userLanguage||e.language,userAgent:e.userAgent};t&&t.orientation&&t.orientation.type?r.orientation=t.orientation.type:r.orientation=document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait",n._config.generateAnonymousId&&(r.id=nt()),n.addOnSession((function(e){e.device=h({},e.device,r),n._config.collectUserIp||ot(e)})),n.addOnError((function(e){e.device=h({},e.device,r,{time:new Date}),n._config.collectUserIp||ot(e)}),!0)},configSchema:{generateAnonymousId:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}}},ot=function(e){var t=e.getUser();t&&t.id||e.setUser(e.device.id)},it=function(e){return void 0===e&&(e=window),{load:function(t){t.addOnError((function(t){t.request&&t.request.url||(t.request=h({},t.request,{url:e.location.href}))}),!0)}}},at={load:function(e){e._sessionDelegate=st}},st={startSession:function(e,t){var n=e;return n._session=t,n._pausedSession=null,null===n._config.enabledReleaseStages||o(n._config.enabledReleaseStages,n._config.releaseStage)?(n._delivery.sendSession({notifier:n._notifier,device:t.device,app:t.app,sessions:[{id:t.id,startedAt:t.startedAt,user:t._user}]}),n):(n._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),n)},resumeSession:function(e){return e._session?e:e._pausedSession?(e._session=e._pausedSession,e._pausedSession=null,e):e.startSession()},pauseSession:function(e){e._pausedSession=e._session,e._session=null}},ut={load:function(e){e._config.collectUserIp||e.addOnError((function(e){e._user&&void 0===e._user.id&&delete e._user.id,e._user=h({id:"[REDACTED]"},e._user),e.request=h({clientIp:"[REDACTED]"},e.request)}))},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}}
1,ct={load:function(e){!/^(local-)?dev(elopment)?$/.test(e._config.releaseStage)&&e._isBreadcrumbTypeEnabled("log")&&v(lt,(function(t){var r=console[t];console[t]=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];e.leaveBreadcrumb("Console output",n(i,(function(e,t,n){var r="[Unknown value]";try{r=String(t)}catch(o){}if("[object Object]"===r)try{r=JSON.stringify(t)}catch(o){}return e["["+n+"]"]=r,e}),{severity:0===t.indexOf("group")?"log":t}),"log"),r.apply(console,i)},console[t]._restore=function(){console[t]=r}}))}},lt=r(["log","debug","info","warn","error"],(function(e){return"undefined"!=typeof console&&"function"==typeof console[e]})),ft=200,pt=5e5,dt=function(e,t){return void 0===e&&(e=document),void 0===t&&(t=window),{load:function(o){if(o._config.trackInlineScripts){var i=t.location.href,a="",s=e.attachEvent?"complete"===e.readyState:"loading"!==e.readyState,u=function(){return e.documentElement.outerHTML};a=u();var c=e.onreadystatechange;e.onreadystatechange=function(){"interactive"===e.readyState&&(a=u(),s=!0);try{c.apply(this,arguments)}catch(t){}};var l=null,f=function(e){l=e},p=function(){var t=e.currentScript||l;if(!t&&!s){var n=e.scripts||e.getElementsByTagName("script");t=n[n.length-1]}return t},d=function(e){s&&a||(a=u());var t=["\x3c!-- DOC START --\x3e"].concat(a.split("\n")),r=e-1,o=Math.max(r-3,0),i=Math.min(r+3,t.length);return n(t.slice(o,i),(function(e,t,n){return e[o+1+n]=t.length<=ft?t:t.substr(0,ft),e}),{})};o.addOnError((function(e){e.errors[0].stacktrace=r(e.errors[0].stacktrace,(function(e){return!/__trace__$/.test(e.method)}));var t=e.errors[0].stacktrace[0];if(!t||!t.file||t.file.replace(/#.*$/,"")===i.replace(/#.*$/,"")){var n=p();if(n){var o=n.innerHTML;e.addMetadata("script","content",o.length<=pt?o:o.substr(0,pt)),t&&t.lineNumber&&(t.code=d(t.lineNumber))}}}),!0);var h=v(["setTimeout","setInterval","setImmediate","requestAnimationFrame"],(function(e){return ht(t,e,(function(e){return y(e,(function(e){return{get:function(){return e[0]},replace:function(t){e[0]=t}}}))}))}))[0];v(["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],(function(e){t[e]&&t[e].prototype&&Object.prototype.hasOwnProperty.call(t[e].prototype,"addEventListener")&&(ht(t[e].prototype,"addEventListener",(function(e){return y(e,vt)})),ht(t[e].prototype,"removeEventListener",(function(e){return y(e,vt,!0)})))}))}function y(e,t,n){return void 0===n&&(n=!1),function(){var r=[].slice.call(arguments);try{var o=t(r),i=o.get();if(n&&e.apply(this,r),"function"!=typeof i)return e.apply(this,r);if(i.__trace__)o.replace(i.__trace__);else{var a=p();i.__trace__=function(){f(a),h((function(){f(null)}),0);var e=i.apply(this,arguments);return f(null),e},i.__trace__.__trace__=i.__trace__,o.replace(i.__trace__)}}catch(s){}if(e.apply)return e.apply(this,r);switch(r.length){case 1:return e(r[0]);case 2:return e(r[0],r[1]);default:return e()}}}},configSchema:{trackInlineScripts:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}}};function ht(e,t,n){var r=e[t];if(!r)return r;var o=n(r);return e[t]=o,r}function vt(e){var t=!!e[1]&&"function"==typeof e[1].handleEvent;return{get:function(){return t?e[1].handleEvent:e[1]},replace:function(n){t?e[1].handleEvent=n:e[1]=n}}}var yt=function(e){return void 0===e&&(e=window),{load:function(t){"addEventListener"in e&&t._isBreadcrumbTypeEnabled("user")&&e.addEventListener("click",(function(n){var r,o;try{r=mt(n.target),o=gt(n.target,e)}catch(i){r="[hidden]",o="[hidden]",t._logger.error("Cross domain error when tracking click event. See docs: https://tinyurl.com/yy3rn63z")}t.leaveBreadcrumb("UI click",{targetText:r,targetSelector:o},"user")}),!0)}}},mt=function(e){var t=e.textContent||e.innerText||"";return t||"submit"!==e.type&&"button"!==e.type||(t=e.value),bt(t=t.replace(/^\s+|\s+$/g,""),140
1)};function gt(e,t){var n=[e.tagName];if(e.id&&n.push("#"+e.id),e.className&&e.className.length&&n.push("."+e.className.split(" ").join(".")),!t.document.querySelectorAll||!Array.prototype.indexOf)return n.join("");try{if(1===t.document.querySelectorAll(n.join("")).length)return n.join("")}catch(o){return n.join("")}if(e.parentNode.childNodes.length>1){var r=Array.prototype.indexOf.call(e.parentNode.childNodes,e)+1;n.push(":nth-child("+r+")")}return 1===t.document.querySelectorAll(n.join("")).length?n.join(""):e.parentNode?gt(e.parentNode,t)+" > "+n.join(""):n.join("")}function bt(e,t){var n="(...)";return e&&e.length<=t?e:e.slice(0,t-n.length)+n}var wt={};wt=function(e){void 0===e&&(e=window);var t={load:function(t){if("addEventListener"in e&&t._isBreadcrumbTypeEnabled("navigation")){var n=function(e){return function(){return t.leaveBreadcrumb(e,{},"navigation")}};e.addEventListener("pagehide",n("Page hidden"),!0),e.addEventListener("pageshow",n("Page shown"),!0),e.addEventListener("load",n("Page loaded"),!0),e.document.addEventListener("DOMContentLoaded",n("DOMContentLoaded"),!0),e.addEventListener("load",(function(){return e.addEventListener("popstate",n("Navigated back"),!0)})),e.addEventListener("hashchange",(function(n){var r=n.oldURL?{from:_t(n.oldURL,e),to:_t(n.newURL,e),state:Ot(e)}:{to:_t(e.location.href,e)};t.leaveBreadcrumb("Hash changed",r,"navigation")}),!0),e.history.replaceState&&Et(t,e.history,"replaceState",e),e.history.pushState&&Et(t,e.history,"pushState",e)}}};return t};var _t=function(e,t){var n=t.document.createElement("A");return n.href=e,""+n.pathname+n.search+n.hash},St=function(e,t,n,r){var o=_t(e.location.href,e);return{title:n,state:t,prevState:Ot(e),to:r||o,from:o}},Et=function(e,t,n,r){var o=t[n];t[n]=function(i,a,s){e.leaveBreadcrumb("History "+n,St(r,i,a,s),"navigation"),"function"==typeof e.resetEventCount&&e.resetEventCount(),e._config.autoTrackSessions&&e.startSession(),o.apply(t,[i,a].concat(void 0!==s?s:[]))}},Ot=function(e){try{return e.history.state}catch(t){}},kt="request",xt=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=window);var n={load:function(n){if(n._isBreadcrumbTypeEnabled("request")){var r=[n._config.endpoints.notify,n._config.endpoints.sessions].concat(e);s(),l();var i=function(e,t,r){var o={status:e.status,request:t+" "+r};e.status>=400?n.leaveBreadcrumb("fetch() failed",o,kt):n.leaveBreadcrumb("fetch() succeeded",o,kt)},a=function(e,t){n.leaveBreadcrumb("fetch() error",{request:e+" "+t},kt)}}function s(){if("addEventListener"in t.XMLHttpRequest.prototype){var e=t.XMLHttpRequest.prototype.open;t.XMLHttpRequest.prototype.open=function(t,n){var r=this,o=!1,i=function(){return c(t,n)},a=function(){return u(t,n,r.status)};o&&(this.removeEventListener("load",a),this.removeEventListener("error",i)),this.addEventListener("load",a),this.addEventListener("error",i),o=!0,e.apply(this,arguments)}}}function u(e,t,i){if(void 0!==t){if("string"!=typeof t||!o(r,t.replace(/\?.*$/,""))){var a={status:i,request:e+" "+t};i>=400?n.leaveBreadcrumb("XMLHttpRequest failed",a,kt):n.leaveBreadcrumb("XMLHttpRequest succeeded",a,kt)}}else n._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}function c(e,t){void 0!==t?"string"==typeof t&&o(r,t.replace(/\?.*$/,""))||n.leaveBreadcrumb("XMLHttpRequest error",{request:e+" "+t},kt):n._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}function l(){if("fetch"in t&&!t.fetch.polyfill){var e=t.fetch;t.fetch=function(){var t,n=arguments,r=arguments[0],o=arguments[1],s=null;return r&&"object"==typeof r?(s=r.url,o&&"method"in o?t=o.method:r&&"method"in r&&(t=r.method)):(s=r,o&&"method"in o&&(t=o.method)),void 0===t&&(t="GET"),new Promise((function(r,o){e.apply(void 0,n).then((function(e){i(e,t,s),r(e)})).catch((function(e){a(t,s),o(e)}))}))}}}}};return n},jt={load:function(e){var t=0;e.addOnError((function(n){if(t>=e._config.maxEvents)return e._logger.warn("Cancelling event send due to maxEvents per session limit of "+e._config.maxEvents+" being reached"),!1;t++})),e.resetEventCount=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer â¤100",validate:function(e){return c(1,100)(e)}}}},Pt={},Dt=(Pt={load:function(e){e.addOnError((function(e){var t=n(e.errors,(function(e,t){return e.concat(t.stacktrace)}),[]);v(t,(function(e){e.file=Dt(e.file)}))}
1))}})._strip=function(e){return"string"==typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},Tt=function(e){return void 0===e&&(e=window),{load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledExceptions){var n=e.onerror;e.onerror=r}function r(e,r,o,i,a){if(0===o&&/Script error\.?/.test(e))t._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,u={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(a)s=t.Event.create(a,!0,u,"window onerror",1),Rt(s.errors[0].stacktrace,r,o,i);else if("object"!=typeof e||null===e||r&&"string"==typeof r||o||i||a)s=t.Event.create(e,!0,u,"window onerror",1),Rt(s.errors[0].stacktrace,r,o,i);else{var c=e.type?"Event: "+e.type:"Error",l=e.message||e.detail||"";(s=t.Event.create({name:c,message:l},!0,u,"window onerror",1)).originalError=e,s.addMetadata("window onerror",{event:e,extraParameters:r})}t._notify(s)}"function"==typeof n&&n.apply(this,arguments)}}}},Rt=function(e,t,n,r){e[0]||e.push({});var o=e[0];o.file||"string"!=typeof t||(o.file=t),!o.lineNumber&&Ct(n)&&(o.lineNumber=n),o.columnNumber||(Ct(r)?o.columnNumber=r:window.event&&Ct(window.event.errorCharacter)&&(o.columnNumber=window.event.errorCharacter))},Ct=function(e){return"number"==typeof e&&"NaN"!==String.call(e)},It=function(e){return void 0===e&&(e=window),{load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledRejections){var n=function(e){var n=e.reason,r=!1;try{e.detail&&e.detail.reason&&(n=e.detail.reason,r=!0)}catch(i){}var o=t.Event.create(n,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,t._logger);r&&v(o.errors[0].stacktrace,Nt(n)),t._notify(o,(function(e){var t;B(e.originalError)&&!e.originalError.stack&&e.addMetadata("unhandledRejection handler",((t={})[Object.prototype.toString.call(e.originalError)]={name:e.originalError.name,message:e.originalError.message,code:e.originalError.code},t))}))};"addEventListener"in e?e.addEventListener("unhandledrejection",n):e.onunhandledrejection=function(e,t){n({detail:{reason:e,promise:t}})}}}}},Nt=function(e){return function(t){t.file!==e.toString()&&t.method&&(t.method=t.method.replace(/^\s+/,""))}},Ft={},qt="Bugsnag JavaScript",Mt="7.16.7",At="https://github.com/bugsnag/bugsnag-js",Lt=h({},p.schema,g),Vt={_client:null,createClient:function(e){"string"==typeof e&&(e={apiKey:e}),e||(e={});var t=[Ae,rt(),Le(),it(),jt,at,ut,Pt,Tt(),It(),wt(),yt(),xt(),ct,dt()],n=new De(e,Lt,t,{name:qt,version:Mt,url:At});return n._setDelivery(window.XDomainRequest?Ce:Fe),n._logger.debug("Loaded!"),n.leaveBreadcrumb("Bugsnag loaded",{},"state"),n._config.autoTrackSessions?n.startSession():n},start:function(e){return Vt._client?(Vt._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),Vt._client):(Vt._client=Vt.createClient(e),Vt._client)},isStarted:function(){return null!=Vt._client}};return v(["resetEventCount"].concat(u(De.prototype)),(function(e){/^_/.test(e)||(Vt[e]=function(){if(!Vt._client)return console.log("Bugsnag."+e+"() was called before Bugsnag.start()");Vt._client._depth+=1;var t=Vt._client[e].apply(Vt._client,arguments);return Vt._client._depth-=1,t})})),(Ft=Vt).Client=De,Ft.Event=oe,Ft.Session=Oe,Ft.Breadcrumb=w,Ft.default=Vt,Ft}()},170:function(e,t,n){e.exports=n(4118)},4148:function(e){e.exports=function(){var e={};function t(){return t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},t.apply(this,arguments)}function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function o(e,t){return o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},o(e,t)}e=function(){function e(){var e="undefined"!=typeof window&&window.React;if(this.name="react",this.lazy=0===arguments.length&&!e,!this.lazy&&(this.React=(arguments.length<=0?void 0:arguments[0])||e,!this.React))throw new Error("@bugsnag/plugin-react reference to `React` was undefined")}return e.prototype.load=function(e){if(!this.lazy){var t=a(this.React,e);return t.createErrorBoundary=function(){return t},t}var n=function(){throw new Error("@bugsnag/plugin-react was used incorrectly. Valid usage is as follows:\nPass React to the plugin constructor\n\n `Bugsnag.start({ plugins: [new BugsnagPluginReact(React)] })`\nand then call `const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary()`\n\nOr if React is not available until after Bugsnag has started,\nconstruct the plugin with no arguments\n `Bugsnag.start({ plugins: [new BugsnagPluginReact()] })`,\nthen pass in React when available to construct your error boundary\n `const ErrorBoundary = Bugsnag.getPlugin('react').createErrorBoundary(React)`")};return n.createErrorBoundary=function(t){if(!t)throw new Error("@bugsnag/plugin-react reference to `React` was undefined");return a(t,e)},n},e}();var i=function(e){for(var t=e.split(/\s*\n\s*/g),n="",r=0,o=t.length;r<o;r++)t[r].length&&(n+=(n.length?"\n":"")+t[r]);return n},a=function(e,o){return function(a){function s(e){var t;return(t=a.call(this,e)||this).state={error:null,info:null},t.handleClearError=t.handleClearError.bind(n(t)),t}r(s,a);var u=s.prototype;return u.handleClearError=function(){this.setState({error:null,info:null})},u.componentDidCatch=function(e,t){var n=this.props.onError,r={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}},a=o.Event.create(e,!0,r,1);t&&t.componentStack&&(t.componentStack=i(t.componentStack)),a.addMetadata("react",t),o._notify(a,n),this.setState({error:e,info:t})},u.render=function(){if(this.state.error){var n=this.props.FallbackComponent;return n?e.createElement(n,t({},this.state,{clearError:this.handleClearError})):null}return this.props.children},s}(e.Component)};return e.formatComponentStack=i,e.default=e,e}()},2393:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,i=t.origin,s=t.protocol,u=t.host,c=t.hostname,l=t.port,f=e.location.pathname;!f&&o&&a&&(f=new URL(o).pathname);return{pathname:encodeURI(decodeURI(f)),search:n,hash:r,href:o,origin:i,protocol:s,host:u,hostname:c,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},o=function(e,t){var o=[],i=r(e),a=!1,s=function(){};return{get location(){return i},get transitioning(){return a},_onTransitionComplete:function(){a=!1,s()},listen:function(t){o.push(t);var n=function(){i=r(e),t({location:i,action:"POP"})};return e.addEventListener("popstate",n),function(){e.removeEventListener("popstate",n),o=o.filter((function(e){return e!==t}))}},navigate:function(t){var u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=u.state,l=u.replace,f=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{c=n({},c,{key:Date.now()+""});try{a||f?e.history.replaceState(c,null,t):e.history.pushState(c,null,t)}catch(d){e.location[f?"replace":"assign"](t)}}i=r(e),a=!0;var p=new Promise((function(e){return s=e}));return o.forEach((function(e){return e({location:i,action:"PUSH"})})),p}}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(e,t,n){var a=n.split("?"),s=a[0],u=a[1],c=void 0===u?"":u;r++,o.push({pathname:s,search:c.length?"?"+c:c}),i.push(e)},replaceState:function(e,t,n){var a=n.split("?"),s=a[0],u=a[1],c=void 0===u?"":u;o[r]={pathname:s,search:c},i[r]=e},go:function(e){var t=r+e;t<0||t>i.length-1||(r=t)}}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(a?window:i()),u=s.navigate;t.V5=s},2098:function(e,t,n){"use strict";t.ei=void 0;var r,o=n(1143),i=(r=o)&&r.__esModule?r:{default:r};var a=function(e,t){return e.substr(0,t.length)===t},s=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],a=d(o),s=""===a[0],c=p(e),f=0,h=c.length;f<h;f++){var y=!1,m=c[f].route;if(m.default)r={route:m,params:{},uri:t};else{for(var g=d(m.path),b={},w=Math.max(a.length,g.length),_=0;_<w;_++){var S=g[_],E=a[_];if(l(S)){b[S.slice(1)||"*"]=a.slice(_).map(decodeURIComponent).join("/");break}if(void 0===E){y=!0;break}var O=u.exec(S);if(O&&!s){-1===v.indexOf(O[1])||(0,i.default)(!1);var k=decodeURIComponent(E);b[O[1]]=k}else if(S!==E){y=!0;break}}if(!y){n={route:m,params:b,uri:"/"+a.slice(0,_).join("/")};break}}}return n||r||null},u=/^:(.+)/,c=function(e){return u.test(e)},l=function(e){return e&&"*"===e[0]},f=function(e,t){return{route:e,score:e.default?0:d(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?c(t)?e+=2:l(t)?e-=5:e+=3:e+=1,e}),0),index:t}},p=function(e){return e.map(f).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},d=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},h=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];t.ei=s},9151:function(e,t,n){"use strict";n.d(t,{D:function(){return u}});var r=Object.prototype,o=r.toString,i=r.hasOwnProperty,a=Function.prototype.toString,s=new Map;function u(e,t){try{return c(e,t)}finally{s.clear()}}function c(e,t){if(e===t)return!0;var n,r,s,u=o.call(e);
1if(u!==o.call(t))return!1;switch(u){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(d(e,t))return!0;var f=l(e),h=l(t),v=f.length;if(v!==h.length)return!1;for(var y=0;y<v;++y)if(!i.call(t,f[y]))return!1;for(y=0;y<v;++y){var m=f[y];if(!c(e[m],t[m]))return!1}return!0;case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==""+t;case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(d(e,t))return!0;for(var g=e.entries(),b="[object Map]"===u;;){var w=g.next();if(w.done)break;var _=w.value,S=_[0],E=_[1];if(!t.has(S))return!1;if(b&&!c(E,t.get(S)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":var O=e.byteLength;if(O===t.byteLength)for(;O--&&e[O]===t[O];);return-1===O;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var k=a.call(e);return k===a.call(t)&&(r=p,!((s=(n=k).length-r.length)>=0&&n.indexOf(r,s)===s))}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}var p="{ [native code] }";function d(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},8440:function(e,t){"use strict";t.H=void 0;t.H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"legacy",n=e.endsWith(".html"),r=e.endsWith(".xml"),o=e.endsWith(".pdf");return"/"===e?e:((n||r||o)&&(t="never"),"always"===t?e.endsWith("/")?e:"".concat(e,"/"):"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},5628:function(e,t,n){"use strict";e.exports=n.g.fetch},540:function(e,t,n){"use strict";var r=n(3038);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw a}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}t.__esModule=!0,t.wrapRootElement=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=n(611),u=n(3521);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function l(e){var t=e.children,n=(0,a.useState)({collectedForwards:new Set,collectedAnyScript:!1}),i=r(n,2),c=i[0],l=c.collectedForwards,f=c.collectedAnyScript,p=i[1];return a.default.createElement(u.PartytownContext.Provider,{value:{collectScript:function(e){var t=!1,n={collectedAnyScript:f,collectedForwards:l};if(f||(n.collectedAnyScript=!0,t=!0),null!=e&&e.forward)if(Array.isArray(e.forward)){var r,i=o(e.forward);try{for(i.s();!(r=i.n()).done;){var a=r.value;n.collectedForwards.has(a)||(n.collectedForwards.add(a),t=!0)}}catch(s){i.e(s)}finally{i.f()}}else 0;t&&p(n)}}},t,f&&a.default.createElement(s.Partytown,{key:"partytown",forward:Array.from(l)}))}t.wrapRootElement=function(e){var t=e.element;return a.default.createElement(l,null,t)}},1138:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},8966:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(885),o=n(2982);function i(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";var n=[].concat((0,o.Z)(t),[e]);if(function(e){return"function"==typeof e.toJSON}(e)){var i=e.toJSON();if(i!==e)return"string"==typeof i?i:a(i,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,o=[],i=0;i<n;++i)o.push(a(e[i],t));1===r?o.push("... 1 more item"):r>1&&o.push("... ".concat(r," more items"));return"["+o.join(", ")+"]"}(e,n);return function(e,t){var n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(e)+"]";var o=n.map((function(e){var n=(0,r.Z)(e,2);return n[0]+": "+a(n[1],t)}));return"{ "+o.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},2425:function(e,t,n){"use strict";n.d(t,{Ye:function(){return a},WU:function(){return s},h8:function(){return u},UG:function(){return l},ku:function(){return r}});var r,o=n(5671),i=n(3144),a=function(e){function t(e,n,r){(0,o.Z)(this,t),this.start=e.start,this.end=n.end,this.startToken=e,this.endToken=n,this.source=r}return(0,i.Z)(t,[{key:e,get:function(){return"Location"}},{key:"toJSON",value:function(){return{start:this.start,end:this.end}}}]),t}(Symbol.toStringTag),s=function(e){function t(e,n,r,i,a,s){(0,o.Z)(this,t),this.kind=e,this.start=n,this.end=r,this.line=i,this.column=a,this.value=s,this.prev=null,this.next=null}return(0,i.Z)(t,[{key:e,get:function(){return"Token"}},{key:"toJSON",value:function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}]),t}(Symbol.toStringTag),u={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
1Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},c=new Set(Object.keys(u));function l(e){var t=null==e?void 0:e.kind;return"string"==typeof t&&c.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(r||(r={}))},53:function(e,t,n){"use strict";n.d(t,{wv:function(){return o},LZ:function(){return a}});var r=n(2905);function o(e){for(var t,n=Number.MAX_SAFE_INTEGER,r=null,o=-1,a=0;a<e.length;++a){var s,u=e[a],c=i(u);c!==u.length&&(r=null!==(s=r)&&void 0!==s?s:a,o=a,0!==a&&c<n&&(n=c))}return e.map((function(e,t){return 0===t?e:e.slice(n)})).slice(null!==(t=r)&&void 0!==t?t:0,o+1)}function i(e){for(var t=0;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function a(e,t){var n=e.replace(/"""/g,'\\"""'),o=n.split(/\r\n|[\n\r]/g),i=1===o.length,a=o.length>1&&o.slice(1).every((function(e){return 0===e.length||(0,r.FD)(e.charCodeAt(0))})),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!i||e.length>70||l||a||s),p="",d=i&&(0,r.FD)(e.charCodeAt(0));return(f&&!d||a)&&(p+="\n"),p+=n,(f||l)&&(p+="\n"),'"""'+p+'"""'}},2905:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function o(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return i(e)||95===e}function s(e){return i(e)||o(e)||95===e}n.d(t,{FD:function(){return r},X1:function(){return o},LQ:function(){return a},HQ:function(){return s}})},5804:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},4504:function(e,t,n){"use strict";n.d(t,{H:function(){return u},T:function(){return c}});var r=n(5671),o=n(3144),i=n(1138),a=n(8966),s=function(e,t){return e instanceof t},u=function(e){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};(0,r.Z)(this,t),"string"==typeof e||(0,i.a)(!1,"Body must be a string. Received: ".concat((0,a.X)(e),".")),this.body=e,this.name=n,this.locationOffset=o,this.locationOffset.line>0||(0,i.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,i.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}return(0,o.Z)(t,[{key:e,get:function(){return"Source"}}]),t}(Symbol.toStringTag);function c(e){return s(e,u)}},9900:function(e,t,n){"use strict";n.d(t,{ZT:function(){return o},pi:function(){return i},_T:function(){return a},mG:function(){return s},Jh:function(){return u},ev:function(){return c}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}
1function s(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(t){i(t)}}function s(e){try{u(r.throw(e))}catch(t){i(t)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(s){i=[6,s],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}Object.create;function c(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},9662:function(e,t,n){var r=n(7854),o=n(614),i=n(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},9483:function(e,t,n){var r=n(7854),o=n(4411),i=n(6330),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},1223:function(e,t,n){var r=n(5112),o=n(30),i=n(3070).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},9670:function(e,t,n){var r=n(7854),o=n(111),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},1318:function(e,t,n){var r=n(5656),o=n(1400),i=n(6244),a=function(e){return function(t,n,a){var s,u=r(t),c=i(u),l=o(a,c);if(e&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},7475:function(e,t,n){var r=n(7854),o=n(3157),i=n(4411),a=n(111),s=n(5112)("species"),u=r.Array;e.exports=function(e){var t;return o(e)&&(t=e.constructor,(i(t)&&(t===u||o(t.prototype))||a(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?u:t}},5417:function(e,t,n){var r=n(7475);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},4326:function(e,t,n){var r=n(1702),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},648:function(e,t,n){var r=n(7854),o=n(1694),i=n(614),a=n(4326),s=n(5112)("toStringTag"),u=r.Object,c="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=u(e),s))?n:c?a(t):"Object"==(r=a(t))&&i(t.callee)?"Arguments":r}},9920:function(e,t,n){var r=n(2597),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t,n){for(var s=o(t),u=a.f,c=i.f,l=0;l<s.length;l++){var f=s[l];r(e,f)||n&&r(n,f)||u(e,f,c(t,f))}}},8880:function(e,t,n){var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},8052:function(e,t,n){var r=n(614),o=n(8880),i=n(6339),a=n(3072);e.exports=function(e,t,n,s){s||(s={});var u=s.enumerable,c=void 0!==s.name?s.name:t;return r(n)&&i(n,c,s),s.global?u?e[t]=n:a(t,n):(s.unsafe?e[t]&&(u=!0):delete e[t],u?e[t]=n:o(e,t,n)),e}},3072:function(e,t,n){var r=n(7854),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}}
vendor: 4,714 bytes, line 1
1)[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(7854),a=n(8113),s=i.process,u=i.Deno,c=s&&s.versions||u&&u.version,l=c&&c.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),a=n(8052),s=n(3072),u=n(9920),c=n(4705);e.exports=function(e,t){var n,l,f,p,d,h=e.target,v=e.global,y=e.stat;if(n=v?r:y?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=o(n,l))&&d.value:n[l],!c(v?l:h+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},6790:function(e,t,n){"use strict";var r=n(7854),o=n(3157),i=n(6244),a=n(9974),s=r.TypeError,u=function(e,t,n,r,c,l,f,p){for(var d,h,v=c,y=0,m=!!f&&a(f,p);y<r;){if(y in n){if(d=m?m(n[y],y,t):n[y],l>0&&o(d))h=i(d),v=u(e,t,d,h,v,l-1)-1;else{if(v>=9007199254740991)throw s("Exceed the acceptable array length");e[v]=d}v++}y++}return v};e.exports=u},9974:function(e,t,n){var r=n(1702),o=n(9662),i=n(4374),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},4374:function(e,t,n){var r=n(7293);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var r=n(4374),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6530:function(e,t,n){var r=n(9781),o=n(2597),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),u=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:u,CONFIGURABLE:c}},1702:function(e,t,n){var r=n(4374),o=Function.prototype,i=o.bind,a=o.call,s=r&&i.bind(a,a);e.exports=r?function(e){return e&&s(e)}:function(e){return e&&function(){return a.apply(e,arguments)}}},5005:function(e,t,n){var r=n(7854),o=n(614),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},8173:function(e,t,n){var r=n(9662);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var r=n(7854),o=n(1702),i=n(7293),a=n(4326),s=r.Object,u=o("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?u(e,""):s(e)}:s},2788:function(e,t,n){var r=n(1702),o=n(614),i=n(5465),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},9909:function(e,t,n){var r,o,i,a=n(8536),s=n(7854),u=n(1702),c=n(111),l=n(8880),f=n(2597),p=n(5465),d=n(6200),h=n(3501),v="Object already initialized",y=s.TypeError,m=s.WeakMap;if(a||p.state){var g=p.state||(p.state=new m),b=u(g.get),w=u(g.has),_=u(g.set);r=function(e,t){if(w(g,e))throw new y(v);return t.facade=e,_(g,e,t),t},o=function(e){return b(g,e)||{}},i=function(e){return w(g,e)}}else{var S=d("state");h[S]=!0,r=function(e,t){if(f(e,S))throw new y(v);return t.facade=e,l(e,S,t),t},o=function(e){return f(e,S)?e[S]:{}},i=function(e){return f(e,S)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw y("Incompatible receiver, "+e+" required");return n}}}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},614:function(e){e.exports=function(e){return"function"==typeof e}},4411:function(e,t,n){var r=n(1702),o=n(7293),i=n(614),a=n(648),s=n(5005),u=n(2788),c=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=r
vendor: 9,752 bytes, line 1
1(p.exec),h=!p.exec(c),v=function(e){if(!i(e))return!1;try{return f(c,l,e),!0}catch(t){return!1}},y=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(p,u(e))}catch(t){return!0}};y.sham=!0,e.exports=!f||o((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?y:v},4705:function(e,t,n){var r=n(7293),o=n(614),i=/#|\.prototype\./,a=function(e,t){var n=u[s(e)];return n==l||n!=c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},u=a.data={},c=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},111:function(e,t,n){var r=n(614);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var r=n(7854),o=n(5005),i=n(614),a=n(7976),s=n(3307),u=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&a(t.prototype,u(e))}},6244:function(e,t,n){var r=n(7466);e.exports=function(e){return r(e.length)}},6339:function(e,t,n){var r=n(7293),o=n(614),i=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,u=n(2788),c=n(9909),l=c.enforce,f=c.get,p=Object.defineProperty,d=a&&!r((function(){return 8!==p((function(){}),"length",{value:8}).length})),h=String(String).split("String"),v=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&p(e,"name",{value:t,configurable:!0}),d&&n&&i(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=l(e);return i(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return o(this)&&f(this).source||u(this)}),"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},133:function(e,t,n){var r=n(7392),o=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},8536:function(e,t,n){var r=n(7854),o=n(614),i=n(2788),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},8523:function(e,t,n){"use strict";var r=n(9662),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},30:function(e,t,n){var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),u=n(490),c=n(317),l=n(6200),f=l("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"</"+"script>"},h=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(o){}var e,t;v="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",u.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete v.prototype[a[n]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[f]=e):n=v(),void 0===t?n:i.f(n,t)}},6048:function(e,t,n){var r=n(9781),o=n(3353),i=n(3070),a=n(9670),s=n(5656),u=n(1956);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=u(t),c=o.length,l=0;c>l;)i.f(e,n=o[l++],r[n]);return e}},3070:function(e,t,n){var r=n(7854),o=n(9781),i=n(4664),a=n(3353),s=n(9670),u=n(4948),c=r.TypeError,l=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";t.f=o?a?function(e,t,n){if(s(e),t=u(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n.writable){var r=f(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:d in n?n.configurable:r.configurable,enumerable:p in n?n.enumerable:r.enumerable,writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(s(e),t=u(t),s(n),i)try{return l(e,t,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(6916),i=n(5296),a=n(9114),s=n(5656),u=n(4948),c=n(2597),l=n(4664),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=u(t),l)try{return f(e,t)}catch(n){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},7976:function(e,t,n){var r=n(1702);e.exports=r({}.isPrototypeOf)},6324:function(e,t,n){var r=n(1702),o=n(2597),i=n(5656),a=n(1318).indexOf,s=n(3501),u=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&u(l,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(l,n)||u(l,n));return l}},1956:function(e,t,n){var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2140:function(e,t,n){var r=n(7854),o=n(6916),i=n(614),a=n(111),s=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!a(r=o(n,e)))return r;if(i(n=e.valueOf)&&!a(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!a(r=o(n,e)))return r;throw s("Can't convert object to primitive value")}},3887:function(e,t,n){var r=n(5005),o=n(1702),i=n(8006),a=n(5181),s=n(9670),u=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?u(t,n(e)):t}},2492:function(e,t,n){var r=n(7854);e.exports=r.Promise},9478:function(e,t,n){var r=n(9670),o=n(111),i=n(8523);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},4488:function(e,t,n){var r=n(7854).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3072),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.22.7",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.7/LICENSE",source:"https://github.com/zloirock/core-js"})},6707:function(e,t,n){var r=n(9670),o=n(9483),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},1400:function(e,t,n){var r=n(9303),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9303:function(e,t,n){var r=n(4758);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},7466:function(e,t,n){var r=n(9303),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(7854),o=n(4488),i=r.Object;e.exports=function(e){return i(o(e))}},7593:function(e,t,n){var r=n(7854),o=n(6916),i=n(111),a=n(2190),s=n(8173),u=n(2140),c=n(5112),l=r.TypeError,f=c("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,r=s(e,f);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||a(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),u(e,t)}},4948:function(e,t,n){var r=n(7593),o=n(2190);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},6330:function(e,t,n){var r=n(7854).String;e.exports=function(e){try{return r(e)}catch(t){return"Object"}}},9711:function(e,t,n){var r=n(1702),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var r=n(9781),o=n(7293);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(2597),a=n(9711),s=n(133),u=n(3307),c=o("wks"),l=r.Symbol,f=l&&l.for,p=u?l:l&&l.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&i(l,e)?c[e]=l[e]:c[e]=u&&f?f(t):p(t)}return c[e]}},6535:function(e,t,n){"use strict";var r=n(2109),o=n(6790),i=n(9662),a=n(7908),s=n(6244),u=n(5417);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=a(this),r=s(n);return i(e),(t=u(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},9244:function(e,t,n){n(1223)("flatMap")},5837:function(e,t,n){n(2109)({global:!0},{globalThis:n(7854)})},7727:function(e,t,n){"use strict";var r=n(2109),o=n(1913),i=n(2492),a=n(7293),s=n(5005),u=n(614),c=n(6707),l=n(9478),f=n(8052),p=i&&i.prototype;if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){p.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=u(e);return this.then(n?function(n){return l(t,e()).then((function(){return n}))}:e,n?function(n){return l(t,e()).then((function(){throw n}))}:e)}}),!o&&u(i)){var d=s("Promise").prototype.finally;p.finally!==d&&f(p,"finally",d,{unsafe:!0})}},5743:function(e,t,n){n(5837)},9679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(1432);t.$C=r.ScrollHandler;var o=n(4855);t.p2=o.useScrollRestoration},1432:function(e,t,n){"use strict";var r=n(5318);
1t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(1506)),i=r(n(5354)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=r(n(5697)),u=n(1142);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var l=a.createContext(new u.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new u.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,i.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),e?this.windowScroll(e,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(a.Component);t.ScrollHandler=f,f.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},4855:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(a.current){var r=n.read(t,e);a.current.scrollTo(0,r||0)}}),[t.key]),{ref:a,onScroll:function(){a.current&&n.save(t,e,a.current.scrollTop)}}};var r=n(1432),o=n(7294),i=n(9499)},5418:function(e,t,n){t.components={"component---src-pages-404-jsx":function(){return n.e(256).then(n.bind(n,7291))},"component---src-pages-about-jsx":function(){return Promise.all([n.e(159),n.e(354)]).then(n.bind(n,2700))},"component---src-pages-blog-jsx":function(){return Promise.all([n.e(159),n.e(757)]).then(n.bind(n,3234))},"component---src-pages-california-do-not-sell-jsx":function(){return Promise.all([n.e(159),n.e(603)]).then(n.bind(n,8886))},"component---src-pages-contact-us-jsx":function(){return Promise.all([n.e(159),n.e(955)]).then(n.bind(n,6831))},"component---src-pages-faq-jsx":function(){return Promise.all([n.e(159),n.e(534)]).then(n.bind(n,3892))},"component---src-pages-index-jsx":function(){return Promise.all([n.e(159),n.e(230)]).then(n.bind(n,1901))},"component---src-pages-lessons-group-jsx":function(){return Promise.all([n.e(159),n.e(681)]).then(n.bind(n,3962))},"component---src-pages-lessons-private-jsx":function(){return Promise.all([n.e(159),n.e(118)]).then(n.bind(n,25))},"component---src-pages-pricing-jsx":function(){return Promise.all([n.e(159),n.e(977)]).then(n.bind(n,2245))},"component---src-pages-privacy-policy-jsx":function(){return Promise.all([n.e(159),n.e(857)]).then(n.bind(n,4589))},"component---src-pages-terms-jsx":function(){return Promise.all([n.e(159),n.e(26)]).then(n.bind(n,5722))},"component---src-pages-tutorapply-jsx":function(){return Promise.all([n.e(159),n.e(109)]).then(n.bind(n,4815))},"component---src-templates-blog-page-jsx":function(){return Promise.all([n.e(159),n.e(899)]).then(n.bind(n,872))},"component---src-templates-lang-page-jsx":function(){return Promise.all([n.e(159),n.e(6)]).then(n.bind(n,7584))}}},4741:function(e,t,n){e.exports=[{plugin:n(6771),options:{plugins:[],uri:"https://us-central1-linguafonica.cloudfunctions.net/apollo"}},{plugin:n(9608),options:{plugins:[],icon:"src/images/icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"952acb88e97b8a8b27c9c8d2a34a2eda"}},{plugin:n(33),options:{plugins:[],id:"GTM-PX2RRSF",includeInDevelopment:!1,defaultDataLayer:{type:"object",value:{platform:"gatsby"}},routeChangeEventName:"gatsby-route-change",enableWebVitalsTracking:!1,selfHostedOrigin:"https://www.googletagmanager.com"}},{plugin:n(7420),options:{plugins:[]}},{plugin:n(540),options:{plugins:[]}}]},3092:function(e,t,n){var r=n(4741),o=n(1975).jN,i=o.getResourceURLsForPathname,a=o.loadPage,s=o.loadPageSync;t.h=function(e,t,n,o){void 0===t&&(t={});var u=r.map((function(n){if(n.plugin[e]){t.getResourceURLsForPathname=i,t.loadPage=a,t.loadPageSync=s;var r=n.plugin[e](t,n.options);return r&&o&&(t=o({args:t,result:r,plugin:n})),r}}));return(u=u.filter((function(e){return void 0!==e}))).length>0?u:n?[n]:[]},t.I=function(e,t,n){return r.reduce((function(n,r){return r.plugin[e]?n.then((function(){return r.plugin[e](t,r.options)})):n}),Promise.resolve())}},8299:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},7802:function(e,t,n){"use strict";n.d(t,{UD:function(){return p},Cj:function(){return h},GA:function(){return d},DS:function(){return f}});
1var r=n(2098),o=n(1505),i=function(e){if(void 0===e)return e;var t=e.split("?"),n=t[0],r=t[1],o=void 0===r?"":r;return o&&(o="?"+o),"/"===n?"/"+o:"/"===n.charAt(n.length-1)?n.slice(0,-1)+o:n+o},a=n(6073),s=new Map,u=[],c=function(e){var t=e;if(-1!==e.indexOf("?")){var n=e.split("?"),r=n[0],i=n[1];t=r+"?"+encodeURIComponent(i)}var a=decodeURIComponent(t);return(0,o.Z)(a,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var f=function(e){u=e},p=function(e){var t=v(e),n=u.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.ei)(n,t);return o?i(o.route.originalPath):null},d=function(e){var t=v(e),n=u.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.ei)(n,t);return o?o.params:{}},h=function e(t){var n=c(l(t));if(s.has(n))return s.get(n);var r=(0,a.J)(t);if(r)return e(r.toPath);var o=p(n);return o||(o=v(t)),s.set(n,o),o},v=function(e){var t=c(l(e));return"/index.html"===t&&(t="/"),t=i(t)}},1597:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return o.ZP},withAssetPrefix:function(){return o.mc},withPrefix:function(){return o.dq},graphql:function(){return v},parsePath:function(){return o.cP},navigate:function(){return o.c4},useScrollRestoration:function(){return i.p2},StaticQueryContext:function(){return f},StaticQuery:function(){return d},PageRenderer:function(){return s.a},useStaticQuery:function(){return h},prefetchPathname:function(){return l},PartytownContext:function(){return c.PartytownContext},Script:function(){return c.Script},ScriptStrategy:function(){return c.ScriptStrategy},scriptCache:function(){return c.scriptCache},scriptCallbackCache:function(){return c.scriptCallbackCache}});var r=n(7294),o=n(1562),i=n(9679),a=n(2743),s=n.n(a),u=n(1975),c=n(3521),l=u.ZP.enqueue,f=r.createContext({});function p(e){var t=e.staticQueryData,n=e.data,o=e.query,i=e.render,a=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,a&&i(a),!a&&r.createElement("div",null,"Loading (StaticQuery)"))}var d=function(e){var t=e.data,n=e.query,o=e.render,i=e.children;return r.createElement(f.Consumer,null,(function(e){return r.createElement(p,{data:t,query:n,render:o||i,staticQueryData:e})}))},h=function(e){var t;r.useContext;var n=r.useContext(f);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function v(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},1975:function(e,t,n){"use strict";n.d(t,{uQ:function(){return l},kL:function(){return g},ZP:function(){return _},hs:function(){return S},jN:function(){return w},N1:function(){return b}});var r=n(4578),o=n(2982),i=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((function(e){o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){200===r.status?t():n()},r.send(null)}))},a={},s=function(e,t){return new Promise((function(n){a[e]?n():i(e,t).then((function(){n(),a[e]=!0}
1)).catch((function(){}))}))},u=n(8299),c=n(7802),l={Error:"error",Success:"success"},f=function(e){var t,n=e.split("?"),r=n[0],o=n[1];return"/page-data/"+("/"===r?"index":(t="/"===(t=r)[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t)+"/page-data.json"+(o?"?"+o:"")};function p(e,t){return void 0===t&&(t="GET"),new Promise((function(n){var r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=function(){4==r.readyState&&n(r)},r.send(null)}))}var d,h=/bot|crawler|spider|crawling/i,v=function(e,t,n){void 0===t&&(t=null);var r={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError};return{component:t,head:n,json:e.result,page:r}},y=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,c.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=p(e,"GET"),this.inFlightNetworkRequests.set(e,n)),n.then((function(n){return t.inFlightNetworkRequests.delete(e),n})).catch((function(n){throw t.inFlightNetworkRequests.delete(e),n}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))},t.fetchPageDataJson=function(e){var t=this,n=e.pagePath,r=e.retries,o=void 0===r?0:r,i=f(n);return this.memoizedGet(i).then((function(r){var i=r.status,a=r.responseText;if(200===i)try{var s=JSON.parse(a);if(void 0===s.path)throw new Error("not a valid pageData response");var u=n.split("?")[1];return u&&!s.path.includes(u)&&(s.path+="?"+u),Object.assign(e,{status:l.Success,payload:s})}catch(c){}return 404===i||200===i?"/404.html"===n||"/500.html"===n?Object.assign(e,{status:l.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===i?t.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:l.Error})}))},t.loadPageDataJson=function(e){var t=this,n=(0,c.Cj)(e);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(e){return t.pageDataDb.set(n,e),e}))},t.findMatchPath=function(e){return(0,c.UD)(e)},t.loadPage=function(e){var t=this,n=(0,c.Cj)(e);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return r.error?{error:r.error,status:r.status}:Promise.resolve(r.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var o=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(e){var r=e[1];if(r.status===l.Error)return{status:l.Error};var o=r.payload,i=o,a=i.componentChunkName,s=i.staticQueryHashes,c=void 0===s?[]:s,f={},p=Promise.all([t.loadComponent(a),t.loadComponent(a,"head")]).then((function(t){var n,i=t[0],a=t[1];return f.createdAt=new Date,!i||i instanceof Error?(f.status=l.Error,f.error=i):(f.status=l.Success,!0===r.notFound&&(f.notFound=!0),o=Object.assign(o,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=v(o,i,a)),n})),d=Promise.all(c.map((function(e){if(t.staticQueryDb[e]){var n=t.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:n}}return t.memoizedGet("/page-data/sq/d/"+e+".json").then((function(t){var n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"/page-data/sq/d/"+e+'.json"')}))}))).then((function(e){var n={};return e.forEach((function(e){var r=e.staticQueryHash,o=e.jsonPayload;n[r]=o,t.staticQueryDb[r]=o})),n}));return Promise.all([p,d]).then((function(e){var r,o=e[0],i=e[1];return o&&(r=Object.assign({},o,{staticQueryResults:i}),f.payload=r,u.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),t.pageDb.set(n,f),f.error?{error:f.error,status:f.status}:r})).catch((function(e){return{error:e,status:l.Error}}))}));return o.then((function(){t.inFlightDb.delete(n)})).catch((function(e){throw t.inFlightDb.delete(n),e})),this.inFlightDb.set(n,o),o},t.loadPageSync=function(e,t){void 0===t&&(t={});var n=(0,c.Cj)(e);if(this.pageDb.has(n)){var r,o=this.pageDb.get(n);if(o.payload)return o.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:o.error,status:o.status}}},t.shouldPrefetch=function(e){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&((!navigator.userAgent||!h.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){var t=this;if(!this.shouldPrefetch(e))return{then:function(e){return e(!1)},abort:function(){}};if(this.prefetchTriggered.has(e))return{then:function(e){return e(!0)},abort:function(){}};var n={resolve:null,reject:null,promise:null};n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),this.prefetchQueued.push([e,n]);var r=new AbortController;return r.signal.addEventListener("abort",(function(){var n=t.prefetchQueued.findIndex((function(t){return t[0]===e}));-1!==n&&t.prefetchQueued.splice(n,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((function(){t._processNextPrefetchBatch()}),3e3)),{then:function(e,t){return n.promise.then(e,t)},abort:r.abort.bind(r)}},t._processNextPrefetchBatch=function(){var e=this;(window.requestIdleCallback||function(e){return setTimeout(e,0)})((function(){var t=e.prefetchQueued.splice(0,4),n=Promise.all(t.map((function(t){var n=t[0],r=t[1];return e.prefetchTriggered.has(n)||(e.apiRunner("onPrefetchPathname",{pathname:n}),e.prefetchTriggered.add(n)),e.prefetchDisabled?r.resolve(!1):e.doPrefetch((0,c.Cj)(n)).then((function(){e.prefetchCompleted.has(n)||(e.apiRunner("onPostPrefetchPathname",{pathname:n}),e.prefetchCompleted.add(n)),r.resolve(!0)}))})));e.prefetchQueued.length?n.then((function(){setTimeout((function(){e._processNextPrefetchBatch()}),3e3)})):e.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){var t=this,n=f(e);return s(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)}))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){var t=(0,c.Cj)(e),n=this.pageDataDb.get(t);if(n){var r=v(n.payload);return[].concat((0,o.Z)(m(r.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){var t=(0,c.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){var t=this;
1return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var r,o=n.status,i=n.responseText;if(200!==o&&e<3)return t.loadAppData(e+1);if(200===o)try{var a=JSON.parse(i);if(void 0===a.webpackCompilationHash)throw new Error("not a valid app-data response");r=a}catch(s){}return r}))},e}(),m=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},g=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e){if(!t.components[e])throw new Error("We couldn't find the correct component chunk with the name "+e);return t.components[e]().catch((function(e){return e}))}),n)||this,r&&o.pageDataDb.set((0,c.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((function(e){if(e.status!==l.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,r=m(n);return Promise.all(r.map(s)).then((function(){return t}))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((function(e){return e.notFound?p(t,"HEAD").then((function(t){return 200===t.status?{status:l.Error}:e})):e}))},t}(y),b=function(e){d=e},w={enqueue:function(e){return d.prefetch(e)},getResourceURLsForPathname:function(e){return d.getResourceURLsForPathname(e)},loadPage:function(e){return d.loadPage(e)},loadPageSync:function(e,t){return void 0===t&&(t={}),d.loadPageSync(e,t)},prefetch:function(e){return d.prefetch(e)},isPageNotFound:function(e){return d.isPageNotFound(e)},hovering:function(e){return d.hovering(e)},loadAppData:function(){return d.loadAppData()}},_=w;function S(){return d?d.staticQueryDb:{}}},4779:function(e,t,n){"use strict";n.d(t,{Z:function(){return E}});var r=n(7294),o=n(5697),i=n.n(o),a=n(3092),s=n(7802),u=n(2982),c=n(1597),l=n(9499),f=n(4941);function p(e){var t=e.children,n=e.callback;return(0,r.useEffect)((function(){n()})),t}var d=["link","meta","style","title","base","noscript","script"];function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return v(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return v(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e){for(var t,n=e.oldNodes,r=e.newNodes,o=e.onStale,i=e.onNew,a=function(){var e=t.value,n=r.findIndex((function(t){return function(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){var n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){var r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}(t,e)}));-1===n?o(e):r.splice(n,1)},s=h(n);!(t=s()).done;)a();for(var u,c=h(r);!(u=c()).done;){i(u.value)}}function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var b=document.createElement("div"),w=function(){for(var e,t,n=[],r=new Map,o=m(b.childNodes);!(t=o()).done;){var i,a=t.value,s=a.nodeName.toLowerCase(),c=null===(i=a.attributes.id)||void 0===i?void 0:i.value;if(d.includes(s)){var l=a.cloneNode(!0);
1if(l.setAttribute("data-gatsby-head",!0),"script"===l.nodeName.toLowerCase()){for(var f,p=document.createElement("script"),h=m(l.attributes);!(f=h()).done;){var v=f.value;p.setAttribute(v.name,v.value)}p.innerHTML=l.innerHTML,l=p}if(c)if(r.has(c)){var g=r.get(c);n[g].remove(),n[g]=l}else n.push(l),r.set(c,n.length-1);else n.push(l)}else;}var w=(0,u.Z)(document.querySelectorAll("[data-gatsby-head]"));if(0!==w.length){var _=[];y({oldNodes:w,newNodes:n,onStale:function(e){return e.remove()},onNew:function(e){return _.push(e)}}),(e=document.head).append.apply(e,_)}else{var S;(S=document.head).append.apply(S,n)}};function _(e){var t=e.pageComponent,n=e.staticQueryResults,o=e.pageComponentProps;(0,r.useEffect)((function(){if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error('Expected "Head" export to be a function got "'+typeof e+'".')}(t.Head);var e=(0,f.U)().render,i=t.Head;e(r.createElement(p,{callback:w},r.createElement(c.StaticQueryContext.Provider,{value:n},r.createElement(l.LocationProvider,null,r.createElement(i,{location:{pathname:(a=o).location.pathname},params:a.params,data:a.data||{},pageContext:a.pageContext})))),b)}var a;return function(){(0,u.Z)(document.querySelectorAll("[data-gatsby-head]")).forEach((function(e){return e.remove()}))}}))}function S(e){var t,n=Object.assign({},e,{params:Object.assign({},(0,s.GA)(e.location.pathname),e.pageResources.json.pageContext.__params)}),o=(0,r.createElement)((t=e.pageResources.component)&&t.default||t,Object.assign({},n,{key:e.path||e.pageResources.page.path}));return _({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:n}),(0,a.h)("wrapPageElement",{element:o,props:n},o,(function(e){return{element:e.result,props:n}})).pop()}S.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var E=S},5824:function(e,t,n){"use strict";var r=n(4578),o=n(3092),i=n(7294),a=n(9499),s=n(9679),u=n(1597),c=n(1975),l=n(6073),f=n(8299),p={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},d=n(2393),h=n(1562);function v(e){var t=(0,l.J)(e),n=window.location,r=n.hash,o=n.search;return null!=t&&(window.___replace(t.toPath+o+r),!0)}var y="";window.addEventListener("unhandledrejection",(function(e){/loading chunk \d* failed./i.test(e.reason)&&y&&(window.location.pathname=y)}));var m=function(e,t){v(e.pathname)||(y=e.pathname,(0,o.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},g=function(e,t){v(e.pathname)||(0,o.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=(0,h.cP)(e),r=n.pathname,i=n.search,s=n.hash,u=(0,l.J)(r);if(u&&(e=u.toPath+i+s),window.___swUpdated)window.location=r+i+s;else{var p=setTimeout((function(){f.Z.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);c.ZP.loadPage(r+i).then((function(n){if(!n||n.status===c.uQ.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(p);n&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+i+s),(0,a.navigate)(e,t),clearTimeout(p)}))}}else d.V5.navigate(e)};function w(e,t){var n=this,r=t.location,i=r.pathname,a=r.hash,s=(0,o.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:i,routerProps:{location:r},getSavedScrollPosition:function(e){return[0,n._stateStorage.read(e,e.key)]}});if(s.length>0)return s[s.length-1];if(e&&e.location.pathname===i)return a?decodeURI(a.slice(1)):[0,0];return!0}var _=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=i.createRef(),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var r="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return i.createElement("div",Object.assign({},p,{ref:this.announcementRef}))},t}(i.Component),S=function(e,t){var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)},E=function(e){function t(t){var n;return n=e.call(this,t)||this,m(t.location,null),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){g(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!S(e.location,this.props.location)&&(m(this.props.location,e.location),!0)}
1,n.componentDidUpdate=function(e){S(e.location,this.props.location)&&g(this.props.location,e.location)},n.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(_,{location:location}))},t}(i.Component),O=n(4779),k=n(5418);function x(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var j=function(e){function t(t){var n;n=e.call(this)||this;var r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||c.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:c.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;c.ZP.loadPage(e).then((function(n){n&&n.status!==c.uQ.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return x(e.props,t)||x(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(i.Component),P=n(1505),D=n(4941),T=new c.kL(k,[],window.pageData);(0,c.N1)(T),T.setApiRunner(o.h);var R=(0,D.U)(),C=R.render,I=R.hydrate;window.asyncRequires=k,window.___emitter=f.Z,window.___loader=c.jN,d.V5.listen((function(e){e.location.action=e.action})),window.___push=function(e){return b(e,{replace:!1})},window.___replace=function(e){return b(e,{replace:!0})},window.___navigate=function(e,t){return b(e,t)};var N="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);var e=function(e){return i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(O.Z,e))},t=i.createContext({}),l=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this.props.children;return i.createElement(a.Location,null,(function(n){var r=n.location;return i.createElement(j,{location:r},(function(n){var r=n.pageResources,o=n.location,a=(0,c.hs)();return i.createElement(u.StaticQueryContext.Provider,{value:a},i.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}(i.Component),f=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){var n=this;return i.createElement(t.Consumer,null,(function(t){var r=t.pageResources,o=t.location;return i.createElement(E,{location:o},i.createElement(s.$C,{location:o,shouldUpdateScroll:w},i.createElement(a.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},i.createElement(e,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,P.Z)(o.pathname,""):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},n.props,{location:o,pageResources:r},r.json)))))}))},o}(i.Component),p=window,d=p.pagePath,h=p.location;d&&""+d!==h.pathname+(d.includes("?")?h.search:"")&&!(T.findMatchPath((0,P.Z)(h.pathname,""))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+d+(d.includes("?")?"":h.search)+h.hash,{replace:!0});var v=function(){try{return sessionStorage}catch(e){return null}};c.jN.loadPage(h.pathname+h.search).then((function(e){var t,n=v();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n&&!("1"===n.getItem(N))))return n.setItem(N,"1"),void window.location.reload(!0);if(n&&n.removeItem(N),!e||e.status===c.uQ.Error){var r="page resources for "+h.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(r),e.error;throw new Error(r)}var a=(0,o.h)("wrapRootElement",{element:i.createElement(f,null)},i.createElement(f,null),(function(e){return{element:e.result}})).pop(),s=function(){var e=i.useRef(!1);return i.useEffect((function(){e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),i.createElement(l,null,a)},u=document.getElementById("gatsby-focus-wrapper"),p=C;u&&u.children.length&&(p=I);var d=(0,o.h)("replaceHydrateFunction",void 0,p)[0];function y(){var e="undefined"!=typeof window?document.getElementById("___gatsby"):null;d(i.createElement(s,null),e)}var m=document;if("complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll)setTimeout((function(){y()}),0);else{var g=function e(){m.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),y()};m.addEventListener("DOMContentLoaded",g,!1),window.addEventListener("load",g,!1)}}))}))},224:function(e,t,n){"use strict";n.r(t);var r=n(7294),o=n(1975),i=n(4779);t.default=function(e){var t=e.location,n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(i.Z,Object.assign({location:t,pageResources:n},n.json)):null}},2743:function(e,t,n){var r;e.exports=(r=n(224))&&r.default||r},4941:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=new WeakMap;function o(){var e=n(745);return{render:function(t,n){var o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:function(t,n){return e.hydrateRoot(n,t)}}}},9712:function(e,t){t.O=function(e){return e}},6073:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=new Map,o=new Map;function i(e){var t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((function(e){e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},9939:function(e,t,n){"use strict";n.r(t);var r=n(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"
1in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},1505:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},7420:function(e,t,n){n(5111);var r=n(7294);console.log("Starting BugSnag");var o=n(170),i=n(4148);o.start({apiKey:"5a3242c65f248ff8fa3eda1875ff6df2",plugins:[new i]});var a=o.getPlugin("react").createErrorBoundary(r);t.wrapRootElement=function(e){var t=e.element;return r.createElement(a,null,t)}},6771:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapRootElement:function(){return qr}});var r=n(7294),o=n(9556),i=n.n(o),a=n(5628),s=n.n(a),u=n(1032),c=n(2183),l=function(e){var t=e.client,n=e.children,o=(0,c.K)();return r.createElement(o.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,u.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,u.kG)(e.client,26),r.createElement(o.Provider,{value:e},n)}))},f=n(9900);n(6535),n(9244);function p(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var y=function(){return"function"==typeof Symbol},m=function(e){return y()&&Boolean(Symbol[e])},g=function(e){return m(e)?Symbol[e]:"@@"+e};y()&&!m("observable")&&(Symbol.observable=Symbol("observable"));var b=g("iterator"),w=g("observable"),_=g("species");function S(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function E(e){var t=e.constructor;return void 0!==t&&null===(t=t[_])&&(t=void 0),void 0!==t?t:I}function O(e){return e instanceof I}function k(e){k.log?k.log(e):setTimeout((function(){throw e}))}function x(e){Promise.resolve().then((function(){try{e()}catch(t){k(t)}}))}function j(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=S(t,"unsubscribe");n&&n.call(t)}}catch(r){k(r)}}function P(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function D(e,t,n){e._state="running";var r=e._observer;try{var o=S(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(P(e),!o)throw n;o.call(r,n);break;case"complete":P(e),o&&o.call(r)}}catch(i){k(i)}"closed"===e._state?j(e):"running"===e._state&&(e._state="ready")}function T(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void x((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(D(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void D(e,t,n);e._queue.push({type:t,value:n})}}var R=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new C(this);try{this._cleanup=t.call(void 0,n)}catch(r){n.error(r)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(P(this),j(this))},v(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),C=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){T(this._subscription,"next",e)},t.error=function(e){T(this._subscription,"error",e)},t.complete=function(){T(this._subscription,"complete")},v(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),I=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new R(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(n){r(n),o.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(E(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(E(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=E(this),r=arguments.length>1,o=!1,i=arguments[1],a=i;return new n((function(n){return t.subscribe({next:function(t){var i=!o;if(o=!0,!i||r)try{a=e(a,t)}catch(s){return n.error(s)}else a=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=E(this);return new o((function(t){var r,i=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):e(o.from(n[i++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=E(this);return new n((function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return r.error(s)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))},t[w]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=S(t,w);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return O(o)&&o.constructor===n?o:new n((function(e){return o.subscribe(e)}))}if(m("iterator")&&(r=S(t,b)))return new n((function(e){x((function(){if(!e.closed){for(var n,o=p(r.call(t));!(n=o()).done;){var i=n.value;if(e.next(i),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){x((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o="function"==typeof this?this:e;return new o((function(e){x((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},v(e,null,[{key:_,get:function(){return this}}]),e}();function N(e){return null!==e&&"object"==typeof e}function F(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new u.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new u.ej(41);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(__DEV__?(0,u.kG)(1===r.length,"Found ".concat(r.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,u.kG)(1===r.length,42),n=r[0].name.value),(0,f.pi)((0,f.pi)({},e),{definitions:(0,f.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function q(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function M(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return __DEV__?(0,u.kG)(n,"No fragment named ".concat(e.name.value,".")):(0,u.kG)(n,43),n;default:return null}}function A(e){return{__ref:String(e)}}function L(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function V(e,t,n,r){if(function(e){return"IntValue"===e.kind}
1(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return V(o,e.name,e.value,r)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var i=(r||{})[n.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return V(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw __DEV__?new u.ej('The inline argument "'.concat(t.value,'" of kind "').concat(n.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new u.ej(52);e[t.value]=null}}y()&&Object.defineProperty(I,Symbol("extensions"),{value:{symbol:w,hostReportError:k},configurable:!0});var Q=["connection","include","skip","client","rest","export"],U=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach((function(e){o[e]=t[e]})),"".concat(n.connection.key,"(").concat(B(o),")")}return n.connection.key}var i=e;if(t){var a=B(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===Q.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(B(n[e]),")"):i+="@".concat(e))})),i}),{setStringify:function(e){var t=B;return B=e,t}}),B=function(e){return JSON.stringify(e,G)};function G(e,t){return N(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function W(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,o=e.value;return V(n,r,o,t)})),n}return null}function z(e){return e.alias?e.alias.value:e.name.value}function H(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var r=0,o=t.selections;r<o.length;r++){var i=o[r];if(J(i)){if("__typename"===i.name.value)return e[z(i)]}else{var a=H(e,M(i,n).selectionSet,n);if("string"==typeof a)return a}}}function J(e){return"Field"===e.kind}function Z(e){return"InlineFragment"===e.kind}function K(e){__DEV__?(0,u.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,u.kG)(e&&"Document"===e.kind,44);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new u.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new u.ej(45);return e}));return __DEV__?(0,u.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,u.kG)(t.length<=1,46),e}function $(e){return K(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function Y(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function X(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function ee(e){var t=$(e);return __DEV__?(0,u.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,u.kG)(t&&"query"===t.operation,47),t}function te(e){var t;K(e);for(var n=0,r=e.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var i=o.operation;if("query"===i||"mutation"===i||"subscription"===i)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw __DEV__?new u.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new u.ej(51)}function ne(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&V(t,e.variable.name,e.defaultValue)})),t}function re(e,t){return t?t(e):I.of()}function oe(e){return"function"==typeof e?new se(e):e}function ie(e){return e.request.length<=1}var ae=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return(0,f.ZT)(t,e),t}(Error),se=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return I.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(oe).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var o=oe(n),i=oe(r||new e(re));return ie(o)&&ie(i)?new e((function(e){return t(e)?o.request(e)||I.of():i.request(e)||I.of()})):new e((function(e,n){return t(e)?o.request(e,n)||I.of():i.request(e,n)||I.of()}))},e.execute=function(e,t){return e.request(function(e,t){var n=(0,f.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,f.pi)((0,f.pi)({},n),e(n)):(0,f.pi)((0,f.pi)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,f.pi)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Y(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw __DEV__?new u.ej("illegal argument: ".concat(o)):new u.ej(24)}return e}(t))))||I.of()},e.concat=function(t,n){var r=oe(t);if(ie(r))return __DEV__&&u.kG.warn(new ae("You are calling concat on a terminating link, which will have no effect",r)),r;var o=oe(n);return ie(o)?new e((function(e){return r.request(e,(function(e){return o.request(e)||I.of()}))||I.of()})):new e((function(e,t){return r.request(e,(function(e){return o.request(e,t)||I.of()}))||I.of()}))},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(re)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new u.ej("request is not implemented"):new u.ej(19)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),ue=se.execute,ce=n(885),le=n(1138),fe=n(8966),pe=n(2425),de=n(5804);function he(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ve(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ye=Object.freeze({});function me(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pe.h8,r=new Map,o=0,i=Object.values(de.h);o<i.length;o++){var a=i[o];r.set(a,ge(t,a))}var s=void 0,u=Array.isArray(e),c=[e],l=-1,f=[],p=e,d=void 0,h=void 0,v=[],y=[];do{var m=++l===c.length,g=m&&0!==f.length;if(m){if(d=0===y.length?void 0:v[v.length-1],p=h,h=y.pop(),g)if(u){p=p.slice();var b,w=0,_=he(f);try{for(_.s();!(b=_.n()).done;){var S=(0,ce.Z)(b.value,2),E=S[0],O=S[1],k=E-w;null===O?(p.splice(k,1),w++):p[k]=O}}catch(q){_.e(q)}finally{_.f()}}else{p=Object.defineProperties({},Object.getOwnPropertyDescriptors(p));var x,j=he(f);try{for(j.s();!(x=j.n()).done;){var P=(0,ce.Z)(x.value,2),D=P[0],T=P[1];p[D]=T}}catch(q){j.e(q)}finally{j.f()}}l=s.index,c=s.keys,f=s.edits,u=s.inArray,s=s.prev}else if(h){if(null==(p=h[d=u?l:c[l]]))continue;v.push(d)}var R,C=void 0;if(!Array.isArray(p)){var I,N;(0,pe.UG)(p)||(0,le.a)(!1,"Invalid AST Node: ".concat((0,fe.X)(p),"."));var F=m?null===(I=r.get(p.kind))||void 0===I?void 0:I.leave:null===(N=r.get(p.kind))||void 0===N?void 0:N.enter;if((C=null==F?void 0:F.call(t,p,d,h,v,y))===ye)break;if(!1===C){if(!m){v.pop();continue}}else if(void 0!==C&&(f.push([d,C]),!m)){if(!(0,pe.UG)(C)){v.pop();continue}p=C}}if(void 0===C&&g&&f.push([d,p]),m)v.pop();else s={inArray:u,index:l,keys:c,edits:f,prev:s},c=(u=Array.isArray(p))?p:null!==(R=n[p.kind])&&void 0!==R?R:[],l=-1,f=[],h&&y.push(h),h=p}while(void 0!==s);return 0!==f.length?f[f.length-1][1]:e}function ge(e,t){var n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}var be=function(e,t){var n;try{n=JSON.stringify(e)}catch(o){var r=__DEV__?new u.ej("Network request failed. ".concat(t," is not serializable: ").concat(o.message)):new u.ej(21);throw r.parseError=o,r}return n},we=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},_e=Object.prototype.hasOwnProperty;var Se=n(53);var Ee=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Oe(e){return ke[e.charCodeAt(0)]}var ke=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];function xe(e){return me(e,je)}var je={Name:{leave:function(e){return e.value}},Variable:{leave:function(e){return"$"+e.name}},Document:{leave:function(e){return Pe(e.definitions,"\n\n")}},OperationDefinition:{leave:function(e){var t=Te("(",Pe(e.variableDefinitions,", "),")"),n=Pe([e.operation,Pe([e.name,t]),Pe(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:function(e){var t=e.variable,n=e.type,r=e.defaultValue,o=e.directives;return t+": "+n+Te(" = ",r)+Te(" ",Pe(o," "))}},SelectionSet:{leave:function(e){return De(e.selections)}},Field:{leave:function(e){var t=e.alias,n=e.name,r=e.arguments,o=e.directives,i=e.selectionSet,a=Te("",t,": ")+n,s=a+Te("
1(",Pe(r,", "),")");return s.length>80&&(s=a+Te("(\n",Re(Pe(r,"\n")),"\n)")),Pe([s,Pe(o," "),i]," ")}},Argument:{leave:function(e){return e.name+": "+e.value}},FragmentSpread:{leave:function(e){return"..."+e.name+Te(" ",Pe(e.directives," "))}},InlineFragment:{leave:function(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return Pe(["...",Te("on ",t),Pe(n," "),r]," ")}},FragmentDefinition:{leave:function(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,o=e.directives,i=e.selectionSet;return"fragment ".concat(t).concat(Te("(",Pe(r,", "),")")," ")+"on ".concat(n," ").concat(Te("",Pe(o," ")," "))+i}},IntValue:{leave:function(e){return e.value}},FloatValue:{leave:function(e){return e.value}},StringValue:{leave:function(e){var t=e.value;return e.block?(0,Se.LZ)(t):'"'.concat(t.replace(Ee,Oe),'"')}},BooleanValue:{leave:function(e){return e.value?"true":"false"}},NullValue:{leave:function(){return"null"}},EnumValue:{leave:function(e){return e.value}},ListValue:{leave:function(e){return"["+Pe(e.values,", ")+"]"}},ObjectValue:{leave:function(e){return"{"+Pe(e.fields,", ")+"}"}},ObjectField:{leave:function(e){return e.name+": "+e.value}},Directive:{leave:function(e){return"@"+e.name+Te("(",Pe(e.arguments,", "),")")}},NamedType:{leave:function(e){return e.name}},ListType:{leave:function(e){return"["+e.type+"]"}},NonNullType:{leave:function(e){return e.type+"!"}},SchemaDefinition:{leave:function(e){var t=e.description,n=e.directives,r=e.operationTypes;return Te("",t,"\n")+Pe(["schema",Pe(n," "),De(r)]," ")}},OperationTypeDefinition:{leave:function(e){return e.operation+": "+e.type}},ScalarTypeDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.directives;return Te("",t,"\n")+Pe(["scalar",n,Pe(r," ")]," ")}},ObjectTypeDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.interfaces,o=e.directives,i=e.fields;return Te("",t,"\n")+Pe(["type",n,Te("implements ",Pe(r," & ")),Pe(o," "),De(i)]," ")}},FieldDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.arguments,o=e.type,i=e.directives;return Te("",t,"\n")+n+(Ce(r)?Te("(\n",Re(Pe(r,"\n")),"\n)"):Te("(",Pe(r,", "),")"))+": "+o+Te(" ",Pe(i," "))}},InputValueDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.type,o=e.defaultValue,i=e.directives;return Te("",t,"\n")+Pe([n+": "+r,Te("= ",o),Pe(i," ")]," ")}},InterfaceTypeDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.interfaces,o=e.directives,i=e.fields;return Te("",t,"\n")+Pe(["interface",n,Te("implements ",Pe(r," & ")),Pe(o," "),De(i)]," ")}},UnionTypeDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.directives,o=e.types;return Te("",t,"\n")+Pe(["union",n,Pe(r," "),Te("= ",Pe(o," | "))]," ")}},EnumTypeDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.directives,o=e.values;return Te("",t,"\n")+Pe(["enum",n,Pe(r," "),De(o)]," ")}},EnumValueDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.directives;return Te("",t,"\n")+Pe([n,Pe(r," ")]," ")}},InputObjectTypeDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.directives,o=e.fields;return Te("",t,"\n")+Pe(["input",n,Pe(r," "),De(o)]," ")}},DirectiveDefinition:{leave:function(e){var t=e.description,n=e.name,r=e.arguments,o=e.repeatable,i=e.locations;return Te("",t,"\n")+"directive @"+n+(Ce(r)?Te("(\n",Re(Pe(r,"\n")),"\n)"):Te("(",Pe(r,", "),")"))+(o?" repeatable":"")+" on "+Pe(i," | ")}},SchemaExtension:{leave:function(e){var t=e.directives,n=e.operationTypes;return Pe(["extend schema",Pe(t," "),De(n)]," ")}},ScalarTypeExtension:{leave:function(e){return Pe(["extend scalar",e.name,Pe(e.directives," ")]," ")}},ObjectTypeExtension:{leave:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return Pe(["extend type",t,Te("implements ",Pe(n," & ")),Pe(r," "),De(o)]," ")}},InterfaceTypeExtension:{leave:function(e){var t=e.name,n=e.interfaces,r=e.directives,o=e.fields;return Pe(["extend interface",t,Te("implements ",Pe(n," & ")),Pe(r," "),De(o)]," ")}},UnionTypeExtension:{leave:function(e){var t=e.name,n=e.directives,r=e.types;return Pe(["extend union",t,Pe(n," "),Te("= ",Pe(r," | "))]," ")}},EnumTypeExtension:{leave:function(e){var t=e.name,n=e.directives,r=e.values;return Pe(["extend enum",t,Pe(n," "),De(r)]," ")}},InputObjectTypeExtension:{leave:function(e){var t=e.name,n=e.directives,r=e.fields;return Pe(["extend input",t,Pe(n," "),De(r)]," ")}}};function Pe(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function De(e){return Te("{\n",Re(Pe(e,"\n")),"\n}")}function Te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function Re(e){return Te(" ",e.replace(/\n/g,"\n "))}function Ce(e){var t;return null!==(t=null==e?void 0:e.some((function(e){return e.includes("\n")})))&&void 0!==t&&t}var Ie={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Ne=function(e,t){return t(e)};function Fe(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o={},i={};
1n.forEach((function(e){o=(0,f.pi)((0,f.pi)((0,f.pi)({},o),e.options),{headers:(0,f.pi)((0,f.pi)({},o.headers),qe(e.headers))}),e.credentials&&(o.credentials=e.credentials),i=(0,f.pi)((0,f.pi)({},i),e.http)}));var a=e.operationName,s=e.extensions,u=e.variables,c=e.query,l={operationName:a,variables:u};return i.includeExtensions&&(l.extensions=s),i.includeQuery&&(l.query=t(c,xe)),{options:o,body:l}}function qe(e){if(e){var t=Object.create(null);return Object.keys(Object(e)).forEach((function(n){t[n.toLowerCase()]=e[n]})),t}return e}function Me(e){return new I((function(t){t.error(e)}))}var Ae=(0,u.wY)((function(){return fetch})),Le=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,o=e.print,i=void 0===o?Ne:o,a=e.includeExtensions,s=e.useGETForQueries,c=e.includeUnusedVariables,l=void 0!==c&&c,p=(0,f._T)(e,["uri","fetch","print","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new u.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new u.ej(20)}(r||Ae);var d={http:{includeExtensions:a},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new se((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,n),o=e.getContext(),a={};if(o.clientAwareness){var c=o.clientAwareness,p=c.name,h=c.version;p&&(a["apollographql-client-name"]=p),h&&(a["apollographql-client-version"]=h)}var v,y=(0,f.pi)((0,f.pi)({},a),o.headers),m={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:y},g=Fe(e,i,Ie,d,m),b=g.options,w=g.body;if(w.variables&&!l){var _=new Set(Object.keys(w.variables));me(e.query,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&_.delete(e.name.value)}}),_.size&&(w.variables=(0,f.pi)({},w.variables),_.forEach((function(e){delete w.variables[e]})))}if(!b.signal){var S=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),E=S.controller,O=S.signal;(v=E)&&(b.signal=O)}if(s&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(b.method="GET"),"GET"===b.method){var k=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var o=void 0;try{o=be(t.variables,"Variables map")}catch(j){return{parseError:j}}r("variables",o)}if(t.extensions){var i=void 0;try{i=be(t.extensions,"Extensions map")}catch(j){return{parseError:j}}r("extensions",i)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+n.join("&")+a}}(t,w),x=k.newURI,j=k.parseError;if(j)return Me(j);t=x}else try{b.body=be(w,"Payload")}catch(j){return Me(j)}return new I((function(n){var o;return(r||(0,u.wY)((function(){return fetch}))||Ae)(t,b).then((function(t){return e.setContext({response:t}),t})).then((o=e,function(e){return e.text().then((function(t){try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}})).then((function(t){return e.status>=300&&we(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||_e.call(t,"data")||_e.call(t,"errors")||we(e,t,"Server response was missing for query '".concat(Array.isArray(o)?o.map((function(e){return e.operationName})):o.operationName,"'.")),t}))})).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){v&&v.abort()}}))}))},Ve=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Le(t).request)||this;return n.options=t,n}return(0,f.ZT)(t,e),t}
1(se),Qe=(n(7727),n(9151)),Ue=function(){return Object.create(null)},Be=Array.prototype,Ge=Be.forEach,We=Be.slice,ze=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=Ue),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return Ge.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(We.call(e)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();var He=n(7510),Je=n(8721);function Ze(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;__DEV__?(0,u.kG)(n&&1===n.length,"Incorrect number of arguments for the @".concat(r," directive.")):(0,u.kG)(n&&1===n.length,38);var o=n[0];__DEV__?(0,u.kG)(o.name&&"if"===o.name.value,"Invalid argument for the @".concat(r," directive.")):(0,u.kG)(o.name&&"if"===o.name.value,39);var i=o.value;__DEV__?(0,u.kG)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),"Argument for the @".concat(r," directive must be a variable or a boolean value.")):(0,u.kG)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),40),t.push({directive:e,ifArgument:o})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,o=!1;return"Variable"===r.value.kind?(o=t&&t[r.value.name.value],__DEV__?(0,u.kG)(void 0!==o,"Invalid variable referenced in @".concat(n.name.value," directive.")):(0,u.kG)(void 0!==o,37)):o=r.value.value,"skip"===n.name.value?!o:o}))}function Ke(e,t){return function(e){var t=[];return me(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function $e(e){return e&&Ke(["client"],e)&&Ke(["export"],e)}var Ye=Object.prototype.hasOwnProperty;function Xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return et(e)}function et(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new nt,o=1;o<n;++o)t=r.merge(t,e[o]);return t}var tt=function(e,t,n){return this.merge(e[n],t[n])},nt=function(){function e(e){void 0===e&&(e=tt),this.reconciler=e,this.isObject=N,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return N(t)&&N(e)?(Object.keys(t).forEach((function(o){if(Ye.call(e,o)){var i=e[o];if(t[o]!==i){var a=n.reconciler.apply(n,(0,f.ev)([e,t,o],r,!1));a!==i&&((e=n.shallowCopyForMerge(e))[o]=a)}}else(e=n.shallowCopyForMerge(e))[o]=t[o]})),e):t},e.prototype.shallowCopyForMerge=function(e){return N(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,f.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}(),rt=Object.prototype.hasOwnProperty;function ot(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==o?{_id:o}:void 0),void 0===r&&(r=o),void 0!==r))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var it={dataIdFromObject:ot,addTypename:!0,resultCaching:!0,canonizeResults:!1};function at(e){var t=e.canonizeResults;return void 0===t?it.canonizeResults:t}var st=/^[_a-z][_0-9a-z]*/i;function ut(e){var t=e.match(st);return t?t[0]:e}function ct(e,t,n){return!!N(t)&&(ft(t)?t.every((function(t){return ct(e,t,n)})):e.selections.every((function(e){if(J(e)&&Ze(e,n)){var r=z(e);return rt.call(t,r)&&(!e.selectionSet||ct(e.selectionSet,t[r],n))}return!0})))}function lt(e){return N(e)&&!L(e)&&!ft(e)}var ft=function(e){return Array.isArray(e)};var pt,dt,ht=function(){function e(){this.known=new(He.sy?WeakSet:Set),this.pool=new ze(He.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return N(e)&&this.known.has(e)},e.prototype.pass=function(e){if(N(e)){var t=function(e){return N(e)?ft(e)?e.slice(0):(0,f.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(N(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(s=this.pool.lookupArray(r)).array||(this.known.add(s.array=r),__DEV__&&Object.freeze(r)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var o=Object.getPrototypeOf(e),i=[o],a=this.sortedKeys(e);i.push(a.json);var s,u=i.length;if(a.sorted.forEach((function(n){i.push(t.admit(e[n]))})),!(s=this.pool.lookupArray(i)).object){var c=s.object=Object.create(o);this.known.add(c),a.sorted.forEach((function(e,t){c[e]=i[u+t]})),__DEV__&&Object.freeze(c)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),vt=Object.assign((function(e){if(N(e)){void 0===pt&&yt();var t=pt.admit(e),n=dt.get(t);return void 0===n&&dt.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:yt});function yt(){pt=new ht,dt=new(He.mr?WeakMap:Map)}function mt(e,t,n){return new I((function(r){var o=r.next,i=r.error,a=r.complete,s=0,u=!1,
1c={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++s;var n=function(){return e(t)};c=c.then(n,n).then((function(e){--s,o&&o.call(r,e),u&&f.complete()}),(function(e){throw--s,e})).catch((function(e){i&&i.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var f={next:l(t,o),error:l(n,i),complete:function(){u=!0,s||a&&a.call(r)}},p=e.subscribe(f);return function(){return p.unsubscribe()}}))}function gt(e){return e.errors&&e.errors.length>0||!1}function bt(e,t,n){var r=0;return e.forEach((function(n,o){t.call(this,n,o,e)&&(e[r++]=n)}),n),e.length=r,e}var wt={kind:"Field",name:{kind:"Name",value:"__typename"}};function _t(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&_t(t[e.name.value],t)}))}function St(e){return _t($(e)||function(e){__DEV__?(0,u.kG)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,u.kG)("Document"===e.kind,48),__DEV__?(0,u.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,u.kG)(e.definitions.length<=1,49);var t=e.definitions[0];return __DEV__?(0,u.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,u.kG)("FragmentDefinition"===t.kind,50),t}(e),q(X(e)))?null:e}function Et(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function Ot(e,t){var n=Object.create(null),r=[],o=Object.create(null),i=[],a=St(me(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(Et(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&r.push({name:e.value.name.value})})),t.selectionSet&&jt(t.selectionSet).forEach((function(e){i.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){o[e.name.value]=!0}},Directive:{enter:function(t){if(Et(e)(t))return null}}}));return a&&bt(r,(function(e){return!!e.name&&!n[e.name]})).length&&(a=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return St(me(t,{OperationDefinition:{enter:function(t){return(0,f.pi)((0,f.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(r,a)),a&&bt(i,(function(e){return!!e.name&&!o[e.name]})).length&&(a=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return St(me(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(i,a)),a}var kt=Object.assign((function(e){return me(e,{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return J(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=n;if(!(J(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return(0,f.pi)((0,f.pi)({},e),{selections:(0,f.ev)((0,f.ev)([],r,!0),[wt],!1)})}}}}})}),{added:function(e){return e===wt}}),xt={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&u.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function jt(e){var t=[];return e.selections.forEach((function(e){(J(e)||Z(e))&&e.selectionSet?jt(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function Pt(e){return"query"===te(e).operation?e:me(e,{OperationDefinition:{enter:function(e){return(0,f.pi)((0,f.pi)({},e),{operation:"query"})}}})}var Dt=new Map;function Tt(e){var t=Dt.get(e)||1;return Dt.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function Rt(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function Ct(e){function t(t){Object.defineProperty(e,t,{value:I})}return He.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function It(e){return e&&"function"==typeof e.then}var Nt=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.addCount=0,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],Rt(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),Rt(n.observers,"error",e))},complete:function(){var e=n.sub;if(null!==e){var t=n.sources.shift();t?It(t)?t.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=t.subscribe(n.handlers):(e&&setTimeout((function(){return e.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),Rt(n.observers,"complete"))}}},n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){}
1)),"function"==typeof t&&(t=[new I(t)]),It(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,f.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},t.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.complete()},t.prototype.cleanup=function(e){var t=this,n=!1,r=function(){n||(n=!0,t.observers.delete(o),e())},o={next:r,error:r,complete:r},i=this.addCount;this.addObserver(o),this.addCount=i},t}(I);Ct(Nt);var Ft,qt=n(4156),Mt=n(4674);function At(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(Ft||(Ft={}));var Lt=Object.prototype.toString;function Vt(e){return Qt(e)}function Qt(e,t){switch(Lt.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=Qt(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=Qt(e[n],t)})),r;default:return e}}var Ut=Object.assign,Bt=Object.hasOwnProperty,Gt=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,o=t.options,i=e.call(this,(function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=zt)}catch(t){}var r=!i.observers.size;i.observers.add(e);var o=i.last;return o&&o.error?e.error&&e.error(o.error):o&&o.result&&e.next&&e.next(o.result),r&&i.reobserve().catch((function(){})),function(){i.observers.delete(e)&&!i.observers.size&&i.tearDownQuery()}}))||this;i.observers=new Set,i.subscriptions=new Set,i.queryInfo=r,i.queryManager=n,i.isTornDown=!1;var a=n.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,u=void 0===s?"cache-first":s,c=o.fetchPolicy,l=void 0===c?u:c,p=o.initialFetchPolicy,d=void 0===p?"standby"===l?u:l:p;i.options=(0,f.pi)((0,f.pi)({},o),{initialFetchPolicy:d,fetchPolicy:l}),i.queryId=r.queryId||n.generateQueryId();var h=$(i.query);return i.queryName=h&&h.name&&h.name.value,i}return(0,f.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:n},o=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||Ft.ready,r=(0,f.pi)((0,f.pi)({},t),{loading:At(n),networkStatus:n}),o=this.options.fetchPolicy,i=void 0===o?"cache-first":o;if("network-only"===i||"no-cache"===i||"standby"===i||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(r.data=a.result),(0,Qe.D)(r.data,{})&&(r.data=void 0),a.complete?(delete r.partial,!a.complete||r.networkStatus!==Ft.loading||"cache-first"!==i&&"cache-only"!==i||(r.networkStatus=Ft.ready,r.loading=!1)):r.partial=!0,!__DEV__||a.complete||this.options.partialRefetch||r.loading||r.data||r.error||Ht(a.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!(0,Qe.D)(this.last.result,e)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,Qe.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===r?r:"no-cache"===r?"no-cache":"network-only",__DEV__&&e&&Bt.call(e,"variables")){var o=ee(this.query),i=o.variableDefinitions;i&&i.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&u.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=o.name)||void 0===t?void 0:t.value)||JSON.stringify(o),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,Qe.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,f.pi)((0,f.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Ft.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,f.pi)((0,f.pi)({},e.query?e:(0,f.pi)((0,f.pi)((0,f.pi)((0,f.pi)({},this.options),{query:this.query}),e),{variables:(0,f.pi)((0,f.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),r=this.queryManager.generateQueryId(),o=this.queryInfo,i=o.networkStatus;o.networkStatus=Ft.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set;return this.queryManager.fetchQuery(r,n,Ft.fetchMore).then((function(s){return t.queryManager.removeQuery(r),o.networkStatus===Ft.fetchMore&&(o.networkStatus=i),t.queryManager.cache.batch({update:function(r){var o=e.updateQuery;o?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:s.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:s.data})},onWatchUpdated:function(e){a.add(e.query)}}),s})).finally((function(){a.has(t.query)||Wt(t)}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var o=t.variables;return r(e,{subscriptionData:n,variables:o})}))},error:function(t){e.onError?e.onError(t):__DEV__&&u.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,Qe.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Ft.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,o=t.initialFetchPolicy,i=void 0===o?r:o;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n){if(!t||t.interval!==n){__DEV__?(0,u.kG)(n,"Attempted to start a polling query without a polling interval."):(0,u.kG)(n,10),(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&(At(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"network-only"},Ft.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,f.pi)((0,f.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:Vt(e),variables:t}),(0,qt.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var n=this;this.isTornDown=!1;var r=t===Ft.refetch||t===Ft.fetchMore||t===Ft.poll,o=this.options.variables,i=this.options.fetchPolicy,a=(0,Je.o)(this.options,e||{}),s=r?a:Ut(this.options,a);r||(this.updatePolling(),e&&e.variables&&!(0,Qe.D)(e.variables,o)&&"standby"!==s.fetchPolicy&&s.fetchPolicy===i&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Ft.setVariables)));var u=s.variables&&(0,f.pi)({},s.variables),c=this.fetch(s,t),l={next:function(e){n.reportResult(e,u)},error:function(e){n.reportError(e,u)}};return r||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=c,this.observer=l),c.addObserver(l),c.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError();(n||this.isDifferentFromLastResult(e))&&((n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),Rt(this.observers,"next",e))},t.prototype.reportError=function(e,t){var n=(0,f.pi)((0,f.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Ft.error,loading:!1});this.updateLastResult(n,t),Rt(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(I);function Wt(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,"function"==typeof r?r.apply(this,arguments):n}}):e.reobserve()}function zt(e){__DEV__&&u.kG.error("Unhandled error",e.message,e.stack)}function Ht(e){__DEV__&&e&&__DEV__&&u.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}Ct(Gt);var Jt=null,Zt={},Kt=1,$t="@wry/context:Slot",Yt=Array,Xt=Yt[$t]||function(){var e=function(){function e(){this.id=["slot",Kt++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=Jt;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===Zt)break;return e!==Jt&&(Jt.slots[this.id]=t),!0}return Jt&&(Jt.slots[this.id]=Zt),!1},e.prototype.getValue=function(){if(this.hasValue())return Jt.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var o,i=((o={__proto__:null})[this.id]=e,o),a=Jt;Jt={parent:a,slots:i};try{return t.apply(r,n)}finally{Jt=a}},e.bind=function(e){var t=Jt;return function(){var n=Jt;try{return Jt=t,e.apply(this,arguments)}finally{Jt=n}}},e.noContext=function(e,t,n){if(!Jt)return e.apply(n,t);var r=Jt;try{return Jt=null,e.apply(n,t)}finally{Jt=r}},e}();try{Object.defineProperty(Yt,$t,{value:Yt[$t]=e,enumerable:!1,writable:!1,
1configurable:!1})}finally{return e}}();Xt.bind,Xt.noContext;function en(){}var tn,nn=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=en),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),rn=new Xt,on=Object.prototype.hasOwnProperty,an=void 0===(tn=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:tn;function sn(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var un=[];function cn(e,t){if(!e)throw new Error(t||"assertion failure")}function ln(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var fn=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!hn(this))return pn(this),this.value[0]},e.prototype.recompute=function(e){return cn(!this.recomputing,"already recomputing"),pn(this),hn(this)?function(e,t){_n(e),rn.withValue(e,dn,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{sn(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,hn(e))return;yn(e)}(e);return ln(e.value)}(this,e):ln(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,vn(this),sn(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),_n(this),mn(this,(function(t,n){t.setDirty(),Sn(t,e)}))},e.prototype.forget=function(){this.dispose()}
1,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=un.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(an(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),un.push(this.deps),this.deps=null)},e.count=0,e}();function pn(e){var t=rn.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),hn(e)?gn(t,e):bn(t,e),t}function dn(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function hn(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function vn(e){mn(e,gn)}function yn(e){mn(e,bn)}function mn(e,t){var n=e.parents.size;if(n)for(var r=an(e.parents),o=0;o<n;++o)t(r[o],e)}function gn(e,t){cn(e.childValues.has(t)),cn(hn(t));var n=!hn(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=un.pop()||new Set;e.dirtyChildren.add(t),n&&vn(e)}function bn(e,t){cn(e.childValues.has(t)),cn(!hn(t));var n,r,o,i=e.childValues.get(t);0===i.length?e.childValues.set(t,t.value.slice(0)):(n=i,r=t.value,(o=n.length)>0&&o===r.length&&n[o-1]===r[o-1]||e.setDirty()),wn(e,t),hn(e)||yn(e)}function wn(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(un.length<100&&un.push(n),e.dirtyChildren=null))}function _n(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){Sn(e,n)})),e.forgetDeps(),cn(null===e.dirtyChildren)}function Sn(e,t){t.parents.delete(e),e.childValues.delete(t),wn(e,t)}var En={setDirty:!0,dispose:!0,forget:!0};function On(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=rn.getValue();if(r){var o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(sn(o),o.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var o=n&&on.call(En,n)?n:"setDirty";an(r).forEach((function(e){return e[o]()})),t.delete(e),sn(r)}},r}function kn(){var e=new ze("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}kn();var xn=new Set;function jn(e,t){void 0===t&&(t=Object.create(null));var n=new nn(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,o=t.makeCacheKey||kn(),i=function(){var i=o.apply(null,r?r.apply(null,arguments):arguments);if(void 0===i)return e.apply(null,arguments);var a=n.get(i);a||(n.set(i,a=new fn(e)),a.subscribe=t.subscribe,a.forget=function(){return n.delete(i)});var s=a.recompute(Array.prototype.slice.call(arguments));return n.set(i,a),xn.add(n),rn.hasValue()||(xn.forEach((function(e){return e.clean()})),xn.clear()),s};function a(e){var t=n.get(e);t&&t.setDirty()}function s(e){var t=n.get(e);if(t)return t.peek()}function u(e){return n.delete(e)}return Object.defineProperty(i,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),i.dirtyKey=a,i.dirty=function(){a(o.apply(null,arguments))},i.peekKey=s,i.peek=function(){return s(o.apply(null,arguments))},i.forgetKey=u,i.forget=function(){return u(o.apply(null,arguments))},i.makeCacheKey=o,i.getKey=r?function(){return o.apply(null,r.apply(null,arguments))}:o,Object.freeze(i)}var Pn=new Xt,Dn=new WeakMap;function Tn(e){var t=Dn.get(e);return t||Dn.set(e,t={vars:new Set,dep:On()}),t}function Rn(e){Tn(e).vars.forEach((function(t){return t.forgetCache(e)}))}function Cn(e){var t=new Set,n=new Set,r=function r(i){if(arguments.length>0){if(e!==i){e=i,t.forEach((function(e){Tn(e).dep.dirty(r),In(e)}));var a=Array.from(n);n.clear(),a.forEach((function(t){return t(e)}))}}else{var s=Pn.getValue();s&&(o(s),Tn(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),Tn(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function In(e){e.broadcastWatches&&e.broadcastWatches()}var Nn=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Xe(t.resolvers,e)})):this.resolvers=Xe(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return(0,f.mG)(this,void 0,void 0,(function(){return(0,f.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,a).then((function(e){return(0,f.pi)((0,f.pi)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Ke(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return function(e){K(e);var t=Ot([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=me(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return J(e)&&"__typename"===e.name.value})))return null}}})),t}(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,f.pi)((0,f.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,f.mG)(this,void 0,void 0,(function(){return(0,f.Jh)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,f.pi)((0,f.pi)({},t),e.exportedVariables)}))]:[2,(0,f.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return me(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return ye}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Pt(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,o,i){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),(0,f.mG)(this,void 0,void 0,(function(){var a,s,u,c,l,p,d,h,v;return(0,f.Jh)(this,(function(y){return a=te(e),s=X(e),u=q(s),c=a.operation,l=c?c.charAt(0).toUpperCase()+c.slice(1):"Query",d=(p=this).cache,h=p.client,v={fragmentMap:u,context:(0,f.pi)((0,f.pi)({}
1,n),{cache:d,client:h}),variables:r,fragmentMatcher:o,defaultOperationType:l,exportedVariables:{},onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n){return(0,f.mG)(this,void 0,void 0,(function(){var r,o,i,a,s,c=this;return(0,f.Jh)(this,(function(l){return r=n.fragmentMap,o=n.context,i=n.variables,a=[t],s=function(e){return(0,f.mG)(c,void 0,void 0,(function(){var s,c;return(0,f.Jh)(this,(function(l){return Ze(e,i)?J(e)?[2,this.resolveField(e,t,n).then((function(t){var n;void 0!==t&&a.push(((n={})[z(e)]=t,n))}))]:(Z(e)?s=e:(s=r[e.name.value],__DEV__?(0,u.kG)(s,"No fragment named ".concat(e.name.value)):(0,u.kG)(s,9)),s&&s.typeCondition&&(c=s.typeCondition.name.value,n.fragmentMatcher(t,c,o))?[2,this.resolveSelectionSet(s.selectionSet,t,n).then((function(e){a.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(s)).then((function(){return et(a)}))]}))}))},e.prototype.resolveField=function(e,t,n){return(0,f.mG)(this,void 0,void 0,(function(){var r,o,i,a,s,u,c,l,p,d=this;return(0,f.Jh)(this,(function(f){return r=n.variables,o=e.name.value,i=z(e),a=o!==i,s=t[i]||t[o],u=Promise.resolve(s),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(c=t.__typename||n.defaultOperationType,(l=this.resolvers&&this.resolvers[c])&&(p=l[a?o:i])&&(u=Promise.resolve(Pn.withValue(this.cache,p,[t,W(e,r),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,u.then((function(t){return void 0===t&&(t=s),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?d.resolveSubSelectedArray(e,t,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},e}(),Fn=new(He.mr?WeakMap:Map);function qn(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return Fn.set(e,(Fn.get(e)+1)%1e15),n.apply(this,arguments)})}function Mn(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var An=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Fn.has(n)||(Fn.set(n,0),qn(n,"evict"),qn(n,"modify"),qn(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Ft.loading;return this.variables&&this.networkStatus!==Ft.loading&&!(0,Qe.D)(this.variables,e.variables)&&(t=Ft.setVariables),(0,Qe.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){Mn(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,Qe.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,Qe.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():Wt(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1Mn(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(At(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=(0,f.pi)((0,f.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,Qe.D)(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Fn.get(this.cache)&&(0,Qe.D)(t,n.variables)&&(0,Qe.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n){var r=this;this.graphQLErrors=(0,qt.O)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==n&&(Ln(e,t.errorPolicy)?this.cache.performTransaction((function(o){if(r.shouldWrite(e,t.variables))o.writeQuery({query:r.document,data:e.data,variables:t.variables,overwrite:1===n}),r.lastWrite={result:e,variables:t.variables,dmCount:Fn.get(r.cache)};else if(r.lastDiff&&r.lastDiff.diff.complete)return void(e.data=r.lastDiff.diff.result);var i=r.getDiffOptions(t.variables),a=o.diff(i);r.stopped||r.updateWatch(t.variables),r.updateLastDiff(a,i),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Ft.ready},e.prototype.markError=function(e){return this.networkStatus=Ft.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Ln(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!gt(e);return!r&&n&&e.data&&(r=!0),r}var Vn=Object.prototype.hasOwnProperty,Qn=function(){function e(e){var t=e.cache,n=e.link,r=e.defaultOptions,o=e.queryDeduplication,i=void 0!==o&&o,a=e.onBroadcast,s=e.ssrMode,u=void 0!==s&&s,c=e.clientAwareness,l=void 0===c?{}:c,f=e.localState,p=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(He.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.defaultOptions=r||Object.create(null),this.queryDeduplication=i,this.clientAwareness=l,this.localState=f||new Nn({cache:t}),this.ssrMode=u,this.assumeImmutableResults=!!p,(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(__DEV__?new u.ej("QueryManager stopped while query was in flight"):new u.ej(11))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,n,r=e.mutation,o=e.variables,i=e.optimisticResponse,a=e.updateQueries,s=e.refetchQueries,c=void 0===s?[]:s,l=e.awaitRefetchQueries,p=void 0!==l&&l,d=e.update,h=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,m=e.errorPolicy,g=void 0===m?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.errorPolicy)||"none":m,b=e.keepRootFields,w=e.context;return(0,f.mG)(this,void 0,void 0,(function(){var e,t,n;return(0,f.Jh)(this,(function(s){switch(s.label){case 0:return __DEV__?(0,u.kG)(r,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,u.kG)(r,12),__DEV__?(0,u.kG)("network-only"===y||"no-cache"===y,"Mutations supp
1ort only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,u.kG)("network-only"===y||"no-cache"===y,13),e=this.generateMutationId(),r=this.transform(r).document,o=this.getVariables(r,o),this.transform(r).hasClientExports?[4,this.localState.addExportedVariables(r,o,w)]:[3,2];case 1:o=s.sent(),s.label=2;case 2:return t=this.mutationStore&&(this.mutationStore[e]={mutation:r,variables:o,loading:!0,error:null}),i&&this.markMutationOptimistic(i,{mutationId:e,document:r,variables:o,fetchPolicy:y,errorPolicy:g,context:w,updateQueries:a,update:d,keepRootFields:b}),this.broadcastQueries(),n=this,[2,new Promise((function(s,u){return mt(n.getObservableFromLink(r,(0,f.pi)((0,f.pi)({},w),{optimisticResponse:i}),o,!1),(function(s){if(gt(s)&&"none"===g)throw new Mt.c({graphQLErrors:s.errors});t&&(t.loading=!1,t.error=null);var u=(0,f.pi)({},s);return"function"==typeof c&&(c=c(u)),"ignore"===g&>(u)&&delete u.errors,n.markMutationResult({mutationId:e,result:u,document:r,variables:o,fetchPolicy:y,errorPolicy:g,context:w,update:d,updateQueries:a,awaitRefetchQueries:p,refetchQueries:c,removeOptimistic:i?e:void 0,onQueryUpdated:h,keepRootFields:b})})).subscribe({next:function(e){n.broadcastQueries(),s(e)},error:function(r){t&&(t.loading=!1,t.error=r),i&&n.cache.removeOptimistic(e),n.broadcastQueries(),u(r instanceof Mt.c?r:new Mt.c({networkError:r}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&Ln(r,e.errorPolicy)){o.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var a=e.updateQueries;a&&this.queries.forEach((function(e,i){var s=e.observableQuery,u=s&&s.queryName;if(u&&Vn.call(a,u)){var c=a[u],l=n.queries.get(i),f=l.document,p=l.variables,d=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),h=d.result;if(d.complete&&h){var v=c(h,{mutationResult:r,queryName:f&&Y(f)||void 0,queryVariables:p});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:p})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var s=[];if(this.refetchQueries({updateCache:function(t){i||o.forEach((function(e){return t.write(e)}));var a=e.update;if(a){if(!i){var s=t.diff({id:"ROOT_MUTATION",query:n.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});s.complete&&(r=(0,f.pi)((0,f.pi)({},r),{data:s.result}))}a(t,r,{context:e.context,variables:e.variables})}i||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return s.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(s).then((function(){return r}))}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,f.pi)((0,f.pi)({},t),{result:{data:r}}),e)}catch(o){__DEV__&&u.kG.error(o)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchQueryObservable(e,t,n).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t,n=this.transformCache;if(!n.has(e)){var r=this.cache.transformDocument(e),o=(t=this.cache.transformForLink(r),Ot([xt],K(t))),i=this.localState.clientQuery(r),a=o&&this.localState.serverQuery(o),s={document:r,hasClientExports:$e(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:i,serverQuery:a,defaultVars:ne($
1(r)),asQuery:(0,f.pi)((0,f.pi)({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,f.pi)((0,f.pi)({},e),{operation:"query"}):e}))})},u=function(e){e&&!n.has(e)&&n.set(e,s)};u(e),u(r),u(i),u(a)}return n.get(e)},e.prototype.getVariables=function(e,t){return(0,f.pi)((0,f.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,f.pi)((0,f.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new An(this),n=new Gt({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:n.query,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,u.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,u.kG)(e.query,14),__DEV__?(0,u.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,u.kG)("Document"===e.query.kind,15),__DEV__?(0,u.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,u.kG)(!e.returnPartialData,16),__DEV__?(0,u.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,u.kG)(!e.pollInterval,17),this.fetchQuery(t,e).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new u.ej("Store reset while query was in flight (not completed in link chain)"):new u.ej(18)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=Ft.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,o=new Set;return Array.isArray(e)&&e.forEach((function(e){var n;"string"==typeof e?r.set(e,!1):N(n=e)&&"Document"===n.kind&&Array.isArray(n.definitions)?r.set(t.transform(e).document,!1):N(e)&&e.query&&o.add(e)})),this.queries.forEach((function(t,o){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void n.set(o,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&r.has(s)||a&&r.has(a))&&(n.set(o,i),s&&r.set(s,!0),a&&r.set(a,!0))}})),o.size&&o.forEach((function(e){var r=Tt("legacyOneTimeQuery"),o=t.getQuery(r).init({document:e.query,variables:e.variables}),i=new Gt({queryManager:t,queryInfo:o,options:(0,f.pi)((0,f.pi)({},e),{fetchPolicy:"network-only"})});(0,u.kG)(i.queryId===r),o.setObservableQuery(i),n.set(r,i)})),__DEV__&&r.size&&r.forEach((function(e,t){e||__DEV__&&u.kG.warn("Unknown query ".concat("string"==typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,o){var i=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&n.push(r.refetch()),t.getQuery(o).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,o=e.errorPolicy,i=e.variables,a=e.context,s=void 0===a?{}:a;n=this.transform(n).document,i=this.getVariables(n,i);var u=function(e){return t.getObservableFromLink(n,s,e).map((function(i){if("no-cache"!==r&&(Ln(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),gt(i))throw new Mt.c({graphQLErrors:i.errors});return i}))};if(this.transform(n).hasClientExports){var c=this.localState.addExportedVariables(n,i,s).then(u);return new I((function(e){var t=null;return c.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(i)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEac
1h((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var o,i,a=this;void 0===r&&(r=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var s=this.transform(e).serverQuery;if(s){var u=this.inFlightLinkObservables,c=this.link,l={query:s,variables:n,operationName:Y(s)||void 0,context:this.prepareContext((0,f.pi)((0,f.pi)({},t),{forceFetch:!r}))};if(t=l.context,r){var p=u.get(s)||new Map;u.set(s,p);var d=vt(n);if(!(i=p.get(d))){var h=new Nt([ue(c,l)]);p.set(d,i=h),h.cleanup((function(){p.delete(d)&&p.size<1&&u.delete(s)}))}}else i=new Nt([ue(c,l)])}else i=new Nt([I.of({data:{}})]),t=this.prepareContext(t);var v=this.transform(e).clientQuery;return v&&(i=mt(i,(function(e){return a.localState.runResolvers({document:v,remoteResult:e,context:t,variables:n})}))),i},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId();return mt(this.getObservableFromLink(e.document,n.context,n.variables),(function(o){var i=(0,qt.O)(o.errors);if(r>=e.lastRequestId){if(i&&"none"===n.errorPolicy)throw e.markError(new Mt.c({graphQLErrors:o.errors}));e.markResult(o,n,t),e.markReady()}var a={data:o.data,loading:!1,networkStatus:Ft.ready};return i&&"ignore"!==n.errorPolicy&&(a.errors=o.errors,a.networkStatus=Ft.error),a}),(function(t){var n=(0,Mt.M)(t)?t:new Mt.c({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=Ft.loading);var o=this.transform(t.query).document,i=this.getVariables(o,t.variables),a=this.getQuery(e),s=this.defaultOptions.watchQuery,u=t.fetchPolicy,c=void 0===u?s&&s.fetchPolicy||"cache-first":u,l=t.errorPolicy,f=void 0===l?s&&s.errorPolicy||"none":l,p=t.returnPartialData,d=void 0!==p&&p,h=t.notifyOnNetworkStatusChange,v=void 0!==h&&h,y=t.context,m=void 0===y?{}:y,g=Object.assign({},t,{query:o,variables:i,fetchPolicy:c,errorPolicy:f,returnPartialData:d,notifyOnNetworkStatusChange:v,context:m}),b=function(e){g.variables=e;var o=r.fetchQueryByPolicy(a,g,n);return"standby"!==g.fetchPolicy&&o.length>0&&a.observableQuery&&a.observableQuery.applyNextFetchPolicy("after-fetch",t),o},w=function(){return r.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,(function(e){w(),setTimeout((function(){return _.cancel(e)}))}));var _=new Nt(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(b):b(g.variables));return _.promise.then(w,w),_},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?Tt("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){c.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof An&&e.watcher.observableQuery;if(r){if(u){c.delete(r.queryId);var o=u(r,t,n);return!0===o&&(o=r.refetch()),!1!==o&&l.set(r,o),o}null!==u&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach((function(e,n){var r,o=e.oq,i=e.lastDiff,a=e.diff;if(u){if(!a){var s=o.queryInfo;s.reset(),a=s.getDiff()}r=u(o,a,i)}u&&!0!==r||(r=o.refetch()),!1!==r&&l.set(o,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,o=t.query,i=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,c=t.returnPartialData,l=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:this.transform(o).document,variables:i,networkStatus:n});var h=function(){return e.getDiff(i)},v=function(t,n){void 0===n&&(n=e.networkStatus||Ft.loading);var a=t.result;!__DEV__||c||(0,Qe.D)(a,{})||Ht(t.missing);var s=function(e){return I.of((0,f.pi)({data:e,loading:At(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.transform(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:a},context:l,variables:i,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):s(a)},y="no-cache"===a?0:n===Ft.refetch&&"merge"!==s?1:2,m=function(){return r.getResultsFromLink(e,y,{variables:i,context:l,fetchPolicy:a,errorPolicy:u})},g=p&&"number"==typeof d&&d!==n&&At(n);switch(a){default:case"cache-first":return(b=h()).complete?[v(b,e.markReady())]:c||g?[v(b),m()]:[m()];case"cache-and-network":var b;return(b=h()).complete||c||g?[v(b),m()]:[m()];case"cache-only":return[v(h(),e.markReady())];case"network-only":return g?[v(h()),m()]:[m()];case"no-cache":return g?[v(e.getDiff()),m()]:[m()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new An(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,f.pi)((0,f.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),Un=n(2331),Bn=!1,Gn=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,o=e.headers,i=e.cache,a=e.ssrMode,s=void 0!==a&&a,c=e.ssrForceFetchDelay,l=void 0===c?0:c,f=e.connectToDevTools,p=void 0===f?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:f,d=e.queryDeduplication,h=void 0===d||d,v=e.defaultOptions,y=e.assumeImmutableResults,m=void 0!==y&&y,g=e.resolvers,b=e.typeDefs,w=e.fragmentMatcher,_=e.name,S=e.version,E=e.link;if(E||(E=n?new Ve({uri:n,credentials:r,headers:o}):se.empty()),!i)throw __DEV__?new u.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new u.ej(7);if(this.link=E,this.cache=i,this.disableNetworkFetches=s||l>0,this.queryDeduplication=h,this.defaultOptions=v||Object.create(null),this.typeDefs=b,l&&setTimeout((function(){return t.disableNetworkFetches=!1}),l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),p&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!Bn&&__DEV__&&(Bn=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var O=window.navigator,k=O&&O.userAgent,x=void 0;"string"==typeof k&&(k.indexOf("Chrome/")>-1?x="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":k.indexOf("Firefox/")>-1&&(x="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),x&&__DEV__&&u.kG.log("Download the Apollo DevTools for a better development experience: "+x)}
1this.version="3.6.9",this.localState=new Nn({cache:i,client:this,resolvers:g,fragmentMatcher:w}),this.queryManager=new Qn({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:h,ssrMode:s,clientAwareness:{name:_,version:S},localState:this.localState,assumeImmutableResults:m,onBroadcast:p?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,Un.J)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,f.pi)((0,f.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,Un.J)(this.defaultOptions.query,e)),__DEV__?(0,u.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,u.kG)("cache-and-network"!==e.fetchPolicy,8),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,f.pi)((0,f.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,Un.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ue(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var o=Promise.all(r);return o.queries=n,o.results=r,o.catch((function(e){__DEV__&&u.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),Wn=function(){function e(){this.getFragmentDoc=jn(F)}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.o
1ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,f.pi)((0,f.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,f.pi)((0,f.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,f._T)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,o=e.fragmentName,i=(0,f._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(r,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),o=t(r);return null==o?r:(n.writeQuery((0,f.pi)((0,f.pi)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),o=t(r);return null==o?r:(n.writeFragment((0,f.pi)((0,f.pi)({},e),{data:o})),o)}})},e}(),zn=function(e,t,n,r){this.message=e,this.path=t,this.query=n,this.variables=r};function Hn(e){var t=new Set([e]);return t.forEach((function(e){N(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){N(e[n])&&t.add(e[n])}))})),e}function Jn(e){return __DEV__&&Hn(e),e}var Zn=Object.create(null),Kn=function(){return Zn},$n=Object.create(null),Yn=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Jn(L(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return L(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return A(e);if(L(e))return e;var r=n.policies.identify(e)[0];if(r){var o=A(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return(0,f.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),rt.call(this.data,e)){var n=this.data[e];if(n&&rt.call(n,t))return n[t]}return"__typename"===t&&rt.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof nr?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),rt.call(this.data,e)?this.data[e]:this instanceof nr?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;L(e)&&(e=e.__ref),L(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(n=e):e,i="string"==typeof t?this.lookup(n=t):t;if(i){__DEV__?(0,u.kG)("string"==typeof n,"store.merge expects a string ID"):(0,u.kG)("string"==typeof n,1);var a=new nt(or).merge(o,i);if(this.data[n]=a,a!==o&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);
1o||(s.__exists=1),Object.keys(i).forEach((function(e){if(!o||o[e]!==a[e]){s[e]=1;var t=ut(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof nr||delete a[e]}})),!s.__typename||o&&o.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var o=Object.create(null),i=!1,a=!0,s={DELETE:Zn,INVALIDATE:$n,isReference:L,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||A(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(u){var c=ut(u),l=r[u];if(void 0!==l){var p="function"==typeof t?t:t[u]||t[c];if(p){var d=p===Kn?Zn:p(Jn(l),(0,f.pi)((0,f.pi)({},s),{fieldName:c,storeFieldName:u,storage:n.getStorage(e,u)}));d===$n?n.group.dirty(e,u):(d===Zn&&(d=void 0),d!==l&&(o[u]=d,i=!0,l=d))}void 0!==l&&(a=!1)}})),i)return this.merge(e,o),a&&(this instanceof nr?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var i=this.getFieldValue(o,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=Kn,r):Kn)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(rt.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof nr&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){rt.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&rt.call(e,n)||t.delete(n)})),e){var n=e.__META,r=(0,f._T)(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof nr?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){rt.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var o=this;o instanceof nr;)o=o.parent;r.forEach((function(e){return o.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!rt.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){L(e)&&(t[e.__ref]=!0),N(e)&&Object.keys(e).forEach((function(t){var n=e[t];N(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Xn=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?On():null,this.keyMaker=new ze(He.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(er(e,t));var n=ut(t);n!==t&&this.d(er(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(er(e,t),"__exists"===t?"forget":"setDirty")},e}();function er(e,t){return t+"#"+e}function tr(e,t){ir(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,o=void 0===r||r,i=t.seed,a=e.call(this,n,new Xn(o))||this;return a.stump=new rr(a),a.storageTrie=new ze(He.mr),i&&a.replace(i),a}return(0,f.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Yn||(Yn={}));var nr=function(e){function t(t,n,r,o){var i=e.call(this,n.policies,o)||this;return i.id=t,i.parent=n,i.replay=r,i.group=o,r(i),i}return(0,f.ZT)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],o=n.lookup(e);o?r?r!==o&&Object.keys(r).forEach((function(n){(0,Qe.D)(r[n],o[n])||t.group.dirty(e,n)})):(t.group.dirty(e,"__exists"),Object.keys(o).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,f.pi)((0,f.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return rt.call(this.data,t)?(0,f.pi)((0,f.pi)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Yn),rr=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Xn(t.group.caching,t.group))||this}return(0,f.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(nr);function or(e,t,n){var r=e[n],o=t[n];return(0,Qe.D)(r,o)?r:o}function ir(e){return!!(e instanceof Yn&&e.group.caching)}function ar(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var sr=function(){function e(e){var t=this;this.knownResults=new(He.mr?WeakMap:Map),this.config=(0,Je.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:at(e)}),this.canon=e.canon||new ht,this.executeSelectionSet=jn((function(e){var n,r=e.context.canonizeResults,o=ar(e);o[3]=!r;var i=(n=t.executeSelectionSet).peek.apply(n,o);return i?r?(0,f.pi)((0,f.pi)({},i),{result:t.canon.admit(i.result)}):i:(tr(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:ar,makeCacheKey:function(e,t,n,r){if(ir(n.store))return n.store.makeCacheKey(e,L(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=jn((function(e){return tr(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(ir(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new ht},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,o=void 0===r?"ROOT_QUERY":r,i=e.variables,a=e.returnPartialData,s=void 0===a||a,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;i=(0,f.pi)((0,f.pi)({},ne(ee(n))),i);var p,d=A(o),h=this.executeSelectionSet({selectionSet:te(n).selectionSet,objectOrReference:d,enclosingRef:d,context:{store:t,query:n,policies:l,variables:i,varString:vt(i),canonizeResults:c,fragmentMap:q(X(n))}});if(h.missing&&(p=[new zn(ur(h.missing),h.missing,n,i)],!s))throw p[0];return{result:h.result,complete:!p,missing:p}},e.prototype.isFresh=function(e,t,n,r){if(ir(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,o=e.enclosingRef,i=e.context;if(L(r)&&!i.policies.rootTypenamesById[r.__ref]&&!i.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var a,s=i.variables,u=i.policies,c=i.store.getFieldValue(r,"__typename"),l=[],f=new nt;function p(e,t){var n;return e.missing&&(a=f.merge(a,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!u.rootIdsByTypename[c]&&l.push({__typename:c}
1);var d=new Set(n.selections);d.forEach((function(e){var n,h;if(Ze(e,s))if(J(e)){var v=u.readField({fieldName:e.name.value,field:e,variables:i.variables,from:r},i),y=z(e);void 0===v?kt.added(e)||(a=f.merge(a,((n={})[y]="Can't find field '".concat(e.name.value,"' on ").concat(L(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):ft(v)?v=p(t.executeSubSelectedArray({field:e,array:v,enclosingRef:o,context:i}),y):e.selectionSet?null!=v&&(v=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:v,enclosingRef:L(v)?v:o,context:i}),y)):i.canonizeResults&&(v=t.canon.pass(v)),void 0!==v&&l.push(((h={})[y]=v,h))}else{var m=M(e,i.fragmentMap);m&&u.fragmentMatches(m,c)&&m.selectionSet.selections.forEach(d.add,d)}}));var h={result:et(l),missing:a},v=i.canonizeResults?this.canon.admit(h):Jn(h);return v.result&&this.knownResults.set(v.result,n),v},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,i=e.enclosingRef,a=e.context,s=new nt;function c(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map((function(e,t){return null===e?null:ft(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:i,context:a}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:L(e)?e:i,context:a}),t):(__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){N(n)&&(__DEV__?(0,u.kG)(!L(n),"Missing selection set for object of type ".concat(function(e,t){return L(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n)," returned for query field ").concat(t.name.value)):(0,u.kG)(!L(n),5),Object.values(n).forEach(r.add,r))}))}}(a.store,r,e),e)})),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function ur(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(t){return t}}var cr=Object.create(null);function lr(e){var t=JSON.stringify(e);return cr[t]||(cr[t]=Object.create(null))}function fr(e){var t=lr(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=dr(e,(function(e){var o=yr(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&rt.call(t,e[0])&&(o=yr(t,e,vr)),__DEV__?(0,u.kG)(void 0!==o,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,u.kG)(void 0!==o,2),o}));return"".concat(n.typename,":").concat(JSON.stringify(o))})}function pr(e){var t=lr(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,o=n.variables,i=n.fieldName,a=dr(e,(function(e){var n=e[0],i=n.charAt(0);if("@"!==i)if("$"!==i){if(t)return yr(t,e)}else{var a=n.slice(1);if(o&&rt.call(o,a)){var s=e.slice(0);return s[0]=a,yr(o,s)}}else if(r&&(0,qt.O)(r.directives)){var u=n.slice(1),c=r.directives.find((function(e){return e.name.value===u})),l=c&&W(c,o);return l&&yr(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(i+=":"+s),i})}function dr(e,t){var n=new nt;return hr(e).reduce((function(e,r){var o,i=t(r);if(void 0!==i){for(var a=r.length-1;a>=0;--a)(o={})[r[a]]=i,i=o;e=n.merge(e,i)}return e}),Object.create(null))}function hr(e){var t=lr(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,o){ft(t)?(hr(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),ft(e[o+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function vr(e,t){return e[t]}function yr(e,t,n){return n=n||vr,mr(t.reduce((function e(t,r){return ft(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function mr(e){return N(e)?ft(e)?e.map(mr):dr(Object.keys(e).sort(),(function(t){return yr(e,t)})):e}function gr(e){return void 0!==e.args?e.args:e.field?W(e.field,e.variables):null}U.setStringify(vt);var br=function(){},wr=function(e,t){return t.fieldName},_r=function(e,t,n){return(0,n.mergeObjects)(e,t)},Sr=function(e,t){return t},Er=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,f.pi)({dataIdFromObject:ot},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,r=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,a=t&&t.storeObject||e,s=(0,f.pi)((0,f.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=kr(arguments,a);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),c=u&&u.keyFn||this.config.dataIdFromObject;c;){var l=c(e,s);if(!ft(l)){i=l;break}c=fr(l)}return i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],o=r.queryType,i=r.mutationType,a=r.subscriptionType,s=(0,f._T)(r,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),rt.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?_r:!1===t?Sr:e.merge}a(r,t.merge),r.keyFn=!1===o?br:ft(o)?fr(o):"function"==typeof o?o:r.keyFn,i&&Object.keys(i).forEac
1h((function(t){var r=n.getFieldPolicy(e,t,!0),o=i[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,u=o.read,c=o.merge;r.keyFn=!1===s?wr:ft(s)?pr(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),a(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||wr)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(__DEV__?(0,u.kG)(!r||r===e,"Cannot change root ".concat(e," __typename more than once")):(0,u.kG)(!r||r===e,3),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(st);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!rt.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),o=r.fields,i=(0,f._T)(r,["fields"]);Object.assign(n,i),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},l=!(!n||!this.fuzzySubtypes.size),f=!1,p=0;p<s.length;++p){var d=s[p];if(d.has(i))return a.has(i)||(f&&__DEV__&&u.kG.warn("Inferring subtype ".concat(t," of supertype ").concat(i)),a.add(i)),!0;d.forEach(c),l&&p===s.length-1&&ct(e.selectionSet,n,r)&&(l=!1,f=!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&c(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,o=this.getFieldPolicy(n,r,!1),i=o&&o.keyFn;if(i&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=gr(e);i;){var u=i(s,a);if(!ft(u)){t=u||r;break}i=pr(u)}return void 0===t&&(t=e.field?function(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var o=r.name,i=r.value;return V(n[e.name.value],o,i,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,o=e.value;return V(r,n,o,t)}))),U(e.name.value,r,n)}(e.field,e.variables):U(r,gr(e))),!1===t?r:r===ut(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var o=this.getStoreFieldName(e),i=ut(o),a=t.store.getFieldValue(n,o),s=this.getFieldPolicy(e.typename,i,!1),u=s&&s.read;if(u){var c=Or(this,n,e,t,t.store.getStorage(L(n)?n.__ref:n,o));return Pn.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),o=r&&r.merge;return!o&&n&&(o=(r=this.getTypePolicy(n))&&r.merge),o},e.prototype.runMergeFunction=function(e,t,n,r,o){var i=n.field,a=n.typename,s=n.merge;return s===_r?xr(r.store)(e,t):s===Sr?t:(r.overwrite&&(e=void 0),s(e,t,Or(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:r.variables},r,o||Object.create(null))))},e}();function Or(e,t,n,r,o){var i=e.getStoreFieldName(n),a=ut(i),s=n.variables||r.variables,u=r.store,c=u.toReference,l=u.canRead;return{args:gr(n),field:n.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:L,toReference:c,storage:o,cache:e.cache,canRead:l,readField:function(){return e.readField(kr(arguments,t,s),r)},mergeObjects:xr(r.store)}}function kr(e,t,n){var r,o,i,a=e[0],s=e[1],c=e.length;return"string"==typeof a?r={fieldName:a,from:c>1?s:t}:(r=(0,f.pi)({},a),rt.call(r,"from")||(r.from=t)),__DEV__&&void 0===r.from&&__DEV__&&u.kG.warn("Undefined 'from' passed to readField with arguments ".concat((o=Array.from(e),i=Tt("stringifyForDisplay"),JSON.stringify(o,(function(e,t){return void 0===t?i:t})).split(JSON.stringify(i)).join("<undefined>")))),void 0===r.variables&&(r.variables=n),r}function xr(e){return function(t,n){if(ft(t)||ft(n))throw __DEV__?new u.ej("Cannot automatically merge arrays"):new u.ej(4);if(N(t)&&N(n)){var r=e.getFieldValue(t,"__typename"),o=e.getFieldValue(n,"__typename");if(r&&o&&r!==o)return n;if(L(t)&<(n))return e.merge(t.__ref,n),t;if(lt(t)&&L(n))return e.merge(t,n.__ref),n;if(lt(t)&<(n))return(0,f.pi)((0,f.pi)({},t),n)}return n}}function jr(e,t,n){var r="".concat(t).concat(n),o=e.flavors.get(r);return o||e.flavors.set(r,o=e.clientOnly===t&&e.deferred===n?e:(0,f.pi)((0,f.pi)({},e),{clientOnly:t,deferred:n})),o}var Pr=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,o=t.result,i=t.dataId,a=t.variables,s=t.overwrite,c=$(r),l=new nt;a=(0,f.pi)((0,f.pi)({},ne(c)),a);var p={store:e,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:a,varString:vt(a),fragmentMap:q(X(r)),overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map},d=this.processSelectionSet({result:o||Object.create(null),dataId:i,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:p});if(!L(d))throw __DEV__?new u.ej("Could not identify object ".concat(JSON.stringify(o))):new u.ej(6);
1return p.incomingById.forEach((function(t,r){var o=t.storeObject,i=t.mergeTree,a=t.fieldNodeSet,s=A(r);if(i&&i.map.size){var c=n.applyMerges(i,s,o,p);if(L(c))return;o=c}if(__DEV__&&!p.overwrite){var l=Object.create(null);a.forEach((function(e){e.selectionSet&&(l[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===l[ut(e)]})(e)&&!function(e){var t=i&&i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var o=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},i=o(e);if(!i)return;var a=o(t);if(!a)return;if(L(i))return;if((0,Qe.D)(i,a))return;if(Object.keys(i).every((function(e){return void 0!==r.getFieldValue(a,e)})))return;var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=ut(n),l="".concat(s,".").concat(c);if(Nr.has(l))return;Nr.add(l);var f=[];ft(i)||ft(a)||[i,a].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||f.includes(t)||f.push(t)}));__DEV__&&u.kG.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(s," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(l," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(i).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(a).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(s,o,e,p.store)}))}e.merge(r,o)})),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,o=e.selectionSet,i=e.context,a=e.mergeTree,s=this.cache.policies,c=Object.create(null),l=n&&s.rootTypenamesById[n]||H(r,o,i.fragmentMap)||n&&i.store.get(n,"__typename");"string"==typeof l&&(c.__typename=l);var p=function(){var e=kr(arguments,c,i.variables);if(L(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var n=s.readField((0,f.pi)((0,f.pi)({},e),{from:t.storeObject}),i);if(void 0!==n)return n}}return s.readField(e,i)},d=new Set;this.flattenFields(o,r,i,l).forEach((function(e,n){var o,i=z(n),f=r[i];if(d.add(n),void 0!==f){var h=s.getStoreFieldName({typename:l,fieldName:n.name.value,field:n,variables:e.variables}),v=Tr(a,h),y=t.processFieldValue(f,n,n.selectionSet?jr(e,!1,!1):e,v),m=void 0;n.selectionSet&&(L(y)||lt(y))&&(m=p("__typename",y));var g=s.getMergeFunction(l,n.name.value,m);g?v.info={field:n,typename:l,merge:g}:Ir(a,h),c=e.merge(c,((o={})[h]=y,o))}else!__DEV__||e.clientOnly||e.deferred||kt.added(n)||s.getReadFunction(l,n.name.value)||__DEV__&&u.kG.error("Missing field '".concat(z(n),"' while writing result ").concat(JSON.stringify(r,null,2)).substring(0,1e3))}));try{var h=s.identify(r,{typename:l,selectionSet:o,fragmentMap:i.fragmentMap,storeObject:c,readField:p}),v=h[0],y=h[1];n=n||v,y&&(c=i.merge(c,y))}catch(w){if(!n)throw w}if("string"==typeof n){var m=A(n),g=i.written[n]||(i.written[n]=[]);if(g.indexOf(o)>=0)return m;if(g.push(o),this.reader&&this.reader.isFresh(r,m,o,i))return m;var b=i.incomingById.get(n);return b?(b.storeObject=i.merge(b.storeObject,c),b.mergeTree=Rr(b.mergeTree,a),d.forEach((function(e){return b.fieldNodeSet.add(e)}))):i.incomingById.set(n,{storeObject:c,mergeTree:Cr(a)?void 0:a,fieldNodeSet:d}),m}return c},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?ft(e)?e.map((function(e,i){var a=o.processFieldValue(e,t,n,Tr(r,i));return Ir(r,i),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):__DEV__?Vt(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=H(t,e,n.fragmentMap));var o=new Map,i=this.cache.policies,a=new ze(!1);return function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);
1c.visited||(c.visited=!0,s.selections.forEach((function(a){if(Ze(a,n.variables)){var s=u.clientOnly,c=u.deferred;if(s&&c||!(0,qt.O)(a.directives)||a.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=W(e,n.variables);r&&!1===r.if||(c=!0)}})),J(a)){var l=o.get(a);l&&(s=s&&l.clientOnly,c=c&&l.deferred),o.set(a,jr(n,s,c))}else{var f=M(a,n.fragmentMap);f&&i.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,jr(n,s,c))}}})))}(e,n),o},e.prototype.applyMerges=function(e,t,n,r,o){var i,a=this;if(e.map.size&&!L(n)){var s,c=ft(n)||!L(t)&&!lt(t)?void 0:t,l=n;c&&!o&&(o=[L(c)?c.__ref:c]);var p=function(e,t){return ft(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=p(c,t),i=p(l,t);if(void 0!==i){o&&o.push(t);var f=a.applyMerges(e,n,i,r,o);f!==i&&(s=s||new Map).set(t,f),o&&(0,u.kG)(o.pop()===t)}})),s&&(n=ft(l)?l.slice(0):(0,f.pi)({},l),s.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&(i=r.store).getStorage.apply(i,o)):n},e}(),Dr=[];function Tr(e,t){var n=e.map;return n.has(t)||n.set(t,Dr.pop()||{map:new Map}),n.get(t)}function Rr(e,t){if(e===t||!t||Cr(t))return e;if(!e||Cr(e))return t;var n=e.info&&t.info?(0,f.pi)((0,f.pi)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,o={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var i=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,Rr(e,t.map.get(n))),i.delete(n)})),i.forEach((function(n){o.map.set(n,Rr(t.map.get(n),e.map.get(n)))}))}return o}function Cr(e){return!e||!(e.info||e.map.size)}function Ir(e,t){var n=e.map,r=n.get(t);r&&Cr(r)&&(Dr.push(r),n.delete(t))}var Nr=new Set;var Fr=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=Cn,n.txCount=0,n.config=function(e){return(0,Je.o)(it,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new Er({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,f.ZT)(t,e),t.prototype.init=function(){var e=this.data=new Yn.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader;this.storeWriter=new Pr(this,this.storeReader=new sr({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:at(this.config),canon:e?void 0:n&&n.canon})),this.maybeBroadcastWatch=jn((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(ir(n)){var r=e.optimistic,o=e.rootId,i=e.variables;return n.makeCacheKey(e.query,e.callback,vt({optimistic:r,rootId:o,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,f.pi)((0,f.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(r){if(r instanceof zn)return null;throw r}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(rt.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,f.pi)((0,f.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;
1return this.watches.size||Tn(t=this).vars.forEach((function(e){return e.attachCache(t)})),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){n.watches.delete(e)&&!n.watches.size&&Rn(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){vt.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(L(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){__DEV__&&u.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(rt.call(e,"id"))return!1;e=(0,f.pi)((0,f.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),vt.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),Rn(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,o=e.optimistic,i=void 0===o||o,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var o=n,i=o.data,a=o.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=a}},c=new Set;return s&&!this.txCount&&this.broadcastWatches((0,f.pi)((0,f.pi)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,u):!1===i?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&c.size?(this.broadcastWatches((0,f.pi)((0,f.pi)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&c.delete(e),n}})),c.size&&c.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=kt(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&(0,Qe.D)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(Wn),qr=function(e,t){var n=e.element;return r.createElement(l,{client:i()instanceof Gn?i():new Gn(Object.assign({},t,{fetch:s(),cache:new Fr}))},n)}},9556:function(){},33:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return a},onInitialClientRender:function(){return s}});var r=new Set;function o(e,t){var n=null;return function(){n&&clearTimeout(n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n=setTimeout.apply(void 0,[e,t].concat(o))}}function i(e){void 0===e&&(e="dataLayer");var t=window;function i(n){var o,i,a,s,u;r.has(n.name)||(r.add(n.name),o=n,i=t[e],a=o.name,s=o.value,u=o.id,i.push({event:"core-web-vitals",webVitalsMeasurement:{name:a,id:u,value:Math.round("CLS"===a?1e3*s:s)}}))}return n.e(589).then(n.bind(n,1589)).then((function(e){var t=e.getLCP,n=e.getFID,r=e.getCLS,a=o(i,3e3),s=i,u=o(i,3e3);r(a,!0),n(s,!0),t(u,!0)}))}function a(e,t){setTimeout((function(){var e=t.dataLayerName?window[t.dataLayerName]:window.dataLayer,n=t.routeChangeEventName?t.routeChangeEventName:"gatsby-route-change";e.push({event:n})}),50)}function s(e,t){t.enableWebVitalsTracking&&i(t.dataLayerName)}},9608:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(1597),n(292);var r=function(e,t){e.location}},292:function(e,t,n){"use strict";var r=n(1597)},9499:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseContext:function(){return M},Link:function(){return H},Location:function(){return N},LocationProvider:function(){return F},Match:function(){return X},Redirect:function(){return Y},Router:function(){return A},ServerLocation:function(){return q},createHistory:function(){return S},createMemorySource:function(){return E},globalHistory:function(){return k},isRedirect:function(){return Z},matchPath:function(){return c},navigate:function(){return x},redirectTo:function(){return K},resolve:function(){return l},useLocation:function(){return ee},useMatch:function(){return re},useNavigate:function(){return te},useParams:function(){return ne}});var r=n(7294),o=n(1143),i=n.n(o),a=n(9712),s=function(e,t){return e.substr(0,t.length)===t},u=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],a=m(o),s=""===a[0],u=y(e),c=0,l=u.length;c<l;c++){var f=!1,d=u[c].route;if(d.default)r={route:d,params:{},uri:t};else{for(var v=m(d.path),g={},w=Math.max(a.length,v.length),_=0;_<w;_++){var S=v[_],E=a[_];if(h(S)){g[S.slice(1)||"*"]=a.slice(_).map(decodeURIComponent).join("/");break}if(void 0===E){f=!0;break}var O=p.exec(S);if(O&&!s){-1===b.indexOf(O[1])||i()(!1);var k=decodeURIComponent(E);g[O[1]]=k}else if(S!==E){f=!0;break}}if(!f){n={route:d,params:g,uri:"/"+a.slice(0,_).join("/")};break}}}return n||r||null},c=function(e,t){return u([{path:e}],t)},l=function(e,t){if(s(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],i=t.split("?")[0],a=m(r),u=m(i);if(""===a[0])return g(i,o);if(!s(a[0],".")){var c=u.concat(a).join("/");return g(("/"===i?"":"/")+c,o)}for(var l=u.concat(a),f=[],p=0,d=l.length;p<d;p++){var h=l[p];".."===h?f.pop():"."!==h&&f.push(h)}return g("/"+f.join("/"),o)},f=function(e,t){var n=e.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+m(r).map((function(e){var n=p.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,u=(s=void 0===s?{}:s).search,c=(void 0===u?"":u).split("?")[1]||"";return a=g(a,i,c)},p=/^:(.+)/,d=function(e){return p.test(e)},h=function(e){return e&&"*"===e[0]},v=function(e,t){return{route:e,score:e.default?0:m(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?d(t)?e+=2:h(t)?e-=5:e+=3:e+=1,e}),0),index:t}},y=function(e){return e.map(v).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},m=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},b=["uri","path"],w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,i=t.origin,a=t.protocol,s=t.host,u=t.hostname,c=t.port,l=e.location.pathname;!l&&o&&O&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:a,host:s,hostname:u,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},S=function(e,t){var n=[],r=_(e),o=!1,i=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(t){n.push(t);var o=function(){r=_(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=a.state,u=a.replace,c=void 0!==u&&u;if("number"==typeof t)e.history.go(t);else{s=w({},s,{key:Date.now()+""});try{o||c?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(f){e.location[c?"replace":"assign"](t)}}r=_(e),o=!0;var l=new Promise((function(e){return i=e}));
1return n.forEach((function(e){return e({location:r,action:"PUSH"})})),l}}},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(e,t,n){var a=n.split("?"),s=a[0],u=a[1],c=void 0===u?"":u;r++,o.push({pathname:s,search:c.length?"?"+c:c}),i.push(e)},replaceState:function(e,t,n){var a=n.split("?"),s=a[0],u=a[1],c=void 0===u?"":u;o[r]={pathname:s,search:c},i[r]=e},go:function(e){var t=r+e;t<0||t>i.length-1||(r=t)}}}},O=!("undefined"==typeof window||!window.document||!window.document.createElement),k=S(O?window:E()),x=k.navigate,j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function P(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function R(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var C=function(e,t){var n=(0,r.createContext)(t);return n.displayName=e,n},I=C("Location"),N=function(e){var t=e.children;return r.createElement(I.Consumer,null,(function(e){return e?t(e):r.createElement(F,null,t)}))},F=function(e){function t(){var n,r;D(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=T(this,e.call.apply(e,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},T(r,n)}return R(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!Z(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return r.createElement(I.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(r.Component);F.defaultProps={history:k};var q=function(e){var t=e.url,n=e.children,o=t.indexOf("?"),i=void 0,a="";return o>-1?(i=t.substring(0,o),a=t.substring(o)):i=t,r.createElement(I.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},M=C("Base",{baseuri:"/",basepath:"/",navigate:k.navigate}),A=function(e){return r.createElement(M.Consumer,null,(function(t){return r.createElement(N,null,(function(n){return r.createElement(L,j({},t,n,e))}))}))},L=function(e){function t(){return D(this,t),T(this,e.apply(this,arguments))}return R(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,o=e.basepath,i=e.primary,a=e.children,s=(e.baseuri,e.component),c=void 0===s?"div":s,f=P(e,["location","navigate","basepath","primary","children","baseuri","component"]),p=r.Children.toArray(a).reduce((function(e,t){var n=ie(o)(t);return e.concat(n)}),[]),d=t.pathname,h=u(p,d);if(h){var v=h.params,y=h.uri,m=h.route,g=h.route.value;o=m.default?o:m.path.replace(/\*$/,"");var b=j({},v,{uri:y,location:t,navigate:function(e,t){return n(l(e,y),t)}}),w=r.cloneElement(g,b,g.props.children?r.createElement(A,{location:t,primary:i},g.props.children):void 0),_=i?Q:c,S=i?j({uri:y,location:t,component:c},f):f;return r.createElement(M.Provider,{value:{baseuri:y,basepath:o,navigate:b.navigate}},r.createElement(_,S,w))}return null},t}(r.PureComponent);L.defaultProps={primary:!0};var V=C("Focus"),Q=function(e){var t=e.uri,n=e.location,o=e.component,i=P(e,["uri","location","component"]);return r.createElement(V.Consumer,null,(function(e){return r.createElement(G,j({},i,{component:o,requestFocus:e,uri:t,location:n}))}))},U=!0,B=0,G=function(e){function t(){var n,r;D(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=T(this,e.call.apply(e,[this].concat(i))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},T(r,n)}return R(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return j({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return j({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){B++,this.focus()},t.prototype.componentWillUnmount=function(){0===--B&&(U=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()}
1,t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):U?U=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),o=(t.requestFocus,t.component),i=void 0===o?"div":o,a=(t.uri,t.location,P(t,["children","style","requestFocus","component","uri","location"]));return r.createElement(i,j({style:j({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},a),r.createElement(V.Provider,{value:this.requestFocus},this.props.children))},t}(r.Component);(0,a.O)(G);var W=function(){},z=r.forwardRef;void 0===z&&(z=function(e){return e});var H=z((function(e,t){var n=e.innerRef,o=P(e,["innerRef"]);return r.createElement(M.Consumer,null,(function(e){e.basepath;var i=e.baseuri;return r.createElement(N,null,(function(e){var a=e.location,u=e.navigate,c=o.to,f=o.state,p=o.replace,d=o.getProps,h=void 0===d?W:d,v=P(o,["to","state","replace","getProps"]),y=l(c,i),m=encodeURI(y),g=a.pathname===m,b=s(a.pathname,m);return r.createElement("a",j({ref:t||n,"aria-current":g?"page":void 0},v,h({isCurrent:g,isPartiallyCurrent:b,href:y,location:a}),{href:y,onClick:function(e){if(v.onClick&&v.onClick(e),ae(e)){e.preventDefault();var t=p;if("boolean"!=typeof p&&g){var n=j({},a.state),r=(n.key,P(n,["key"]));o=j({},f),i=r,t=(s=Object.keys(o)).length===Object.keys(i).length&&s.every((function(e){return i.hasOwnProperty(e)&&o[e]===i[e]}))}u(y,{state:f,replace:t})}var o,i,s}}))}))}))}));function J(e){this.uri=e}H.displayName="Link";var Z=function(e){return e instanceof J},K=function(e){throw new J(e)},$=function(e){function t(){return D(this,t),T(this,e.apply(this,arguments))}return R(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,i=e.state,a=(e.noThrow,e.baseuri),s=P(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=l(n,a);t(f(e,s),{replace:o,state:i})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=P(e,["navigate","to","from","replace","state","noThrow","baseuri"]),i=l(t,r);return n||K(f(i,o)),null},t}(r.Component),Y=function(e){return r.createElement(M.Consumer,null,(function(t){var n=t.baseuri;return r.createElement(N,null,(function(t){return r.createElement($,j({},t,{baseuri:n},e))}))}))},X=function(e){var t=e.path,n=e.children;return r.createElement(M.Consumer,null,(function(e){var o=e.baseuri;return r.createElement(N,null,(function(e){var r=e.navigate,i=e.location,a=l(t,o),s=c(a,i.pathname);return n({navigate:r,location:i,match:s?j({},s.params,{uri:s.uri,path:t}):null})}))}))},ee=function(){var e=(0,r.useContext)(I);if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},te=function(){var e=(0,r.useContext)(M);if(!e)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.navigate},ne=function(){var e=(0,r.useContext)(M);if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var t=ee(),n=c(e.basepath,t.pathname);return n?n.params:null},re=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var t=(0,r.useContext)(M);if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=ee(),o=l(e,t.baseuri),i=c(o,n.pathname);return i?j({},i.params,{uri:i.uri,path:e}):null},oe=function(e){return e.replace(/(^\/+|\/+$)/g,"")},ie=function e(t){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,e(t));var o,a,s;if(n.props.path||n.props.default||n.type===Y||i()(!1),n.type!==Y||n.props.from&&n.props.to||i()(!1),n.type===Y&&(o=n.props.from,a=n.props.to,s=function(e){return d(e)},m(o).filter(s).sort().join("/")!==m(a).filter(s).sort().join("/"))&&i()(!1),n.props.default)return{value:n,default:!0};var u=n.type===Y?n.props.from:n.props.path,c="/"===u?t:oe(t)+"/"+oe(u);return{value:n,default:n.props.default,path:n.props.children?oe(c)+"/*":c}}},ae=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},1143:function(e){"use strict";
1e.exports=function(e,t,n,r,o,i,a,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},5111:function(e,t,n){"use strict";n.r(t)},2911:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.5.4 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener("pt0",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.5.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},611:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7294),o=n(2911);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(r);t.Partytown=(e={})=>{if("undefined"!=typeof document&&!document._partytown){if(!document.querySelector("script[data-partytown]")){const t=document.createElement("script");t.dataset.partytown="",t.innerHTML=o.partytownSnippet(e),document.head.appendChild(t)}document._partytown=!0}const t=o.partytownSnippet(e)+'document.currentScript.dataset.partytown="";';return a.default.createElement("script",{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:t}})}},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return o}})},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},885:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){s=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2982:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(907);var o=n(181);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.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)?(0,r.Z)(e,t):void 0}}},1562:function(e,t,n){"use strict";n.d(t,{ZP:function(){return b},c4:function(){return w},cP:function(){return u},mc:function(){return v},dq:function(){return f}});var r=n(5697),o=n(7294),i=n(9499),a=n(8440);function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function u(e){let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const i=t.indexOf("?");return-1!==i&&(n=t.slice(i),t=t.slice(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>c.test(e))(e)};function f(e,t=""){var n;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:"")?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const p=e=>null==e?void 0:e.startsWith("/"),d=(e,t)=>{if("number"==typeof e)return e;if(!l(e))return e;const{pathname:n,search:r,hash:o}=u(e),s="always";let c=e;return c=`${(0,a.H)(n,s)}${r}${o}`,p(c)?f(c):function(e,t){if(p(e))return e;const n="always",r=(0,i.resolve)(e,t);return(0,a.H)(r,n)}(c,t)},h=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(e){return f(e,"")}const y={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function m(e){return o.createElement(i.Location,null,(({location:t})=>o.createElement(g,s({},e,{_location:t}))))}class g extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=u(d(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:a,state:c,replace:f,_location:p}=e,v=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,h),y=d(t,p.pathname);return l(y)?o.createElement(i.Link,s({to:y,state:c,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=u(y);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const n=encodeURI(y)===p.pathname;"boolean"!=typeof f&&n&&(t=!0),window.___navigate(y,{state:c,replace:t})}return!0}},v)):o.createElement("a",s({href:y},v))}}g.propTypes=s({},y,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});var b=o.forwardRef(((e,t)=>o.createElement(m,s({innerRef:t},e))));const w=(e,t)=>{window.___navigate(d(e,window.location.pathname),t)}},3521:function(e,t,n){"use strict";n.r(t),n.d(t,{PartytownContext:function(){return i},Script:function(){return p},ScriptStrategy:function(){return s},scriptCache:function(){return l},scriptCallbackCache:function(){return f}});var r=n(7294);function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}const i=(0,r.createContext)({}),a="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var s,u;(u=s||(s={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const c=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),l=new Set,f=new Map;function p(e){const{id:t,src:n,strategy:u=s.postHydrate}=e||{},{collectScript:c}=(0,r.useContext)(i);if((0,r.useEffect)((()=>{let t;switch(u){case s.postHydrate:t=d(e);break;case s.idle:a((()=>{t=d(e)}));break;case s.offMainThread:if(c){const t=v(e);c(t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),u===s.offMainThread){const i=h(e),a=v(e);return"undefined"==typeof window&&(c?c(a):console.warn(`Unable to collect off-main-thread script '${t||n||"no-id-or-src"}' for configuration with Partytown.\nGatsby script components must be used either as a child of your page, in wrapPageElement, or wrapRootElement.\nSee https://gatsby.dev/gatsby-script for more information.`)),r.createElement("script",i?o({type:"text/partytown","data-strategy":u,crossOrigin:"anonymous"},a,{dangerouslySetInnerHTML:{__html:h(e)}}):o({type:"text/partytown",src:y(n),"data-strategy":u,crossOrigin:"anonymous"},a))}return null}function d(e){const{id:t,src:n,strategy:r=s.postHydrate,onLoad:i,onError:a}=e||{},u=t||n,c=["load","error"],p={load:i,error:a};if(u){for(const e of c)if(null!=p&&p[e]){var d;const t=f.get(u)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var y,g;n.push(null==p?void 0:p[e]),null!=t&&null!=(d=t[e])&&d.event?null==p||null==(y=p[e])||y.call(p,null==t||null==(g=t[e])?void 0:g.event):f.set(u,o({},t,{[e]:{callbacks:n}}))}if(l.has(u))return null}const b=h(e),w=v(e),_=document.createElement("script");t&&(_.id=t),_.dataset.strategy=r;for(const[o,s]of Object.entries(w))_.setAttribute(o,s);b&&(_.textContent=b),n&&(_.src=n);const S={};if(u){for(const e of c){const t=t=>m(t,u,e);_.addEventListener(e,t),S[`${e}Callback`]=t}l.add(u)}return document.body.appendChild(_),{script:_,loadCallback:S.loadCallback,errorCallback:S.errorCallback}}function h(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function v(e){const t={};for(const[n,r]of Object.entries(e))c.has(n)||(t[n]=r);return t}function y(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function m(e,t,n){const r=f.get(t)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(e)}f.set(t,{[n]:{event:e}})}}},function(e){e.O(0,[774,532],(function(){return t=5824,e(e.s=t);var t}));e.O()}]); 2//# sourceMappingURL=app-80a4eb727bf5b244b18f.js.map
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.