PageSourceSearch

https://wordsinspace.net/app-6be7bed9f67b4ac17e51.js

js wordsinspace.net collected 2026-10-02 04:38:15 UTC 271,994 bytes, 3 lines download raw bytes

1/*! For license information please see app-6be7bed9f67b4ac17e51.js.LICENSE.txt */
2(self.webpackChunkwords_in_space=self.webpackChunkwords_in_space||[]).push([[524],{20:function(e,t,n){const r=n(9377),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=n(6814).Zf;t.N=(e,t={},n,s)=>{let u=r.map(n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=i,t.loadPageSync=a;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r});return u=u.filter(e=>void 0!==e),u.length>0?u:n?[n]:[]},t.v=(e,t,n)=>r.reduce((n,r)=>r.plugin[e]?n.then(()=>r.plugin[e](t,r.options)):n,Promise.resolve())},79:function(e,t,n){var r=n(3702),o=n(80),i=n(4739),a=n(8655),s=n(1175);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},80:function(e,t,n){var r=n(6025),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},104:function(e,t,n){var r=n(3661);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},129:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});const r=10,o=2;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 ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>o)return"[Array]";const n=Math.min(r,e.length),i=e.length-n,s=[];for(let r=0;r<n;++r)s.push(a(e[r],t));1===i?s.push("... 1 more item"):i>1&&s.push(`... ${i} more items`);return"["+s.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>o)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map(([e,n])=>e+": "+a(n,t));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},144:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(1635),o=n(7945);function i(e,t){return(0,o.o)(e,t,t.variables&&{variables:(0,o.o)((0,r.Cl)((0,r.Cl)({},e&&e.variables),t.variables))})}},207:function(e,t,n){"use strict";var r=n(6540),o={stream:!0},i=new Map,a=Symbol.for("react.element"),s=Symbol.for("react.lazy"),u=Symbol.for("react.default_value"),c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(e,t,n){this._status=e,this._value=t,this._response=n}function f(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var r=(t=e._value).chunks,o=0;o<r.length;o++){var a=i.get(r[o]);if(null!==a)throw a}return r=n(t.id),t="*"===t.name?r:""===t.name?r.__esModule?r.default:r:r[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function p(){return f(m(this,0))}function d(e,t){return new l(3,t,e)}function h(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function v(e,t){if(0===e._status){var n=e._value;e._status=4,e._value=t,h(n)}}function y(e,t){e._chunks.forEach(function(e){v(e,t)})}function m(e,t){var n=e._chunks,r=n.get(t);return r||(r=new l(0,null,e),n.set(t,r)),r}function g(e){y(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],a=t.indexOf(":",1),s=parseInt(t.substring(1,a),16);switch(a=t.substring(a+1),o){case"J":(o=(t=e._chunks).get(s))?0===o._status&&(e=o._value,o._status=1,o._value=a,h(e)):t.set(s,new l(1,a,e));break;case"M":o=(t=e._chunks).get(s),a=JSON.parse(a,e._fromJSON);var f=e._bundlerConfig;f=(a=f?f[a.id][a.name]:a).chunks;for(var p=0;p<f.length;p++){var y=f[p];if(void 0===i.get(y)){var m=n.e(y),g=i.set.bind(i,y,null),b=i.set.bind(i,y);m.then(g,b),i.set(y,m)}}o?0===o._status&&(e=o._value,o._status=2,o._value=a,h(e)):t.set(s,new l(2,a,e));break;case"P":e._chunks.set(s,d(e,function(e){return c[e]||(c[e]=r.createServerContext(e,u)),c[e]}(a).Provider));break;case"S":o=JSON.parse(a),e._chunks.set(s,d(e,Symbol.for(o)));break;case"E":t=JSON.parse(a),(o=Error(t.message)).stack=t.stack,(a=(t=e._chunks).get(s))?v(a,o):t.set(s,new l(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(e){return function(t,n){return"string"==typeof n?function(e,t,n){switch(n[0]){case"$":return"$"===n?a:"$"===n[1]||"@"===n[1]?n.substring(1):f(e=m(e,parseInt(n.substring(1),16)));case"@":return e=m(e,parseInt(n.substring(1),16)),{$$typeof:s,_payload:e,_init:f}}return n}(e,0,n):"object"==typeof n&&null!==n?n[0]===a?{$$typeof:a,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function _(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:p,_partialRow:"",_stringDecoder:t})._fromJSON=w(e),e}function E(e,t){function n(t){y(e,t)}var r=t.getReader();r.read().then(function t(i){var a=i.value;if(!i.done){i=a,a=e._stringDecoder;for(var s=i.indexOf(10);-1<s;){var u=e._partialRow,c=i.subarray(0,s);c=a.decode(c),b(e,u+c),e._partialRow="",s=(i=i.subarray(s+1)).indexOf(10)}return e._partialRow+=a.decode(i,o),r.read().then(t,n)}g(e)},n)}l.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return E(t=_(t&&t.moduleMap?t.moduleMap:null),e),t}},289:function(e,t,n){var r=n(2651);e.exports=function(e){return r(this,e).get(e)}},311:function(e){"use strict";
2e.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}}},312:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1720),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},342:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.default=void 0;var o=r(n(312)),i=function(e,t){void 0===t&&(t={});var n=t.appElement,r=void 0===n?"#___gatsby":n;o.default.setAppElement(r)};t.default=i},346:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},382:function(e){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},392:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},411:function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},435:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r="3.12.0"},475:function(e,t,n){"use strict";n.d(t,{Ll:function(){return s},aD:function(){return i},aZ:function(){return r},cE:function(){return u},ou:function(){return o}});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,n,r,o,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const i={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(i));function s(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},599:function(e,t,n){"use strict";n.d(t,{A:function(){return s},V:function(){return u}});var r=n(1744),o=n(7783),i=new WeakSet;function a(e){e.size<=(e.max||-1)||i.has(e)||(i.add(e),setTimeout(function(){e.clean(),i.delete(e)},100))}var s=function(e,t){var n=new r.l(e,t);return n.set=function(e,t){var n=r.l.prototype.set.call(this,e,t);return a(this),n},n},u=function(e,t){var n=new o.C(e,t);return n.set=function(e,t){var n=o.C.prototype.set.call(this,e,t);return a(this),n},n}},626:function(e,t,n){"use strict";n.r(t);var r=n(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"
2in navigator&&navigator.serviceWorker.register("/sw.js").then(function(e){e.addEventListener("updatefound",()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:e})}})})}).catch(function(e){console.error("Error during service worker registration:",e)})},659:function(e,t,n){var r=n(1873),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(u){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},700:function(e,t){t.U=()=>""},834:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=n(411);var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=i.canUseDOM?window.NodeList:{},t.canUseDOM=i.canUseDOM;t.default=a},963:function(e,t,n){"use strict";n.r(t);var r=n(6540),o=n(6814),i=n(6017);t.default=({location:e})=>{const t=o.Ay.loadPageSync(e.pathname);return t?r.createElement(i.A,{location:e,pageResources:t,...t.json}):null}},1042:function(e,t,n){var r=n(6110)(Object,"create");e.exports=r},1175:function(e,t,n){var r=n(6025);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},1212:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(1635),o=n(6319),i=Symbol.for("apollo.cacheSize"),a=(0,r.Cl)({},o.Sf[i])},1468:function(e,t){"use strict";t.registerServiceWorker=function(){return"true"!=={}.GATSBY_IS_PREVIEW};var n=/^(stylesheet|preload)$/,r=[];function o(e,t){if(!window.___swUpdated&&"serviceWorker"in navigator){var n=navigator.serviceWorker;if(null===n.controller)r.push(e);else{var o=t(e);n.controller.postMessage({gatsbyApi:"setPathResources",path:e,resources:o})}}}t.onServiceWorkerActive=function(e){var t=e.getResourceURLsForPathname,o=e.serviceWorker;if("true"!=={}.GATSBY_IS_PREVIEW)if(window.___swUpdated)o.active.postMessage({gatsbyApi:"clearPathResources"});else{var i=document.querySelectorAll("\n    head > script[src],\n    head > link[href],\n    head > style[data-href]\n  "),a=[].slice.call(i).filter(function(e){return"LINK"!==e.tagName||n.test(e.getAttribute("rel"))}).map(function(e){return e.src||e.href||e.getAttribute("data-href")}),s=[];r.forEach(function(e){var n=t(e);s.push.apply(s,n),o.active.postMessage({gatsbyApi:"setPathResources",path:e,resources:n})}),[].concat(a,s).forEach(function(e){var t=document.createElement("link");t.rel="prefetch",t.href=e,t.onload=t.remove,t.onerror=t.remove,document.head.appendChild(t)})}},t.onRouteUpdate=function(e){var t=e.location,n=e.getResourceURLsForPathname;o(t.pathname.replace("",""),n),"serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"enableOfflineShell"})},t.onPostPrefetchPathname=function(e){o(e.pathname,e.getResourceURLsForPathname)}},1469:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(2456);function o(e){var t=new Set([e]);return t.forEach(function(e){(0,r.U)(e)&&function(e){if(!1!==globalThis.__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){(0,r.U)(e[n])&&t.add(e[n])})}),e}function i(e){return!1!==globalThis.__DEV__&&o(e),e}},1549:function(e,t,n){var r=n(2032),o=n(3862),i=n(6721),a=n(2749),s=n(5749);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},1551:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapPageElement:function(){return vo}});var r=n(6540),o=n(1635),i=n(6319);function a(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 s(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 s(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 s(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 u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}
2function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var l=function(){return"function"==typeof Symbol},f=function(e){return l()&&Boolean(Symbol[e])},p=function(e){return f(e)?Symbol[e]:"@@"+e};l()&&!f("observable")&&(Symbol.observable=Symbol("observable"));var d=p("iterator"),h=p("observable"),v=p("species");function y(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function m(e){var t=e.constructor;return void 0!==t&&null===(t=t[v])&&(t=void 0),void 0!==t?t:T}function g(e){return e instanceof T}function b(e){b.log?b.log(e):setTimeout(function(){throw e})}function w(e){Promise.resolve().then(function(){try{e()}catch(t){b(t)}})}function _(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=y(t,"unsubscribe");n&&n.call(t)}}catch(r){b(r)}}function E(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function O(e,t,n){e._state="running";var r=e._observer;try{var o=y(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(E(e),!o)throw n;o.call(r,n);break;case"complete":E(e),o&&o.call(r)}}catch(i){b(i)}"closed"===e._state?_(e):"running"===e._state&&(e._state="ready")}function S(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 w(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(O(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)})):void O(e,t,n);e._queue.push({type:t,value:n})}}var C=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new k(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&&(E(this),_(this))},c(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),k=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){S(this._subscription,"next",e)},t.error=function(e){S(this._subscription,"error",e)},t.complete=function(){S(this._subscription,"complete")},c(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),T=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 C(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(m(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(m(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=m(this),r=arguments.length>1,o=!1,i=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(s){return n.error(s)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),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=m(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=m(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[h]=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=y(t,h);if(r){var o=r.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return g(o)&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(f("iterator")&&(r=y(t,d)))return new n(function(e){w(function(){if(!e.closed){for(var n,o=a(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){w(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];return new("function"==typeof this?this:e)(function(e){w(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},c(e,null,[{key:v,get:function(){return this}}]),e}();l()&&Object.defineProperty(T,Symbol("extensions"),{value:{symbol:h,hostReportError:b},configurable:!0});var R=n(2456),x=n(6286),P=n(129),D=n(475),N=n(3298);const j=Object.freeze({});function I(e,t,n=D.aD){const r=new Map;for(const m of Object.values(N.b))r.set(m,M(t,m));let o,i,a,s=Array.isArray(e),u=[e],c=-1,l=[],f=e;const p=[],d=[];do{c++;const e=c===u.length,m=e&&0!==l.length;if(e){if(i=0===d.length?void 0:p[p.length-1],f=a,a=d.pop(),m)if(s){f=f.slice();let e=0;for(const[t,n]of l){const r=t-e;null===n?(f.splice(r,1),e++):f[r]=n}}else{f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f));for(const[e,t]of l)f[e]=t}c=o.index,u=o.keys,l=o.edits,s=o.inArray,o=o.prev}else if(a){if(i=s?c:u[c],f=a[i],null==f)continue;p.push(i)}let g;if(!Array.isArray(f)){var h,v;(0,D.Ll)(f)||(0,x.U)(!1,`Invalid AST Node: ${(0,P.N)(f)}.`);const n=e?null===(h=r.get(f.kind))||void 0===h?void 0:h.leave:null===(v=r.get(f.kind))||void 0===v?void 0:v.enter;if(g=null==n?void 0:n.call(t,f,i,a,p,d),g===j)break;if(!1===g){if(!e){p.pop();continue}}else if(void 0!==g&&(l.push([i,g]),!e)){if(!(0,D.Ll)(g)){p.pop();continue}f=g}}var y;if(void 0===g&&m&&l.push([i,f]),e)p.pop();else o={inArray:s,index:c,keys:u,edits:l,prev:o},s=Array.isArray(f),u=s?f:null!==(y=n[f.kind])&&void 0!==y?y:[],c=-1,l=[],a&&d.push(a),a=f}while(void 0!==o);return 0!==l.length?l[l.length-1][1]:e}function M(e,t){const n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function A(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&((0,i.V1)(1===r.length,86,r.length),n=r[0].name.value),(0,o.Cl)((0,o.Cl)({},e),{definitions:(0,o.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function F(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function q(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,i.V1)(r,87,n),r||null;default:return null}}var L,V=n(599),Q=n(1212),U=n(5051),W=Object.assign(function(e){return JSON.stringify(e,z)},{reset:function(){L=new V.V(Q.v.canonicalStringify||1e3)}});function z(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(B))return t;var o=JSON.stringify(r),i=L.get(o);if(!i){r.sort();var a=JSON.stringify(r);i=L.get(a)||r,L.set(o,i),L.set(a,i)}var s=Object.create(n);
2return i.forEach(function(e){s[e]=t[e]}),s}}return t}function B(e,t,n){return 0===t||n[t-1]<=e}function H(e){return{__ref:String(e)}}function $(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function J(e,t,n,r){if(function(e){return"IntValue"===e.kind}(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 J(o,e.name,e.value,r)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var a=(r||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return J(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(0,i.vA)(96,t.value,n.kind);e[t.value]=null}}!1!==globalThis.__DEV__&&(0,U.D_)("canonicalStringify",function(){return L.size}),W.reset();var G=["connection","include","skip","client","rest","export","nonreactive"],K=W,Y=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(K(o),")")}return n.connection.key}var i=e;if(t){var a=K(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===G.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(K(n[e]),")"):i+="@".concat(e))}),i},{setStringify:function(e){var t=K;return K=e,t}});function X(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,o=e.value;return J(n,r,o,t)}),n}return null}function Z(e){return e.alias?e.alias.value:e.name.value}function ee(e,t,n){for(var r,o=0,i=t.selections;o<i.length;o++){if(te(u=i[o])){if("__typename"===u.name.value)return e[Z(u)]}else r?r.push(u):r=[u]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var a=0,s=r;a<s.length;a++){var u,c=ee(e,q(u=s[a],n).selectionSet,n);if("string"==typeof c)return c}}function te(e){return"Field"===e.kind}function ne(e){(0,i.V1)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,i.vA)(89,e.kind);return e});return(0,i.V1)(t.length<=1,90,t.length),e}function re(e){return ne(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function oe(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function ie(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function ae(e){var t=re(e);return(0,i.V1)(t&&"query"===t.operation,91),t}function se(e){(0,i.V1)("Document"===e.kind,92),(0,i.V1)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,i.V1)("FragmentDefinition"===t.kind,94),t}function ue(e){var t;ne(e);for(var n=0,r=e.definitions;n<r.length;n++){var o=r[n];if("OperationDefinition"===o.kind){var a=o.operation;if("query"===a||"mutation"===a||"subscription"===a)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw(0,i.vA)(95)}function ce(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&J(t,e.variable.name,e.defaultValue)}),t}function le(e,t){return t?t(e):T.of()}function fe(e){return"function"==typeof e?new de(e):e}function pe(e){return e.request.length<=1}var de=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return T.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(fe).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var o,i=fe(n),a=fe(r||new e(le));return o=pe(i)&&pe(a)?new e(function(e){return t(e)?i.request(e)||T.of():a.request(e)||T.of()}):new e(function(e,n){return t(e)?i.request(e,n)||T.of():a.request(e,n)||T.of()}),Object.assign(o,{left:i,right:a})},e.execute=function(e,t){return e.request(function(e,t){var n=(0,o.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,o.Cl)((0,o.Cl)({},n),e(n)):(0,o.Cl)((0,o.Cl)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},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?oe(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(0,i.vA)(46,o)}return e}(t))))||T.of()},e.concat=function(t,n){var r=fe(t);if(pe(r))return!1!==globalThis.__DEV__&&i.V1.warn(38,r),r;var o,a=fe(n);return o=pe(a)?new e(function(e){return r.request(e,function(e){return a.request(e)||T.of()})||T.of()}):new e(function(e,t){return r.request(e,function(e){return a.request(e,t)||T.of()})||T.of()}),Object.assign(o,{left:r,right:a})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(le)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,i.vA)(39)},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}();function he(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;(0,i.V1)(n&&1===n.length,79,r);var o=n[0];(0,i.V1)(o.name&&"if"===o.name.value,80,r);var a=o.value;(0,i.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),81,r),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],(0,i.V1)(void 0!==o,78,n.name.value)):o=r.value.value,"skip"===n.name.value?!o:o})}function ve(e,t,n){var r=new Set(e),o=r.size;return I(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return j}}),n?!r.size:r.size<o}function ye(e){return e&&ve(["client","export"],e,!0)}function me(e){var t,n,r=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!r)return"mask";var o=null===(n=r.arguments)||void 0===n?void 0:n.find(function(e){return"mode"===e.name.value});return!1!==globalThis.__DEV__&&o&&(o.value.kind===N.b.VARIABLE?!1!==globalThis.__DEV__&&i.V1.warn(82):o.value.kind!==N.b.STRING?!1!==globalThis.__DEV__&&i.V1.warn(83):"migrate"!==o.value.value&&!1!==globalThis.__DEV__&&i.V1.warn(84,o.value.value)),o&&"value"in o.value&&"migrate"===o.value.value?"migrate":"unmask"}var ge=function(e,t){var n;try{n=JSON.stringify(e)}catch(o){var r=(0,i.vA)(42,t,o.message);throw r.parseError=o,r}return n},be=n(2619);function we(e){var t=null,n=null,r=!1,o=[],i=[];
2function a(e){if(!n){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function s(e){n=e,i.slice().forEach(function(t){t[1](e)}),!t||t()}function u(){r=!0,i.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise(function(e,t){return n?t(n):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void i.push([e,t])})}};return be.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}function _e(e){var t={next:function(){return e.read()}};return be.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function Ee(e){var t,n,r=e;if(e.body&&(r=e.body),function(e){return!(!be.uJ||!e[Symbol.asyncIterator])}(r))return n=r[Symbol.asyncIterator](),(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(r))return _e(r.getReader());if(function(e){return!!e.stream}(r))return _e(r.stream().getReader());if(function(e){return!!e.arrayBuffer}(r))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,n){e.then(function(e){t({value:e,done:!1})}).catch(n)}))}};return be.uJ&&(n[Symbol.asyncIterator]=function(){return this}),n}(r.arrayBuffer());if(function(e){return!!e.pipe}(r))return we(r);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var Oe=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},Se=n(9211),Ce=n(3255),ke=Object.prototype.hasOwnProperty;function Te(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Re(e)}function Re(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new Pe,o=1;o<n;++o)t=r.merge(t,e[o]);return t}var xe=function(e,t,n){return this.merge(e[n],t[n])},Pe=function(){function e(e){void 0===e&&(e=xe),this.reconciler=e,this.isObject=R.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return(0,R.U)(t)&&(0,R.U)(e)?(Object.keys(t).forEach(function(i){if(ke.call(e,i)){var a=e[i];if(t[i]!==a){var s=n.reconciler.apply(n,(0,o.fX)([e,t,i],r,!1));s!==a&&((e=n.shallowCopyForMerge(e))[i]=s)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,R.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,o.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function De(e){return"incremental"in e}function Ne(e){return(0,R.U)(e)&&"payload"in e}function je(e,t){var n=e,r=new Pe;return De(t)&&(0,Ce.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,o=e.path,i=o.length-1;i>=0;--i){var a=o[i],s=!isNaN(+a)?[]:{};s[a]=t,t=s}n=r.merge(n,t)}),n}var Ie=Object.prototype.hasOwnProperty;function Me(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();t[r]=o}}),t}function Ae(e,t){if(e.status>=300){Oe(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}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}}var Fe=n(5995);const qe=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Le(e){return Ve[e.charCodeAt(0)]}const Ve=["\\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"];const Qe={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Ue(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=ze("(",Ue(e.variableDefinitions,", "),")"),n=Ue([e.operation,Ue([e.name,t]),Ue(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+ze(" = ",n)+ze(" ",Ue(r," "))},SelectionSet:{leave:({selections:e})=>We(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:o}){const i=ze("",e,": ")+t;let a=i+ze("(",Ue(n,", "),")");return a.length>80&&(a=i+ze("(\n",Be(Ue(n,"\n")),"\n)")),Ue([a,Ue(r," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+ze(" ",Ue(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Ue(["...",ze("on ",e),Ue(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:o})=>`fragment ${e}${ze("(",Ue(n,", "),")")} on ${t} ${ze("",Ue(r," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
2,StringValue:{leave:({value:e,block:t})=>t?(0,Fe.yo)(e):`"${e.replace(qe,Le)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Ue(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Ue(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+ze("(",Ue(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>ze("",e,"\n")+Ue(["schema",Ue(t," "),We(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>ze("",e,"\n")+Ue(["scalar",t,Ue(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>ze("",e,"\n")+Ue(["type",t,ze("implements ",Ue(n," & ")),Ue(r," "),We(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:o})=>ze("",e,"\n")+t+(He(n)?ze("(\n",Be(Ue(n,"\n")),"\n)"):ze("(",Ue(n,", "),")"))+": "+r+ze(" ",Ue(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:o})=>ze("",e,"\n")+Ue([t+": "+n,ze("= ",r),Ue(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>ze("",e,"\n")+Ue(["interface",t,ze("implements ",Ue(n," & ")),Ue(r," "),We(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>ze("",e,"\n")+Ue(["union",t,Ue(n," "),ze("= ",Ue(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>ze("",e,"\n")+Ue(["enum",t,Ue(n," "),We(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>ze("",e,"\n")+Ue([t,Ue(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>ze("",e,"\n")+Ue(["input",t,Ue(n," "),We(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:o})=>ze("",e,"\n")+"directive @"+t+(He(n)?ze("(\n",Be(Ue(n,"\n")),"\n)"):ze("(",Ue(n,", "),")"))+(r?" repeatable":"")+" on "+Ue(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Ue(["extend schema",Ue(e," "),We(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Ue(["extend scalar",e,Ue(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Ue(["extend type",e,ze("implements ",Ue(t," & ")),Ue(n," "),We(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Ue(["extend interface",e,ze("implements ",Ue(t," & ")),Ue(n," "),We(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Ue(["extend union",e,Ue(t," "),ze("= ",Ue(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Ue(["extend enum",e,Ue(t," "),We(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Ue(["extend input",e,Ue(t," "),We(n)]," ")}};function Ue(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function We(e){return ze("{\n",Be(Ue(e,"\n")),"\n}")}function ze(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function Be(e){return ze("  ",e.replace(/\n/g,"\n  "))}function He(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var $e,Je=Object.assign(function(e){var t=$e.get(e);return t||(t=function(e){return I(e,Qe)}(e),$e.set(e,t)),t},{reset:function(){$e=new V.A(Q.v.print||2e3)}});Je.reset(),!1!==globalThis.__DEV__&&(0,U.D_)("print",function(){return $e?$e.size:0});var Ge={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Ke=function(e,t){return t(e)};function Ye(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},a={};n.forEach(function(e){i=(0,o.Cl)((0,o.Cl)((0,o.Cl)({},i),e.options),{headers:(0,o.Cl)((0,o.Cl)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),a=(0,o.Cl)((0,o.Cl)({},a),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var n={};
2return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r={};Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var o={};return Object.keys(r).forEach(function(e){o[r[e].originalName]=r[e].value}),o}(i.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,Je)),{options:i,body:f}}function Xe(e){return new T(function(t){t.error(e)})}var Ze={kind:N.b.FIELD,name:{kind:N.b.NAME,value:"__typename"}};function et(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===N.b.FRAGMENT_SPREAD&&et(t[e.name.value],t)})}function tt(e){return et(re(e)||se(e),F(ie(e)))?null:e}function nt(e){var t=new Map,n=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach(function(t,n){n(e)&&(r=t)}),r}}function rt(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function ot(e,t){ne(t);for(var n=rt(""),r=rt(""),a=function(e){for(var t=0,o=void 0;t<e.length&&(o=e[t]);++t)if(!(0,Ce.c)(o)){if(o.kind===N.b.OPERATION_DEFINITION)return n(o.name&&o.name.value);if(o.kind===N.b.FRAGMENT_DEFINITION)return r(o.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(97),null},s=0,u=t.definitions.length-1;u>=0;--u)t.definitions[u].kind===N.b.OPERATION_DEFINITION&&++s;var c=nt(e),l=function(e){return(0,Ce.E)(e)&&e.map(c).some(function(e){return e&&e.remove})},f=new Map,p=!1,d={enter:function(e){if(l(e.directives))return p=!0,null}},h=I(t,{Field:d,InlineFragment:d,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,o){var i=a(o);i&&i.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,o){if(l(e.directives))return p=!0,null;var i=a(o);i&&i.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){f.set(JSON.stringify(r),e)},leave:function(e,t,n,o){return e===f.get(JSON.stringify(o))?e:s>0&&e.selectionSet.selections.every(function(e){return e.kind===N.b.FIELD&&"__typename"===e.name.value})?(r(e.name.value).removed=!0,p=!0,null):void 0}},Directive:{leave:function(e){if(c(e))return p=!0,null}}});if(!p)return t;var v=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){v(r(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},y=new Set;h.definitions.forEach(function(e){e.kind===N.b.OPERATION_DEFINITION?v(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){y.add(e)}):e.kind!==N.b.FRAGMENT_DEFINITION||0!==s||r(e.name.value).removed||y.add(e.name.value)}),y.forEach(function(e){v(r(e)).fragmentSpreads.forEach(function(e){y.add(e)})});var m={enter:function(e){if(t=e.name.value,!y.has(t)||r(t).removed)return null;var t}};return tt(I(h,{FragmentSpread:m,FragmentDefinition:m,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=v(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,o.Cl)((0,o.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var it=Object.assign(function(e){return I(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==N.b.OPERATION_DEFINITION){var r=e.selections;if(r)if(!r.some(function(e){return te(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var i=n;if(!(te(i)&&i.directives&&i.directives.some(function(e){return"export"===e.name.value})))return(0,o.Cl)((0,o.Cl)({},e),{selections:(0,o.fX)((0,o.fX)([],r,!0),[Ze],!1)})}}}}})},{added:function(e){return e===Ze}});function at(e){return"query"===ue(e).operation?e:I(e,{OperationDefinition:{enter:function(e){return(0,o.Cl)((0,o.Cl)({},e),{operation:"query"})}}})}function st(e){return ne(e),ot([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function ut(e){return ne(e),I(e,{FragmentSpread:function(e){var t;if(!(null===(t=e.directives)||void 0===t?void 0:t.some(function(e){return"unmask"===e.name.value})))return(0,o.Cl)((0,o.Cl)({},e),{directives:(0,o.fX)((0,o.fX)([],e.directives||[],!0),[{kind:N.b.DIRECTIVE,name:{kind:N.b.NAME,value:"nonreactive"}}
2],!1)})}})}var ct=(0,i.no)(function(){return fetch}),lt=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,a=e.print,s=void 0===a?Ke:a,u=e.includeExtensions,c=e.preserveHeaderCase,l=e.useGETForQueries,f=e.includeUnusedVariables,p=void 0!==f&&f,d=(0,o.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw(0,i.vA)(40)}(r||ct);var h={http:{includeExtensions:u,preserveHeaderCase:c},options:d.fetchOptions,credentials:d.credentials,headers:d.headers};return new de(function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),a=e.getContext(),u={};if(a.clientAwareness){var c=a.clientAwareness,f=c.name,d=c.version;f&&(u["apollographql-client-name"]=f),d&&(u["apollographql-client-version"]=d)}var v=(0,o.Cl)((0,o.Cl)({},u),a.headers),y={http:a.http,options:a.fetchOptions,credentials:a.credentials,headers:v};if(ve(["client"],e.query)){var m=st(e.query);if(!m)return Xe(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=m}var g,b,w,_,E,O=Ye(e,s,Ge,h,y),S=O.options,C=O.body;C.variables&&!p&&(C.variables=(g=C.variables,b=e.query,w=(0,o.Cl)({},g),_=new Set(Object.keys(g)),I(b,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&_.delete(e.name.value)}}),_.forEach(function(e){delete w[e]}),w)),S.signal||"undefined"==typeof AbortController||(E=new AbortController,S.signal=E.signal);var k,R="OperationDefinition"===(k=ue(e.query)).kind&&"subscription"===k.operation,x=ve(["defer"],e.query);if(l&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(S.method="GET"),x||R){S.headers=S.headers||{};var P="multipart/mixed;";R&&x&&!1!==globalThis.__DEV__&&i.V1.warn(41),R?P+="boundary=graphql;subscriptionSpec=1.0,application/json":x&&(P+="deferSpec=20220824,application/json"),S.headers.accept=P}if("GET"===S.method){var D=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=ge(t.variables,"Variables map")}catch(j){return{parseError:j}}r("variables",o)}if(t.extensions){var i=void 0;try{i=ge(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,C),N=D.newURI,j=D.parseError;if(j)return Xe(j);t=N}else try{S.body=ge(C,"Payload")}catch(j){return Xe(j)}return new T(function(n){var a=r||(0,i.no)(function(){return fetch})||ct,s=n.next.bind(n);return a(t,S).then(function(t){var n;e.setContext({response:t});var r,i=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?function(e,t){return(0,o.sH)(this,void 0,void 0,function(){var n,r,i,a,s,u,c,l,f,p,d,h,v,y,m,g,b,w,_,E,O,S,C,k;return(0,o.YH)(this,function(T){switch(T.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=null===(k=e.headers)||void 0===k?void 0:k.get("content-type"),i="boundary=",a=(null==r?void 0:r.includes(i))?null==r?void 0:r.substring((null==r?void 0:r.indexOf(i))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",c=Ee(e),l=!0,T.label=1;case 1:return l?[4,c.next()]:[3,3];case 2:for(f=T.sent(),p=f.value,d=f.done,h="string"==typeof p?p:n.decode(p),v=u.length-s.length+1,l=!d,y=(u+=h).indexOf(s,v);y>-1;){if(m=void 0,S=[u.slice(0,y),u.slice(y+s.length)],u=S[1],g=(m=S[0]).indexOf("\r\n\r\n"),b=Me(m.slice(0,g)),(w=b["content-type"])&&-1===w.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");
2if(_=m.slice(g))if(E=Ae(e,_),Object.keys(E).length>1||"data"in E||"incremental"in E||"errors"in E||"payload"in E)if(Ne(E)){if(O={},"payload"in E){if(1===Object.keys(E).length&&null===E.payload)return[2];O=(0,o.Cl)({},E.payload)}"errors"in E&&(O=(0,o.Cl)((0,o.Cl)({},O),{extensions:(0,o.Cl)((0,o.Cl)({},"extensions"in O?O.extensions:null),(C={},C[Se.K$]=E.errors,C))})),t(O)}else t(E);else if(1===Object.keys(E).length&&"hasNext"in E&&!E.hasNext)return[2];y=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,s):(r=e,function(e){return e.text().then(function(t){return Ae(e,t)}).then(function(t){return Array.isArray(t)||Ie.call(t,"data")||Ie.call(t,"errors")||Oe(e,t,"Server response was missing for query '".concat(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName,"'.")),t})})(t).then(s)}).then(function(){E=void 0,n.complete()}).catch(function(e){E=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,n)}),function(){E&&E.abort()}})})},ft=de.execute,pt=n(435),dt=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,lt(t).request)||this;return n.options=t,n}return(0,o.C6)(t,e),t}(de),ht=n(5381);const vt=()=>Object.create(null),{forEach:yt,slice:mt}=Array.prototype,{hasOwnProperty:gt}=Object.prototype;class bt{constructor(e=!0,t=vt){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return yt.call(e,e=>t=t.getChildTrie(e)),gt.call(t,"data")?t.data:t.data=this.makeData(mt.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],r=this.mapFor(n,!1),o=r&&r.get(n);o&&(t=o.removeArray(mt.call(e,1)),o.data||o.weak||o.strong&&o.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let n=t.get(e);return n||t.set(e,n=new bt(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}var wt=n(1744),_t=n(7783);let Et=null;const Ot={};let St=1;function Ct(e){try{return e()}catch(t){}}const kt="@wry/context:Slot",Tt=Ct(()=>globalThis)||Ct(()=>global)||Object.create(null),Rt=Tt[kt]||Array[kt]||function(e){try{Object.defineProperty(Tt,kt,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",St++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=Et;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===Ot)break;return e!==Et&&(Et.slots[this.id]=t),!0}return Et&&(Et.slots[this.id]=Ot),!1}getValue(){if(this.hasValue())return Et.slots[this.id]}withValue(e,t,n,r){const o={__proto__:null,[this.id]:e},i=Et;Et={parent:i,slots:o};try{return t.apply(r,n)}finally{Et=i}}static bind(e){const t=Et;return function(){const n=Et;try{return Et=t,e.apply(this,arguments)}finally{Et=n}}}static noContext(e,t,n){if(!Et)return e.apply(n,t);{const r=Et;try{return Et=null,e.apply(n,t)}finally{Et=r}}}}),{bind:xt,noContext:Pt}=Rt;const Dt=new Rt;const{hasOwnProperty:Nt}=Object.prototype,jt=Array.from||function(e){const t=[];return e.forEach(e=>t.push(e)),t};function It(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const Mt=[];function At(e,t){if(!e)throw new Error(t||"assertion failure")}function Ft(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function qt(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function Lt(e){return e.slice(0)}class Vt{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Vt.count}peek(){if(1===this.value.length&&!Wt(this))return Qt(this),this.value[0]}recompute(e){return At(!this.recomputing,"already recomputing"),Qt(this),Wt(this)?function(e,t){Kt(e),Dt.withValue(e,Ut,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{It(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,Wt(e))return;Bt(e)}(e);return qt(e.value)}(this,e):qt(this.value)}setDirty(){this.dirty||(this.dirty=!0,zt(this),It(this))}dispose(){this.setDirty(),Kt(this),Ht(this,(e,t)=>{e.setDirty(),Yt(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=Mt.pop()||new Set),this.deps.add(e)}
2forgetDeps(){this.deps&&(jt(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),Mt.push(this.deps),this.deps=null)}}function Qt(e){const t=Dt.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Wt(e)?$t(t,e):Jt(t,e),t}function Ut(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&1===e.value.length&&(r=Lt(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!Ft(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(o){}}catch(i){e.value[1]=i}e.recomputing=!1}function Wt(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function zt(e){Ht(e,$t)}function Bt(e){Ht(e,Jt)}function Ht(e,t){const n=e.parents.size;if(n){const r=jt(e.parents);for(let o=0;o<n;++o)t(r[o],e)}}function $t(e,t){At(e.childValues.has(t)),At(Wt(t));const n=!Wt(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=Mt.pop()||new Set;e.dirtyChildren.add(t),n&&zt(e)}function Jt(e,t){At(e.childValues.has(t)),At(!Wt(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,Lt(t.value)):Ft(n,t.value)||e.setDirty(),Gt(e,t),Wt(e)||Bt(e)}function Gt(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(Mt.length<100&&Mt.push(n),e.dirtyChildren=null))}function Kt(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{Yt(e,n)}),e.forgetDeps(),At(null===e.dirtyChildren)}function Yt(e,t){t.parents.delete(e),e.childValues.delete(t),Gt(e,t)}Vt.count=0;const Xt={setDirty:!0,dispose:!0,forget:!0};function Zt(e){const t=new Map,n=e&&e.subscribe;function r(e){const r=Dt.getValue();if(r){let o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(It(o),o.unsubscribe=n(e))}}return r.dirty=function(e,n){const r=t.get(e);if(r){const o=n&&Nt.call(Xt,n)?n:"setDirty";jt(r).forEach(e=>e[o]()),t.delete(e),It(r)}},r}let en;function tn(...e){return(en||(en=new bt("function"==typeof WeakMap))).lookupArray(e)}const nn=new Set;function rn(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=tn,normalizeResult:o,subscribe:i,cache:a=_t.C}=Object.create(null)){const s="function"==typeof a?new a(t,e=>e.dispose()):a,u=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new Vt(e)),a.normalizeResult=o,a.subscribe=i,a.forget=()=>s.delete(t));const u=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),nn.add(s),Dt.hasValue()||(nn.forEach(e=>e.clean()),nn.clear()),u};function c(e){const t=e&&s.get(e);t&&t.setDirty()}function l(e){const t=e&&s.get(e);if(t)return t.peek()}function f(e){return!!e&&s.delete(e)}return Object.defineProperty(u,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:o,subscribe:i,cache:s}),u.dirtyKey=c,u.dirty=function(){c(r.apply(null,arguments))},u.peekKey=l,u.peek=function(){return l(r.apply(null,arguments))},u.forgetKey=f,u.forget=function(){return f(r.apply(null,arguments))},u.makeCacheKey=r,u.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(u)}function on(e){return e}var an=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=be.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(on,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new bt(be.et);this.performWork=rn(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,i.V1)(Array.isArray(r),77),n.lookupArray(r)},max:Q.v["documentTransform.cache"],cache:wt.l})}},e.prototype.performWork=function(e){return ne(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}();function sn(e,t,n){return new T(function(r){var o={then:function(e){return new Promise(function(t){return t(e())})}};function i(e,t){return function(n){if(e){var i=function(){return r.closed?0:e(n)};o=o.then(i,i).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:i(t,"next"),error:i(n,"error"),complete:function(){o.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function un(e){var t=cn(e);return(0,Ce.E)(t)}function cn(e){var t=(0,Ce.E)(e.errors)?e.errors.slice(0):[];return De(e)&&(0,Ce.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var ln=n(8170);function fn(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}function pn(e){function t(t){Object.defineProperty(e,t,{value:T})}return be.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function dn(e){return e&&"function"==typeof e.then}var hn=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.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),fn(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),n.notify("error",e),fn(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var o=(void 0===r?[]:r).shift();o?dn(o)?o.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=o.subscribe(n.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),fn(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new T(t)]),dn(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,o.C6)(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))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
2n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(T);pn(hn);var vn=n(8599),yn=n(7945),mn=Object.prototype.toString;function gn(e){return bn(e)}function bn(e,t){switch(mn.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]=bn(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]=bn(e[n],t)}),r;default:return e}}function wn(e,t,n,r){var i=t.data,a=(0,o.Tt)(t,["data"]),s=n.data,u=(0,o.Tt)(n,["data"]);return(0,ht.A)(a,u)&&_n(ue(e).selectionSet,i,s,{fragmentMap:F(ie(e)),variables:r})}function _n(e,t,n,r){if(t===n)return!0;var o=new Set;return e.selections.every(function(e){if(o.has(e))return!0;if(o.add(e),!he(e,r.variables))return!0;if(En(e))return!0;if(te(e)){var i=Z(e),a=t&&t[i],s=n&&n[i],u=e.selectionSet;if(!u)return(0,ht.A)(a,s);var c=Array.isArray(a),l=Array.isArray(s);if(c!==l)return!1;if(c&&l){var f=a.length;if(s.length!==f)return!1;for(var p=0;p<f;++p)if(!_n(u,a[p],s[p],r))return!1;return!0}return _n(u,a,s,r)}var d=q(e,r.fragmentMap);return d?!!En(d)||_n(d.selectionSet,t,n,r):void 0})}function En(e){return!!e.directives&&e.directives.some(On)}function On(e){return"nonreactive"===e.name.value}var Sn=Object.assign,Cn=Object.hasOwnProperty,kn=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,a=e.call(this,function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=Rn)}catch(t){}var r=!a.observers.size;a.observers.add(e);var o=a.last;return o&&o.error?e.error&&e.error(o.error):o&&o.result&&e.next&&e.next(a.maskResult(o.result)),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=r,a.queryManager=n,a.waitForOwnResult=Pn(i.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a),a.maskResult=a.maskResult.bind(a);var s=n.defaultOptions.watchQuery,u=(void 0===s?{}:s).fetchPolicy,c=void 0===u?"cache-first":u,l=i.fetchPolicy,f=void 0===l?c:l,p=i.initialFetchPolicy,d=void 0===p?"standby"===f?c:f:p;a.options=(0,o.Cl)((0,o.Cl)({},i),{initialFetchPolicy:d,fetchPolicy:f}),a.queryId=r.queryId||n.generateQueryId();var h=re(a.query);return a.queryName=h&&h.name&&h.name.value,a}return(0,o.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},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.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||vn.pT.ready,r=(0,o.Cl)((0,o.Cl)({},t),{loading:(0,vn.bi)(n),networkStatus:n}),i=this.options.fetchPolicy,a=void 0===i?"cache-first":i;if(Pn(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(r.data=s.result),(0,ht.L)(r.data,{})&&(r.data=void 0),s.complete?(delete r.partial,!s.complete||r.networkStatus!==vn.pT.loading||"cache-first"!==a&&"cache-only"!==a||(r.networkStatus=vn.pT.ready,r.loading=!1)):r.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||r.loading||r.data||r.error||xn(s.missing)}return e&&this.updateLastResult(r),r},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var n=this.queryManager.getDocumentInfo(this.query),r=this.queryManager.dataMasking,o=r?n.nonReactiveQuery:this.query;return(r||n.hasNonreactiveDirective?!wn(o,this.last.result,e,this.variables):!(0,ht.L)(this.last.result,e))||t&&!(0,ht.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,ht.L)(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",!1!==globalThis.__DEV__&&e&&Cn.call(e,"variables")){var a=ae(this.query),s=a.variableDefinitions;s&&s.some(function(e){return"variables"===e.variable.name.value})||!1!==globalThis.__DEV__&&i.V1.warn(21,e,(null===(t=a.name)||void 0===t?void 0:t.value)||a)}return e&&!(0,ht.L)(this.options.variables,e)&&(n.variables=this.options.variables=(0,o.Cl)((0,o.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,vn.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,o.Cl)((0,o.Cl)({},e.query?e:(0,o.Cl)((0,o.Cl)((0,o.Cl)((0,o.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,o.Cl)((0,o.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var r=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var a=this.queryInfo,s=a.networkStatus;
2a.networkStatus=vn.pT.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var u=new Set,c=null==e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||(0,i.V1)(c,22),this.queryManager.fetchQuery(r,n,vn.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(r),a.networkStatus===vn.pT.fetchMore&&(a.networkStatus=s),l)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:i.data,variables:n.variables})}):r.writeQuery({query:n.query,variables:n.variables,data:i.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var f=t.getLast("result"),p=c(f.data,{fetchMoreResult:i.data,variables:n.variables});t.reportResult((0,o.Cl)((0,o.Cl)({},f),{data:p}),t.variables)}return t.maskResult(i)}).finally(function(){l&&!u.has(t.query)&&Tn(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):!1!==globalThis.__DEV__&&i.V1.error(23,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,yn.o)(this.options,e||{});Sn(this.options,t)},t.prototype.setVariables=function(e){return(0,ht.L)(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},vn.pT.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,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){(0,i.V1)(n,24),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&((0,vn.bi)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},vn.pT.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){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,ht.L)(t,this.last.variables)&&(n=void 0),this.last=(0,o.Cl)({result:this.queryManager.assumeImmutableResults?e:gn(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var r=t===vn.pT.refetch||t===vn.pT.fetchMore||t===vn.pT.poll,i=this.options.variables,a=this.options.fetchPolicy,s=(0,yn.o)(this.options,e||{}),u=r?s:Sn(this.options,s),c=this.transformDocument(u.query);this.lastQuery=c,r||(this.updatePolling(),!e||!e.variables||(0,ht.L)(e.variables,i)||"standby"===u.fetchPolicy||u.fetchPolicy!==a&&"function"!=typeof u.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=vn.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Pn(u.fetchPolicy));var l=function(){n.concast===d&&(n.waitForOwnResult=!1)},f=u.variables&&(0,o.Cl)({},u.variables),p=this.fetch(u,t,c),d=p.concast,h=p.fromLink,v={next:function(e){(0,ht.L)(n.variables,f)&&(l(),n.reportResult(e,f))},error:function(e){(0,ht.L)(n.variables,f)&&((0,Se.Mn)(e)||(e=new Se.K4({networkError:e})),l(),n.reportError(e,f))}};return r||!h&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=v),d.addObserver(v),d},t.prototype.reobserve=function(e,t){return(n=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),n;var n},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&fn(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var n=(0,o.Cl)((0,o.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:vn.pT.error,loading:!1});this.updateLastResult(n,t),fn(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.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,o.Cl)((0,o.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(T);function Tn(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(e,t){return this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function Rn(e){!1!==globalThis.__DEV__&&i.V1.error(25,e.message,e.stack)}function xn(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(26,e)}function Pn(e){return"network-only"===e||"no-cache"===e||"standby"===e}pn(kn);var Dn=new(be.et?WeakMap:Map);function Nn(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return Dn.set(e,(Dn.get(e)+1)%1e15),n.apply(this,arguments)})}function jn(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var In=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.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Dn.has(n)||(Dn.set(n,0),Nn(n,"evict"),Nn(n,"modify"),Nn(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||vn.pT.loading;return this.variables&&this.networkStatus!==vn.pT.loading&&!(0,ht.L)(this.variables,e.variables)&&(t=vn.pT.setVariables),(0,ht.L)(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(){jn(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,ht.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},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,n=this,r=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||(0,ht.L)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.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():Tn(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
2jn(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((0,vn.bi)(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;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,o.Cl)((0,o.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,ht.L)(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===Dn.get(this.cache)&&(0,ht.L)(t,n.variables)&&(0,ht.L)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var o=this,i=new Pe,a=(0,Ce.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,Ce.E)(e.incremental)){var s=je(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=i.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(Mn(e,n.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,n.variables))i.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),o.lastWrite={result:e,variables:n.variables,dmCount:Dn.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(e.data=o.lastDiff.diff.result);var a=o.getDiffOptions(n.variables),s=i.diff(a);!o.stopped&&(0,ht.L)(o.variables,n.variables)&&o.updateWatch(n.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=vn.pT.ready},e.prototype.markError=function(e){return this.networkStatus=vn.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Mn(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!un(e);return!r&&n&&e.data&&(r=!0),r}var An=n(1469),Fn=be.et?WeakMap:Map,qn=be.En?WeakSet:Set,Ln=new Rt,Vn=!1;function Qn(){Vn||(Vn=!0,!1!==globalThis.__DEV__&&i.V1.warn(52))}function Un(e,t,n){return Ln.withValue(!0,function(){var r=Wn(e,t,n,!1);return Object.isFrozen(e)&&(0,An.G)(r),r})}function Wn(e,t,n,r,o){var a,s=n.knownChanged,u=function(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}(e,n.mutableTargets);if(Array.isArray(e)){for(var c=0,l=Array.from(e.entries());c<l.length;c++){var f=l[c],p=f[0],d=f[1];if(null!==d){var h=Wn(d,t,n,r,!1!==globalThis.__DEV__?"".concat(o||"","[").concat(p,"]"):void 0);s.has(h)&&s.add(u),u[p]=h}else u[p]=null}return s.has(u)?u:e}for(var v=0,y=t.selections;v<y.length;v++){var m=y[v],g=void 0;if(r&&s.add(u),m.kind===N.b.FIELD){var b=Z(m),w=m.selectionSet;if(void 0===(g=u[b]||e[b]))continue;if(w&&null!==g){h=Wn(e[b],w,n,r,!1!==globalThis.__DEV__?"".concat(o||"",".").concat(b):void 0);s.has(h)&&(g=h)}!1===globalThis.__DEV__&&(u[b]=g),!1!==globalThis.__DEV__&&(r&&"__typename"!==b&&!(null===(a=Object.getOwnPropertyDescriptor(u,b))||void 0===a?void 0:a.value)?Object.defineProperty(u,b,zn(b,g,o||"",n.operationName,n.operationType)):(delete u[b],u[b]=g))}if(m.kind!==N.b.INLINE_FRAGMENT||m.typeCondition&&!n.cache.fragmentMatches(m,e.__typename)||(g=Wn(e,m.selectionSet,n,r,o)),m.kind===N.b.FRAGMENT_SPREAD){var _=m.name.value,E=n.fragmentMap[_]||(n.fragmentMap[_]=n.cache.lookupFragment(_));(0,i.V1)(E,47,_);var O=me(m);"mask"!==O&&(g=Wn(e,E.selectionSet,n,"migrate"===O,o))}s.has(g)&&s.add(u)}return"__typename"in e&&!("__typename"in u)&&(u.__typename=e.__typename),Object.keys(u).length!==Object.keys(e).length&&s.add(u),s.has(u)?u:e}function zn(e,t,n,r,o){var a=function(){return Ln.getValue()||(!1!==globalThis.__DEV__&&i.V1.warn(48,r?"".concat(o," '").concat(r,"'"):"anonymous ".concat(o),"".concat(n,".").concat(e).replace(/^\./,"")),a=function(){return t}),t};return{get:function(){return a()},set:function(e){a=function(){return e}},enumerable:!0,configurable:!0}}function Bn(e,t,n,r){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&Qn(),e;var o=t.definitions.filter(function(e){return e.kind===N.b.FRAGMENT_DEFINITION});void 0===r&&((0,i.V1)(1===o.length,49,o.length),r=o[0].name.value);var a=o.find(function(e){return e.name.value===r});return(0,i.V1)(!!a,50,r),null==e||(0,ht.A)(e,{})?e:Un(e,a.selectionSet,{operationType:"fragment",operationName:a.name.value,fragmentMap:F(ie(t)),cache:n,mutableTargets:new Fn,knownChanged:new qn})}var Hn=Object.prototype.hasOwnProperty,$n=Object.create(null),Jn=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new V.A(Q.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new bt(!1),this.noCacheWarningsByQueryId=new Set;var n=new an(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;
2this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,i.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,o.sH)(this,arguments,void 0,function(e){var t,n,r,a,s,u,c,l=e.mutation,f=e.variables,p=e.optimisticResponse,d=e.updateQueries,h=e.refetchQueries,v=void 0===h?[]:h,y=e.awaitRefetchQueries,m=void 0!==y&&y,g=e.update,b=e.onQueryUpdated,w=e.fetchPolicy,_=void 0===w?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.fetchPolicy)||"network-only":w,E=e.errorPolicy,O=void 0===E?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":E,S=e.keepRootFields,C=e.context;return(0,o.YH)(this,function(e){switch(e.label){case 0:return(0,i.V1)(l,28),(0,i.V1)("network-only"===_||"no-cache"===_,29),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),n=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),n?[4,this.localState.addExportedVariables(l,f,C)]:[3,2];case 1:f=e.sent(),e.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=p&&this.markMutationOptimistic(p,{mutationId:t,document:l,variables:f,fetchPolicy:_,errorPolicy:O,context:C,updateQueries:d,update:g,keepRootFields:S}),this.broadcastQueries(),s=this,[2,new Promise(function(e,n){return sn(s.getObservableFromLink(l,(0,o.Cl)((0,o.Cl)({},C),{optimisticResponse:a?p:void 0}),f,{},!1),function(e){if(un(e)&&"none"===O)throw new Se.K4({graphQLErrors:cn(e)});r&&(r.loading=!1,r.error=null);var n=(0,o.Cl)({},e);return"function"==typeof v&&(v=v(n)),"ignore"===O&&un(n)&&delete n.errors,s.markMutationResult({mutationId:t,result:n,document:l,variables:f,fetchPolicy:_,errorPolicy:O,context:C,update:g,updateQueries:d,awaitRefetchQueries:m,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:b,keepRootFields:S})}).subscribe({next:function(n){s.broadcastQueries(),"hasNext"in n&&!1!==n.hasNext||e((0,o.Cl)((0,o.Cl)({},n),{data:s.maskOperation({document:l,data:n.data,fetchPolicy:_,id:t})}))},error:function(e){r&&(r.loading=!1,r.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),n(e instanceof Se.K4?e:new Se.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,i=[],a="no-cache"===e.fetchPolicy;if(!a&&Mn(r,e.errorPolicy)){if(De(r)||i.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),De(r)&&(0,Ce.E)(r.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),u=void 0;s.result&&(u=je(s.result,r)),void 0!==u&&(r.data=u,i.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&Hn.call(c,s)){var u=c[s],l=n.queries.get(o),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=u(h,{mutationResult:r,queryName:f&&oe(f)||void 0,queryVariables:p});v&&i.push({result:v,dataId:"ROOT_QUERY",query:f,variables:p})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){a||i.forEach(function(e){return t.write(e)});var s,u=e.update,c=!(De(s=r)||function(e){return"hasNext"in e&&"data"in e}(s))||De(r)&&!r.hasNext;if(u){if(!a){var l=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(r=(0,o.Cl)((0,o.Cl)({},r),{data:l.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}c&&u(t,r,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||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}
2).forEach(function(e){return l.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then(function(){return r})}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables,{IGNORE:$n}):e;return r!==$n&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,o.Cl)((0,o.Cl)({},t),{result:{data:r}}),e)}catch(a){!1!==globalThis.__DEV__&&i.V1.error(a)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.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){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:ye(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:ve(["nonreactive"],e),nonReactiveQuery:ut(e),clientQuery:this.localState.clientQuery(e),serverQuery:ot([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:ce(re(e)),asQuery:(0,o.Cl)((0,o.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,o.Cl)((0,o.Cl)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,o.Cl)((0,o.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,o.Cl)((0,o.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new In(this),r=new kn({queryManager:this,queryInfo:n,options:e});return r.lastQuery=t,this.queries.set(r.queryId,n),n.init({document:t,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var n=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,30),(0,i.V1)("Document"===e.query.kind,31),(0,i.V1)(!e.returnPartialData,32),(0,i.V1)(!e.pollInterval,33);var r=this.transform(e.query);return this.fetchQuery(t,(0,o.Cl)((0,o.Cl)({},e),{query:r})).then(function(i){return i&&(0,o.Cl)((0,o.Cl)({},i),{data:n.maskOperation({document:r,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).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((0,i.vA)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=vn.pT.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,a=new Set;return Array.isArray(e)&&e.forEach(function(e){var n;"string"==typeof e?r.set(e,!1):(n=e,(0,R.U)(n)&&"Document"===n.kind&&Array.isArray(n.definitions)?r.set(t.transform(e),!1):(0,R.U)(e)&&e.query&&a.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))}}),a.size&&a.forEach(function(e){var r=(0,ln.v)("legacyOneTimeQuery"),a=t.getQuery(r).init({document:e.query,variables:e.variables}),s=new kn({queryManager:t,queryInfo:a,options:(0,o.Cl)((0,o.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===r),a.setObservableQuery(s),n.set(r,s)}),!1!==globalThis.__DEV__&&r.size&&r.forEach(function(e,t){e||!1!==globalThis.__DEV__&&i.V1.warn("string"==typeof t?35:36,t)}),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.variables,o=e.fetchPolicy,i=e.errorPolicy,a=void 0===i?"none":i,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;n=this.transform(n),r=this.getVariables(n,r);var f=function(e){return t.getObservableFromLink(n,u,e,l).map(function(r){"no-cache"!==o&&(Mn(r,a)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var i=un(r),s=(0,Se.uR)(r);if(i||s){var u={};if(i&&(u.graphQLErrors=r.errors),s&&(u.protocolErrors=r.extensions[Se.K$]),"none"===a||s)throw new Se.K4(u)}return"ignore"===a&&delete r.errors,r})};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,r,u).then(f);return new T(function(e){var t=null;return p.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(r)},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
2h(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r,i){var a,s,u=this;void 0===i&&(i=null!==(a=null==t?void 0:t.queryDeduplication)&&void 0!==a?a:this.queryDeduplication);var c=this.getDocumentInfo(e),l=c.serverQuery,f=c.clientQuery;if(l){var p=this.inFlightLinkObservables,d=this.link,h={query:l,variables:n,operationName:oe(l)||void 0,context:this.prepareContext((0,o.Cl)((0,o.Cl)({},t),{forceFetch:!i})),extensions:r};if(t=h.context,i){var v=Je(l),y=W(n),m=p.lookup(v,y);if(!(s=m.observable)){var g=new hn([ft(d,h)]);s=m.observable=g,g.beforeNext(function(){p.remove(v,y)})}}else s=new hn([ft(d,h)])}else s=new hn([T.of({data:{}})]),t=this.prepareContext(t);return f&&(s=sn(s,function(e){return u.localState.runResolvers({document:f,remoteResult:e,context:t,variables:n})})),s},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(n.query);return sn(this.getObservableFromLink(o,n.context,n.variables),function(i){var a=cn(i),s=a.length>0,u=n.errorPolicy;if(r>=e.lastRequestId){if(s&&"none"===u)throw e.markError(new Se.K4({graphQLErrors:a}));e.markResult(i,o,n,t),e.markReady()}var c={data:i.data,loading:!1,networkStatus:vn.pT.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=vn.pT.error),c},function(t){var n=(0,Se.Mn)(t)?t:new Se.K4({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var o=this;void 0===n&&(n=vn.pT.loading),void 0===r&&(r=t.query);var i,a,s=this.getVariables(r,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,p=t.errorPolicy,d=void 0===p?c&&c.errorPolicy||"none":p,h=t.returnPartialData,v=void 0!==h&&h,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,g=t.context,b=void 0===g?{}:g,w=Object.assign({},t,{query:r,variables:s,fetchPolicy:f,errorPolicy:d,returnPartialData:v,notifyOnNetworkStatusChange:m,context:b}),_=function(e){w.variables=e;var r=o.fetchQueryByPolicy(u,w,n);return"standby"!==w.fetchPolicy&&r.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),r},E=function(){return o.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){E(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(w.query).hasClientExports)i=new hn(this.localState.addExportedVariables(w.query,w.variables,w.context).then(_).then(function(e){return e.sources})),a=!0;else{var O=_(w.variables);a=O.fromLink,i=new hn(O.sources)}return i.promise.then(E,E),{concast:i,fromLink:a}},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?(0,ln.v)("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 In&&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.maskOperation=function(e){var t,n,r,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,u=e.id,c=null===(t=re(o))||void 0===t?void 0:t.operation,l=(null!==(n=null==c?void 0:c[0])&&void 0!==n?n:"o")+u;!this.dataMasking||"no-cache"!==s||function(e){var t=!0;return I(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return j}}),t}(o)||this.noCacheWarningsByQueryId.has(l)||(this.noCacheWarningsByQueryId.add(l),!1!==globalThis.__DEV__&&i.V1.warn(37,null!==(r=oe(o))&&void 0!==r?r:"Unnamed ".concat(null!=c?c:"operation")))}return this.dataMasking?function(e,t,n){var r;if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&Qn(),e;var o=re(t);return(0,i.V1)(o,51),null==e?e:Un(e,o.selectionSet,{operationType:o.operation,operationName:null===(r=o.name)||void 0===r?void 0:r.value,fragmentMap:F(ie(t)),cache:n,mutableTargets:new Fn,knownChanged:new qn})}(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,n=e.fragment,r=e.fragmentName;return this.dataMasking?Bn(t,n,this.cache,r):t},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:i,variables:a,networkStatus:n});var h=function(){return e.getDiff()},v=function(t,n){void 0===n&&(n=e.networkStatus||vn.pT.loading);var s=t.result;!1===globalThis.__DEV__||l||(0,ht.L)(s,{})||xn(t.missing);var u=function(e){return T.of((0,o.Cl)({data:e,loading:(0,vn.bi)(n),networkStatus:n},t.complete?null:{partial:!0}))};return s&&r.getDocumentInfo(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:s},context:f,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===c&&n===vn.pT.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},y="no-cache"===s?0:n===vn.pT.refetch&&"merge"!==u?1:2,m=function(){return r.getResultsFromLink(e,y,{query:i,variables:a,context:f,fetchPolicy:s,errorPolicy:c})},g=p&&"number"==typeof d&&d!==n&&(0,vn.bi)(n);switch(s){default:case"cache-first":return(b=h()).complete?{fromLink:!1,sources:[v(b,e.markReady())]}:l||g?{fromLink:!0,sources:[v(b),m()]}:{fromLink:!0,sources:[m()]};case"cache-and-network":var b;return(b=h()).complete||l||g?{fromLink:!0,sources:[v(b),m()]}:{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[v(h(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[v(h()),m()]}:{fromLink:!0,sources:[m()]};case"no-cache":return g?{fromLink:!0,sources:[v(e.getDiff()),m()]}:{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new In(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,o.Cl)((0,o.Cl)((0,o.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function Gn(e){return e.kind===N.b.FIELD||e.kind===N.b.FRAGMENT_SPREAD||e.kind===N.b.INLINE_FRAGMENT}var Kn=new Rt,Yn=new WeakMap;function Xn(e){var t=Yn.get(e);return t||Yn.set(e,t={vars:new Set,dep:Zt()}),t}
2function Zn(e){Xn(e).vars.forEach(function(t){return t.forgetCache(e)})}function er(e){var t=new Set,n=new Set,r=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(e){Xn(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var a=Array.from(n);n.clear(),a.forEach(function(t){return t(e)})}}else{var s=Kn.getValue();s&&(o(s),Xn(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),Xn(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}var tr=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,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=Te(t.resolvers,e)}):this.resolvers=Te(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){return(0,o.sH)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,o.YH)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,s).then(function(e){return(0,o.Cl)((0,o.Cl)({},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 ve(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return st(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,o.Cl)((0,o.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,o.sH)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,o.YH)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,o.Cl)((0,o.Cl)({},t),e.exportedVariables)})]:[2,(0,o.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return I(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 j}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:at(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,o.sH)(this,arguments,void 0,function(e,t,n,r,i,a){var s,u,c,l,f,p,d,h,v,y;return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),(0,o.YH)(this,function(m){return s=ue(e),u=ie(e),c=F(u),l=this.collectSelectionsToResolve(s,c),f=s.operation,p=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",h=(d=this).cache,v=d.client,y={fragmentMap:c,context:(0,o.Cl)((0,o.Cl)({},n),{cache:h,client:v}),variables:r,fragmentMatcher:i,defaultOperationType:p,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,false,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,r){return(0,o.sH)(this,void 0,void 0,function(){var a,s,u,c,l,f=this;return(0,o.YH)(this,function(p){return a=r.fragmentMap,s=r.context,u=r.variables,c=[n],l=function(e){return(0,o.sH)(f,void 0,void 0,function(){var l,f;return(0,o.YH)(this,function(o){return(t||r.selectionsToResolve.has(e))&&he(e,u)?te(e)?[2,this.resolveField(e,t,n,r).then(function(t){var n;void 0!==t&&c.push(((n={})[Z(e)]=t,n))})]:(!function(e){return"InlineFragment"===e.kind}(e)?(l=a[e.name.value],(0,i.V1)(l,19,e.name.value)):l=e,l&&l.typeCondition&&(f=l.typeCondition.name.value,r.fragmentMatcher(n,f,s))?[2,this.resolveSelectionSet(l.selectionSet,t,n,r).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return Re(c)})]})})},e.prototype.resolveField=function(e,t,n,r){return(0,o.sH)(this,void 0,void 0,function(){var i,a,s,u,c,l,f,p,d,h=this;return(0,o.YH)(this,function(o){return n?(i=r.variables,a=e.name.value,s=Z(e),u=a!==s,c=n[s]||n[a],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=n.__typename||r.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(d=p[u?a:s])&&(l=Promise.resolve(Kn.withValue(this.cache,d,[n,X(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then(function(n){var o,i;
2if(void 0===n&&(n=c),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&&(r.exportedVariables[e.value.value]=n)})}),!e.selectionSet)return n;if(null==n)return n;var a=null!==(i=null===(o=e.directives)||void 0===o?void 0:o.some(function(e){return"client"===e.name.value}))&&void 0!==i&&i;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var o=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?o.resolveSubSelectedArray(e,t,n,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(o){if(!r.has(o)){var a=new Set;r.set(o,a),I(o,{Directive:function(e,t,r,o,i){"client"===e.name.value&&i.forEach(function(e){n(e)&&Gn(e)&&a.add(e)})},FragmentSpread:function(r,o,s,u,c){var l=t[r.name.value];(0,i.V1)(l,20,r.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){n(e)&&Gn(e)&&a.add(e)}),a.add(r),f.forEach(function(e){a.add(e)}))}})}return r.get(o)}(e)},e}(),nr=n(144),rr=!1,or=function(){function e(e){var t,n=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var r=e.uri,a=e.credentials,s=e.headers,u=e.cache,c=e.documentTransform,l=e.ssrMode,f=void 0!==l&&l,p=e.ssrForceFetchDelay,d=void 0===p?0:p,h=e.connectToDevTools,v=e.queryDeduplication,y=void 0===v||v,m=e.defaultOptions,g=e.defaultContext,b=e.assumeImmutableResults,w=void 0===b?u.assumeImmutableResults:b,_=e.resolvers,E=e.typeDefs,O=e.fragmentMatcher,S=e.name,C=e.version,k=e.devtools,T=e.dataMasking,R=e.link;R||(R=r?new dt({uri:r,credentials:a,headers:s}):de.empty()),this.link=R,this.cache=u,this.disableNetworkFetches=f||d>0,this.queryDeduplication=y,this.defaultOptions=m||Object.create(null),this.typeDefs=E,this.devtoolsConfig=(0,o.Cl)((0,o.Cl)({},k),{enabled:null!==(t=null==k?void 0:k.enabled)&&void 0!==t?t:h}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),d&&setTimeout(function(){return n.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=pt.r,this.localState=new tr({cache:u,client:this,resolvers:_,fragmentMatcher:O}),this.queryManager=new Jn({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:g,documentTransform:c,queryDeduplication:y,ssrMode:f,dataMasking:!!T,clientAwareness:{name:S,version:C},localState:this.localState,assumeImmutableResults:w,onBroadcast:this.devtoolsConfig.enabled?function(){n.devToolsHookCb&&n.devToolsHookCb({action:{},state:{queries:n.queryManager.getQueryStore(),mutations:n.queryManager.mutationStore||{}},dataWithOptimisticResults:n.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,rr||!1===globalThis.__DEV__||(rr=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
2,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,nr.l)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,o.Cl)((0,o.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,nr.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,o.Cl)((0,o.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,nr.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,n=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(r){return(0,o.Cl)((0,o.Cl)({},r),{data:t.queryManager.maskOperation({document:e.query,data:r.data,fetchPolicy:e.fetchPolicy,id:n})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,o.Cl)((0,o.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ft(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){!1!==globalThis.__DEV__&&i.V1.debug(18,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},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(or.prototype.getMemoryInternals=U.ep);var ir=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=rn(A,{max:Q.v["cache.fragmentQueryDocuments"]||1e3,cache:wt.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.o
2ptimistic?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.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.Cl)((0,o.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t=this,n=e.fragment,r=e.fragmentName,a=e.from,s=e.optimistic,u=void 0===s||s,c=(0,o.Tt)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(n,r),f=void 0===a||"string"==typeof a?a:this.identify(a),p=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var d=r||se(n).name.value;f||!1!==globalThis.__DEV__&&i.V1.warn(1,d)}var h,v=(0,o.Cl)((0,o.Cl)({},c),{returnPartialData:!0,id:f,query:l,optimistic:u});return new T(function(e){return t.watch((0,o.Cl)((0,o.Cl)({},v),{immediate:!0,callback:function(i){var a=p?Bn(i.result,n,t,r):i.result;if(!h||!wn(l,{data:null==h?void 0:h.result},{data:a})){var s={data:a,complete:!!i.complete};i.missing&&(s.missing=Re(i.missing.map(function(e){return e.missing}))),h=(0,o.Cl)((0,o.Cl)({},i),{result:a}),e.next(s)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.Cl)((0,o.Cl)({},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,o.Tt)(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,i=e.fragmentName,a=(0,o.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),i=t(r);return null==i?r:(n.writeQuery((0,o.Cl)((0,o.Cl)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),i=t(r);return null==i?r:(n.writeFragment((0,o.Cl)((0,o.Cl)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(ir.prototype.getMemoryInternals=U.tQ);var ar=function(e){function t(n,r,o,i){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,o.C6)(t,e),t}(Error),sr=Object.prototype.hasOwnProperty;function ur(e){return null==e}function cr(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=ur(r)?ur(o)?void 0:{_id:o}:{id:r}),ur(r)&&!ur(o)&&(r=o),!ur(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var lr={dataIdFromObject:cr,addTypename:!0,resultCaching:!0,canonizeResults:!1};function fr(e){var t=e.canonizeResults;return void 0===t?lr.canonizeResults:t}var pr=/^[_a-z][_0-9a-z]*/i;function dr(e){var t=e.match(pr);return t?t[0]:e}function hr(e,t,n){return!!(0,R.U)(t)&&((0,Ce.c)(t)?t.every(function(t){return hr(e,t,n)}):e.selections.every(function(e){if(te(e)&&he(e,n)){var r=Z(e);return sr.call(t,r)&&(!e.selectionSet||hr(e.selectionSet,t[r],n))}return!0}))}function vr(e){return(0,R.U)(e)&&!$(e)&&!(0,Ce.c)(e)}function yr(e,t){var n=F(ie(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var mr=Object.create(null),gr=function(){return mr},br=Object.create(null),wr=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(0,An.G)($(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return $(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return H(e);if($(e))return e;var r=n.policies.identify(e)[0];if(r){var o=H(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return(0,o.Cl)({},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),sr.call(this.data,e)){var n=this.data[e];if(n&&sr.call(n,t))return n[t]}return"__typename"===t&&sr.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Sr?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),sr.call(this.data,e)?this.data[e]:this instanceof Sr?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;$(e)&&(e=e.__ref),$(t)&&(t=t.__ref);
2var o="string"==typeof e?this.lookup(n=e):e,a="string"==typeof t?this.lookup(n=t):t;if(a){(0,i.V1)("string"==typeof n,2);var s=new Pe(kr).merge(o,a);if(this.data[n]=s,s!==o&&(delete this.refs[n],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=dr(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||r instanceof Sr||delete s[e]}}),!u.__typename||o&&o.__typename||this.policies.rootTypenamesById[n]!==s.__typename||delete u.__typename,Object.keys(u).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 a=Object.create(null),s=!1,u=!0,c={DELETE:mr,INVALIDATE:br,isReference:$,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||H(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(l){var f=dr(l),p=r[l];if(void 0!==p){var d="function"==typeof t?t:t[l]||t[f];if(d){var h=d===gr?mr:d((0,An.G)(p),(0,o.Cl)((0,o.Cl)({},c),{fieldName:f,storeFieldName:l,storage:n.getStorage(e,l)}));if(h===br)n.group.dirty(e,l);else if(h===mr&&(h=void 0),h!==p&&(a[l]=h,s=!0,p=h,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if($(h))v(h);else if(Array.isArray(h))for(var y=!1,m=void 0,g=0,b=h;g<b.length;g++){var w=b[g];if($(w)){if(y=!0,v(w))break}else if("object"==typeof w&&w)n.policies.identify(w)[0]&&(m=w);if(y&&void 0!==m){!1!==globalThis.__DEV__&&i.V1.warn(4,m);break}}}}void 0!==p&&(u=!1)}}),s)return this.merge(e,a),u&&(this instanceof Sr?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]=gr,r):gr)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(sr.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Sr&&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){sr.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&&sr.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,o.Tt)(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 Sr?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){sr.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 Sr;)o=o.parent;r.forEach(function(e){return o.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!sr.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){$(e)&&(t[e.__ref]=!0),(0,R.U)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,R.U)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),_r=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?Zt():null,this.keyMaker=new bt(be.et)}
2,e.prototype.depend=function(e,t){if(this.d){this.d(Er(e,t));var n=dr(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 Or(e,t){Tr(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 _r(o))||this;return a.stump=new Cr(a),a.storageTrie=new bt(be.et),i&&a.replace(i),a}return(0,o.C6)(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}(wr||(wr={}));var Sr=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,o.C6)(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,ht.L)(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,o.Cl)((0,o.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return sr.call(this.data,t)?(0,o.Cl)((0,o.Cl)({},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}(wr),Cr=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new _r(t.group.caching,t.group))||this}return(0,o.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Sr);function kr(e,t,n){var r=e[n],o=t[n];return(0,ht.L)(r,o)?r:o}function Tr(e){return!!(e instanceof wr&&e.group.caching)}var Rr=function(){function e(){this.known=new(be.En?WeakSet:Set),this.pool=new bt(be.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,R.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,R.U)(e)){var t=function(e){return(0,R.U)(e)?(0,Ce.c)(e)?e.slice(0):(0,o.Cl)({__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((0,R.U)(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),!1!==globalThis.__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]}),!1!==globalThis.__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}();function xr(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Pr=function(){function e(e){var t=this;this.knownResults=new(be.et?WeakMap:Map),this.config=(0,yn.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:fr(e)}),this.canon=e.canon||new Rr,this.executeSelectionSet=rn(function(e){var n,r=e.context.canonizeResults,i=xr(e);i[3]=!r;var a=(n=t.executeSelectionSet).peek.apply(n,i);return a?r?(0,o.Cl)((0,o.Cl)({},a),{result:t.canon.admit(a.result)}):a:(Or(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:xr,makeCacheKey:function(e,t,n,r){if(Tr(n.store))return n.store.makeCacheKey(e,$(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=rn(function(e){return Or(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;
2if(Tr(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Rr},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,i=void 0===r?"ROOT_QUERY":r,a=e.variables,s=e.returnPartialData,u=void 0===s||s,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;a=(0,o.Cl)((0,o.Cl)({},ce(ae(n))),a);var p,d=H(i),h=this.executeSelectionSet({selectionSet:ue(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,o.Cl)({store:t,query:n,policies:f,variables:a,varString:W(a),canonizeResults:l},yr(n,this.config.fragments))});if(h.missing&&(p=[new ar(Dr(h.missing),h.missing,n,a)],!u))throw p[0];return{result:h.result,complete:!p,missing:p}},e.prototype.isFresh=function(e,t,n,r){if(Tr(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,a=e.context;if($(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var s,u=a.variables,c=a.policies,l=a.store.getFieldValue(r,"__typename"),f=[],p=new Pe;function d(e,t){var n;return e.missing&&(s=p.merge(s,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof l&&!c.rootIdsByTypename[l]&&f.push({__typename:l});var h=new Set(n.selections);h.forEach(function(e){var n,v;if(he(e,u))if(te(e)){var y=c.readField({fieldName:e.name.value,field:e,variables:a.variables,from:r},a),m=Z(e);void 0===y?it.added(e)||(s=p.merge(s,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat($(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):(0,Ce.c)(y)?y.length>0&&(y=d(t.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:a}),m)):e.selectionSet?null!=y&&(y=d(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:$(y)?y:o,context:a}),m)):a.canonizeResults&&(y=t.canon.pass(y)),void 0!==y&&f.push(((v={})[m]=y,v))}else{var g=q(e,a.lookupFragment);if(!g&&e.kind===N.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);g&&c.fragmentMatches(g,l)&&g.selectionSet.selections.forEach(h.add,h)}});var v={result:Re(f),missing:s},y=a.canonizeResults?this.canon.admit(v):(0,An.G)(v);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new Pe;function c(e,n){var r;return e.missing&&(t=u.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,Ce.c)(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:a,context:s}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:$(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,R.U)(n)&&((0,i.V1)(!$(n),11,function(e,t){return $(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}(s.store,r,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function Dr(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(t){return t}}var Nr=n(6194),jr=Object.create(null);function Ir(e){var t=JSON.stringify(e);return jr[t]||(jr[t]=Object.create(null))}function Mr(e){var t=Ir(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=Fr(e,function(e){var o=Vr(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&sr.call(t,e[0])&&(o=Vr(t,e,Lr)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(n.typename,":").concat(JSON.stringify(o))})}function Ar(e){var t=Ir(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,o=n.variables,i=n.fieldName,a=Fr(e,function(e){var n=e[0],i=n.charAt(0);
2if("@"!==i)if("$"!==i){if(t)return Vr(t,e)}else{var a=n.slice(1);if(o&&sr.call(o,a)){var s=e.slice(0);return s[0]=a,Vr(o,s)}}else if(r&&(0,Ce.E)(r.directives)){var u=n.slice(1),c=r.directives.find(function(e){return e.name.value===u}),l=c&&X(c,o);return l&&Vr(l,e.slice(1))}}),s=JSON.stringify(a);return(t||"{}"!==s)&&(i+=":"+s),i})}function Fr(e,t){var n=new Pe;return qr(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 qr(e){var t=Ir(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(t,o){(0,Ce.c)(t)?(qr(t).forEach(function(e){return n.push(r.concat(e))}),r.length=0):(r.push(t),(0,Ce.c)(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function Lr(e,t){return e[t]}function Vr(e,t,n){return n=n||Lr,Qr(t.reduce(function e(t,r){return(0,Ce.c)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function Qr(e){return(0,R.U)(e)?(0,Ce.c)(e)?e.map(Qr):Fr(Object.keys(e).sort(),function(t){return Vr(e,t)}):e}function Ur(e){return void 0!==e.args?e.args:e.field?X(e.field,e.variables):null}var Wr=function(){},zr=function(e,t){return t.fieldName},Br=function(e,t,n){return(0,n.mergeObjects)(e,t)},Hr=function(e,t){return t},$r=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,o.Cl)({dataIdFromObject:cr},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,i=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a,s=t&&t.storeObject||e,u=(0,o.Cl)((0,o.Cl)({},t),{typename:i,storeObject:s,readField:t&&t.readField||function(){var e=Gr(arguments,s);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),c=i&&this.getTypePolicy(i),l=c&&c.keyFn||this.config.dataIdFromObject;return Ln.withValue(!0,function(){for(;l;){var t=l((0,o.Cl)((0,o.Cl)({},e),s),u);if(!(0,Ce.c)(t)){a=t;break}l=Mr(t)}}),a=a?String(a):void 0,u.keyObject?[a,u.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],i=r.queryType,a=r.mutationType,s=r.subscriptionType,u=(0,o.Tt)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),sr.call(t.toBeAdded,n)?t.toBeAdded[n].push(u):t.toBeAdded[n]=[u]})},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?Br:!1===t?Hr:e.merge}a(r,t.merge),r.keyFn=!1===o?Wr:(0,Ce.c)(o)?Mr(o):"function"==typeof o?o:r.keyFn,i&&Object.keys(i).forEac
2h(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?zr:(0,Ce.c)(s)?Ar(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),a(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||zr)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.V1)(!r||r===e,6,e),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(pr);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!sr.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,o){if(n.test(e)){var i=t.supertypeMap.get(o);i&&i.forEach(function(e){return r.add(e)})}})),r&&r.size&&r.forEach(function(e){var r=t.getTypePolicy(e),i=r.fields,a=(0,o.Tt)(r,["fields"]);Object.assign(n,a),Object.assign(n.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.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 a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},l=!(!n||!this.fuzzySubtypes.size),f=!1,p=0;p<u.length;++p){var d=u[p];if(d.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;d.forEach(c),l&&p===u.length-1&&hr(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=Ur(e);i;){var u=i(s,a);if(!(0,Ce.c)(u)){t=u||r;break}i=Ar(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 J(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 J(r,n,o,t)})),Y(e.name.value,r,n)}(e.field,e.variables):Y(r,Ur(e))),!1===t?r:r===dr(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=dr(o),a=t.store.getFieldValue(n,o),s=this.getFieldPolicy(e.typename,i,!1),u=s&&s.read;if(u){var c=Jr(this,n,e,t,t.store.getStorage($(n)?n.__ref:n,o));return Kn.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===Br?Kr(r.store)(e,t):s===Hr?t:(r.overwrite&&(e=void 0),s(e,t,Jr(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:r.variables},r,o||Object.create(null))))},e}();function Jr(e,t,n,r,o){var i=e.getStoreFieldName(n),a=dr(i),s=n.variables||r.variables,u=r.store,c=u.toReference,l=u.canRead;return{args:Ur(n),field:n.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:$,toReference:c,storage:o,cache:e.cache,canRead:l,readField:function(){return e.readField(Gr(arguments,t,s),r)},mergeObjects:Kr(r.store)}}function Gr(e,t,n){var r,a=e[0],s=e[1],u=e.length;return"string"==typeof a?r={fieldName:a,from:u>1?s:t}:(r=(0,o.Cl)({},a),sr.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,Nr.p)(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function Kr(e){return function(t,n){if((0,Ce.c)(t)||(0,Ce.c)(n))throw(0,i.vA)(9);if((0,R.U)(t)&&(0,R.U)(n)){var r=e.getFieldValue(t,"__typename"),a=e.getFieldValue(n,"__typename");if(r&&a&&r!==a)return n;if($(t)&&vr(n))return e.merge(t.__ref,n),t;if(vr(t)&&$(n))return e.merge(t,n.__ref),n;if(vr(t)&&vr(n))return(0,o.Cl)((0,o.Cl)({},t),n)}return n}}function Yr(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:(0,o.Cl)((0,o.Cl)({},e),{clientOnly:t,deferred:n})),i}var Xr=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,a=t.result,s=t.dataId,u=t.variables,c=t.overwrite,l=re(r),f=new Pe;u=(0,o.Cl)((0,o.Cl)({},ce(l)),u);var p=(0,o.Cl)((0,o.Cl)({store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)}
2,variables:u,varString:W(u)},yr(r,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:a||Object.create(null),dataId:s,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:p});if(!$(d))throw(0,i.vA)(12,a);return p.incomingById.forEach(function(t,r){var a=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,c=H(r);if(s&&s.map.size){var l=n.applyMerges(s,c,a,p);if($(l))return;a=l}if(!1!==globalThis.__DEV__&&!p.overwrite){var f=Object.create(null);u.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});Object.keys(a).forEach(function(e){(function(e){return!0===f[dr(e)]})(e)&&!function(e){var t=s&&s.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var a=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},s=a(e);if(!s)return;var u=a(t);if(!u)return;if($(s))return;if((0,ht.L)(s,u))return;if(Object.keys(s).every(function(e){return void 0!==r.getFieldValue(u,e)}))return;var c=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=dr(n),f="".concat(c,".").concat(l);if(oo.has(f))return;oo.add(f);var p=[];(0,Ce.c)(s)||(0,Ce.c)(u)||[s,u].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)});!1!==globalThis.__DEV__&&i.V1.warn(15,l,c,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",f,(0,o.Cl)({},s),(0,o.Cl)({},u))}(c,a,e,p.store)})}e.merge(r,a)}),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=n&&c.rootTypenamesById[n]||ee(r,a,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof f&&(l.__typename=f);var p=function(){var e=Gr(arguments,l,s.variables);if($(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,o.Cl)((0,o.Cl)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},d=new Set;this.flattenFields(a,r,s,f).forEach(function(e,n){var o,a=Z(n),s=r[a];if(d.add(n),void 0!==s){var h=c.getStoreFieldName({typename:f,fieldName:n.name.value,field:n,variables:e.variables}),v=eo(u,h),y=t.processFieldValue(s,n,n.selectionSet?Yr(e,!1,!1):e,v),m=void 0;n.selectionSet&&($(y)||vr(y))&&(m=p("__typename",y));var g=c.getMergeFunction(f,n.name.value,m);g?v.info={field:n,typename:f,merge:g}:ro(u,h),l=e.merge(l,((o={})[h]=y,o))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||it.added(n)||c.getReadFunction(f,n.name.value)||!1!==globalThis.__DEV__&&i.V1.error(13,Z(n),r)});try{var h=c.identify(r,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:l,readField:p}),v=h[0],y=h[1];n=n||v,y&&(l=s.merge(l,y))}catch(w){if(!n)throw w}if("string"==typeof n){var m=H(n),g=s.written[n]||(s.written[n]=[]);if(g.indexOf(a)>=0)return m;if(g.push(a),this.reader&&this.reader.isFresh(r,m,a,s))return m;var b=s.incomingById.get(n);return b?(b.storeObject=s.merge(b.storeObject,l),b.mergeTree=to(b.mergeTree,u),d.forEach(function(e){return b.fieldNodeSet.add(e)})):s.incomingById.set(n,{storeObject:l,mergeTree:no(u)?void 0:u,fieldNodeSet:d}),m}return l},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?(0,Ce.c)(e)?e.map(function(e,i){var a=o.processFieldValue(e,t,n,eo(r,i));return ro(r,i),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?gn(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=ee(t,e,n.fragmentMap));var o=new Map,a=this.cache.policies,s=new bt(!1);return function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if(he(s,n.variables)){var u=c.clientOnly,l=c.deferred;if(u&&l||!(0,Ce.E)(s.directives)||s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var r=X(e,n.variables);r&&!1===r.if||(l=!0)}}),te(s)){var f=o.get(s);f&&(u=u&&f.clientOnly,l=l&&f.deferred),o.set(s,Yr(n,u,l))}else{var p=q(s,n.lookupFragment);if(!p&&s.kind===N.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,s.name.value);p&&a.fragmentMatches(p,r,t,n.variables)&&e(p.selectionSet,Yr(n,u,l))}}}))}(e,n),o},e.prototype.applyMerges=function(e,t,n,r,a){var s,u=this;if(e.map.size&&!$(n)){var c,l=(0,Ce.c)(n)||!$(t)&&!vr(t)?void 0:t,f=n;l&&!a&&(a=[$(l)?l.__ref:l]);var p=function(e,t){return(0,Ce.c)(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};
2e.map.forEach(function(e,t){var n=p(l,t),o=p(f,t);if(void 0!==o){a&&a.push(t);var s=u.applyMerges(e,n,o,r,a);s!==o&&(c=c||new Map).set(t,s),a&&(0,i.V1)(a.pop()===t)}}),c&&(n=(0,Ce.c)(f)?f.slice(0):(0,o.Cl)({},f),c.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,a&&(s=r.store).getStorage.apply(s,a)):n},e}(),Zr=[];function eo(e,t){var n=e.map;return n.has(t)||n.set(t,Zr.pop()||{map:new Map}),n.get(t)}function to(e,t){if(e===t||!t||no(t))return e;if(!e||no(e))return t;var n=e.info&&t.info?(0,o.Cl)((0,o.Cl)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var a=new Set(t.map.keys());e.map.forEach(function(e,n){i.map.set(n,to(e,t.map.get(n))),a.delete(n)}),a.forEach(function(n){i.map.set(n,to(t.map.get(n),e.map.get(n)))})}return i}function no(e){return!e||!(e.info||e.map.size)}function ro(e,t){var n=e.map,r=n.get(t);r&&no(r)&&(Zr.push(r),n.delete(t))}var oo=new Set;var io=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new an(it),n.assumeImmutableResults=!0,n.makeVar=er,n.txCount=0,n.config=function(e){return(0,yn.o)(lr,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new $r({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,o.C6)(t,e),t.prototype.init=function(){var e=this.data=new wr.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,r=this.config.fragments;this.storeWriter=new Xr(this,this.storeReader=new Pr({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:fr(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=rn(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(Tr(n)){var r=e.optimistic,o=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,W({optimistic:r,id: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,o.Cl)((0,o.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(r){if(r instanceof ar)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(sr.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,o.Cl)((0,o.Cl)({},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;return this.watches.size||Xn(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&&Zn(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;W.reset(),Je.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},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($(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&i.V1.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(sr.call(e,"id"))return!1;e=(0,o.Cl)((0,o.Cl)({},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(),W.reset(),e&&e.discardWatches?(this.watches.forEac
2h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),Zn(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,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,u=e.onWatchUpdated,c=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}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,o.Cl)((0,o.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,o.Cl)((0,o.Cl)({},e),{onWatchUpdated:function(e,t){var n=u.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.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){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):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,ht.L)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(ir);!1!==globalThis.__DEV__&&(io.prototype.getMemoryInternals=U.cM);var ao=n(7243),so=n(6741),uo=function(e){var t=e.client,n=e.children,r=(0,so.l)(),a=ao.useContext(r),s=ao.useMemo(function(){return(0,o.Cl)((0,o.Cl)({},a),{client:t||a.client})},[a,t]);return(0,i.V1)(s.client,55),ao.createElement(r.Provider,{value:s},n)},co=n(6071),lo=n.n(co);const fo=lt({uri:"https://icd.wordsinspace.net/graphql"}),po=new or({fetch:lo(),link:fo,cache:new io});function ho({children:e,...t}){const{0:n,1:o}=(0,r.useState)(!1);return(0,r.useEffect)(()=>{o(!0)},[]),n?r.createElement("div",t,e):null}const vo=({element:e})=>r.createElement(ho,null,r.createElement(uo,{client:po},e))},1635:function(e,t,n){"use strict";n.d(t,{C6:function(){return o},Cl:function(){return i},Tt:function(){return a},YH:function(){return u},fX:function(){return c},sH:function(){return s}});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}function 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={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(u){s=[6,u],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}Object.create;
vendor: 2,669 bytes, line 2
2function 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;"function"==typeof SuppressedError&&SuppressedError},1720:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=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=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(6540),a=h(i),s=h(n(961)),u=h(n(5556)),c=h(n(9090)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(4081)),f=n(834),p=h(f),d=n(6566);function h(e){return e&&e.__esModule?e:{default:e}}function v(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}var y=t.portalClassName="ReactModalPortal",m=t.bodyOpenClassName="ReactModal__Body--open",g=f.canUseDOM&&void 0!==s.default.createPortal,b=function(e){return document.createElement(e)},w=function(){return g?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function _(e){return e()}var E=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,u=Array(i),l=0;l<i;l++)u[l]=arguments[l];return n=o=v(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.removePortal=function(){!g&&s.default.unmountComponentAtNode(o.node);var e=_(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=w()(o,a.default.createElement(c.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},v(o,n)}return function(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)}
2(t,e),o(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(g||(this.node=b("div")),this.node.className=this.props.portalClassName,_(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:_(e.parentSelector),nextParent:_(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&g?(!this.node&&g&&(this.node=b("div")),w()(a.default.createElement(c.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),t}(i.Component);E.propTypes={isOpen:u.default.bool.isRequired,style:u.default.shape({content:u.default.object,overlay:u.default.object}),portalClassName:u.default.string,bodyOpenClassName:u.default.string,htmlOpenClassName:u.default.string,className:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),overlayClassName:u.default.oneOfType([u.default.string,u.default.shape({base:u.default.string.isRequired,afterOpen:u.default.string.isRequired,beforeClose:u.default.string.isRequired})]),appElement:u.default.oneOfType([u.default.instanceOf(p.default),u.default.instanceOf(f.SafeHTMLCollection),u.default.instanceOf(f.SafeNodeList),u.default.arrayOf(u.default.instanceOf(p.default))]),onAfterOpen:u.default.func,onRequestClose:u.default.func,closeTimeoutMS:u.default.number,ariaHideApp:u.default.bool,shouldFocusAfterRender:u.default.bool,shouldCloseOnOverlayClick:u.default.bool,shouldReturnFocusAfterClose:u.default.bool,preventScroll:u.default.bool,parentSelector:u.default.func,aria:u.default.object,data:u.default.object,role:u.default.string,contentLabel:u.default.string,shouldCloseOnEsc:u.default.bool,overlayRef:u.default.func,contentRef:u.default.func,id:u.default.string,overlayElement:u.default.func,contentElement:u.default.func},E.defaultProps={isOpen:!1,portalClassName:y,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},E.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,d.polyfill)(E),t.default=E},1744:function(e,t,n){"use strict";function r(){}n.d(t,{l:function(){return u}});const o=r,i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}};class u{constructor(e=1/0,t=o){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new i(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);
2return 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.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},1769:function(e,t,n){var r=n(6449),o=n(8586),i=n(1802),a=n(3222);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},1802:function(e,t,n){var r=n(2224),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},1873:function(e,t,n){var r=n(9325).Symbol;e.exports=r},1882:function(e,t,n){var r=n(2552),o=n(3805);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1983:function(e,t){"use strict";t.__esModule=!0,t.defaultQueries=void 0;t.defaultQueries={xs:"(max-width: 320px)",sm:"(max-width: 720px)",md:"(max-width: 1024px)",l:"(max-width: 1536px)"}},2024:function(e,t,n){"use strict";n.d(t,{Jr:function(){return a},dd:function(){return o},hr:function(){return s},j$:function(){return i}});var r=n(6540);const o=r.createContext({}),i=r.createContext({}),a=r.createContext({}),s=r.createContext({})},2032:function(e,t,n){var r=n(1042);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},2224:function(e,t,n){var r=n(104);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},2311:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(5535),n(9300);t.onInitialClientRender=()=>{}},2411:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};var n="none",r="contents",o=/input|select|textarea|button|object|iframe/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(a){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},2456:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{U:function(){return r}})},2475: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},2549:function(e,t,n){var r;e.exports=(r=n(963))&&r.default||r},2552:function(e,t,n){var r=n(1873),o=n(659),i=n(9350),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},2619:function(e,t,n){"use strict";n.d(t,{En:function(){return a},JR:function(){return f},et:function(){return i},ol:function(){return s},uJ:function(){return u}});var r=n(6319),o="ReactNative"==(0,r.no)(function(){return navigator.product}),i="function"==typeof WeakMap&&!(o&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,r.no)(function(){return window.document.createElement}),l=(0,r.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0}
2)||!1,f=(c||o)&&!l},2651:function(e,t,n){var r=n(4218);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},2749:function(e,t,n){var r=n(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},2780:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.default=t.defaultValue=void 0;var o=r(n(6540)),i={isModal:!1,closeTo:null};t.defaultValue=i;var a=o.default.createContext(i);t.default=a},2949:function(e,t,n){var r=n(2651);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},3040:function(e,t,n){var r=n(1549),o=n(79),i=n(8223);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},3215:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(2475)),i=r(n(6221)),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(6540)),s=r(n(5556)),u=n(4351);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)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,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}},3222:function(e,t,n){var r=n(7556);e.exports=function(e){return null==e?"":r(e)}},3255:function(e,t,n){"use strict";n.d(t,{E:function(){return o},c:function(){return r}});var r=Array.isArray;function o(e){return Array.isArray(e)&&e.length>0}},3298:function(e,t,n){"use strict";var r;n.d(t,{b: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={}))},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap(e=>(null==e?void 0:e.forward)||[])}},3661:function(e,t,n){var r=n(3040),o=n(7670),i=n(289),a=n(4509),s=n(2949);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=s,e.exports=u},3662: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,{A:function(){return r}})},3693:function(e,t,n){var r=n(7736);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},3697:function(e,t,n){"use strict";n.r(t),n.d(t,{onClientEntry:function(){return u}});var r=n(4794),o=n(382),i=n.n(o);const a=e=>"/"===e[0]?e:`/${e}`,s=(e,t)=>n=>{if(window.___failedResources)return!0;
2if((e=>0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)(n))return!0;if((e=>e.defaultPrevented)(n))return!0;const o=(e=>{for(;e.parentNode;e=e.parentNode)if("a"===e.nodeName.toLowerCase())return e;return null})(n.target);if(null==o)return!0;if(!0===(s=o).hasAttribute("download")||!1===(e=>!1===e.hasAttribute("target")||null==e.target||["_self",""].includes(e.target)||"_parent"===e.target&&(!e.ownerDocument.defaultView.parent||e.ownerDocument.defaultView.parent===e.ownerDocument.defaultView)||"_top"===e.target&&(!e.ownerDocument.defaultView.top||e.ownerDocument.defaultView.top===e.ownerDocument.defaultView))(s))return!0;var s;const u=document.createElement("a");""!==o.href&&(u.href=o.href),"SVGAnimatedString"in window&&o.href instanceof SVGAnimatedString&&(u.href=o.href.animVal);const c=document.createElement("a");if(c.href=window.location.href,!1===((e,t)=>e.protocol===t.protocol&&e.host===t.host)(c,u))return!0;const l=new RegExp(`^${i()((0,r.withPrefix)("/"))}`);if(((e,t)=>!1===t.test(a(e.pathname))||-1!==e.pathname.search(/^.*\.((?!htm)[a-z0-9]{1,5})$/i))(u,l))return!0;if(((e,t)=>""!==t.hash&&(""===t.pathname||t.pathname===e.pathname))(c,u))return!0;if(t.excludePattern){if(new RegExp(t.excludePattern).test(u.pathname))return!0}n.preventDefault();const f=a(u.pathname).replace(l,"/");return e(`${f}${u.search}${u.hash}`),!1};const u=(e,t={})=>{!function(e,t,n){const r=s(n,t);e.addEventListener("click",r)}(window,t,e=>{(0,r.navigate)(e)})}},3702:function(e){e.exports=function(){this.__data__=[],this.size=0}},3721: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(3215),o=n(6540),i=n(6462)},3738:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},3805:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},3862:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},4081:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(s).forEach(function(e){return e.removeAttribute("aria-hidden")}));s=null},t.log=function(){0},t.assertNodeList=u,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);u(n,t),t=n}return s=t||s},t.validateElement=c,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=c(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(a){n=!0,r=a}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=c(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(a){n=!0,r=a}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,o=n(9771),i=(r=o)&&r.__esModule?r:{default:r},a=n(834);var s=null;function u(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function c(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},4218:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4351: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},4394:function(e,t,n){var r=n(2552),o=n(346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},4506:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||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.")}()}n.d(t,{A:function(){return o}})},4509:function(e,t,n){var r=n(2651);e.exports=function(e){return r(this,e).has(e)}},4598:function(e,t,n){"use strict";var r=n(4794)},4634:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}
2e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4656: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.7.6 - 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(f,1e4),e.addEventListener("pt0",w),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):f())))}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.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){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);')},4739:function(e,t,n){var r=n(6025);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},4794:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.N_},PageRenderer:function(){return i()},Script:function(){return O.Script},ScriptStrategy:function(){return O.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return u.de},StaticQueryContext:function(){return u.G},collectedScriptsByPage:function(){return O.collectedScriptsByPage},graphql:function(){return C},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return S},scriptCache:function(){return O.scriptCache},scriptCallbackCache:function(){return O.scriptCallbackCache},useScrollRestoration:function(){return a.RV},useStaticQuery:function(){return u.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var r=n(6814),o=n(2549),i=n.n(o),a=n(7035),s=n(7078),u=n(7231),c=n(7387);function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=n(3662);function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(p=function(){return!!e})()}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(p())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,f.A)(o,n.prototype),o}(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,f.A)(n,e)},d(e)}var h=n(6540),v=n(700),y=n(2024);const m=({sliceId:e,children:t})=>{const n=[h.createElement("slice-start",{id:`${e}-1`}),h.createElement("slice-end",{id:`${e}-1`})];return t&&(n.push(t),n.push(h.createElement("slice-start",{id:`${e}-2`}),h.createElement("slice-end",{id:`${e}-2`}))),n},g=({sliceName:e,allowEmpty:t,children:n,...r})=>{const o=(0,h.useContext)(y.Jr),i=(0,h.useContext)(y.hr),a=o[e];if(!a){if(t)return null;throw new Error(`Slice "${a}" for "${e}" slot not found`)}const s=((e,t)=>Object.keys(t).length?`${e}-${(0,v.U)(t)}`:e)(a,r);let u=i[s];return u?n&&(u.hasChildren=!0):i[s]=u={props:r,sliceName:a,hasChildren:!!n},h.createElement(m,{sliceId:s},n)},b=({sliceName:e,allowEmpty:t,children:n,...r})=>{const o=(0,h.useContext)(y.Jr),i=(0,h.useContext)(y.dd),a=o[e],s=i.get(a);if(!s){if(t)return null;throw new Error(`Slice "${a}" for "${e}" slot not found`)}return h.createElement(s.component,Object.assign({sliceContext:s.sliceContext,data:s.data},r),n)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,h.useContext)(y.j$),r=E(e);if(Object.keys(r).length)throw new _("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return h.createElement(g,t);if("browser"===n.renderEnvironment)return h.createElement(b,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return h.createElement(b,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}
2"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let _=function(e){function t(n,r,o,i){var a;const s=Object.entries(o).map(([e,t])=>`not serializable "${t}" type passed to "${e}" prop`).join(", "),u="SlicePropsError";let c="",l="";if(n){const e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),c="\n"+e.join("\n"),l=`Slice "${r}" was passed props that are not serializable (${s}).`}else{l=`${u}: Slice "${r}" was passed props that are not serializable (${s}).`;c=`${l}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(a=e.call(this,l)||this).name=u,c?a.stack=c:Error.captureStackTrace(a,t),i&&(a.forcedLocation={...i,functionName:"Slice"}),a}return(0,c.A)(t,e),t}(d(Error));const E=(e,t={},n=[],r=null)=>{for(const[o,i]of Object.entries(e)){if(null==i||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof i?t[e]=typeof i:"object"==typeof i&&n.indexOf(i)<=0&&(n.push(i),E(i,t,n,e))}return t};var O=n(5535);const S=r.Ay.enqueue;function C(){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.")}},4838:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var i=document.body;for(var a in r)o(i,r[a]);n={},r={}},t.log=function(){0};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)});var o,i},t.remove=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)});var o,i}},4840:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},4932:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},4994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5051:function(e,t,n){"use strict";n.d(t,{D_:function(){return a},cM:function(){return u},ep:function(){return s},tQ:function(){return c}});var r=n(1635),o=n(1212),i={};function a(e,t){i[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,n,a,s;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,o.v[t]||n]})),sizes:(0,r.Cl)({print:null===(e=i.print)||void 0===e?void 0:e.call(i),parser:null===(t=i.parser)||void 0===t?void 0:t.call(i),canonicalStringify:null===(n=i.canonicalStringify)||void 0===n?void 0:n.call(i),links:v(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:d(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,r.Cl)((0,r.Cl)({},l.apply(this)),{addTypenameDocumentTransform:d(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function p(e){return null!=e}function d(e){return h(e).map(function(e){return{cache:e}})}function h(e){return e?(0,r.fX)((0,r.fX)([f(null==e?void 0:e.performWork)],h(null==e?void 0:e.left),
2!0),h(null==e?void 0:e.right),!0).filter(p):[]}function v(e){var t;return e?(0,r.fX)((0,r.fX)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],v(null==e?void 0:e.left),!0),v(null==e?void 0:e.right),!0).filter(p):[]}},5083:function(e,t,n){var r=n(1882),o=n(7296),i=n(3805),a=n(7473),s=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,l=u.toString,f=c.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:s).test(a(e))}},5288:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},5381:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});const{toString:r,hasOwnProperty:o}=Object.prototype,i=Function.prototype.toString,a=new Map;function s(e,t){try{return u(e,t)}finally{a.clear()}}function u(e,t){if(e===t)return!0;const n=r.call(e);if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(p(e,t))return!0;const n=c(e),r=c(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;++e)if(!o.call(t,n[e]))return!1;for(let o=0;o<i;++o){const r=n[o];if(!u(e[r],t[r]))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(p(e,t))return!0;const r=e.entries(),o="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,i]=e.value;if(!t.has(n))return!1;if(o&&!u(i,t.get(n)))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]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=i.call(e);return n===i.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,f)}}return!1}function c(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}t.A=s;const f="{ [native code] }";function p(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},5481:function(e,t,n){var r=n(9325)["__core-js_shared__"];e.exports=r},5535:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return c},collectedScriptsByPage:function(){return s},scriptCache:function(){return p},scriptCallbackCache:function(){return d}});var r=n(6540),o=n(6462);function i(){return i=Object.assign?Object.assign.bind():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},i.apply(this,arguments)}const a=new Map,s={get:e=>a.get(e)||[],set(e,t){const n=a.get(e)||[];n.push(t),a.set(e,n)},delete(e){a.delete(e)}},u="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 c,l;(l=c||(c={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),p=new Set,d=new Map;function h(e){return r.createElement(o.Location,null,()=>r.createElement(v,e))}function v(e){const{src:t,strategy:n=c.postHydrate}=e||{},{pathname:a}=(0,o.useLocation)();if((0,r.useEffect)(()=>{let t;switch(n){case c.postHydrate:t=y(e);break;case c.idle:u(()=>{t=y(e)});break;case c.offMainThread:{const t=g(e);s.set(a,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()}},[]),n===c.offMainThread){const o=m(e),u=g(e);return"undefined"==typeof window&&s.set(a,u),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},u,{dangerouslySetInnerHTML:{__html:m(e)}}):i({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},u))}return null}function y(e){const{id:t,src:n,strategy:r=c.postHydrate,onLoad:o,onError:a}=e||{},s=t||n,u=["load","error"],l={load:o,error:a};if(s){for(const e of u)if(null!=l&&l[e]){var f;const t=d.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,v;n.push(null==l?void 0:l[e]),null!=t&&null!=(f=t[e])&&f.event?null==l||null==(h=l[e])||h.call(l,null==t||null==(v=t[e])?void 0:v.event):d.set(s,i({},t,{[e]:{callbacks:n}}))}if(p.has(s))return null}const y=m(e),b=g(e),_=document.createElement("script");t&&(_.id=t),_.dataset.strategy=r;for(const[i,c]of Object.entries(b))_.setAttribute(i,c);y&&(_.textContent=y),n&&(_.src=n);const E={};if(s){for(const e of u){const t=t=>w(t,s,e);_.addEventListener(e,t),E[`${e}Callback`]=t}p.add(s)}return document.body.appendChild(_),{script:_,loadCallback:E.loadCallback,errorCallback:E.errorCallback}}function m(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function g(e){const t={};for(const[n,r]of Object.entries(e))f.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=d.get(t)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(e)}d.set(t,{[n]:{event:e}})}},5636: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},5749:function(e,t,n){var r=n(1042);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},5995:function(e,t,n){"use strict";n.d(t,{OC:function(){return o},yo:function(){return a}});var r=n(9646);function o(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let s=0;s<e.length;++s){var a;const t=e[s],u=i(t);u!==t.length&&(r=null!==(a=r)&&void 0!==a?a:s,o=s,0!==s&&u<n&&(n=u))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!==(t=r)&&void 0!==t?t:0,o+1)}function i(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}function a(e,t){const n=e.replace(/"""/g,'\\"""'),o=n.split(/\r\n|[\n\r]/g),i=1===o.length,a=o.length>1&&o.slice(1).every(e=>0===e.length||(0,r.i0)(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);let p="";const d=i&&(0,r.i0)(e.charCodeAt(0));return(f&&!d||a)&&(p+="\n"),p+=n,(f||l)&&(p+="\n"),'"""'+p+'"""'}},6017:function(e,t,n){"use strict";n.d(t,{A:function(){return C}});var r=n(6540),o=n(5556),i=n.n(o),a=n(20),s=n(8990),u=n(4506),c=n(4794),l=n(6462),f=n(9732);function p({children:e,callback:t}){return(0,r.useEffect)(()=>{t()}),e}const d=["link","meta","style","title","base","noscript","script","html","body"];function h(e){0}function v(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function y(e,t={html:{},body:{}}){const n=new Map,r=[];for(const c of e.childNodes){var o,i;const e=c.nodeName.toLowerCase(),l=null===(o=c.attributes)||void 0===o||null===(i=o.id)||void 0===i?void 0:i.value;if(b(c)){if(g(e))if("html"===e||"body"===e)for(const n of c.attributes){const r="style"===n.name;var a;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(a=t[e])&&void 0!==a&&a.style?t[e].style:""}${n.value} `}
2else{let e=c.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=m(e)),l)if(n.has(l)){var s;const t=n.get(l);null===(s=r[t].parentNode)||void 0===s||s.removeChild(r[t]),r[t]=e}else r.push(e),n.set(l,r.length-1);else r.push(e)}else h();c.childNodes.length&&r.push.apply(r,(0,u.A)(y(c,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function m(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function g(e){return d.includes(e)}function b(e){return 1===e.nodeType}const w=document.createElement("div"),_={html:[],body:[]},E=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=y(w);_.html=Object.keys(n.html),_.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach(([e,t])=>{r.setAttribute(e,t)});const o=document.querySelector("body");o&&Object.entries(n).forEach(([e,t])=>{o.setAttribute(e,t)})}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,u.A)(t));const i=[];!function({oldNodes:e,newNodes:t,onStale:n,onNew:r}){for(const o of e){const e=t.findIndex(e=>v(e,o));-1===e?n(o):t.splice(e,1)}for(const o of t)r(o)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),(e=document.head).append.apply(e,i)};function O({pageComponent:e,staticQueryResults:t,pageComponentProps:n}){(0,r.useEffect)(()=>{if(null!=e&&e.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(e.Head);const{render:i}=(0,f.n)(),s=r.createElement(e.Head,{location:{pathname:(o=n).location.pathname},params:o.params,data:o.data||{},serverData:o.serverData,pageContext:o.pageContext}),u=(0,a.N)("wrapRootElement",{element:s},s,({result:e})=>({element:e})).pop();i(r.createElement(p,{callback:E},r.createElement(c.StaticQueryContext.Provider,{value:t},r.createElement(l.LocationProvider,null,u))),w)}var o;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach(t=>{e&&e.removeAttribute(t)})}if(n){const e=document.querySelector("body");n.forEach(t=>{e&&e.removeAttribute(t)})}}(_)}})}function S(e){const t={...e,params:{...(0,s.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});O({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.N)("wrapPageElement",{element:n,props:t},n,({result:e})=>({element:e,props:t})).pop()}S.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var C=S},6025:function(e,t,n){var r=n(5288);e.exports=function(e,t){for(var n=e.length;n--;
2)if(r(e[n][0],t))return n;return-1}},6071:function(e,t,n){"use strict";e.exports=n.g.fetch},6110:function(e,t,n){var r=n(5083),o=n(392);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},6194:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(8170);function o(e,t){void 0===t&&(t=0);var n=(0,r.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},6221:function(e,t,n){var r=n(5636);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},6286:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{U:function(){return r}})},6319:function(e,t,n){"use strict";n.d(t,{Sf:function(){return h},V1:function(){return m},no:function(){return d},vA:function(){return g}});var r=n(1635),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.C6)(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)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var p=n(435);function d(e){try{return e()}catch(i){}}var h=d(function(){return globalThis})||d(function(){return window})||d(function(){return self})||d(function(){return global})||d(function(){return d.constructor("return this")()}),v=n(6194);function y(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var o=t;(t=_(o))||(t=E(o,n),n=[])}e.apply(void 0,[t].concat(n))}}var m=Object.assign(function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||u(e,_(t,n)||E(t,n))},{debug:y(u.debug),log:y(u.log),warn:y(u.warn),error:y(u.error)});function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new s(_(e,t)||E(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+p.r);function w(e){if("string"==typeof e)return e;try{return(0,v.p)(e,2).slice(0,1e3)}catch(i){return"<non-serializable>"}}function _(e,t){if(void 0===t&&(t=[]),e)return h[b]&&h[b](e,t.map(w))}function E(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:p.r,message:e,args:t.map(w)})))}globalThis.__DEV__},6395:function(e,t){"use strict";t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},6449:function(e){var t=Array.isArray;e.exports=t},6462:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return y},Link:function(){return $},Location:function(){return X},LocationContext:function(){return m},LocationProvider:function(){return Y},Match:function(){return ee},Redirect:function(){return S},Router:function(){return se},ServerLocation:function(){return Z},createHistory:function(){return l},createMemorySource:function(){return f},globalHistory:function(){return d},insertParams:function(){return x},isRedirect:function(){return _},match:function(){return T},navigate:function(){return h},pick:function(){return k},redirectTo:function(){return E},resolve:function(){return R},shallowCompare:function(){return L},startsWith:function(){return C},useBaseContext:function(){return g},useLocation:function(){return ce},useLocationContext:function(){return b},useMatch:function(){return pe},useNavigate:function(){return le},useParams:function(){return fe},validateRedirect:function(){return P}});var o=n(6540),i=n(5556),a=n(311);function s(){return s=Object.assign?Object.assign.bind():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,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}const c=e=>{const{search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:u}=e.location;let{pathname:c}=e.location;return!c&&r&&p&&(c=new URL(r).pathname),{pathname:encodeURI(decodeURI(c)),search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>
2{let n=[],r=c(e),o=!1,i=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){n.push(t);const o=()=>{r=c(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter(e=>e!==t)}},navigate(t,{state:a,replace:u=!1}={}){if("number"==typeof t)e.history.go(t);else{a=s({},a,{key:Date.now()+""});try{o||u?e.history.replaceState(a,null,t):e.history.pushState(a,null,t)}catch(n){e.location[u?"replace":"assign"](t)}}r=c(e),o=!0;const l=new Promise(e=>i=e);return n.forEach(e=>e({location:r,action:"PUSH"})),l}}},f=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],i=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState(e,t,n){const[a,s=""]=n.split("?");r++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(e)},replaceState(e,t,n){const[a,s=""]=n.split("?");o[r]={pathname:a,search:s},i[r]=e},go(e){const t=r+e;t<0||t>i.length-1||(r=t)}}}},p=!("undefined"==typeof window||!window.document||!window.document.createElement),d=l(p?window:f()),{navigate:h}=d;function v(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const y=v("Base",{baseuri:"/",basepath:"/"}),m=v("Location"),g=()=>o.useContext(y),b=()=>o.useContext(m);function w(e){this.uri=e}const _=e=>e instanceof w,E=e=>{throw new w(e)};function O(e){const{to:t,replace:n=!0,state:r,noThrow:i,baseuri:a}=e;o.useEffect(()=>{Promise.resolve().then(()=>{const o=R(t,a);h(x(o,e),{replace:n,state:r})})},[]);const s=R(t,a);return i||E(x(s,e)),null}const S=e=>{const t=b(),{baseuri:n}=g();return o.createElement(O,s({},t,{baseuri:n},e))};S.propTypes={from:i.string,to:i.string.isRequired};const C=(e,t)=>e.substr(0,t.length)===t,k=(e,t)=>{let n,r;const[o]=t.split("?"),i=A(o),s=""===i[0],u=M(e);for(let c=0,l=u.length;c<l;c++){let e=!1;const o=u[c].route;if(o.default){r={route:o,params:{},uri:t};continue}const l=A(o.path),f={},p=Math.max(i.length,l.length);let d=0;for(;d<p;d++){const t=l[d],n=i[d];if(j(t)){f[t.slice(1)||"*"]=i.slice(d).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=D.exec(t);if(r&&!s){const e=-1===q.indexOf(r[1]);a(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);f[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:f,uri:"/"+i.slice(0,d).join("/")};break}}return n||r||null},T=(e,t)=>k([{path:e}],t),R=(e,t)=>{if(C(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),i=A(n),a=A(o);if(""===i[0])return F(o,r);if(!C(i[0],".")){const e=a.concat(i).join("/");return F(("/"===o?"":"/")+e,r)}const s=a.concat(i),u=[];for(let c=0,l=s.length;c<l;c++){const e=s[c];".."===e?u.pop():"."!==e&&u.push(e)}return F("/"+u.join("/"),r)},x=(e,t)=>{const[n,r=""]=e.split("?");let o="/"+A(n).map(e=>{const n=D.exec(e);return n?t[n[1]]:e}).join("/");const{location:{search:i=""}={}}=t,a=i.split("?")[1]||"";return o=F(o,r,a),o},P=(e,t)=>{const n=e=>N(e);return A(e).filter(n).sort().join("/")===A(t).filter(n).sort().join("/")},D=/^:(.+)/,N=e=>D.test(e),j=e=>e&&"*"===e[0],I=(e,t)=>({route:e,score:e.default?0:A(e.path).reduce((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:N(t)?e+=2:j(t)?e-=5:e+=3,e),0),index:t}),M=e=>e.map(I).sort((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index),A=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),F=(e,...t)=>e+((t=t.filter(e=>e&&e.length>0))&&t.length>0?`?${t.join("&")}`:""),q=["uri","path"],L=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>t.hasOwnProperty(n)&&e[n]===t[n])},V=e=>e.replace(/(^\/+|\/+$)/g,""),Q=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,Q(e));if(a(t.props.path||t.props.default||t.type===S,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),a(!!(t.type!==S||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),a(!(t.type===S&&!P(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===S?t.props.from:t.props.path,r="/"===n?e:`${V(e)}/${V(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${V(r)}/*`:r}},U=["innerRef"],W=["to","state","replace","getProps"],z=["key"];let{forwardRef:B}=r||(r=n.t(o,2));void 0===B&&(B=e=>e);const H=()=>{},$=B((e,t)=>{let{innerRef:n}=e,r=u(e,U);const{baseuri:i}=g(),{location:a}=b(),{to:c,state:l,replace:f,getProps:p=H}=r,d=u(r,W),v=R(c,i),y=encodeURI(v),m=a.pathname===y,w=C(a.pathname,y);return o.createElement("a",s({ref:t||n,"aria-current":m?"page":void 0},d,p({isCurrent:m,isPartiallyCurrent:w,href:v,location:a}),{href:v,onClick:e=>{if(d.onClick&&d.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&m){const e=u(s({},a.state),z);t=L(s({},l),e)}h(v,{state:l,replace:t})}}}))});$.displayName="Link",$.propTypes={to:i.string.isRequired};class J extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const G=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function K({children:e}){const[t,n]=o.useState(),r=o.useRef(),i=o.useMemo(()=>({componentDidCatch:r,error:t,setError:n}),[t]);return o.createElement(G.Provider,{value:i},o.createElement(J,{error:t,onError:(e,t)=>
2{n(e),null==r.current||r.current(e,t)}},e))}K.displayName="ReactUseErrorBoundaryContext";const Y=function(e){var t,n;function r(t){return o.createElement(K,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}(({history:e=d,children:t})=>{const{location:n}=e,[r,i]=o.useState({location:n}),[a]=function(){const e=o.useContext(G);e.componentDidCatch.current=void 0;const t=o.useCallback(()=>{e.setError(void 0)},[]);return[e.error,t]}();if(o.useEffect(()=>{e._onTransitionComplete()},[r.location]),o.useEffect(()=>{let t=!1;const n=e.listen(({location:e})=>{Promise.resolve().then(()=>{requestAnimationFrame(()=>{t||i({location:e})})})});return()=>{t=!0,n()}},[]),a){if(!_(a))throw a;h(a.uri,{replace:!0})}return o.createElement(m.Provider,{value:r},"function"==typeof t?t(r):t||null)}),X=({children:e})=>{const t=b();return t?e(t):o.createElement(Y,null,e)},Z=({url:e,children:t})=>{const n=e.indexOf("?");let r,i="";return n>-1?(r=e.substring(0,n),i=e.substring(n)):r=e,o.createElement(m.Provider,{value:{location:{pathname:r,search:i,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=g(),{location:r}=b(),o=R(e,n),i=T(o,r.pathname);return t({location:r,match:i?s({},i.params,{uri:i.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,i=u(e,te);return o.createElement(ie,s({},i,{component:r,uri:t,location:n}))};let oe=0;const ie=e=>{let{children:t,style:n,component:r="div",uri:i,location:a}=e,c=u(e,ne);const l=o.useRef(),f=o.useRef(!0),p=o.useRef(i),d=o.useRef(a.pathname),h=o.useRef(!1);o.useEffect(()=>(oe++,v(),()=>{oe--,0===oe&&(f.current=!0)}),[]),o.useEffect(()=>{let e=!1,t=!1;i!==p.current&&(p.current=i,e=!0),a.pathname!==d.current&&(d.current=a.pathname,t=!0),h.current=e||t&&a.pathname===i,h.current&&v()},[i,a]);const v=o.useCallback(()=>{var e;f.current?f.current=!1:(e=l.current,h.current&&e&&e.focus())},[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:l},c),t)},ae=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=g(),n=b();return o.createElement(ue,s({},t,n,e))};function ue(e){const{location:t,primary:n=!0,children:r,basepath:i,component:a="div"}=e,c=u(e,ae),l=o.Children.toArray(r).reduce((e,t)=>{const n=Q(i)(t);return e.concat(n)},[]),{pathname:f}=t,p=k(l,f);if(p){const{params:e,uri:r,route:u,route:{value:l}}=p,f=u.default?i:u.path.replace(/\*$/,""),d=s({},e,{uri:r,location:t}),h=o.cloneElement(l,d,l.props.children?o.createElement(se,{location:t,primary:n},l.props.children):void 0),v=n?re:a,m=n?s({uri:r,location:t,component:a},c):c;return o.createElement(y.Provider,{value:{baseuri:r,basepath:f}},o.createElement(v,m,h))}return null}const ce=()=>{const e=b();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},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},fe=()=>{const e=g();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");const t=ce(),n=T(e.basepath,t.pathname);return n?n.params:null},pe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=g();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");const n=ce(),r=R(e,t.baseuri),o=T(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},6491:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});const r=new Map,o=new Map;function i(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach(e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)})},6498:function(e,t,n){"use strict";
2var r=n(7387),o=n(20),i=n(6540),a=n(6462),s=n(7035),u=n(7231),c=n(2024),l=n(6814),f=n(6491),p=n(9369);const d={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"};var h=n(7078);function v(e){const t=(0,f.X)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let y="";window.addEventListener("unhandledrejection",e=>{/loading chunk \d* failed./i.test(e.reason)&&y&&(window.location.pathname=y)});const m=(e,t)=>{v(e.pathname)||(y=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},g=(e,t)=>{v(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=(e,t={})=>{if("number"==typeof e)return void a.globalHistory.navigate(e);const{pathname:n,search:r,hash:i}=(0,h.Rr)(e),s=(0,f.X)(n);if(s&&(e=s.toPath+r+i),window.___swUpdated)return void(window.location=n+r+i);const u=setTimeout(()=>{p.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})},1e3);l.Ay.loadPage(n+r).then(o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(u);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+i),(0,a.navigate)(e,t),clearTimeout(u)})};function w(e,{location:t}){const{pathname:n,hash:r}=t,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:n,routerProps:{location:t},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===n)return r?decodeURI(r.slice(1)):[0,0]}return!0}let _=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=i.createRef(),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame(()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})},n.render=function(){return i.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},t}(i.Component);const E=(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)};let O=function(e){function t(t){var n;return n=e.call(this,t)||this,m(t.location,null),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){g(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!E(this.props.location,e.location)&&(m(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){E(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);var S=n(6017),C=n(6877);function k(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 T=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||l.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(t,e),t.getDerivedStateFromProps=function({location:e},t){if(t.location.href!==e.href){return{pageResources:l.Ay.loadPageSync(e.pathname+e.search,{withErrorDetails:!0}),location:{...e}}}return{location:{...e}}};var n=t.prototype;return n.loadResources=function(e){l.Ay.loadPage(e).then(t=>{t&&t.status!==l.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)})},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||
2(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 k(e.props,t)||k(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),R=n(8797),x=n(9732);const P=new l.N5(C,[],window.pageData);(0,l.iC)(P),P.setApiRunner(o.N);const{render:D,hydrate:N}=(0,x.n)();window.asyncRequires=C,window.___emitter=p.A,window.___loader=l.Zf,a.globalHistory.listen(e=>{e.location.action=e.action}),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const j="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then(()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(626);const e=e=>i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(S.A,e)),t=i.createContext({}),f={renderEnvironment:"browser"};let p=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.A)(n,e),n.prototype.render=function(){const{children:e}=this.props;return i.createElement(a.Location,null,({location:n})=>i.createElement(T,{location:n},({pageResources:n,location:r})=>{const o=(0,l.LE)(),a=(0,l.Rh)();return i.createElement(u.G.Provider,{value:o},i.createElement(c.j$.Provider,{value:f},i.createElement(c.dd.Provider,{value:a},i.createElement(c.Jr.Provider,{value:n.page.slicesMap},i.createElement(t.Provider,{value:{pageResources:n,location:r}},e)))))}))},n}(i.Component),d=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return i.createElement(t.Consumer,null,({pageResources:t,location:n})=>i.createElement(O,{location:n},i.createElement(s.z_,{location:n,shouldUpdateScroll:w},i.createElement(a.Router,{basepath:"",location:n,id:"gatsby-focus-wrapper"},i.createElement(e,Object.assign({path:"/404.html"===t.page.path||"/500.html"===t.page.path?(0,R.A)(n.pathname,""):encodeURI((t.page.matchPath||t.page.path).split("?")[0])},this.props,{location:n,pageResources:t},t.json))))))},o}(i.Component);const{pagePath:h,location:v}=window;h&&""+h!==v.pathname+(h.includes("?")?v.search:"")&&!(P.findMatchPath((0,R.A)(v.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+h+(h.includes("?")?"":v.search)+v.hash,{replace:!0});const y=()=>{try{return sessionStorage}catch{return null}};l.Zf.loadPage(v.pathname+v.search).then(e=>{var t;const n=y();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)){if(!("1"===n.getItem(j)))return n.setItem(j,"1"),void window.location.reload(!0)}if(n&&n.removeItem(j),!e||e.status===l.Wi.Error){const t=`page resources for ${v.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,o.N)("wrapRootElement",{element:i.createElement(d,null)},i.createElement(d,null),({result:e})=>({element:e})).pop(),a=function(){const e=i.useRef(!1);return i.useEffect(()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))},[]),i.createElement(p,null,r)},s=document.getElementById("gatsby-focus-wrapper");let u=D;s&&s.children.length&&(u=N);const c=(0,o.N)("replaceHydrateFunction",void 0,u)[0];function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;c(i.createElement(a,null),e)}const h=document;if("complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)setTimeout(function(){f()},0);else{const e=function(){h.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};h.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}})})},6566:function(e,t){t.polyfill=e=>e},6721:function(e,t,n){var r=n(1042),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},6741:function(e,t,n){"use strict";var r;n.d(t,{l:function(){return u}});var o=n(7243),i=n(2619),a=n(6319),s=i.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.V1)("createContext"in(r||(r=n.t(o,2))),54);var e=o.createContext[s];return e||(Object.defineProperty(o.createContext,s,{value:e=o.createContext({}
2),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},6814:function(e,t,n){"use strict";n.d(t,{Wi:function(){return f},N5:function(){return _},Ay:function(){return S},Rh:function(){return k},LE:function(){return C},Zf:function(){return O},iC:function(){return E}});var r=n(7387),o=n(4506),i=n(8163);const a=function(e){if("undefined"==typeof document)return!1;const 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((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e=>{o.setAttribute(e,t[e])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)})},s={};var u=function(e,t){return new Promise(n=>{s[e]?n():a(e,t).then(()=>{n(),s[e]=!0}).catch(()=>{})})},c=n(9369),l=n(8990);const f={Error:"error",Success:"success"},p=e=>{const[t,n]=e.split("?");var r;return`/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},d=e=>e.startsWith("//");function h(e,t="GET"){return new Promise(n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)})}const v=/bot|crawler|spider|crawling/i,y=(e,t=null,n)=>{var r;const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function m(e){return new Promise(t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout(()=>{m(e).then(t)},200)}})}let g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then(t=>(this.inFlightNetworkRequests.delete(e),t)).catch(t=>{throw this.inFlightNetworkRequests.delete(e),t})},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some(e=>e)},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=p(t);return this.memoizedGet(r).then(r=>{const{status:o,responseText:i}=r;if(200===o)try{const n=JSON.parse(i);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:f.Success,payload:n})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:f.Error})})},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=p(t).replace(".json","-rsc.json");return this.memoizedGet(r).then(r=>{const{status:o,responseText:i}=r;if(200===o)try{return Object.assign(e,{status:f.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/
2500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:f.Error})})},t.loadPageDataJson=function(e){const t=(0,l.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))},t.loadPartialHydrationJson=function(e){const t=(0,l.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then(e=>(this.partialHydrationDb.set(t,e),e))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h(`/slice-data/${e}.json`,"GET").then(t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}})},t.findMatchPath=function(e){return(0,l.Yl)(e)},t.loadPage=function(e){const t=(0,l.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then(e=>{const[n,r,a]=e;if(r.status===f.Error||(null==a?void 0:a.status)===f.Error)return{status:f.Error};let s=r.payload;const{componentChunkName:u,staticQueryHashes:l=[],slicesMap:p={}}=s,d={},h=Array.from(new Set(Object.values(p))),v=e=>
2{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then(t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n});return this.sliceInflightDb.set(e.name,t),t.then(t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)}),t};return Promise.all(h.map(e=>this.loadSliceDataJson(e))).then(e=>{const p=[],h=(0,o.A)(l);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){p.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const g=[Promise.all(p.map(v)),this.loadComponent(u,"head")];g.push(this.loadComponent(u));const b=Promise.all(g).then(e=>{const[t,o,u]=e;d.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(d.status=f.Error,d.error=n);let c;if((!u||u instanceof Error)&&(d.status=f.Error,d.error=u),d.status!==f.Error){if(d.status=f.Success,!0!==r.notFound&&!0!==(null==a?void 0:a.notFound)||(d.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){c=y(s,null,o),c.partialHydration=a.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(a.payload))},pull(e){e.close()},cancel(){}});return m((0,i.createFromReadableStream)(e)).then(e=>(c.partialHydration=e,c))}c=y(s,u,o)}return c}),w=Promise.all(h.map(e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then(t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}}).catch(()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)})})).then(e=>{const t={};return e.forEach(({staticQueryHash:e,jsonPayload:n})=>{t[e]=n,this.staticQueryDb[e]=n}),t});return Promise.all([b,w]).then(([e,n])=>{let r;return e&&(r={...e,staticQueryResults:n},d.payload=r,c.A.emit("onPostLoadPageResources",{page:r,pageResources:r})),this.pageDb.set(t,d),d.error?{error:d.error,status:d.status}:r}).catch(e=>({error:e,status:f.Error}))})});return r.then(()=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t={}){const n=(0,l.Hh)(e);if(this.pageDb.has(n)){const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!=t&&t.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{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||!v.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise((e,n)=>{t.resolve=e,t.reject=n}),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",()=>{const t=this.prefetchQueued.findIndex(([t])=>t===e);-1!==t&&this.prefetchQueued.splice(t,1)}),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout(()=>{this._processNextPrefetchBatch()},3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))(()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map(([e,t])=>(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled?t.resolve(!1):this.doPrefetch((0,l.Hh)(e)).then(()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e)),t.resolve(!0)}))));this.prefetchQueued.length?t.then(()=>{setTimeout(()=>{this._processNextPrefetchBatch()},3e3)}):this.isPrefetchQueueRunning=!1})},t.doPrefetch=function(e){const t=p(e);return u(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=y(n.payload);return[].concat((0,o.A)(b(e.page.componentChunkName)),[p(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound}
2,t.loadAppData=function(e=0){return this.memoizedGet("/page-data/app-data.json").then(t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o})},e}();const b=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);let w,_=function(e){function t(t,n,r){var o;return o=e.call(this,(e,n="components")=>{if(!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch(e=>e)},n)||this,r&&o.pageDataDb.set((0,l.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then(e=>{if(e.status!==f.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(u)).then(()=>t)})},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then(e=>e.notFound?d(t)?e:h(t,"HEAD").then(t=>200===t.status?{status:f.Error}:e):e)},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then(e=>e.notFound?d(t)?e:h(t,"HEAD").then(t=>200===t.status?{status:f.Error}:e):e)},t}(g);const E=e=>{w=e},O={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:(e,t={})=>w.loadPageSync(e,t),prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var S=O;function C(){return w?w.staticQueryDb:{}}function k(){return w?w.slicesDb:{}}},6877:function(e,t,n){t.components={"component---cache-caches-gatsby-plugin-offline-app-shell-js":()=>n.e(681).then(n.bind(n,7541)),"component---src-pages-404-js":()=>Promise.all([n.e(869),n.e(125)]).then(n.bind(n,3331)),"component---src-pages-colophon-js":()=>Promise.all([n.e(869),n.e(385)]).then(n.bind(n,6561)),"component---src-pages-index-js":()=>Promise.all([n.e(869),n.e(757),n.e(83),n.e(293)]).then(n.bind(n,8598)),"component---src-templates-category-js":()=>Promise.all([n.e(869),n.e(757),n.e(83),n.e(608),n.e(38)]).then(n.bind(n,4110)),"component---src-templates-page-js":()=>Promise.all([n.e(869),n.e(757),n.e(720),n.e(89)]).then(n.bind(n,3397)),"component---src-templates-post-js":()=>Promise.all([n.e(869),n.e(757),n.e(720),n.e(480)]).then(n.bind(n,7560)),"component---src-templates-work-js":()=>Promise.all([n.e(869),n.e(757),n.e(83),n.e(608),n.e(47)]).then(n.bind(n,7235))}},7035:function(e,t,n){"use strict";t.RV=t.z_=void 0;var r=n(3215);t.z_=r.ScrollHandler;var o=n(3721);t.RV=o.useScrollRestoration},7067:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,s=n[0],u=n[n.length-1],c=a();if(e===c){if(!o)return;r=u}u!==c||o||(r=s);s===c&&o&&(r=u);if(r)return t.preventDefault(),void r.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==l||"Chrome"==l[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var f=n.indexOf(c);f>-1&&(f+=o?-1:1);if(void 0===(r=n[f]))return t.preventDefault(),void(r=o?u:s).focus();t.preventDefault(),r.focus()};var r,o=n(2411),i=(r=o)&&r.__esModule?r:{default:r};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?a(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},7078:function(e,t,n){"use strict";n.d(t,{Fe:function(){return d},N_:function(){return E},Rr:function(){return u},Zf:function(){return g},oo:function(){return O}});var r=n(5556),o=n(6540),i=n(6462),a=n(6395);function s(){return s=Object.assign?Object.assign.bind():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)},f=()=>"",p=()=>"";function d(e,t=f()){var n;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:p())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function v(e,t){const{pathname:n,search:r,hash:o}=u(e);return`${(0,a.T)(n,t)}${r}${o}`}const y=(e,t)=>"number"==typeof e?e:l(e)?h(e)?function(e){const t=d(e),n="always";return v(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,i.resolve)(e,t);return v(r,n)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function g(e){return d(e,p())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(i.Location,null,({location:t})=>o.createElement(_,s({},e,{_location:t})))}class _ 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(
2Boolean).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(y(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,d=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,m),h=y(t,p.pathname);return l(h)?o.createElement(i.Link,s({to:h,state:c,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=u(h);___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(h)===p.pathname;"boolean"!=typeof f&&n&&(t=!0),window.___navigate(h,{state:c,replace:t})}return!0}},d)):o.createElement("a",s({href:h},d))}}_.propTypes=s({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const E=o.forwardRef((e,t)=>o.createElement(w,s({innerRef:t},e))),O=(e,t)=>{window.___navigate(y(e,window.location.pathname),t)}},7231:function(e,t,n){"use strict";n.d(t,{de:function(){return u},G:function(){return o},GR:function(){return c}});var r=n(6540);const o=(i="StaticQuery",a={},r.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(i,a):r.createContext(a));var i,a;function s({staticQueryData:e,data:t,query:n,render:o}){const i=t?t.data:e[n]&&e[n].data;return r.createElement(r.Fragment,null,i&&o(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}const u=e=>{const{data:t,query:n,render:i,children:a}=e;return r.createElement(o.Consumer,null,e=>r.createElement(s,{data:t,query:n,render:i||a,staticQueryData:e}))},c=e=>{var t;r.useContext;const n=r.useContext(o);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")}},7243:function(e,t,n){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(6540))},7296:function(e,t,n){var r,o=n(5481),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},7387:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},7422:function(e,t,n){var r=n(1769),o=n(7797);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},7473:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},7505:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.wrapRootElement=void 0;var o=r(n(6540)),i=n(1983),a=n(7602);t.wrapRootElement=({element:e},{queries:t=null})=>o.default.createElement(a.BreakpointProvider,{queries:null!==t?t:i.defaultQueries},e)},7556:function(e,t,n){var r=n(1873),o=n(4932),i=n(6449),a=n(4394),s=r?r.prototype:void 0,u=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},7602:function(e,t,n){"use strict";var r=n(4994);
2t.__esModule=!0,t.BreakpointProvider=t.BreakpointContext=void 0,t.useBreakpoint=function(){const e=(0,i.useContext)(u);if(e===s)throw new Error("useBreakpoint must be used within BreakpointProvider");return e};var o=r(n(5556)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=a(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(6540));function a(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(a=function(e){return e?n:t})(e)}const s={},u=t.BreakpointContext=(0,i.createContext)(s),c=({children:e,queries:t})=>{const[n,r]=(0,i.useState)({});return(0,i.useEffect)(()=>{const e={},n=Object.keys(t);let o=!1;const i=()=>{const t=n.reduce((t,n)=>(t[n]=!(!e[n]||!e[n].matches),t),{});r(t)};if(window&&window.matchMedia){const a={};n.forEach(n=>{"string"==typeof t[n]?(e[n]=window.matchMedia(t[n]),a[n]=e[n].matches):a[n]=!1}),r(a),o=!0,n.forEach(n=>{"string"==typeof t[n]&&e[n].addListener(i)})}return()=>{o&&n.forEach(n=>{"string"==typeof t[n]&&e[n].removeListener(i)})}},[t]),i.default.createElement(u.Provider,{value:n},e)};t.BreakpointProvider=c,c.propTypes={children:o.default.element.isRequired,queries:o.default.object.isRequired}},7670:function(e,t,n){var r=n(2651);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},7727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,s],t=0;t<e.length;t++){var n=e[t];n&&(n.parentNode&&n.parentNode.removeChild(n))}a=s=null,u=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(u.length);for(var e=[a,s],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,o=n(9628),i=(r=o)&&r.__esModule?r:{default:r};var a=void 0,s=void 0,u=[];function c(){0!==u.length&&u[u.length-1].focusContent()}i.default.subscribe(function(e,t){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",c),(s=a.cloneNode()).addEventListener("focus",c)),(u=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))})},7729:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.default=void 0;var o=r(n(8156)),i=function(e){var t=e.routerProps.location,n=(0,o.default)(t,"state.modal"),r=(0,o.default)(t,"state.noScroll");return!n&&!r};t.default=i},7736:function(e,t,n){var r=n(3738).default,o=n(9045);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},7783:function(e,t,n){"use strict";function r(){}n.d(t,{C:function(){return o}});class o{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let 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)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const 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)}}},7791:function(e,t,n){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){0},t.handleBlur=c,t.handleFocus=l,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(n){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",c,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",c),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",c),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",c),document.detachEvent("onFocus",l))};var r,o=n(2411),i=(r=o)&&r.__esModule?r:{default:r};var a=[],s=null,u=!1;function c(){u=!0}function l(){if(u){if(u=!1,!s)return;setTimeout(function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()},0)}}},7797:function(e,t,n){var r=n(4394);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},7914:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(4794),n(4598);const r=function({location:e},t){0}},7945: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)})}),n}n.d(t,{o:function(){return r}})},8156:function(e,t,n){var r=n(7422);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},8163:function(e,t,n){"use strict";e.exports=n(207)},8170:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=new Map;function o(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},8223:function(e,t,n){var r=n(6110)(n(9325),"Map");e.exports=r},8586:function(e,t,n){var r=n(6449),o=n(4394),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},8599:function(e,t,n){"use strict";var r;function o(e){return!!e&&e<7}n.d(t,{bi:function(){return o},pT:function(){return r}}),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"}(r||(r={}))},8655:function(e,t,n){var r=n(6025);e.exports=function(e){return r(this.__data__,e)>-1}},8797:function(e,t,n){"use strict";function r(e,t=""){return t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{A:function(){return r}})},8990:function(e,t,n){"use strict";n.d(t,{Yl:function(){return p},Hh:function(){return h},UA:function(){return d},QX:function(){return f}});var r=n(6462),o=n(8797),i=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},a=n(6491);const s=new Map;let u=[];const c=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.A)(n,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}const f=e=>{u=e},p=e=>{const t=v(e),n=u.map(({path:e,matchPath:t})=>({path:t,originalPath:e})),o=(0,r.pick)(n,t);return o?i(o.route.originalPath):null},d=e=>{const t=v(e),n=u.map(({path:e,matchPath:t})=>({path:t,originalPath:e})),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=c(l(e));if(s.has(t))return s.get(t);const n=(0,a.X)(e);if(n)return h(n.toPath);let r=p(t);return r||(r=v(e)),s.set(t,r),r},v=e=>{let t=c(l(e));return"/index.html"===t&&(t="/"),t=i(t),t}},9045:function(e,t,n){var r=n(3738).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},9067:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0;var o=r(n(9498));t.replaceComponentRenderer=o.default;var i=r(n(7729));t.shouldUpdateScroll=i.default;var a=r(n(342));t.onClientEntry=a.default},9090:function(e,t,n){"use strict";
vendor: 4,502 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0});var r=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="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(6540),s=y(n(5556)),u=v(n(7791)),c=y(n(7067)),l=v(n(4081)),f=v(n(4838)),p=n(834),d=y(p),h=y(n(9628));function v(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function y(e){return e&&e.__esModule?e:{default:e}}n(7727);var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},g=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(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}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&f.remove(s.body,i),o&&f.remove(s.getElementsByTagName("html")[0],o),r&&g>0&&0===(g-=1)&&l.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(u.returnFocus(n.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(u.setupScopedFocus(n.node),u.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1}
2,n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(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)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&f.add(a.body,o),r&&f.add(a.getElementsByTagName("html")[0],r),n&&(g+=1,l.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,u=o?{}:i.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},u,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},l=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(l,a);return this.props.overlayElement(c,f)}}]),t}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=b,e.exports=t.default},9208:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return a}});var r=n(6540),o=n(5338);let i;function a(){"requestIdleCallback"in window?(i&&cancelIdleCallback(i),i=requestIdleCallback(s)):(i&&clearTimeout(i),i=setTimeout(s))}function s(){const e=document,t=Array.from(e.querySelectorAll("[data-wp-inline-image]"));t.length&&n.e(117).then(n.bind(n,3479)).then(n=>{t.forEach(t=>{var i,a,s,u,c;const l=null==t||null===(i=t.parentNode)||void 0===i||null===(a=i.parentNode)||void 0===a||null===(s=a.classList)||void 0===s?void 0:s.contains("gatsby-image-wrapper"),f=null==t||null===(u=t.parentNode)||void 0===u||null===(c=u.classList)||void 0===c?void 0:c.contains("gatsby-image-wrapper");if(!l&&!f)return;const p=l?t.parentNode.parentNode:t.parentNode;if(t.dataset&&t.dataset.wpInlineImage&&p){const i=e.querySelector(`script[data-wp-inline-image-hydration="${t.dataset.wpInlineImage}"]`);if(i){const e=JSON.parse(i.innerHTML);
2o.createRoot(p).render(r.createElement(n.GatsbyImage,e))}}})})}},9211:function(e,t,n){"use strict";n.d(t,{K$:function(){return i},K4:function(){return u},Mn:function(){return s},uR:function(){return a}});var r=n(1635),o=(n(6319),n(2456)),i=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[i])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){function t(n){var i,a,s=n.graphQLErrors,u=n.protocolErrors,c=n.clientErrors,l=n.networkError,f=n.errorMessage,p=n.extraInfo,d=e.call(this,f)||this;return d.name="ApolloError",d.graphQLErrors=s||[],d.protocolErrors=u||[],d.clientErrors=c||[],d.networkError=l||null,d.message=f||(i=d,a=(0,r.fX)((0,r.fX)((0,r.fX)([],i.graphQLErrors,!0),i.clientErrors,!0),i.protocolErrors,!0),i.networkError&&a.push(i.networkError),a.map(function(e){return(0,o.U)(e)&&e.message||"Error message not found."}).join("\n")),d.extraInfo=p,d.cause=(0,r.fX)((0,r.fX)((0,r.fX)([l],s||[],!0),u||[],!0),c||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return(0,r.C6)(t,e),t}(Error)},9300:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const i=(0,o.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(a)};var r=n(4656),o=n(3309)},9325:function(e,t,n){var r=n(4840),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},9350:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9369:function(e,t,n){"use strict";n.d(t,{A: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)})}}}()},9377:function(e,t,n){e.exports=[{plugin:n(3697),options:{plugins:[]}},{plugin:n(9208),options:{plugins:[],url:"https://icd.wordsinspace.net/graphql",protocol:"https",schema:{timeout:3e5,queryDepth:15,circularQueryLimit:5,typePrefix:"Wp",perPage:100,requestConcurrency:15,previewRequestConcurrency:5},verboseOutput:!0,html:{createStaticFiles:!1,useGatsbyImage:!1,imageQuality:60,imageMaxWidth:1400,fallbackImageMaxWidth:1024,generateWebpImages:!0,generateAvifImages:!1,placeholderType:"dominantColor"},develop:{nodeUpdateInterval:5e3,hardCacheMediaFiles:!1,hardCacheData:!1},production:{hardCacheMediaFiles:!1,allow404Images:!1,allow401Images:!1},excludeFieldNames:["generalSettings","email","allSettings","generalSettingsEmail","viewer","pinged","toPing"],debug:{graphql:{showQueryOnError:!0,showQueryVarsOnError:!0,panicOnError:!0,writeQueriesToDisk:!1,onlyReportCriticalErrors:!1,copyQueryOnError:!1,copyNodeSourcingQueryAndExit:!1,printIntrospectionDiff:!1},preview:!1,timeBuildSteps:!1,disableCompatibilityCheck:!1,throwRefetchErrors:!1},type:{RootQuery:{excludeFieldNames:["generalSettings","email","allSettings","generalSettingsEmail","viewer","pinged","toPing"]},Comment:{limit:0},Post:{excludeFieldNames:["pinged","toPing","isSticky"],limit:null},Page:{excludeFieldNames:["pinged","toPing"],limit:null},MediaItem:{placeholderSizeName:"gatsby-image-placeholder",createFileNodes:!0,lazyNodes:!1}},verbose:!0,catchLinks:!0}},{plugin:n(1468),options:{plugins:[],precachePages:["/work/"]}},{plugin:n(7914),options:{plugins:[],name:"gatsby-starter-default",short_name:"starter",start_url:"/",background_color:"#fff",theme_color:"#fff",display:"minimal-ui",icon:"src/images/gatsby-icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"06b6d3a28c7c247d667a3c6a219b34d0"}},{plugin:n(9067),options:{plugins:[],appElement:"#___gatsby",modalProps:{}}},{plugin:n(7505),options:{plugins:[],queries:{desktop:"(min-width: 1024px)"}}},{plugin:n(1551),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},9498:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.default=void 0;var o=r(n(4634)),i=r(n(2475)),a=r(n(6221)),s=r(n(3693)),u=r(n(8156)),c=n(4794),l=r(n(6540)),f=r(n(312)),p=r(n(2780)),d=function(e){return e.slice(0)},h=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,(0,s.default)((0,i.default)(t),"state",{prevProps:null,lastModalProps:null,props:null,pathname:null}),(0,s.default)((0,i.default)(t),"modalContentRef",null),(0,s.default)((0,i.default)(t),"handleRequestClose",function(){(0,c.navigate)(d(t.state.prevProps.location.pathname),{state:{noScroll:!0}})}),t}(0,a.default)(t,e),t.getDerivedStateFromProps=function(e,t){return e.location.pathname!==t.pathname?(0,o.default)({pathname:e.location.pathname,props:e},(0,u.default)(t,"props.location.state.modal")?{lastModalProps:t.props}:{prevProps:t.props}):null};var n=t.prototype;return n.componentDidUpdate=function(e){(0,u.default)(e,"location.pathname")!==(0,u.default)(this.props,"location.pathname")&&(0,u.default)(this.props,"location.state.modal")&&this.modalContentRef&&(this.modalContentRef.scrollTop=0)},n.render=function(){var e=this,t=this.props,n=t.pageResources,r=t.location,i=t.modalProps,a=this.state,s=a.prevProps,c=a.lastModalProps,h=s&&(0,u.default)(r,"state.modal"),v=(h&&s.pageResources,h?l.default.createElement(s.pageResources.component,(0,o.default)({},s,{key:s.pageResources.page.path})):l.default.createElement(n.component,(0,o.default)({},this.props,{key:n.page.path}))),y=null;return h?y=l.default.createElement(n.component,(0,o.default)({},this.props,{key:n.page.path})):c&&(y=l.default.createElement((0,u.default)(c,"pageResources.component"),(0,o.default)({},c,{key:(0,u.default)(c,"pageResources.page.path")}))),l.default.createElement(l.default.Fragment,null,v,l.default.createElement(f.default,(0,o.default)({onRequestClose:this.handleRequestClose,contentRef:function(t){return e.modalContentRef=t}},i,{isOpen:!!h}),y?l.default.createElement(l.default.Fragment,{key:this.props.location.key},l.default.createElement(p.default.Provider,{value:{modal:!0,closeTo:s?d(s.location.pathname):"/"}},y)):null))},t}(l.default.Component),v=function(e,t){var n=e.props,r=t.modalProps;return l.default.createElement(h,(0,o.default)({},n,{modalProps:r}))};t.default=v},9628:function(e,t){"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},9646: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,{i0:function(){return r},un:function(){return a},xr:function(){return s},yp:function(){return o}})},9732:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});const r=new WeakMap;function o(){const e=n(5338);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},9771:function(e){"use strict";var t=function(){};e.exports=t}},function(e){e.O(0,[593],function(){return t=6498,e(e.s=t);var t});e.O()}]);
3//# sourceMappingURL=app-6be7bed9f67b4ac17e51.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.