PageSourceSearch

https://hexofy.com/app-39ac698f7955e541785d.js

js hexofy.com collected 2026-10-05 19:08:58 UTC 338,386 bytes, 3 lines download raw bytes

1/*! For license information please see app-39ac698f7955e541785d.js.LICENSE.txt */
2(self.webpackChunkhexofy=self.webpackChunkhexofy||[]).push([[143],{82152:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var r=Object.prototype,i=r.toString,o=r.hasOwnProperty,a=Function.prototype.toString,s=new Map;function c(e,t){try{return u(e,t)}finally{s.clear()}}function u(e,t){if(e===t)return!0;var n,r,s,c=i.call(e);if(c!==i.call(t))return!1;switch(c){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(d(e,t))return!0;var p=l(e),h=l(t),m=p.length;if(m!==h.length)return!1;for(var y=0;y<m;++y)if(!o.call(t,p[y]))return!1;for(y=0;y<m;++y){var v=p[y];if(!u(e[v],t[v]))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=="".concat(t);case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(d(e,t))return!0;for(var g=e.entries(),b="[object Map]"===c;;){var E=g.next();if(E.done)break;var _=E.value,w=_[0],F=_[1];if(!t.has(w))return!1;if(b&&!u(F,t.get(w)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":var k=e.byteLength;if(k===t.byteLength)for(;k--&&e[k]===t[k];);return-1===k;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var O=a.call(e);return O===a.call(t)&&(r=f,!((s=(n=O).length-r.length)>=0&&n.indexOf(r,s)===s))}return!1}function l(e){return Object.keys(e).filter(p,e)}function p(e){return void 0!==this[e]}var f="{ [native code] }";function d(e,t){var n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},43010:function(e){function t(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=t,t.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},t.prototype.reset=function(){this.attempts=0},t.prototype.setMin=function(e){this.ms=e},t.prototype.setMax=function(e){this.max=e},t.prototype.setJitter=function(e){this.jitter=e}},26729:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new i(r,o||e,a),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],s]:e._events[c].push(s):(e._events[c]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);i<o;i++)a[i]=r[i].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,i,o,a){var s=n?n+e:e;if(!this._events[s])return!1;var c,u,l=this._events[s],p=arguments.length;if(l.fn){switch(l.once&&this.removeListener(e,l.fn,void 0,!0),p){case 1:return l.fn.call(l.context),!0;case 2:return l.fn.call(l.context,t),!0;case 3:return l.fn.call(l.context,t,r),!0;case 4:return l.fn.call(l.context,t,r,i),!0;case 5:return l.fn.call(l.context,t,r,i,o),!0;case 6:return l.fn.call(l.context,t,r,i,o,a),!0}for(u=1,c=new Array(p-1);u<p;u++)c[u-1]=arguments[u];l.fn.apply(l.context,c)}else{var f,d=l.length;for(u=0;
2u<d;u++)switch(l[u].once&&this.removeListener(e,l[u].fn,void 0,!0),p){case 1:l[u].fn.call(l[u].context);break;case 2:l[u].fn.call(l[u].context,t);break;case 3:l[u].fn.call(l[u].context,t,r);break;case 4:l[u].fn.call(l[u].context,t,r,i);break;default:if(!c)for(f=1,c=new Array(p-1);f<p;f++)c[f-1]=arguments[f];l[u].fn.apply(l[u].context,c)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,i){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return a(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||a(this,o);else{for(var c=0,u=[],l=s.length;c<l;c++)(s[c].fn!==t||i&&!s[c].once||r&&s[c].context!==r)&&u.push(s[c]);u.length?this._events[o]=1===u.length?u[0]:u:a(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s},64506:function(e,t){"use strict";t.H=void 0;t.H=(e,t="always")=>{const n=e.endsWith(".html"),r=e.endsWith(".xml"),i=e.endsWith(".pdf");return"/"===e?e:((n||r||i)&&(t="never"),"always"===t?e.endsWith("/")?e:`${e}/`:"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},19679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(61432);t.$C=r.ScrollHandler;var i=n(54855);t.p2=i.useScrollRestoration},61432:function(e,t,n){"use strict";var r=n(64836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var i=r(n(66115)),o=r(n(7867)),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=u(t);if(n&&n.has(e))return n.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var a=i?Object.getOwnPropertyDescriptor(e,o):null;a&&(a.get||a.set)?Object.defineProperty(r,o,a):r[o]=e[o]}r.default=e,n&&n.set(e,r);return r}(n(67294)),s=r(n(45697)),c=n(21142);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=a.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=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)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,i.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,i.default)(t),e,n)},t}(0,o.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,i=n.key;i&&(t=this._stateStorage.read(this.props.location,i)),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=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},21142: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 i=window.sessionStorage.getItem(r);return i?JSON.parse(i):0}catch(o){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var i=this.getStateKey(e,t),o=JSON.stringify(r);try{window.sessionStorage.setItem(i,o)}catch(a){window&&window[n]||(window[n]={}),window[n][i]=JSON.parse(o)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},54855:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,o.useLocation)(),n=(0,i.useContext)(r.ScrollC
2ontext),a=(0,i.useRef)(null);return(0,i.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(61432),i=n(67294),o=n(87896)},21060:function(e,t,n){"use strict";e.exports=n.g.fetch},24852:function(e){"use strict";e.exports=Object.assign},4094:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(83521),n(72731);t.onInitialClientRender=()=>{}},97730: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)||[]))}},72731: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 o=(0,i.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:o}),document.head.appendChild(a)};var r=n(72911),i=n(97730)},85418:function(e,t,n){t.components={"component---src-pages-404-tsx":()=>n.e(218).then(n.bind(n,32513)),"component---src-pages-contact-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(563)]).then(n.bind(n,19915)),"component---src-pages-cookie-policy-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(316)]).then(n.bind(n,98330)),"component---src-pages-faq-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(340)]).then(n.bind(n,98539)),"component---src-pages-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(672),n.e(691)]).then(n.bind(n,37200)),"component---src-pages-privacy-policy-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(181)]).then(n.bind(n,38595)),"component---src-pages-profile-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(517),n.e(638)]).then(n.bind(n,87381)),"component---src-pages-profile-my-plans-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(517),n.e(417)]).then(n.bind(n,33662)),"component---src-pages-profile-payment-methods-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(517),n.e(671)]).then(n.bind(n,59277)),"component---src-pages-profile-promo-codes-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(517),n.e(743)]).then(n.bind(n,84867)),"component---src-pages-profile-security-devices-tsx":()=>Promise.all([n.e(532),n.e(182),n.e(146),n.e(541)]).then(n.bind(n,25559)),"component---src-pages-profile-security-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(517),n.e(146),n.e(779),n.e(484)]).then(n.bind(n,34319)),"component---src-pages-profile-security-two-factor-tsx":()=>Promise.all([n.e(532),n.e(182),n.e(779),n.e(301)]).then(n.bind(n,96682)),"component---src-pages-promo-95093-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(672),n.e(198)]).then(n.bind(n,18628)),"component---src-pages-promo-95702-index-tsx":()=>Promise.all([n.e(532),n.e(774),n.e(523),n.e(182),n.e(73),n.e(672),n.e(289)]).then(n.bind(n,7687)),"component---src-pages-reset-password-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(752)]).then(n.bind(n,29353)),"component---src-pages-response-msg-index-tsx":()=>n.e(412).then(n.bind(n,33269)),"component---src-pages-team-access-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(835)]).then(n.bind(n,7447)),"component---src-pages-terms-of-use-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(540)]).then(n.bind(n,78017)),"component---src-pages-unsubscribe-index-tsx":()=>n.e(270).then(n.bind(n,15670)),"component---src-pages-verify-email-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(951)]).then(n.bind(n,72952)),"component---src-pages-zg-fza-c-1-y-zw-rpcm-vjd-a-index-tsx":()=>Promise.all([n.e(532),n.e(523),n.e(182),n.e(73),n.e(652)]).then(n.bind(n,22128))}},34741:function(e,t,n){e.exports=[{plugin:n(29608),options:{plugins:[],icon:"src/images/favicon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"28ad384d9b7f652ac209313ac702e5e0"}},{plugin:n(12788),options:{plugins:[],enableListener:!0,preconnect:["https://fonts.googleapis.com","https://fonts.gstatic.
2com"],web:[{name:"Roboto",file:"https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;800&display=swap"}]}},{plugin:n(22405),options:{plugins:[]}},{plugin:n(4094),options:{plugins:[]}}]},3092:function(e,t,n){const r=n(34741),{getResourceURLsForPathname:i,loadPage:o,loadPageSync:a}=n(1975).jN;t.h=function(e,t,n,s){void 0===t&&(t={});let c=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=i,t.loadPage=o,t.loadPageSync=a;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r}));return c=c.filter((e=>void 0!==e)),c.length>0?c:n?[n]:[]},t.I=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},84004:function(e,t){t.M=()=>""},68299:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},17802:function(e,t,n){"use strict";n.d(t,{UD:function(){return f},Cj:function(){return h},GA:function(){return d},DS:function(){return p}});var r=n(87896),i=n(41505),o=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(96073);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=n+"?"+encodeURIComponent(r)}const n=decodeURIComponent(t);return(0,i.Z)(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 p=e=>{c=e},f=e=>{const t=m(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),i=(0,r.pick)(n,t);return i?o(i.route.originalPath):null},d=e=>{const t=m(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),i=(0,r.pick)(n,t);return i?i.params:{}},h=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const n=(0,a.J)(e);if(n)return h(n.toPath);let r=f(t);return r||(r=m(e)),s.set(t,r),r},m=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=o(t),t}},11883:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.rU},PageRenderer:function(){return o()},Script:function(){return k.Script},ScriptStrategy:function(){return k.ScriptStrategy},Slice:function(){return _},StaticQuery:function(){return c.i1},StaticQueryContext:function(){return c.B9},collectedScriptsByPage:function(){return k.collectedScriptsByPage},graphql:function(){return S},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return O},scriptCache:function(){return k.scriptCache},scriptCallbackCache:function(){return k.scriptCallbackCache},useScrollRestoration:function(){return a.p2},useStaticQuery:function(){return c.K2},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var r=n(1975),i=n(82743),o=n.n(i),a=n(19679),s=n(71562),c=n(51757);var u=n(94578);function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var p=n(89611);function f(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function d(e,t,n){return d=f()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&(0,p.Z)(i,n.prototype),i},d.apply(null,arguments)}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return d(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,p.Z)(r,e)},h(e)}var m=n(67294),y=n(84004),v=n(38995);const g=e=>{let{sliceId:t,children:n}=e;const r=[m.createElement("slice-start",{id:t+"-1"}),m.createElement("slice-end",{id:t+"-1"})];return n&&(r.push(n),r.push(m.createElement("slice-start",{id:t+"-2"}),m.createElement("slice-end",{id:t+"-2"}))),r},b=e=>{let{sliceName:t,allowEmpty:n,children:r,...i}=e;const o=(0,m.useContext)(v.u0),a=(0,m.useContext)(v.Db),s=o[t];if(!s){if(n)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}const c=((e,t)=>Object.keys(t).length?e+"-"+(0,y.M)(t):e)(s,i);let u=a[c];return u?r&&(u.hasChildren=!0):a[c]=u={props:i,sliceName:s,hasChildren:!!r},m.createElement(g,{sliceId:c},r)},E=e=>{let{sliceName:t,allowEmpty:n,children:r,...i}=e;const o=(0,m.useContext)(v.u0),a=(0,m.useContext)(v.m3),s=o[t],c=a.get(s);if(!c){if(n)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}return m.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},i),r)};function _(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,m.useContext)(v.Bs),r=F(e);if(Object.keys(r).length)throw new w("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return m.createElement(b,t);if("browser"===n.renderEnvironment)return m.createElement(E,t);if("engines"===n.renderEnvironment)return m.createElement(E,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+'"/>'}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 w=function(e){function t(n,r,i,o){var a;const s=Object.entries(i).map((e=>{let[t,n]=e;return'not serializable "'+n+'" type passed to "'+t+'" prop'})).join(", "),c="SlicePropsError";let u="",l="";
2if(n){const e=m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),u="\n"+e.join("\n"),l='Slice "'+r+'" was passed props that are not serializable ('+s+")."}else{l=c+': Slice "'+r+'" was passed props that are not serializable ('+s+").";u=l+"\n"+(new Error).stack.trim().split("\n").slice(2).join("\n")}return(a=e.call(this,l)||this).name=c,u?a.stack=u:Error.captureStackTrace(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(a),t),o&&(a.forcedLocation={...o,functionName:"Slice"}),a}return(0,u.Z)(t,e),t}(h(Error));const F=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[i,o]of Object.entries(e)){if(null==o||!r&&"children"===i)continue;const e=r?r+"."+i:i;"function"==typeof o?t[e]=typeof o:"object"==typeof o&&n.indexOf(o)<=0&&(n.push(o),F(o,t,n,e))}return t};var k=n(83521);const O=r.ZP.enqueue;function S(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},1975:function(e,t,n){"use strict";n.d(t,{uQ:function(){return p},kL:function(){return _},ZP:function(){return k},Nt:function(){return S},hs:function(){return O},jN:function(){return F},N1:function(){return w}});var r=n(94578),i=n(15785),o=n(40904);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 i=document.createElement("link");i.setAttribute("rel","prefetch"),i.setAttribute("href",e),Object.keys(t).forEach((e=>{i.setAttribute(e,t[e])})),i.onload=n,i.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(i)}))}: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 c=function(e,t){return new Promise((n=>{s[e]?n():a(e,t).then((()=>{n(),s[e]=!0})).catch((()=>{}))}))},u=n(68299),l=n(17802);const p={Error:"error",Success:"success"},f=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){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const m=/bot|crawler|spider|crawling/i,y=function(e,t,n){var r;void 0===t&&(t=null);const i={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:i}};function v(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((()=>{v(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.DS)(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=f(t);return this.memoizedGet(r).then((r=>{const{status:i,responseText:o}=r;if(200===i)try{const n=JSON.parse(o);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:p.Success,payload:n})}catch(a){}return 404===i||200===i?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0}
2)):500===i?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=f(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:i,responseText:o}=r;if(200===i)try{return Object.assign(e,{status:p.Success,payload:o})}catch(a){}return 404===i||200===i?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===i?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})}))},t.loadPageDataJson=function(e){const t=(0,l.Cj)(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.Cj)(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)))}
2,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.UD)(e)},t.loadPage=function(e){const t=(0,l.Cj)(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===p.Error||(null==a?void 0:a.status)===p.Error)return{status:p.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:f={}}=s,d={},h=Array.from(new Set(Object.values(f))),m=e=>{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 f=[],h=(0,i.Z)(l);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){f.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const g=[Promise.all(f.map(m)),this.loadComponent(c,"head")];g.push(this.loadComponent(c));const b=Promise.all(g).then((e=>{const[t,i,c]=e;d.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(d.status=p.Error,d.error=n);let u;if((!c||c instanceof Error)&&(d.status=p.Error,d.error=c),d.status!==p.Error){if(d.status=p.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)){u=y(s,null,i),u.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 v((0,o.createFromReadableStream)(e)).then((e=>(u.partialHydration=e,u)))}u=y(s,c,i)}return u})),E=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((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([b,E]).then((e=>{let n,[r,i]=e;return r&&(n={...r,staticQueryResults:i},d.payload=n,u.Z.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,d),d.error?{error:d.error,status:d.status}:n})).catch((e=>({error:e,status:p.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){void 0===t&&(t={});const n=(0,l.Cj)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.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||!m.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=>{let[n]=t;return n===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=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,l.Cj)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=f(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Cj)(e),n=this.pageDataDb.get(t);if(n){const e=y(n.payload);return[].concat((0,i.Z)(b(e.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-d
2ata/app-data.json").then((t=>{const{status:n,responseText:r}=t;let i;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");i=e}catch(o){}return i}))},e}();const b=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let E,_=function(e){function t(t,n,r){var i;return i=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!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&&i.pageDataDb.set((0,l.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),i}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==p.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(c)).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:p.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:p.Error}:e)):e))},t}(g);const w=e=>{E=e},F={enqueue:e=>E.prefetch(e),getResourceURLsForPathname:e=>E.getResourceURLsForPathname(e),loadPage:e=>E.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),E.loadPageSync(e,t)},prefetch:e=>E.prefetch(e),isPageNotFound:e=>E.isPageNotFound(e),hovering:e=>E.hovering(e),loadAppData:()=>E.loadAppData()};var k=F;function O(){return E?E.staticQueryDb:{}}function S(){return E?E.slicesDb:{}}},94779:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),i=n(45697),o=n.n(i),a=n(3092),s=n(17802),c=n(11883),u=n(87896),l=n(24941);function p(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const f=["link","meta","style","title","base","noscript","script","html","body"];function d(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)}const h=document.createElement("div"),m=new Set,y=new Set,v=(e,t,n,r)=>{const i=document.getElementsByTagName(e)[0];i&&(i.setAttribute(t,n),r.add(t))},g=()=>{var e;const t=[],n=new Map;for(const u of h.childNodes){var r,i;const e=u.nodeName.toLowerCase(),a=null===(r=u.attributes)||void 0===r||null===(i=r.id)||void 0===i?void 0:i.value;if(!f.includes(e))continue;if("html"===e){for(const e of u.attributes)v("html",e.name,e.value,m);continue}if("body"===e){for(const e of u.attributes)v("body",e.name,e.value,y);continue}let s=u.cloneNode(!0);if(s.setAttribute("data-gatsby-head",!0),"script"===s.nodeName.toLowerCase()){const e=document.createElement("script");for(const t of s.attributes)e.setAttribute(t.name,t.value);e.innerHTML=s.innerHTML,s=e}if(a){if(n.has(a)){var o;const e=n.get(a);null===(o=t[e].parentNode)||void 0===o||o.removeChild(t[e]),t[e]=s;continue}t.push(s),n.set(a,t.length-1)}else t.push(s)}const a=document.querySelectorAll("[data-gatsby-head]");var s;if(0===a.length)return void(s=document.head).append.apply(s,t);const c=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:i}=e;for(const o of t){const e=n.findIndex((e=>d(e,o)));-1===e?r(o):n.splice(e,1)}for(const o of n)i(o)}({oldNodes:a,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>c.push(e)}),(e=document.head).append.apply(e,c)};function b(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:i}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error('Expected "Head" export to be a function got "'+typeof e+'".')}(t.Head);const{render:o}=(0,l.U)(),a=t.Head;o(r.createElement(p,{callback:g},r.createElement(c.StaticQueryContext.Provider,{value:n},r.createElement(u.LocationProvider,null,r.createElement(a,{location:{pathname:(e=i).location.pathname},params:e.params,data:e.data||{}
2,serverData:e.serverData,pageContext:e.pageContext})))),h)}var e;return()=>{(()=>{const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)})(),m.forEach((e=>{document.getElementsByTagName("html")[0].removeAttribute(e)})),y.forEach((e=>{document.getElementsByTagName("body")[0].removeAttribute(e)}))}}))}function E(e){const t={...e,params:{...(0,s.GA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var i;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((i=e.pageResources.component)&&i.default||i,{...t,key:e.path||e.pageResources.page.path});b({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.h)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}E.propTypes={location:o().object.isRequired,pageResources:o().object.isRequired,data:o().object,pageContext:o().object.isRequired};var _=E},25824:function(e,t,n){"use strict";var r=n(94578),i=n(3092),o=n(67294),a=n(87896),s=n(19679),c=n(51757),u=n(38995),l=n(1975),p=n(96073),f=n(68299);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(71562);function m(e){const t=(0,p.J)(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 v=(e,t)=>{m(e.pathname)||(y=e.pathname,(0,i.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},g=(e,t)=>{m(e.pathname)||(0,i.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void a.globalHistory.navigate(e);const{pathname:n,search:r,hash:o}=(0,h.cP)(e),s=(0,p.J)(n);if(s&&(e=s.toPath+r+o),window.___swUpdated)return void(window.location=n+r+o);const c=setTimeout((()=>{f.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,i.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.ZP.loadPage(n+r).then((i=>{if(!i||i.status===l.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);i&&i.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+o),(0,a.navigate)(e,t),clearTimeout(c)}))};function E(e,t){let{location:n}=t;const{pathname:r,hash:o}=n,a=(0,i.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(a.length>0)return a[a.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return o?decodeURI(o.slice(1)):[0,0]}return!0}let _=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=o.createRef(),n}(0,r.Z)(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 o.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},t}(o.Component);const w=(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 F=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){g(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!w(e.location,this.props.location)&&(v(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){w(e.location,this.props.location)&&g(this.props.location,e.location)},n.render=function(){return o.createElement(o.Fragment,null,this.props.children,o.createElement(_,{location:location}))},t}(o.Component);var k=n(94779),O=n(85418);function S(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:i}=t;return n.state={location:{...r},pageResources:i||l.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:l.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){l.ZP.loadPage(e).then((t=>{t&&t.status!==l.uQ.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 S(e.props,t)||S(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}(o.Component),C=n(41505),x=JSON.parse('[{"path":"/reset-password/","matchPath":"/reset-password/:token"},{"path":"/verify-email/","matchPath":"/verify-email/:token"}]'),U=n(24941);const j=new l.kL(O,x,window.pageData);(0,l.N1)(j),j.setApiRunner(i.h);const{render:I,hydrate:D}=(0,U.U)();window.asyncRequires=O,window.___emitter=f.Z,window.___loader=l.jN,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 P="gatsby-reload-compilation-hash-match";(0,i.I)("onClientEntry").then((()=>{(0,i.h)("registerServiceWorker").filter(Boolean).length>0&&n(29939);const e=e=>o.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},o.createElement(k.Z,e)),t=o.createContext({}),p={renderEnvironment:"browser"};let f=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){const{children:e}=this.props;return o.createElement(a.Location,null,(n=>{let{location:r}=n;return o.createElement(T,{location:r},(n=>{let{pageResources:r,location:i}=n;const a=(0,l.hs)(),s=(0,l.Nt)();return o.createElement(c.B9.Provider,{value:a},o.createElement(u.Bs.Provider,{value:p},o.createElement(u.m3.Provider,{value:s},o.createElement(u.u0.Provider,{value:r.page.slicesMap},o.createElement(t.Provider,{value:{pageResources:r,location:i}},e)))))}))}))},n}(o.Component),d=function(n){function i(){return n.apply(this,arguments)||this}return(0,r.Z)(i,n),i.prototype.render=function(){return o.createElement(t.Consumer,null,(t=>{let{pageResources:n,location:r}=t;return o.createElement(F,{location:r},o.createElement(s.$C,{location:r,shouldUpdateScroll:E},o.createElement(a.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},o.createElement(e,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,C.Z)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},i}(o.Component);const{pagePath:h,location:m}=window;h&&""+h!==m.pathname+(h.includes("?")?m.search:"")&&!(j.findMatchPath((0,C.Z)(m.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+h+(h.includes("?")?"":m.search)+m.hash,{replace:!0});const y=()=>{try{return sessionStorage}catch{return null}};l.jN.loadPage(m.pathname+m.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(P)))return n.setItem(P,"1"),void window.location.reload(!0)}if(n&&n.removeItem(P),!e||e.status===l.uQ.Error){const t="page resources for "+m.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,i.h)("wrapRootElement",{element:o.createElement(d,null)},o.createElement(d,null),(e=>{let{result:t}=e;return{element:t}})).pop(),a=function(){const e=o.useRef(!1);return o.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,i.h)("onInitialClientRender"))}),[]),o.createElement(f,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=I;s&&s.children.length&&(c=D);const u=(0,i.h)("replaceHydrateFunction",void 0,c)[0];function p(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(o.createElement(a,null),e)}const h=document;if("complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)setTimeout((function(){p()}),0);else{const e=function(){h.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),p()};h.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},90224:function(e,t,n){"use strict";n.r(t);var r=n(67294),i=n(1975),o=n(94779);t.default=e=>{let{location:t}=e;const n=i.ZP.loadPageSync(t.pathname);return n?r.createElement(o.Z,{location:t,pageResources:n,...n.json}):null}},82743:function(e,t,n){var r;e.exports=(r=n(90224))&&r.default||r},24941:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});const r=new WeakMap;function i(){const e=n(20745);return{render:(t,n)=>{let i=r.get(n);i||r.set(n,i=e.createRoot(n)),i.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},96073:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=JSON.parse('[{"fromPath":"/index.html","isPermanent":false,"ignoreCase":true,"redirectInBrowser":true,"toPath":"/"}]');const i=new Map,o=new Map;function a(e){let t=i.get(e);return t||(t=o.get(e.toLowerCase())),t}r.forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):i.set(e.fromPath,e)}))},29939:function(e,t,n){"use strict";n.r(t);var r=n(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"
2in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,r.h)("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.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},38995:function(e,t,n){"use strict";n.d(t,{Bs:function(){return o},Db:function(){return s},m3:function(){return i},u0:function(){return a}});var r=n(67294);const i=r.createContext({}),o=r.createContext({}),a=r.createContext({}),s=r.createContext({})},51757:function(e,t,n){"use strict";n.d(t,{i1:function(){return c},B9:function(){return i},K2:function(){return u}});var r=n(67294);const i=(o="StaticQuery",a={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(o,a):r.createContext(a));var o,a;function s(e){let{staticQueryData:t,data:n,query:i,render:o}=e;const a=n?n.data:t[i]&&t[i].data;return r.createElement(r.Fragment,null,a&&o(a),!a&&r.createElement("div",null,"Loading (StaticQuery)"))}const c=e=>{const{data:t,query:n,render:o,children:a}=e;return r.createElement(i.Consumer,null,(e=>r.createElement(s,{data:t,query:n,render:o||a,staticQueryData:e})))},u=e=>{var t;r.useContext;const n=r.useContext(i);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")}},41505:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},22405:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapPageElement:function(){return oi},wrapRootElement:function(){return ii}});var r=n(67294),i=n(64593),o=n(87896);const a=[{title:"",description:"",path:"/404"},{title:"Scrape Data from Any Web Page, Like Magic | Hexofy",description:"Say goodbye to copy-pasting with super simple 1-click web scraping you can use anywhere from your browser.",path:"/"},{title:"Terms of Service | Hexofy",description:"These Terms of Service contain an Arbitration Agreement that may impact your rights to use the courts to resolve disputes.",path:"/terms-of-use"},{title:"Customer support contacts | Hexofy",description:"Customer support contacts - content change detection and alerting solution",path:"/contact"},{title:"Privacy Policy | Hexofy",description:"Your privacy is very important to us and we have created this privacy statement in order to demonstrate our commitment to you.",path:"/privacy-policy"},{title:"Cookie Policy | Hexofy",description:"This Cookie Policy describes how and why HEXACT use cookies",path:"/cookie-policy"},{title:"Team Access | Hexofy",description:"",path:"/team-access"},{title:"FAQ | Frequently Asked Questions | Hexofy",description:"Do you have any questions regarding Hexofy and its functions? Review our FAQ list and find answers on all your questions or contact us.",path:"/faq"},{title:"My Profile | Hexofy",description:"",path:"/profile"},{title:"My Plans | Hexofy",description:"",path:"/profile/my-plans"},{title:"Payment Method | Hexofy",description:"",path:"/profile/payment-methods"},{title:"Code Redeem | Hexofy",description:"",path:"/profile/promo-codes"},{title:"Security | Hexofy",description:"",path:"/profile/security"},{title:"Limited time offer | Hexofy",description:"Get Hexofy's life-time deal with our pricing-promo for a limited time offer!",path:"/promo95093"},{title:"Limited time offer | Hexofy",description:"Get Hexofy's life-time deal with our pricing-promo for a limited time offer!",path:"/promo95702"}];var s=()=>r.createElement(o.Location,null,(e=>{let{location:t}=e;const n=a.find((e=>"/"===t.pathname[t.pathname.length-1]&&"/"!==t.pathname?e.path===t.pathname.substr(0,t.pathname.length-1):"/"===t.pathname?e.path===t.pathname:t.pathname===e.path||t.pathname===e.path+"/"));return n&&r.createElement(i.q,{key:n.title,title:n.title},r.createElement("html",{lang:"en"}),!t.pathname.includes("/reset-password")&&!t.pathname.includes("/404")&&!t.pathname.includes("/team-access")&&r.createElement("script",{type:"text/javascript"},"(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n                  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n                  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n                  'https://www.googletagmanager.com/gtm.js?id='
2+i+dl;f.parentNode.insertBefore(j,f);\n                  })(window,document,'script','dataLayer','GTM-MNRKBNB');"),r.createElement("script",{type:"application/ld+json"},'{"@context": "https://schema.org","@type": "Organization","name": "Hexofy","url": "https://hexofy.com/","logo": "https://hexofy.com/logo.png"}'),r.createElement("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png"}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"192x192",href:"/android-chrome-192x192.png"}),r.createElement("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png"}),r.createElement("link",{rel:"canonical",href:"https://hexofy.com"+t.pathname}),r.createElement("meta",{name:"msapplication-TileColor",content:"#F8C000"}),r.createElement("meta",{name:"msapplication-TileImage",content:"/mstile-144x144.png"}),r.createElement("meta",{name:"theme-color",content:"#ffffff"}),r.createElement("meta",{name:"msapplication-config",content:"/browserconfig.xml"}),r.createElement("meta",{name:"description",content:n.description}),r.createElement("meta",{property:"og:type",content:"website"}),r.createElement("meta",{property:"og:image",content:"https://hexofy.com/Home-page-illustrations.jpg"}),r.createElement("meta",{property:"og:url",content:"https://hexofy.com"+t.pathname}),r.createElement("meta",{property:"og:title",content:n.title}),r.createElement("meta",{property:"og:description",content:n.description}),r.createElement("meta",{property:"og:locale",content:"en_US"}),r.createElement("meta",{name:"twitter:image",content:"https://hexofy.com/Home-page-illustrations.jpg"}),r.createElement("meta",{name:"twitter:title",content:n.title}),r.createElement("meta",{name:"twitter:description",content:n.description}),r.createElement("meta",{name:"twitter:card",content:"summary_large_image"}),r.createElement("meta",{name:"twitter:site",content:"@hexactinc"}))})),c=null;"undefined"!=typeof WebSocket?c=WebSocket:"undefined"!=typeof MozWebSocket?c=MozWebSocket:void 0!==n.g?c=n.g.WebSocket||n.g.MozWebSocket:"undefined"!=typeof window?c=window.WebSocket||window.MozWebSocket:"undefined"!=typeof self&&(c=self.WebSocket||self.MozWebSocket);var u=c,l=n(21060),p=n.n(l),f=n(70655),d=n(83952);function h(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return m(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 m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t,n){return t&&y(e.prototype,t),n&&y(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var g=function(){return"function"==typeof Symbol},b=function(e){return g()&&Boolean(Symbol[e])},E=function(e){return b(e)?Symbol[e]:"@@"+e};g()&&!b("observable")&&(Symbol.observable=Symbol("observable"));var _=E("iterator"),w=E("observable"),F=E("species");function k(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function O(e){var t=e.constructor;return void 0!==t&&null===(t=t[F])&&(t=void 0),void 0!==t?t:N}function S(e){return e instanceof N}function T(e){T.log?T.log(e):setTimeout((function(){throw e}))}function C(e){Promise.resolve().then((function(){try{e()}catch(Wr){T(Wr)}}))}function x(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=k(t,"unsubscribe");n&&n.call(t)}}catch(Wr){T(Wr)}}function U(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function j(e,t,n){e._state="running";var r=e._observer;try{var i=k(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(U(e),!i)throw n;i.call(r,n);break;case"complete":U(e),i&&i.call(r)}}catch(Wr){T(Wr)}"closed"===e._state?x(e):"running"===e._state&&(e._state="ready")}function I(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 C((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(j(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void j(e,t,n);e._queue.push({type:t,value:n})}}var D=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new P(this);try{this._cleanup=t.call(void 0,n)}catch(Wr){n.error(Wr)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(U(this),x(this))},v(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),P=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){I(this._subscription,"next",e)},t.error=function(e){I(this._subscription,"error",e)},t.complete=function(){I(this._subscription,"complete")},v(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),N=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 D(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(n,r){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(Wr){r(Wr),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),n()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(O(this))((function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(Wr){return n.error(Wr)}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(O(this))((function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(Wr){return n.error(Wr)}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=O(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n((function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(Wr){return n.error(Wr)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=O(this);return new i((function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(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=O(this);return new n((function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(Wr){return r.error(Wr)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
2return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[w]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var r=k(t,w);if(r){var i=r.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return S(i)&&i.constructor===n?i:new n((function(e){return i.subscribe(e)}))}if(b("iterator")&&(r=k(t,_)))return new n((function(e){C((function(){if(!e.closed){for(var n,i=h(r.call(t));!(n=i()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new n((function(e){C((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i="function"==typeof this?this:e;return new i((function(e){C((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}))},v(e,null,[{key:F,get:function(){return this}}]),e}();g()&&Object.defineProperty(N,Symbol("extensions"),{value:{symbol:w,hostReportError:T},configurable:!0});var R=n(13154);function A(e,t){var n=t,r=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new d.ej("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new d.ej(44);"FragmentDefinition"===e.kind&&r.push(e)})),void 0===n&&(__DEV__?(0,d.kG)(1===r.length,"Found ".concat(r.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,d.kG)(1===r.length,45),n=r[0].name.value),(0,f.pi)((0,f.pi)({},e),{definitions:(0,f.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function M(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function L(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 __DEV__?(0,d.kG)(r,"No fragment named ".concat(n)):(0,d.kG)(r,46),r||null;default:return null}}function q(e){return{__ref:String(e)}}function Q(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function V(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 i={};n.fields.map((function(e){return V(i,e.name,e.value,r)})),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var o=(r||{})[n.name.value];e[t.value]=o}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return V(n,t,e,r),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw __DEV__?new d.ej('The inline argument "'.concat(t.value,'" of kind "').concat(n.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new d.ej(55);e[t.value]=null}}var B=["connection","include","skip","client","rest","export"],G=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 i={};return r.forEach((function(e){i[e]=t[e]})),"".concat(n.connection.key,"(").concat(H(i),")")}return n.connection.key}var o=e;if(t){var a=H(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===B.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(H(n[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=H;return H=e,t}}),H=function(e){return JSON.stringify(e,W)};function W(e,t){return(0,R.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,n){return e[n]=t[n],e}),{})),t}function K(e,t){if(e.arguments&&e.arguments.length){var n={};
2return e.arguments.forEach((function(e){var r=e.name,i=e.value;return V(n,r,i,t)})),n}return null}function z(e){return e.alias?e.alias.value:e.name.value}function J(e,t,n){if("string"==typeof e.__typename)return e.__typename;for(var r=0,i=t.selections;r<i.length;r++){var o=i[r];if(Y(o)){if("__typename"===o.name.value)return e[z(o)]}else{var a=J(e,L(o,n).selectionSet,n);if("string"==typeof a)return a}}}function Y(e){return"Field"===e.kind}function Z(e){return"InlineFragment"===e.kind}function $(e){__DEV__?(0,d.kG)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,d.kG)(e&&"Document"===e.kind,47);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new d.ej('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new d.ej(48);return e}));return __DEV__?(0,d.kG)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,d.kG)(t.length<=1,49),e}function X(e){return $(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function ee(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function te(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function ne(e){var t=X(e);return __DEV__?(0,d.kG)(t&&"query"===t.operation,"Must contain a query definition."):(0,d.kG)(t&&"query"===t.operation,50),t}function re(e){var t;$(e);for(var n=0,r=e.definitions;n<r.length;n++){var i=r[n];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw __DEV__?new d.ej("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new d.ej(54)}function ie(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&V(t,e.variable.name,e.defaultValue)})),t}function oe(e,t){return t?t(e):N.of()}function ae(e){return"function"==typeof e?new ue(e):e}function se(e){return e.request.length<=1}var ce=function(e){function t(t,n){var r=e.call(this,t)||this;return r.link=n,r}return(0,f.ZT)(t,e),t}(Error),ue=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return N.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(ae).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var i=ae(n),o=ae(r||new e(oe));return se(i)&&se(o)?new e((function(e){return t(e)?i.request(e)||N.of():o.request(e)||N.of()})):new e((function(e,n){return t(e)?i.request(e,n)||N.of():o.request(e,n)||N.of()}))},e.execute=function(e,t){return e.request(function(e,t){var n=(0,f.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,f.pi)((0,f.pi)({},n),e(n)):(0,f.pi)((0,f.pi)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,f.pi)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?ee(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 i=r[n];if(t.indexOf(i)<0)throw __DEV__?new d.ej("illegal argument: ".concat(i)):new d.ej(27)}return e}(t))))||N.of()},e.concat=function(t,n){var r=ae(t);if(se(r))return __DEV__&&d.kG.warn(new ce("You are calling concat on a terminating link, which will have no effect",r)),r;var i=ae(n);return se(i)?new e((function(e){return r.request(e,(function(e){return i.request(e)||N.of()}))||N.of()})):new e((function(e,t){return r.request(e,(function(e){return i.request(e,t)||N.of()}))||N.of()}))},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(oe)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new d.ej("request is not implemented"):new d.ej(22)},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}(),le=n(77304);function pe(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,r=e.name.value;__DEV__?(0,d.kG)(n&&1===n.length,"Incorrect number of arguments for the @".concat(r," directive.")):(0,d.kG)(n&&1===n.length,41);var i=n[0];__DEV__?(0,d.kG)(i.name&&"if"===i.name.value,"Invalid argument for the @".concat(r," directive.")):(0,d.kG)(i.name&&"if"===i.name.value,42);var o=i.value;__DEV__?(0,d.kG)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),"Argument for the @".concat(r," directive must be a variable or a boolean value.")):(0,d.kG)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),43),t.push({directive:e,ifArgument:i})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?(i=t&&t[r.value.name.value],__DEV__?(0,d.kG)(void 0!==i,"Invalid variable referenced in @".concat(n.name.value," directive.")):(0,d.kG)(void 0!==i,40)):i=r.value.value,"skip"===n.name.value?!i:i}))}function fe(e,t,n){var r=new Set(e),i=r.size;return(0,le.Vn)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return le.$_}}),n?!r.size:r.size<i}function de(e){return e&&fe(["client","export"],e,!0)}var he=function(e,t){var n;try{n=JSON.stringify(e)}catch(Wr){var r=__DEV__?new d.ej("Network request failed. ".concat(t," is not serializable: ").concat(Wr.message)):new d.ej(24);throw r.parseError=Wr,r}return n},me=n(30320);function ye(e){var t=null,n=null,r=!1,i=[],o=[];
2function a(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){n=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){r=!0,o.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",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise((function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])}))}};return me.DN&&(u[Symbol.asyncIterator]=function(){return this}),u}function ve(e){var t={next:function(){return e.read()}};return me.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function ge(e){var t,n,r,i=e;if(e.body&&(i=e.body),function(e){return!(!me.DN||!e[Symbol.asyncIterator])}(i))return function(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}(i);if(function(e){return!!e.getReader}(i))return ve(i.getReader());if(function(e){return!!e.stream}(i))return ve(i.stream().getReader());if(function(e){return!!e.arrayBuffer}(i))return t=i.arrayBuffer(),n=!1,r={next:function(){return n?Promise.resolve({value:void 0,done:!0}):(n=!0,new Promise((function(e,n){t.then((function(t){e({value:t,done:!1})})).catch(n)})))}},me.DN&&(r[Symbol.asyncIterator]=function(){return this}),r;if(function(e){return!!e.pipe}(i))return ye(i);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var be=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},Ee=Object.prototype.hasOwnProperty;function _e(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(),i=e.slice(n+1).trim();t[r]=i}})),t}function we(e,t){if(e.status>=300){be(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}}function Fe(e,t){var n,r;"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&(null===(n=t.next)||void 0===n||n.call(t,e.result)),null===(r=t.error)||void 0===r||r.call(t,e))}function ke(e,t,n){var r;(r=t,function(e){return e.text().then((function(t){return we(e,t)})).then((function(t){return e.status>=300&&be(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||Ee.call(t,"data")||Ee.call(t,"errors")||be(e,t,"Server response was missing for query '".concat(Array.isArray(r)?r.map((function(e){return e.operationName})):r.operationName,"'.")),t}))})(e).then((function(e){var t,r;null===(t=n.next)||void 0===t||t.call(n,e),null===(r=n.complete)||void 0===r||r.call(n)})).catch((function(e){return Fe(e,n)}))}var Oe=n(73486),Se={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Te=function(e,t){return t(e)};function Ce(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},o={};n.forEach((function(e){i=(0,f.pi)((0,f.pi)((0,f.pi)({},i),e.options),{headers:(0,f.pi)((0,f.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,f.pi)((0,f.pi)({},o),e.http)})),i.headers&&(i.headers=xe(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,c=e.variables,u=e.query,l={operationName:a,variables:c};return o.includeExtensions&&(l.extensions=s),o.includeQuery&&(l.query=t(u,Oe.print)),{options:i,body:l}}function xe(e,t){if(!t){var n=Object.create(null);
2return Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]=e[t]})),n}var r=Object.create(null);Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}}));var i=Object.create(null);return Object.keys(r).forEach((function(e){i[r[e].originalName]=r[e].value})),i}function Ue(e){return new N((function(t){t.error(e)}))}var je=(0,d.wY)((function(){return fetch})),Ie=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,i=e.print,o=void 0===i?Te:i,a=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,l=void 0!==u&&u,p=(0,f._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new d.ej("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n  link: new HttpLink({ uri: '/graphql', fetch })\n});\n    "):new d.ej(23)}(r||je);var h={http:{includeExtensions:a,preserveHeaderCase:s},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new ue((function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),i=e.getContext(),a={};if(i.clientAwareness){var s=i.clientAwareness,u=s.name,p=s.version;u&&(a["apollographql-client-name"]=u),p&&(a["apollographql-client-version"]=p)}var m,y=(0,f.pi)((0,f.pi)({},a),i.headers),v={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:y},g=Ce(e,o,Se,h,v),b=g.options,E=g.body;if(E.variables&&!l){var _=new Set(Object.keys(E.variables));(0,le.Vn)(e.query,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&_.delete(e.name.value)}}),_.size&&(E.variables=(0,f.pi)({},E.variables),_.forEach((function(e){delete E.variables[e]})))}if(!b.signal){var w=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),F=w.controller,k=w.signal;(m=F)&&(b.signal=k)}if(c&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(b.method="GET"),fe(["defer"],e.query)&&(b.headers=b.headers||{},b.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),"GET"===b.method){var O=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 i=void 0;try{i=he(t.variables,"Variables map")}catch(T){return{parseError:T}}r("variables",i)}if(t.extensions){var o=void 0;try{o=he(t.extensions,"Extensions map")}catch(T){return{parseError:T}}r("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+n.join("&")+a}}(t,E),S=O.newURI,T=O.parseError;if(T)return Ue(T);t=S}else try{b.body=he(E,"Payload")}catch(T){return Ue(T)}return new N((function(n){return(r||(0,d.wY)((function(){return fetch}))||je)(t,b).then((function(t){var r;e.setContext({response:t});var i=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?function(e,t){var n,r,i;return(0,f.mG)(this,void 0,void 0,(function(){var o,a,s,c,u,l,p,d,h,m,y,v,g,b,E,_,w,F,k,O;return(0,f.Jh)(this,(function(f){switch(f.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");o=new TextDecoder("utf-8"),a=null===(n=e.headers)||void 0===n?void 0:n.get("content-type"),s="boundary=",c=(null==a?void 0:a.includes(s))?null==a?void 0:a.substring((null==a?void 0:a.indexOf(s))+s.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",u="--".concat(c),l="",p=ge(e),d=!0,f.label=1;case 1:return d?[4,p.next()]:[3,3];case 2:for(h=f.sent(),m=h.value,y=h.done,v="string"==typeof m?m:o.decode(m),d=!y,g=(l+=v).indexOf(u);g>-1;){if(b=void 0,O=[l.slice(0,g),l.slice(g+u.length)],l=O[1],(b=O[0]).trim()){if(E=b.indexOf("\r\n\r\n"),_=_e(b.slice(0,E)),(w=_["content-type"])&&-1===w.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");F=b.slice(E);try{k=we(e,F.replace("\r\n","")),(Object.keys(k).length>1||"data"in k||"incremental"in k||"errors"in k)&&(null===(r=t.next)||void 0===r||r.call(t,k))}catch(S){Fe(S,t)}}g=l.indexOf(u)}return[3,1];case 3:return null===(i=t.complete)||void 0===i||i.call(t),[2]}}))}))}(t,n):ke(t,e,n)}
2)).catch((function(e){return Fe(e,n)})),function(){m&&m.abort()}}))}))},De=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Ie(t).request)||this;return n.options=t,n}return(0,f.ZT)(t,e),t}(ue),Pe=ue.split,Ne=ue.execute,Re=n(82152),Ae=n(21436),Me=Object.prototype.hasOwnProperty;function Le(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return qe(e)}function qe(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new Ve,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var Qe=function(e,t,n){return this.merge(e[n],t[n])},Ve=function(){function e(e){void 0===e&&(e=Qe),this.reconciler=e,this.isObject=R.s,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.s)(t)&&(0,R.s)(e)?(Object.keys(t).forEach((function(i){if(Me.call(e,i)){var o=e[i];if(t[i]!==o){var a=n.reconciler.apply(n,(0,f.ev)([e,t,i],r,!1));a!==o&&((e=n.shallowCopyForMerge(e))[i]=a)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,R.s)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,f.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function Be(e){return"incremental"in e}function Ge(e,t){var n=e,r=new Ve;return Be(t)&&(0,Ae.O)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=!isNaN(+a)?[]:{};s[a]=t,t=s}n=r.merge(n,t)})),n}var He=function(){return Object.create(null)},We=Array.prototype,Ke=We.forEach,ze=We.slice,Je=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=He),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return Ke.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(ze.call(e)))},e.prototype.getChildTrie=function(t){var n=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=n.get(t);return r||n.set(t,r=new e(this.weakness,this.makeData)),r},e}();var Ye=n(53712),Ze=Object.prototype.hasOwnProperty;function $e(e){return null==e}var Xe=Array.isArray;function et(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=$e(r)?$e(i)?void 0:{_id:i}:{id:r}),$e(r)&&!$e(i)&&(r=i),!$e(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var tt={dataIdFromObject:et,addTypename:!0,resultCaching:!0,canonizeResults:!1};function nt(e){var t=e.canonizeResults;return void 0===t?tt.canonizeResults:t}var rt=/^[_a-z][_0-9a-z]*/i;function it(e){var t=e.match(rt);return t?t[0]:e}function ot(e,t,n){return!!(0,R.s)(t)&&(Xe(t)?t.every((function(t){return ot(e,t,n)})):e.selections.every((function(e){if(Y(e)&&pe(e,n)){var r=z(e);return Ze.call(t,r)&&(!e.selectionSet||ot(e.selectionSet,t[r],n))}return!0})))}function at(e){return(0,R.s)(e)&&!Q(e)&&!Xe(e)}function st(e,t){var n=M(te(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var ct,ut,lt=function(){function e(){this.known=new(me.sy?WeakSet:Set),this.pool=new Je(me.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,R.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,R.s)(e)){var t=function(e){return(0,R.s)(e)?Xe(e)?e.slice(0):(0,f.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,R.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(s=this.pool.lookupArray(r)).array||(this.known.add(s.array=r),__DEV__&&Object.freeze(r)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],a=this.sortedKeys(e);o.push(a.json);var s,c=o.length;if(a.sorted.forEach((function(n){o.push(t.admit(e[n]))})),!(s=this.pool.lookupArray(o)).object){var u=s.object=Object.create(i);this.known.add(u),a.sorted.forEach((function(e,t){u[e]=o[c+t]})),__DEV__&&Object.freeze(u)}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}(),pt=Object.assign((function(e){if((0,R.s)(e)){void 0===ct&&ft();var t=ct.admit(e),n=ut.get(t);return void 0===n&&ut.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)}),{reset:ft});function ft(){ct=new lt,ut=new(me.mr?WeakMap:Map)}function dt(e,t,n){return new N((function(r){var i=r.next,o=r.error,a=r.complete,s=0,c=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++s;var n=function(){return e(t)};u=u.then(n,n).then((function(e){--s,i&&i.call(r,e),c&&p.complete()}),(function(e){throw--s,e})).catch((function(e){o&&o.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var p={next:l(t,i),error:l(n,o),complete:function(){c=!0,s||a&&a.call(r)}},f=e.subscribe(p);return function(){return f.unsubscribe()}}))}function ht(e){var t=mt(e);return(0,Ae.O)(t)}function mt(e){var t=(0,Ae.O)(e.errors)?e.errors.slice(0):[];return Be(e)&&(0,Ae.O)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}function yt(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}var vt={kind:"Field",name:{kind:"Name",value:"__typename"}};function gt(e,t){return!e||e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&gt(t[e.name.value],t)}))}function bt(e){return gt(X(e)||function(e){__DEV__?(0,d.kG)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,d.kG)("Document"===e.kind,51),__DEV__?(0,d.kG)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,d.kG)(e.definitions.length<=1,52);var t=e.definitions[0];return __DEV__?(0,d.kG)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,d.kG)("FragmentDefinition"===t.kind,53),t}(e),M(te(e)))?null:e}function Et(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function _t(e,t){var n=Object.create(null),r=[],i=Object.create(null),o=[],a=bt((0,le.Vn)(t,{Variable:{enter:function(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(Et(e))))return t.arguments&&t.arguments.forEac
2h((function(e){"Variable"===e.value.kind&&r.push({name:e.value.name.value})})),t.selectionSet&&kt(t.selectionSet).forEach((function(e){o.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){i[e.name.value]=!0}},Directive:{enter:function(t){if(Et(e)(t))return null}}}));return a&&yt(r,(function(e){return!!e.name&&!n[e.name]})).length&&(a=function(e,t){var n=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return bt((0,le.Vn)(t,{OperationDefinition:{enter:function(t){return(0,f.pi)((0,f.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}(r,a)),a&&yt(o,(function(e){return!!e.name&&!i[e.name]})).length&&(a=function(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return bt((0,le.Vn)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}(o,a)),a}var wt=Object.assign((function(e){return(0,le.Vn)(e,{SelectionSet:{enter:function(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return Y(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!(Y(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return(0,f.pi)((0,f.pi)({},e),{selections:(0,f.ev)((0,f.ev)([],r,!0),[vt],!1)})}}}}})}),{added:function(e){return e===vt}}),Ft={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&d.kG.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function kt(e){var t=[];return e.selections.forEach((function(e){(Y(e)||Z(e))&&e.selectionSet?kt(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function Ot(e){return"query"===re(e).operation?e:(0,le.Vn)(e,{OperationDefinition:{enter:function(e){return(0,f.pi)((0,f.pi)({},e),{operation:"query"})}}})}var St=new Map;function Tt(e){var t=St.get(e)||1;return St.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function Ct(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function xt(e){function t(t){Object.defineProperty(e,t,{value:N})}return me.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function Ut(e){return e&&"function"==typeof e.then}var jt=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),Ct(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),Ct(n.observers,"error",e))},complete:function(){var e=n.sub;if(null!==e){var t=n.sources.shift();t?Ut(t)?t.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=t.subscribe(n.handlers):(e&&setTimeout((function(){return e.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),Ct(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"==typeof t&&(t=[new N(t)]),Ut(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,f.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},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}(N);xt(jt);var It=n(30990),Dt=n(1644),Pt=Object.prototype.toString;function Nt(e){return Rt(e)}function Rt(e,t){switch(Pt.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]=Rt(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]=Rt(e[n],t)})),r;default:return e}}var At=Object.assign,Mt=Object.hasOwnProperty,Lt=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,o=e.call(this,(function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=Qt)}catch(t){}var r=!o.observers.size;o.observers.add(e);var i=o.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),r&&o.reobserve().catch((function(){})),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}}))||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=r,o.queryManager=n,o.isTornDown=!1;var a=n.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,c=void 0===s?"cache-first":s,u=i.fetchPolicy,l=void 0===u?c:u,p=i.initialFetchPolicy,d=void 0===p?"standby"===l?c:l:p;o.options=(0,f.pi)((0,f.pi)({},i),{initialFetchPolicy:d,fetchPolicy:l}),o.queryId=r.queryId||n.generateQueryId();var h=X(o.query);return o.queryName=h&&h.name&&h.name.value,o}return(0,f.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||Dt.I.ready,r=(0,f.pi)((0,f.pi)({},t),{loading:(0,Dt.O)(n),networkStatus:n}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if("network-only"===o||"no-cache"===o||"standby"===o||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(r.data=a.result),(0,Re.D)(r.data,{})&&(r.data=void 0),a.complete?(delete r.partial,!a.complete||r.networkStatus!==Dt.I.loading||"cache-first"!==o&&"cache-only"!==o||(r.networkStatus=Dt.I.ready,r.loading=!1)):r.partial=!0,!__DEV__||a.complete||this.options.partialRefetch||r.loading||r.data||r.error||Vt(a.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||!(0,Re.D)(this.last.result,e)||t&&!(0,Re.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,Re.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if(n.fetchPolicy="cache-and-network"===r?r:"no-cache"===r?"no-cache":"network-only",__DEV__&&e&&Mt.call(e,"variables")){var i=ne(this.query),o=i.variableDefinitions;o&&o.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&d.kG.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=i.name)||void 0===t?void 0:t.value)||JSON.stringify(i),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,Re.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,f.pi)((0,f.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,Dt.I.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,f.pi)((0,f.pi)({},e.query?e:(0,f.pi)((0,f.pi)((0,f.pi)((0,f.pi)({},this.options),{query:this.query}),e),{variables:(0,f.pi)((0,f.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),r=this.queryManager.generateQueryId(),i=this.queryInfo,o=i.networkStatus;i.networkStatus=Dt.I.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set;return this.queryManager.fetchQuery(r,n,Dt.I.fetchMore).then((function(s){return t.queryManager.removeQuery(r),i.networkStatus===Dt.I.fetchMore&&(i.networkStatus=o),t.queryManager.cache.batch({update:function(r){var i=e.updateQuery;i?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return i(e,{fetchMoreResult:s.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:s.data})},onWatchUpdated:function(e){a.add(e.query)}}),s})).finally((function(){a.has(t.query)||qt(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 i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&d.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,Re.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},Dt.I.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,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n){if(!t||t.interval!==n){__DEV__?(0,d.kG)(n,"Attempted to start a polling query without a polling interval."):(0,d.kG)(n,13),(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&((0,Dt.O)(e.queryInfo.networkStatus)?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},Dt.I.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,f.pi)((0,f.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:Nt(e),variables:t}),(0,Ae.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var n=this;this.isTornDown=!1;var r=t===Dt.I.refetch||t===Dt.I.fetchMore||t===Dt.I.poll,i=this.options.variables,o=this.options.fetchPolicy,a=(0,Ye.o)(this.options,e||{}),s=r?a:At(this.options,a);r||(this.updatePolling(),e&&e.variables&&!(0,Re.D)(e.variables,i)&&"standby"!==s.fetchPolicy&&s.fetchPolicy===o&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=Dt.I.setVariables)));var c=s.variables&&(0,f.pi)({},s.variables),u=this.fetch(s,t),l={next:function(e){n.reportResult(e,c)},error:function(e){n.reportError(e,c)}};return r||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=u,this.observer=l),u.addObserver(l),u.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError();(n||this.isDifferentFromLastResult(e,t))&&((n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),Ct(this.observers,"next",e))},t.prototype.reportError=function(e,t){var n=(0,f.pi)((0,f.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:Dt.I.error,loading:!1});this.updateLastResult(n,t),Ct(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}(N);function qt(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=r,"function"==typeof r?r.apply(this,arguments):n}}):e.reobserve()}function Qt(e){__DEV__&&d.kG.error("Unhandled error",e.message,e.stack)}function Vt(e){__DEV__&&e&&__DEV__&&d.kG.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}xt(Lt);var Bt=n(97359);function Gt(e){return e.kind===Bt.h.FIELD||e.kind===Bt.h.FRAGMENT_SPREAD||e.kind===Bt.h.INLINE_FRAGMENT}var Ht=null,Wt={},Kt=1;function zt(e){try{return e()}catch(t){}}var Jt="@wry/context:Slot",Yt=zt((function(){return globalThis}))||zt((function(){return n.g}))||Object.create(null),Zt=Yt[Jt]||Array[Jt]||function(e){try{Object.defineProperty(Yt,Jt,{value:e,enumerable:!1,writable:!1,
2configurable:!0})}finally{return e}}(function(){function e(){this.id=["slot",Kt++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=Ht;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===Wt)break;return e!==Ht&&(Ht.slots[this.id]=t),!0}return Ht&&(Ht.slots[this.id]=Wt),!1},e.prototype.getValue=function(){if(this.hasValue())return Ht.slots[this.id]},e.prototype.withValue=function(e,t,n,r){var i,o=((i={__proto__:null})[this.id]=e,i),a=Ht;Ht={parent:a,slots:o};try{return t.apply(r,n)}finally{Ht=a}},e.bind=function(e){var t=Ht;return function(){var n=Ht;try{return Ht=t,e.apply(this,arguments)}finally{Ht=n}}},e.noContext=function(e,t,n){if(!Ht)return e.apply(n,t);var r=Ht;try{return Ht=null,e.apply(n,t)}finally{Ht=r}},e}());Zt.bind,Zt.noContext;function $t(){}var Xt,en=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=$t),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},e.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),tn=new Zt,nn=Object.prototype.hasOwnProperty,rn=void 0===(Xt=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:Xt;function on(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var an=[];function sn(e,t){if(!e)throw new Error(t||"assertion failure")}function cn(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var un=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!fn(this))return ln(this),this.value[0]},e.prototype.recompute=function(e){return sn(!this.recomputing,"already recomputing"),ln(this),fn(this)?function(e,t){bn(e),tn.withValue(e,pn,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{on(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(Wr){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,fn(e))return;hn(e)}(e);return cn(e.value)}(this,e):cn(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,dn(this),on(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),bn(this),mn(this,(function(t,n){t.setDirty(),En(t,e)}))},e.prototype.forget=function(){this.dispose()}
2,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=an.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(rn(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),an.push(this.deps),this.deps=null)},e.count=0,e}();function ln(e){var t=tn.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),fn(e)?yn(t,e):vn(t,e),t}function pn(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(Wr){e.value[1]=Wr}e.recomputing=!1}function fn(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function dn(e){mn(e,yn)}function hn(e){mn(e,vn)}function mn(e,t){var n=e.parents.size;if(n)for(var r=rn(e.parents),i=0;i<n;++i)t(r[i],e)}function yn(e,t){sn(e.childValues.has(t)),sn(fn(t));var n=!fn(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=an.pop()||new Set;e.dirtyChildren.add(t),n&&dn(e)}function vn(e,t){sn(e.childValues.has(t)),sn(!fn(t));var n,r,i,o=e.childValues.get(t);0===o.length?e.childValues.set(t,t.value.slice(0)):(n=o,r=t.value,(i=n.length)>0&&i===r.length&&n[i-1]===r[i-1]||e.setDirty()),gn(e,t),fn(e)||hn(e)}function gn(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(an.length<100&&an.push(n),e.dirtyChildren=null))}function bn(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){En(e,n)})),e.forgetDeps(),sn(null===e.dirtyChildren)}function En(e,t){t.parents.delete(e),e.childValues.delete(t),gn(e,t)}var _n={setDirty:!0,dispose:!0,forget:!0};function wn(e){var t=new Map,n=e&&e.subscribe;function r(e){var r=tn.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(on(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){var r=t.get(e);if(r){var i=n&&nn.call(_n,n)?n:"setDirty";rn(r).forEach((function(e){return e[i]()})),t.delete(e),on(r)}},r}function Fn(){var e=new Je("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}Fn();var kn=new Set;function On(e,t){void 0===t&&(t=Object.create(null));var n=new en(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||Fn(),o=function(){var o=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var a=n.get(o);a||(n.set(o,a=new un(e)),a.subscribe=t.subscribe,a.forget=function(){return n.delete(o)});var s=a.recompute(Array.prototype.slice.call(arguments));return n.set(o,a),kn.add(n),tn.hasValue()||(kn.forEach((function(e){return e.clean()})),kn.clear()),s};function a(e){var t=n.get(e);t&&t.setDirty()}function s(e){var t=n.get(e);if(t)return t.peek()}function c(e){return n.delete(e)}return Object.defineProperty(o,"size",{get:function(){return n.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))},o.peekKey=s,o.peek=function(){return s(i.apply(null,arguments))},o.forgetKey=c,o.forget=function(){return c(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(o)}var Sn=new Zt,Tn=new WeakMap;function Cn(e){var t=Tn.get(e);return t||Tn.set(e,t={vars:new Set,dep:wn()}),t}function xn(e){Cn(e).vars.forEach((function(t){return t.forgetCache(e)}))}function Un(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach((function(e){Cn(e).dep.dirty(r),jn(e)}));var a=Array.from(n);n.clear(),a.forEach((function(t){return t(e)}))}}else{var s=Sn.getValue();s&&(i(s),Cn(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),Cn(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function jn(e){e.broadcastWatches&&e.broadcastWatches()}var In=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Le(t.resolvers,e)})):this.resolvers=Le(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,f.mG)(this,void 0,void 0,(function(){return(0,f.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,a).then((function(e){return(0,f.pi)((0,f.pi)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return fe(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return function(e){$(e);var t=_t([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=(0,le.Vn)(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return Y(e)&&"__typename"===e.name.value})))return null}}})),t}(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,f.pi)((0,f.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,f.mG)(this,void 0,void 0,(function(){return(0,f.Jh)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,f.pi)((0,f.pi)({},t),e.exportedVariables)}))]:[2,(0,f.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,le.Vn)(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 le.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Ot(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,r,i,o){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,f.mG)(this,void 0,void 0,(function(){var a,s,c,u,l,p,d,h,m,y;return(0,f.Jh)(this,(function(v){return a=re(e),s=te(e),c=M(s),u=this.collectSelectionsToResolve(a,c),l=a.operation,p=l?l.charAt(0).toUpperCase()+l.slice(1):"Query",h=(d=this).cache,m=d.client,y={fragmentMap:c,context:(0,f.pi)((0,f.pi)({}
2,n),{cache:h,client:m}),variables:r,fragmentMatcher:i,defaultOperationType:p,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},!1,[2,this.resolveSelectionSet(a.selectionSet,false,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,r){return(0,f.mG)(this,void 0,void 0,(function(){var i,o,a,s,c,u=this;return(0,f.Jh)(this,(function(l){return i=r.fragmentMap,o=r.context,a=r.variables,s=[n],c=function(e){return(0,f.mG)(u,void 0,void 0,(function(){var c,u;return(0,f.Jh)(this,(function(l){return(t||r.selectionsToResolve.has(e))&&pe(e,a)?Y(e)?[2,this.resolveField(e,t,n,r).then((function(t){var n;void 0!==t&&s.push(((n={})[z(e)]=t,n))}))]:(Z(e)?c=e:(c=i[e.name.value],__DEV__?(0,d.kG)(c,"No fragment named ".concat(e.name.value)):(0,d.kG)(c,11)),c&&c.typeCondition&&(u=c.typeCondition.name.value,r.fragmentMatcher(n,u,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n,r).then((function(e){s.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return qe(s)}))]}))}))},e.prototype.resolveField=function(e,t,n,r){return(0,f.mG)(this,void 0,void 0,(function(){var i,o,a,s,c,u,l,p,d,h=this;return(0,f.Jh)(this,(function(f){return i=r.variables,o=e.name.value,a=z(e),s=o!==a,c=n[a]||n[o],u=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=n.__typename||r.defaultOperationType,(p=this.resolvers&&this.resolvers[l])&&(d=p[s?o:a])&&(u=Promise.resolve(Sn.withValue(this.cache,d,[n,K(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,u.then((function(n){var i,o;if(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!==(o=null===(i=e.directives)||void 0===i?void 0:i.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.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(i){if(!r.has(i)){var o=new Set;r.set(i,o),(0,le.Vn)(i,{Directive:function(e,t,r,i,a){"client"===e.name.value&&a.forEach((function(e){n(e)&&Gt(e)&&o.add(e)}))},FragmentSpread:function(r,i,a,s,c){var u=t[r.name.value];__DEV__?(0,d.kG)(u,"No fragment named ".concat(r.name.value)):(0,d.kG)(u,12);var l=e(u);l.size>0&&(c.forEach((function(e){n(e)&&Gt(e)&&o.add(e)})),o.add(r),l.forEach((function(e){o.add(e)})))}})}return r.get(i)}(e)},e}(),Dn=new(me.mr?WeakMap:Map);function Pn(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 Nn(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Rn=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;Dn.has(n)||(Dn.set(n,0),Pn(n,"evict"),Pn(n,"modify"),Pn(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Dt.I.loading;return this.variables&&this.networkStatus!==Dt.I.loading&&!(0,Re.D)(this.variables,e.variables)&&(t=Dt.I.setVariables),(0,Re.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){Nn(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,Re.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(t);return this.updateLastDiff(r,t),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,Re.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():qt(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
2Nn(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,Dt.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=(0,f.pi)((0,f.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,Re.D)(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Dn.get(this.cache)&&(0,Re.D)(t,n.variables)&&(0,Re.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o=new Ve,a=(0,Ae.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,Ae.O)(e.incremental)){var s=Ge(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(An(e,n.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(e,n.variables))o.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),i.lastWrite={result:e,variables:n.variables,dmCount:Dn.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var a=i.getDiffOptions(n.variables),s=o.diff(a);i.stopped||i.updateWatch(n.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Dt.I.ready},e.prototype.markError=function(e){return this.networkStatus=Dt.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function An(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!ht(e);return!r&&n&&e.data&&(r=!0),r}var Mn=Object.prototype.hasOwnProperty,Ln=function(){function e(e){var t=e.cache,n=e.link,r=e.defaultOptions,i=e.queryDeduplication,o=void 0!==i&&i,a=e.onBroadcast,s=e.ssrMode,c=void 0!==s&&s,u=e.clientAwareness,l=void 0===u?{}:u,p=e.localState,f=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(me.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.defaultOptions=r||Object.create(null),this.queryDeduplication=o,this.clientAwareness=l,this.localState=p||new In({cache:t}),this.ssrMode=c,this.assumeImmutableResults=!!f,(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(__DEV__?new d.ej("QueryManager stopped while query was in flight"):new d.ej(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,n,r=e.mutation,i=e.variables,o=e.optimisticResponse,a=e.updateQueries,s=e.refetchQueries,c=void 0===s?[]:s,u=e.awaitRefetchQueries,l=void 0!==u&&u,p=e.update,h=e.onQueryUpdated,m=e.fetchPolicy,y=void 0===m?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":m,v=e.errorPolicy,g=void 0===v?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.errorPolicy)||"none":v,b=e.keepRootFields,E=e.context;return(0,f.mG)(this,void 0,void 0,(function(){var e,t,n,s,u,m;return(0,f.Jh)(this,(function(v){switch(v.label){case 0:return __DEV__?(0,d.kG)(r,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,d.kG)(r,15),__DEV__?(0,d.kG)("network-only"===y||"no-cache"===y,"Mutations supp
2ort only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,d.kG)("network-only"===y||"no-cache"===y,16),e=this.generateMutationId(),t=this.transform(r),n=t.document,s=t.hasClientExports,r=this.cache.transformForLink(n),i=this.getVariables(r,i),s?[4,this.localState.addExportedVariables(r,i,E)]:[3,2];case 1:i=v.sent(),v.label=2;case 2:return u=this.mutationStore&&(this.mutationStore[e]={mutation:r,variables:i,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:e,document:r,variables:i,fetchPolicy:y,errorPolicy:g,context:E,updateQueries:a,update:p,keepRootFields:b}),this.broadcastQueries(),m=this,[2,new Promise((function(t,n){return dt(m.getObservableFromLink(r,(0,f.pi)((0,f.pi)({},E),{optimisticResponse:o}),i,!1),(function(t){if(ht(t)&&"none"===g)throw new It.c({graphQLErrors:mt(t)});u&&(u.loading=!1,u.error=null);var n=(0,f.pi)({},t);return"function"==typeof c&&(c=c(n)),"ignore"===g&&ht(n)&&delete n.errors,m.markMutationResult({mutationId:e,result:n,document:r,variables:i,fetchPolicy:y,errorPolicy:g,context:E,update:p,updateQueries:a,awaitRefetchQueries:l,refetchQueries:c,removeOptimistic:o?e:void 0,onQueryUpdated:h,keepRootFields:b})})).subscribe({next:function(e){m.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){u&&(u.loading=!1,u.error=t),o&&m.cache.removeOptimistic(e),m.broadcastQueries(),n(t instanceof It.c?t:new It.c({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&An(r,e.errorPolicy)){if(Be(r)||i.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),Be(r)&&(0,Ae.O)(r.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=Ge(a.result,r)),void 0!==s&&(r.data=s,i.push({result:s,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&&Mn.call(c,s)){var u=c[s],l=n.queries.get(o),p=l.document,f=l.variables,d=t.diff({query:p,variables:f,returnPartialData:!0,optimistic:!1}),h=d.result;if(d.complete&&h){var m=u(h,{mutationResult:r,queryName:p&&ee(p)||void 0,queryVariables:f});m&&i.push({result:m,dataId:"ROOT_QUERY",query:p,variables:f})}}}))}if(i.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach((function(e){return t.write(e)}));var a,s=e.update,c=!(Be(a=r)||function(e){return"hasNext"in e&&"data"in e}(a))||Be(r)&&!r.hasNext;if(s){if(!o){var u=t.diff({id:"ROOT_MUTATION",query:n.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(r=(0,f.pi)((0,f.pi)({},r),{data:u.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}c&&s(t,r,{context:e.context,variables:e.variables})}o||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}).forEach((function(e){return u.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then((function(){return r}))}return Promise.resolve(r)},e.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,f.pi)((0,f.pi)({},t),{result:{data:r}}),e)}catch(i){__DEV__&&d.kG.error(i)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchQueryObservable(e,t,n).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.cache.transformDocument(e),r=_t([Ft],$(n)),i=this.localState.clientQuery(n),o=r&&this.localState.serverQuery(r),a={document:n,hasClientExports:de(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:i,serverQuery:o,defaultVars:ie(X(n)),asQuery:(0,f.pi)((0,f.pi)({},n),{definitions:n.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,f.pi)((0,f.pi)({},e),{operation:"query"}):e}))})},s=function(e){e&&!t.has(e)&&t.set(e,a)};s(e),s(n),s(i),s(o)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,f.pi)((0,f.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,f.pi)((0,f.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new Rn(this),n=new Lt({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:n.query,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,d.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,d.kG)(e.query,17),__DEV__?(0,d.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,d.kG)("Document"===e.query.kind,18),__DEV__?(0,d.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,d.kG)(!e.returnPartialData,19),__DEV__?(0,d.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,d.kG)(!e.pollInterval,20),this.fetchQuery(t,e).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new d.ej("Store reset while query was in flight (not completed in link chain)"):new d.ej(21)),this.queries.forEac
2h((function(e){e.observableQuery?e.networkStatus=Dt.I.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,i=new Set;return Array.isArray(e)&&e.forEach((function(e){var n;"string"==typeof e?r.set(e,!1):(n=e,(0,R.s)(n)&&"Document"===n.kind&&Array.isArray(n.definitions)?r.set(t.transform(e).document,!1):(0,R.s)(e)&&e.query&&i.add(e))})),this.queries.forEach((function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e)return void n.set(i,o);var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&r.has(s)||a&&r.has(a))&&(n.set(i,o),s&&r.set(s,!0),a&&r.set(a,!0))}})),i.size&&i.forEach((function(e){var r=Tt("legacyOneTimeQuery"),i=t.getQuery(r).init({document:e.query,variables:e.variables}),o=new Lt({queryManager:t,queryInfo:i,options:(0,f.pi)((0,f.pi)({},e),{fetchPolicy:"network-only"})});(0,d.kG)(o.queryId===r),i.setObservableQuery(o),n.set(r,o)})),__DEV__&&r.size&&r.forEach((function(e,t){e||__DEV__&&d.kG.warn("Unknown query ".concat("string"==typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,i){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=e.variables,a=e.context,s=void 0===a?{}:a;n=this.transform(n).document,o=this.getVariables(n,o);var c=function(e){return t.getObservableFromLink(n,s,e).map((function(o){if("no-cache"!==r&&(An(o,i)&&t.cache.write({query:n,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),ht(o))throw new It.c({graphQLErrors:o.errors});return o}))};if(this.transform(n).hasClientExports){var u=this.localState.addExportedVariables(n,o,s).then(c);return new N((function(e){var t=null;return u.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return c(o)},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.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r){var i,o,a=this;void 0===r&&(r=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var s=this.transform(e).serverQuery;if(s){var c=this.inFlightLinkObservables,u=this.link,l={query:s,variables:n,operationName:ee(s)||void 0,context:this.prepareContext((0,f.pi)((0,f.pi)({},t),{forceFetch:!r}))};if(t=l.context,r){var p=c.get(s)||new Map;c.set(s,p);var d=pt(n);if(!(o=p.get(d))){var h=new jt([Ne(u,l)]);p.set(d,o=h),h.beforeNext((function(){p.delete(d)&&p.size<1&&c.delete(s)}))}}else o=new jt([Ne(u,l)])}else o=new jt([N.of({data:{}})]),t=this.prepareContext(t);var m=this.transform(e).clientQuery;return m&&(o=dt(o,(function(e){return a.localState.runResolvers({document:m,remoteResult:e,context:t,variables:n})}))),o},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(this.transform(e.document).document);return dt(this.getObservableFromLink(i,n.context,n.variables),(function(o){var a=mt(o),s=a.length>0;if(r>=e.lastRequestId){if(s&&"none"===n.errorPolicy)throw e.markError(new It.c({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:Dt.I.ready};return s&&"ignore"!==n.errorPolicy&&(c.errors=a,c.networkStatus=Dt.I.error),c}),(function(t){var n=(0,It.M)(t)?t:new It.c({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=Dt.I.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),a=this.getQuery(e),s=this.defaultOptions.watchQuery,c=t.fetchPolicy,u=void 0===c?s&&s.fetchPolicy||"cache-first":c,l=t.errorPolicy,p=void 0===l?s&&s.errorPolicy||"none":l,f=t.returnPartialData,d=void 0!==f&&f,h=t.notifyOnNetworkStatusChange,m=void 0!==h&&h,y=t.context,v=void 0===y?{}:y,g=Object.assign({},t,{query:i,variables:o,fetchPolicy:u,errorPolicy:p,returnPartialData:d,notifyOnNetworkStatusChange:m,context:v}),b=function(e){g.variables=e;var i=r.fetchQueryByPolicy(a,g,n);return"standby"!==g.fetchPolicy&&i.length>0&&a.observableQuery&&a.observableQuery.applyNextFetchPolicy("after-fetch",t),i},E=function(){return r.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,(function(e){E(),setTimeout((function(){return _.cancel(e)}))}));var _=new jt(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(b):b(g.variables));return _.promise.then(E,E),_},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?Tt("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof Rn&&e.watcher.observableQuery;if(r){if(c){u.delete(r.queryId);var i=c(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==c&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach((function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=c(i,a,o)}c&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,l=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:this.transform(i).document,variables:o,networkStatus:n});var h=function(){return e.getDiff(o)},m=function(t,n){void 0===n&&(n=e.networkStatus||Dt.I.loading);var a=t.result;!__DEV__||u||(0,Re.D)(a,{})||Vt(t.missing);var s=function(e){return N.of((0,f.pi)({data:e,loading:(0,Dt.O)(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.transform(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:a},context:l,variables:o,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):"none"===c&&n===Dt.I.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},y="no-cache"===a?0:n===Dt.I.refetch&&"merge"!==s?1:2,v=function(){return r.getResultsFromLink(e,y,{variables:o,context:l,fetchPolicy:a,errorPolicy:c})},g=p&&"number"==typeof d&&d!==n&&(0,Dt.O)(n);switch(a){default:case"cache-first":return(b=h()).complete?[m(b,e.markReady())]:u||g?[m(b),v()]:[v()];case"cache-and-network":var b;return(b=h()).complete||u||g?[m(b),v()]:[v()];case"cache-only":return[m(h(),e.markReady())];case"network-only":return g?[m(h()),v()]:[v()];case"no-cache":return g?[m(e.getDiff()),v()]:[v()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Rn(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,f.pi)((0,f.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),qn=n(14012),Qn=!1,Vn=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,o=e.cache,a=e.ssrMode,s=void 0!==a&&a,c=e.ssrForceFetchDelay,u=void 0===c?0:c,l=e.connectToDevTools,p=void 0===l?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:l,f=e.queryDeduplication,h=void 0===f||f,m=e.defaultOptions,y=e.assumeImmutableResults,v=void 0!==y&&y,g=e.resolvers,b=e.typeDefs,E=e.fragmentMatcher,_=e.name,w=e.version,F=e.link;if(F||(F=n?new De({uri:n,credentials:r,headers:i}):ue.empty()),!o)throw __DEV__?new d.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new d.ej(9);if(this.link=F,this.cache=o,this.disableNetworkFetches=s||u>0,this.queryDeduplication=h,this.defaultOptions=m||Object.create(null),this.typeDefs=b,u&&setTimeout((function(){return t.disableNetworkFetches=!1}),u),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),p&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!Qn&&p&&__DEV__&&(Qn=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var k=window.navigator,O=k&&k.userAgent,S=void 0;"string"==typeof O&&(O.indexOf("Chrome/")>-1?S="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":O.indexOf("Firefox/")>-1&&(S="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),S&&__DEV__&&d.kG.log("Download the Apollo DevTools for a better development experience: "+S)}this.version="3.7.6",this.localState=new In({cache:o,client:this,resolvers:g,fragmentMatcher:E}
2),this.queryManager=new Ln({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:h,ssrMode:s,clientAwareness:{name:_,version:w},localState:this.localState,assumeImmutableResults:v,onBroadcast:p?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,qn.J)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,f.pi)((0,f.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,qn.J)(this.defaultOptions.query,e)),__DEV__?(0,d.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,d.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,f.pi)((0,f.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,qn.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return Ne(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 i=Promise.all(r);return i.queries=n,i.results=r,i.catch((function(e){__DEV__&&d.kG.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),Bn=function(){function e(){this.getFragmentDoc=On(A)}return 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,f.pi)((0,f.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,f.pi)((0,f.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,f._T)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,i=e.fragmentName,o=(0,f._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{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,f.pi)((0,f.pi)({},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,f.pi)((0,f.pi)({},e),{data:i})),i)}})},e}(),Gn=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,f.ZT)(t,e),t}(Error),Hn=n(48702),Wn=Object.create(null),Kn=function(){return Wn},zn=Object.create(null),Jn=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,Hn.J)(Q(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Q(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return q(e);if(Q(e))return e;var r=n.policies.identify(e)[0];if(r){var i=q(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,f.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Ze.call(this.data,e)){var n=this.data[e];if(n&&Ze.call(n,t))return n[t]}return"__typename"===t&&Ze.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Xn?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Ze.call(this.data,e)?this.data[e]:this instanceof Xn?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;Q(e)&&(e=e.__ref),Q(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){__DEV__?(0,d.kG)("string"==typeof n,"store.merge expects a string ID"):(0,d.kG)("string"==typeof n,1);var a=new Ve(tr).merge(i,o);if(this.data[n]=a,a!==i&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach((function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=it(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof Xn||delete a[e]}})),!s.__typename||i&&i.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),o=!1,a=!0,s={DELETE:Wn,INVALIDATE:zn,isReference:Q,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||q(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(c){var u=it(c),l=r[c];if(void 0!==l){var p="function"==typeof t?t:t[c]||t[u];if(p){var d=p===Kn?Wn:p((0,Hn.J)(l),(0,f.pi)((0,f.pi)({},s),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));d===zn?n.group.dirty(e,c):(d===Wn&&(d=void 0),d!==l&&(i[c]=d,o=!0,l=d))}void 0!==l&&(a=!1)}}
2)),o)return this.merge(e,i),a&&(this instanceof Xn?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,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=Kn,r):Kn)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(Ze.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Xn&&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){Ze.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&&Ze.call(e,n)||t.delete(n)})),e){var n=e.__META,r=(0,f._T)(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Xn?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){Ze.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 i=this;i instanceof Xn;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!Ze.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){Q(e)&&(t[e.__ref]=!0),(0,R.s)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,R.s)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Yn=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?wn():null,this.keyMaker=new Je(me.mr)}
2,e.prototype.depend=function(e,t){if(this.d){this.d(Zn(e,t));var n=it(t);n!==t&&this.d(Zn(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(Zn(e,t),"__exists"===t?"forget":"setDirty")},e}();function Zn(e,t){return t+"#"+e}function $n(e,t){nr(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,o=t.seed,a=e.call(this,n,new Yn(i))||this;return a.stump=new er(a),a.storageTrie=new Je(me.mr),o&&a.replace(o),a}return(0,f.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Jn||(Jn={}));var Xn=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,f.ZT)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach((function(n){(0,Re.D)(r[n],i[n])||t.group.dirty(e,n)}
2)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,f.pi)((0,f.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return Ze.call(this.data,t)?(0,f.pi)((0,f.pi)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Jn),er=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Yn(t.group.caching,t.group))||this}return(0,f.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(Xn);function tr(e,t,n){var r=e[n],i=t[n];return(0,Re.D)(r,i)?r:i}function nr(e){return!!(e instanceof Jn&&e.group.caching)}function rr(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var ir=function(){function e(e){var t=this;this.knownResults=new(me.mr?WeakMap:Map),this.config=(0,Ye.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:nt(e)}),this.canon=e.canon||new lt,this.executeSelectionSet=On((function(e){var n,r=e.context.canonizeResults,i=rr(e);i[3]=!r;var o=(n=t.executeSelectionSet).peek.apply(n,i);return o?r?(0,f.pi)((0,f.pi)({},o),{result:t.canon.admit(o.result)}):o:($n(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:rr,makeCacheKey:function(e,t,n,r){if(nr(n.store))return n.store.makeCacheKey(e,Q(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=On((function(e){return $n(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(nr(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new lt},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,i=void 0===r?"ROOT_QUERY":r,o=e.variables,a=e.returnPartialData,s=void 0===a||a,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;o=(0,f.pi)((0,f.pi)({},ie(ne(n))),o);var p,d=q(i),h=this.executeSelectionSet({selectionSet:re(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,f.pi)({store:t,query:n,policies:l,variables:o,varString:pt(o),canonizeResults:u},st(n,this.config.fragments))});if(h.missing&&(p=[new Gn(or(h.missing),h.missing,n,o)],!s))throw p[0];return{result:h.result,complete:!p,missing:p}},e.prototype.isFresh=function(e,t,n,r){if(nr(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,i=e.enclosingRef,o=e.context;if(Q(r)&&!o.policies.rootTypenamesById[r.__ref]&&!o.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var a,s=o.variables,c=o.policies,u=o.store.getFieldValue(r,"__typename"),l=[],p=new Ve;function f(e,t){var n;return e.missing&&(a=p.merge(a,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&l.push({__typename:u});var h=new Set(n.selections);h.forEach((function(e){var n,m;if(pe(e,s))if(Y(e)){var y=c.readField({fieldName:e.name.value,field:e,variables:o.variables,from:r},o),v=z(e);void 0===y?wt.added(e)||(a=p.merge(a,((n={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(Q(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):Xe(y)?y=f(t.executeSubSelectedArray({field:e,array:y,enclosingRef:i,context:o}),v):e.selectionSet?null!=y&&(y=f(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:Q(y)?y:i,context:o}),v)):o.canonizeResults&&(y=t.canon.pass(y)),void 0!==y&&l.push(((m={})[v]=y,m))}else{var g=L(e,o.lookupFragment);if(!g&&e.kind===Bt.h.FRAGMENT_SPREAD)throw __DEV__?new d.ej("No fragment named ".concat(e.name.value)):new d.ej(5);g&&c.fragmentMatches(g,u)&&g.selectionSet.selections.forEach(h.add,h)}}));var m={result:qe(l),missing:a},y=o.canonizeResults?this.canon.admit(m):(0,Hn.J)(m);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new Ve;function c(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map((function(e,t){return null===e?null:Xe(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:a}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:Q(e)?e:o,context:a}),t):(__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){(0,R.s)(n)&&(__DEV__?(0,d.kG)(!Q(n),"Missing selection set for object of type ".concat(function(e,t){return Q(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n)," returned for query field ").concat(t.name.value)):(0,d.kG)(!Q(n),6),Object.values(n).forEac
2h(r.add,r))}))}}(a.store,r,e),e)})),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function or(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(t){return t}}var ar=Object.create(null);function sr(e){var t=JSON.stringify(e);return ar[t]||(ar[t]=Object.create(null))}function cr(e){var t=sr(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=lr(e,(function(e){var i=dr(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&Ze.call(t,e[0])&&(i=dr(t,e,fr)),__DEV__?(0,d.kG)(void 0!==i,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,d.kG)(void 0!==i,2),i}));return"".concat(n.typename,":").concat(JSON.stringify(i))})}function ur(e){var t=sr(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=lr(e,(function(e){var n=e[0],o=n.charAt(0);if("@"!==o)if("$"!==o){if(t)return dr(t,e)}else{var a=n.slice(1);if(i&&Ze.call(i,a)){var s=e.slice(0);return s[0]=a,dr(i,s)}}else if(r&&(0,Ae.O)(r.directives)){var c=n.slice(1),u=r.directives.find((function(e){return e.name.value===c})),l=u&&K(u,i);return l&&dr(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function lr(e,t){var n=new Ve;return pr(e).reduce((function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e}),Object.create(null))}function pr(e){var t=sr(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,i){Xe(t)?(pr(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),Xe(e[i+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function fr(e,t){return e[t]}function dr(e,t,n){return n=n||fr,hr(t.reduce((function e(t,r){return Xe(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function hr(e){return(0,R.s)(e)?Xe(e)?e.map(hr):lr(Object.keys(e).sort(),(function(t){return dr(e,t)})):e}function mr(e){return void 0!==e.args?e.args:e.field?K(e.field,e.variables):null}G.setStringify(pt);var yr=function(){},vr=function(e,t){return t.fieldName},gr=function(e,t,n){return(0,n.mergeObjects)(e,t)},br=function(e,t){return t},Er=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,f.pi)({dataIdFromObject:et},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"];for(var o,a=t&&t.storeObject||e,s=(0,f.pi)((0,f.pi)({},t),{typename:i,storeObject:a,readField:t&&t.readField||function(){var e=wr(arguments,a);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),c=i&&this.getTypePolicy(i),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var l=u(e,s);if(!Xe(l)){o=l;break}u=cr(l)}return o=o?String(o):void 0,s.keyObject?[o,s.keyObject]:[o]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],i=r.queryType,o=r.mutationType,a=r.subscriptionType,s=(0,f._T)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),Ze.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?gr:!1===t?br:e.merge}a(r,t.merge),r.keyFn=!1===i?yr:Xe(i)?cr(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;
2r.keyFn=!1===s?vr:Xe(s)?ur(s):"function"==typeof s?s:r.keyFn,"function"==typeof c&&(r.read=c),a(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||vr)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(__DEV__?(0,d.kG)(!r||r===e,"Cannot change root ".concat(e," __typename more than once")):(0,d.kG)(!r||r===e,3),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(rt);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!Ze.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),i=r.fields,o=(0,f._T)(r,["fields"]);Object.assign(n,o),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 i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!n||!this.fuzzySubtypes.size),l=!1,p=0;p<s.length;++p){var f=s[p];if(f.has(o))return a.has(o)||(l&&__DEV__&&d.kG.warn("Inferring subtype ".concat(t," of supertype ").concat(o)),a.add(o)),!0;f.forEach(c),u&&p===s.length-1&&ot(e.selectionSet,n,r)&&(u=!1,l=!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,i=this.getFieldPolicy(n,r,!1),o=i&&i.keyFn;if(o&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=mr(e);o;){var c=o(s,a);if(!Xe(c)){t=c||r;break}o=ur(c)}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 i=r.name,o=r.value;return V(n[e.name.value],i,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return V(r,n,i,t)}))),G(e.name.value,r,n)}(e.field,e.variables):G(r,mr(e))),!1===t?r:r===it(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 i=this.getStoreFieldName(e),o=it(i),a=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=_r(this,n,e,t,t.store.getStorage(Q(n)?n.__ref:n,i));return Sn.withValue(this.cache,c,[a,u])}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),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===gr?Fr(r.store)(e,t):s===br?t:(r.overwrite&&(e=void 0),s(e,t,_r(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function _r(e,t,n,r,i){var o=e.getStoreFieldName(n),a=it(o),s=n.variables||r.variables,c=r.store,u=c.toReference,l=c.canRead;return{args:mr(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:Q,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(wr(arguments,t,s),r)},mergeObjects:Fr(r.store)}}function wr(e,t,n){var r,i,o,a=e[0],s=e[1],c=e.length;return"string"==typeof a?r={fieldName:a,from:c>1?s:t}:(r=(0,f.pi)({},a),Ze.call(r,"from")||(r.from=t)),__DEV__&&void 0===r.from&&__DEV__&&d.kG.warn("Undefined 'from' passed to readField with arguments ".concat((i=Array.from(e),o=Tt("stringifyForDisplay"),JSON.stringify(i,(function(e,t){return void 0===t?o:t})).split(JSON.stringify(o)).join("<undefined>")))),void 0===r.variables&&(r.variables=n),r}function Fr(e){return function(t,n){if(Xe(t)||Xe(n))throw __DEV__?new d.ej("Cannot automatically merge arrays"):new d.ej(4);if((0,R.s)(t)&&(0,R.s)(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if(Q(t)&&at(n))return e.merge(t.__ref,n),t;if(at(t)&&Q(n))return e.merge(t,n.__ref),n;if(at(t)&&at(n))return(0,f.pi)((0,f.pi)({},t),n)}return n}}function kr(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,f.pi)((0,f.pi)({},e),{clientOnly:t,deferred:n})),i}var Or=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,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,c=X(r),u=new Ve;a=(0,f.pi)((0,f.pi)({},ie(c)),a);var l=(0,f.pi)((0,f.pi)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)}
2,variables:a,varString:pt(a)},st(r,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!Q(p))throw __DEV__?new d.ej("Could not identify object ".concat(JSON.stringify(i))):new d.ej(7);return l.incomingById.forEach((function(t,r){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=q(r);if(o&&o.map.size){var c=n.applyMerges(o,s,i,l);if(Q(c))return;i=c}if(__DEV__&&!l.overwrite){var u=Object.create(null);a.forEach((function(e){e.selectionSet&&(u[e.name.value]=!0)}));Object.keys(i).forEach((function(e){(function(e){return!0===u[it(e)]})(e)&&!function(e){var t=o&&o.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},o=i(e);if(!o)return;var a=i(t);if(!a)return;if(Q(o))return;if((0,Re.D)(o,a))return;if(Object.keys(o).every((function(e){return void 0!==r.getFieldValue(a,e)})))return;var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=it(n),u="".concat(s,".").concat(c);if(jr.has(u))return;jr.add(u);var l=[];Xe(o)||Xe(a)||[o,a].forEach((function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)}));__DEV__&&d.kG.warn("Cache data may be lost when replacing the ".concat(c," field of a ").concat(s," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(u," field, so InMemoryCache can safely merge these objects:\n\n  existing: ").concat(JSON.stringify(o).slice(0,1e3),"\n  incoming: ").concat(JSON.stringify(a).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(s,i,e,l.store)}))}e.merge(r,i)})),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=n&&s.rootTypenamesById[n]||J(r,i,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=wr(arguments,c,o.variables);if(Q(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var n=s.readField((0,f.pi)((0,f.pi)({},e),{from:t.storeObject}),o);if(void 0!==n)return n}}return s.readField(e,o)},p=new Set;this.flattenFields(i,r,o,u).forEach((function(e,n){var i,o=z(n),f=r[o];if(p.add(n),void 0!==f){var h=s.getStoreFieldName({typename:u,fieldName:n.name.value,field:n,variables:e.variables}),m=Tr(a,h),y=t.processFieldValue(f,n,n.selectionSet?kr(e,!1,!1):e,m),v=void 0;n.selectionSet&&(Q(y)||at(y))&&(v=l("__typename",y));var g=s.getMergeFunction(u,n.name.value,v);g?m.info={field:n,typename:u,merge:g}:Ur(a,h),c=e.merge(c,((i={})[h]=y,i))}else!__DEV__||e.clientOnly||e.deferred||wt.added(n)||s.getReadFunction(u,n.name.value)||__DEV__&&d.kG.error("Missing field '".concat(z(n),"' while writing result ").concat(JSON.stringify(r,null,2)).substring(0,1e3))}));try{var h=s.identify(r,{typename:u,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:c,readField:l}),m=h[0],y=h[1];n=n||m,y&&(c=o.merge(c,y))}catch(Wr){if(!n)throw Wr}if("string"==typeof n){var v=q(n),g=o.written[n]||(o.written[n]=[]);if(g.indexOf(i)>=0)return v;if(g.push(i),this.reader&&this.reader.isFresh(r,v,i,o))return v;var b=o.incomingById.get(n);return b?(b.storeObject=o.merge(b.storeObject,c),b.mergeTree=Cr(b.mergeTree,a),p.forEach((function(e){return b.fieldNodeSet.add(e)}))):o.incomingById.set(n,{storeObject:c,mergeTree:xr(a)?void 0:a,fieldNodeSet:p}),v}return c},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?Xe(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,n,Tr(r,o));return Ur(r,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):__DEV__?Nt(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=J(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,a=new Je(!1);return function e(s,c){var u=a.lookup(s,c.clientOnly,c.deferred);
2u.visited||(u.visited=!0,s.selections.forEach((function(a){if(pe(a,n.variables)){var s=c.clientOnly,u=c.deferred;if(s&&u||!(0,Ae.O)(a.directives)||a.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=K(e,n.variables);r&&!1===r.if||(u=!0)}})),Y(a)){var l=i.get(a);l&&(s=s&&l.clientOnly,u=u&&l.deferred),i.set(a,kr(n,s,u))}else{var p=L(a,n.lookupFragment);if(!p&&a.kind===Bt.h.FRAGMENT_SPREAD)throw __DEV__?new d.ej("No fragment named ".concat(a.name.value)):new d.ej(8);p&&o.fragmentMatches(p,r,t,n.variables)&&e(p.selectionSet,kr(n,s,u))}}})))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var o,a=this;if(e.map.size&&!Q(n)){var s,c=Xe(n)||!Q(t)&&!at(t)?void 0:t,u=n;c&&!i&&(i=[Q(c)?c.__ref:c]);var l=function(e,t){return Xe(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=l(c,t),o=l(u,t);if(void 0!==o){i&&i.push(t);var p=a.applyMerges(e,n,o,r,i);p!==o&&(s=s||new Map).set(t,p),i&&(0,d.kG)(i.pop()===t)}})),s&&(n=Xe(u)?u.slice(0):(0,f.pi)({},u),s.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(o=r.store).getStorage.apply(o,i)):n},e}(),Sr=[];function Tr(e,t){var n=e.map;return n.has(t)||n.set(t,Sr.pop()||{map:new Map}),n.get(t)}function Cr(e,t){if(e===t||!t||xr(t))return e;if(!e||xr(e))return t;var n=e.info&&t.info?(0,f.pi)((0,f.pi)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,i={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var o=new Set(t.map.keys());e.map.forEach((function(e,n){i.map.set(n,Cr(e,t.map.get(n))),o.delete(n)})),o.forEach((function(n){i.map.set(n,Cr(t.map.get(n),e.map.get(n)))}))}return i}function xr(e){return!e||!(e.info||e.map.size)}function Ur(e,t){var n=e.map,r=n.get(t);r&&xr(r)&&(Sr.push(r),n.delete(t))}var jr=new Set;var Ir=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=Un,n.txCount=0,n.config=function(e){return(0,Ye.o)(tt,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new Er({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,f.ZT)(t,e),t.prototype.init=function(){var e=this.data=new Jn.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 Or(this,this.storeReader=new ir({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:nt(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=On((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(nr(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,pt({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,f.pi)((0,f.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(Wr){if(Wr instanceof Gn)return null;throw Wr}},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(Ze.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,f.pi)((0,f.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;
2return this.watches.size||Cn(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&&xn(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){pt.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(Q(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(Wr){__DEV__&&d.kG.warn(Wr)}},t.prototype.evict=function(e){if(!e.id){if(Ze.call(e,"id"))return!1;e=(0,f.pi)((0,f.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),pt.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),xn(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,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var i=n,o=i.data,a=i.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=o,n.optimisticData=a}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,f.pi)((0,f.pi)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,f.pi)((0,f.pi)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&u.delete(e),n}})),u.size&&u.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=wt(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.transformForLink=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&(0,Re.D)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(Bn),Dr=n(85317),Pr=function(e){var t=e.client,n=e.children,i=(0,Dr.K)();return r.createElement(i.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?(0,d.kG)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):(0,d.kG)(e.client,29),r.createElement(i.Provider,{value:e},n)}))},Nr=n(5313),Rr=function(e){function t(t){var n=e.call(this)||this;return t instanceof Nr.SubscriptionClient?n.subscriptionClient=t:n.subscriptionClient=new Nr.SubscriptionClient(t.uri,t.options,t.webSocketImpl),n}return(0,f.ZT)(t,e),t.prototype.request=function(e){return this.subscriptionClient.request(e)},t}(ue),Ar=n(80170);const Mr=new ue(((e,t)=>(e.setContext((e=>{let{headers:t}=e;return{headers:{...t,authorization:(0,Ar.Nh)(),device_key:(0,Ar.CK)("device_key")||"",hxroot:(0,Ar.CK)("root")}}})),t?t(e):null))),Lr=new Rr({uri:"wss://api.hexofy.com/v2/ws",options:{reconnect:!0,connectionParams:()=>({token:(0,Ar.Nh)()})},webSocketImpl:u}),qr=new De({uri:"https://api.hexofy.com/v2/ql",fetch:p(),credentials:"include"}),Qr=Pe((e=>"v2"===e.getContext().clientName),new De({uri:"https://api.hexofy.com/v2/ql",fetch:p(),credentials:"include"}),qr),Vr=Pe((e=>{let{query:t}=e,n=re(t);return"OperationDefinition"===n.kind&&"subscription"===n.operation}),Lr,Qr),Br=new Vn({link:ue.from([Mr,Vr]),cache:new Ir({addTypename:!1})}),Gr=e=>{let{children:t}=e;return(0,r.useEffect)((()=>{o.globalHistory.listen((e=>{let{location:t}=e;if(window.ga){const e=window.ga.getAll()[0];e.set("page",t.pathname+t.search),e.send("pageview")}}))}),[]),r.createElement(Pr,{client:Br},t)};var Hr=n(64316);function Wr(e){this.message=e}Wr.prototype=new Error,Wr.prototype.name="InvalidCharacterError";var Kr="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(e){var t=String(e).replace(/=+$/,"");if(t.length%4==1)throw new Wr("'atob' failed: The string to be decoded is not correctly encoded.");for(var n,r,i=0,o=0,a="";r=t.charAt(o++);~r&&(n=i%4?64*n+r:r,i++%4)?a+=String.fromCharCode(255&n>>(-2*i&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
2+/=".indexOf(r);return a};function zr(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(Kr(e).replace(/(.)/g,(function(e,t){var n=t.charCodeAt(0).toString(16).toUpperCase();return n.length<2&&(n="0"+n),"%"+n})))}(t)}catch(e){return Kr(t)}}function Jr(e){this.message=e}Jr.prototype=new Error,Jr.prototype.name="InvalidTokenError";var Yr=function(e,t){if("string"!=typeof e)throw new Jr("Invalid token specified");var n=!0===(t=t||{}).header?0:1;try{return JSON.parse(zr(e.split(".")[n]))}catch(e){throw new Jr("Invalid token specified: "+e.message)}},Zr=n(24055),$r=n(99198);const Xr=e=>{let{children:t}=e;const{0:n,1:i}=(0,r.useState)(),{0:o,1:a}=(0,r.useState)(9e5),{data:s}=(0,Hr.a)($r.zG,{pollInterval:o,skip:!(0,Ar.CK)("ref_token")||!(0,Ar.CK)("device_key"),variables:{settings:{refresh_token:(0,Ar.CK)("ref_token"),device_key:(0,Ar.CK)("device_key"),product_type:"hexofy"}}});(0,r.useEffect)((()=>{if(s&&s.User&&s.User.getAccessToken){if(s.User.getAccessToken.token){const e=Yr(s.User.getAccessToken.token),t=new Date(1e3*(e.exp||0))-new Date-55e3;a(t)}i(s.User.getAccessToken.token),(0,Ar.dP)(s.User.getAccessToken.token),(0,Ar.XI)(s.User.getAccessToken.token,(0,Ar.CK)("ref_token"),(0,Ar.CK)("device_key"))}}),[s]);const{getUser:c}=(0,Zr.Z)();return(0,r.useEffect)((()=>{var e;(null!=s&&null!==(e=s.User)&&void 0!==e&&e.getAccessToken&&n!==(0,Ar.Nh)()||!(0,Ar.CK)("ref_token")||!(0,Ar.CK)("device_key"))&&c()}),[s,n]),(0,r.useEffect)((()=>{n===(0,Ar.Nh)()&&c()}),[n,(0,Ar.Nh)()]),r.createElement(r.Fragment,null,t)};var ei=(0,r.memo)(Xr),ti=n(92129);const ni=e=>{let{children:t}=e;const{0:n,1:i}=(0,r.useState)(null),{0:o,1:a}=(0,r.useState)(null);return r.createElement(ti.S.Provider,{value:{user:n,setUser:i,hexofyUser:o,setHexofyUser:a}},r.createElement(ei,null,t))};var ri=(0,r.memo)(ni);const ii=e=>{let{element:t}=e;return r.createElement(Gr,null,r.createElement(ri,null,t))},oi=e=>{let{element:t}=e;return r.createElement(r.Fragment,null,r.createElement(s,null),t)}},12788:function(e,t,n){"use strict";n.r(t),n.d(t,{onClientEntry:function(){return p},wrapRootElement:function(){return f}});var r=n(15785),i=n(67294),o=n(64593);const a=e=>{let{hrefs:t}=e;const n=[];return t.forEach((e=>{const t=i.createElement("noscript",{key:"noscript-"+e},'<link rel="stylesheet" href="'+e+'" />'),r=i.createElement("link",{key:"stylesheet-"+e,rel:"stylesheet",media:"all",href:e});n.push([t,r])})),i.createElement(o.q,null,n)},s="async",c="body",u=e=>{const t=[];return e.forEach((e=>{let{name:n}=e;return Array.isArray(n)?t.push.apply(t,(0,r.Z)(n)):t.push(n)})),t},l=e=>{let{fontNames:t,scope:n}=e;const r=t&&Boolean(t.length),i="html"===n?"documentElement":"body",o="fonts"in document;function a(){l("all")}function s(e){e.forEach((e=>{l(e.family)}))}function c(e){return document.fonts.load("1rem "+e).then(s).catch(u)}function u(){t.forEach(l)}function l(e){document[i].classList.add("wf-"+e.match(/[A-Z]{2,}(?=[A-Z][a-z0-9]*|\b)|[A-Z]?[a-z0-9]*|[A-Z]|[0-9]+/g).filter(Boolean).map((e=>e.toLowerCase())).join("-"))}if(!o)return p="Font loading API not available",console.info("document.fonts API error: "+p),console.info("Replacing fonts instantly. FOUT handling failed."),void u();var p;r&&o&&function(){const e=t.map(c);Promise.all(e).then(a).catch(u)}()},p=(e,t)=>{let{custom:n=[],web:i=[],enableListener:o=!1,scope:a=c}=t;if(!o)return;const s=[].concat((0,r.Z)(n),(0,r.Z)(i)),p=u(s);l({fontNames:p,scope:a})},f=(e,t)=>{let{element:n}=e,{custom:o=[],web:c=[],mode:l=s}=t;if("async"!==l)return n;const p=[].concat((0,r.Z)(o),(0,r.Z)(c)),f=(e=>e.map((e=>{let{file:t}=e;return t})))(p),d=u(p),h=Boolean(d.length);return i.createElement(i.Fragment,null,h&&i.createElement(a,{hrefs:f}),n)}},29608:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(11883),n(20292);const r=function(e,t){let{location:n}=e}},20292:function(e,t,n){"use strict";var r=n(11883)},92129:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});const r=(0,n(67294).createContext)({user:null,setUser:e=>{},hexofyUser:null,setHexofyUser:e=>{}})},99198:function(e,t,n){"use strict";n.d(t,{AL:function(){return U},Fx:function(){return O},Js:function(){return S},ME:function(){return _},MJ:function(){return w},Me:function(){return C},Qt:function(){return I},Tm:function(){return T},Ug:function(){return j},mU:function(){return F},nb:function(){return P},rb:function(){return x},vE:function(){return D},zG:function(){return k}});var r,i,o,a,s,c,u,l,p,f,d,h,m,y,v,g,b=n(81880),E=n(19098);const _=(0,E.Ps)(r||(r=(0,b.Z)(["\nquery ME {\n  User {\n    get {\n      id\n      firstName\n      lastName\n      email\n      createdAt\n      updatedAt\n      companyWebsite\n      industry\n      countryUser\n      title\n      company\n      phone\n      error\n      verified\n      shouldBeDeletedAt\n      logo\n      type\n      hexometer_pricing_package\n      hexometer_pricing_package_interval\n      hexometer_pricing_package_count\n      hexomatic_pricing_package\n      hexomatic_pricing_package_interval\n      hexomatic_pricing_package_count\n      premium_credit_subscription_status\n      premium_credit_subscription_cancel_at\n      premium_credits_payp
2al_subscription_id\n      premium_credits_stripe_subscription_id\n      premium_credits_pricing_package\n      premium_credits_pricing_package_interval\n      left_premium_credits\n      left_one_time_premium_credits\n      referral_code\n      photo\n      combo_pricing_package\n      twofa {\n        status\n        type\n        date\n      }\n      info {\n        address1\n        address2\n        city\n        state\n        zip\n        tax_type\n        tax_value\n      }\n      promoData {\n        hexowatch_ltd\n        hexomatic_ltd\n      }\n      pending_payment\n    }\n  }\n}\n"]))),w=(0,E.Ps)(i||(i=(0,b.Z)(["\n  query HEXOFY_USER {\n    HexofyUser {\n      getHexofyUser {\n        hfUser {\n          id\n          user_legacy_id\n          pricing_package\n          pricing_package_interval\n          pricing_package_count\n          stripe_subscription_id\n          paypal_subscription_id\n          subscription_status\n          billing_info {\n            next_billing_date\n            last_billing_date\n            subscription_status\n          }\n\n          pending_payment\n          error_code\n          settings {\n            storage\n            checks\n          }\n        }\n      }\n    }\n  }\n"]))),F=((0,E.Ps)(o||(o=(0,b.Z)(["\n  query USER_QUERY {\n    User {\n      getUserPlans {\n        hexomatic {\n          pricing_package\n          pricing_package_interval\n          pending_payment\n        }\n        hexowatch {\n          pricing_package\n          pricing_package_interval\n          pending_payment\n        }\n        hexometer {\n          pricing_package\n          pricing_package_interval\n          pending_payment\n          \n        }\n        hexospark {\n          pricing_package\n          pricing_package_interval\n          pending_payment\n        }\n        error_code\n      }\n    }\n  }"]))),(0,E.Ps)(a||(a=(0,b.Z)(["\n  query LIST_CUSTOMER_CARD($settings: ListCustomerCardsInput) {\n    Billing {\n      listCustomerCards(settings: $settings) {\n        cards {\n          id\n          createdAt\n          updatedAt\n          cardId\n          customerId\n          brand\n          lastDigits\n          isDefault\n        }\n        error_code\n      }\n    }\n  }\n"])))),k=(0,E.Ps)(s||(s=(0,b.Z)(["\n  query GET_ACCESS_TOKEN($settings: GetAccessTokenInput) {\n    User {\n      getAccessToken(settings: $settings) {\n        error_code\n        token\n      }\n    }\n  }\n"]))),O=(0,E.Ps)(c||(c=(0,b.Z)(["\n  query ($settings: GetPackageRenewalDateInput) {\n    User {\n      getPackageRenewalDate(settings: $settings) {\n        hexomatic\n        hexowatch\n        hexometer\n        premium_credits\n        error_code\n      }\n    }\n  }\n"]))),S=(0,E.Ps)(u||(u=(0,b.Z)(["\n  query ($settings: RetrieveUpcomingInvoiceInput) {\n    Billing {\n      retrieveUpcomingInvoice(settings: $settings) {\n        packagesBillingInfo {\n          hexowatch {\n            last_billing_date\n            next_billing_date\n          }\n          hexofy {\n            last_billing_date\n            next_billing_date\n          }\n          hexomatic {\n            last_billing_date\n            next_billing_date\n          }\n          hexometer {\n            last_billing_date\n            next_billing_date\n          }\n          hexospark {\n            last_billing_date\n            next_billing_date\n          }\n          premium_credits {\n            last_billing_date\n            next_billing_date\n          }\n        }\n\n        error_code\n      }\n    }\n  }\n"]))),T=(0,E.Ps)(l||(l=(0,b.Z)(["\n  query GET_HEXOMATIC_USER {\n    HexomaticUser {\n      getByLegacyId {\n        isPerformer\n        id\n        automation_credit\n        premium_automation_credit\n        user_legacy_id\n        storage\n        pricing_package\n        pricing_package_interval\n        pricing_package_count\n        stripe_subscription_id\n        left_automation_credit\n        left_premium_automation_credit\n        error_code\n        promo_codes_count\n        subscription_status\n        billing_info {\n          next_billing_date\n        }\n        paypal_subscription_id\n      }\n    }\n  }\n"]))),C=(0,E.Ps)(p||(p=(0,b.Z)(["\n  query GET_HEXOMETER_USER_SETTINGS($user_id: Int!) {\n    HexometerUserSettings {\n      get(user_id: $user_id) {\n        pricing_package\n        pricing_package_interval\n        pricing_package_count\n        billing_info {\n          last_billing_date\n          next_billing_date\n        }\n        paypal_subscription_id\n        subscription_status\n      }\n    }\n  }\n"]))),x=(0,E.Ps)(f||(f=(0,b.Z)(["\n  query GET_USER_WATCH_SETTINGS_QUERY {\n    UserWatchSett
2ings {\n      get {\n        id\n        phoneNumber\n        phoneNumberVerified\n        phoneEnabled\n        monthly_limit\n        emails {\n          email\n          enabled\n          is_user_email\n          verified\n          verify_email_send_at\n        }\n        emailEnabled\n        daily_digest_alert_email_time\n        browsers {\n          name\n          enabled\n        }\n        slackIntegration\n        telegramChatId\n        pricing_package_interval\n        pricing_package\n        left_monthly\n        zapierIntegration\n        watchApiKey\n        webhooks {\n          webhook\n          subscriptionId\n        }\n        billing_info {\n          next_billing_date\n          last_billing_date\n        }\n        config {\n          additional_scans_count\n          daily_email_alert_limit\n        }\n        activated_promo_codes_count\n        subscription_status\n        billing_info {\n          next_billing_date\n        }\n        paypal_subscription_id\n      }\n    }\n  }\n"]))),U=(0,E.Ps)(d||(d=(0,b.Z)(["\n  query {\n    Billing {\n      listPremiumCredits {\n        premiumCredits {\n          name\n          free\n          limits {\n            premium_credits_count\n          }\n          enable\n          interval\n          productId\n          amount\n          id\n          productType\n        }\n        error_code\n      }\n    }\n  }\n"]))),j=(0,E.Ps)(h||(h=(0,b.Z)(["\n  query HEXOSPARK_USER {\n    HexosparkUser {\n      getHexosparkUser {\n        hsUser {\n          id\n          user_legacy_id\n          pricing_package\n          pricing_package_interval\n          pricing_package_count\n          additional_package_count\n          stripe_subscription_id\n          paypal_subscription_id\n          subscription_status\n          billing_info {\n            next_billing_date\n            last_billing_date\n            subscription_status\n          }\n          pending_payment\n          db_location\n          uploadHash\n          isExUser\n\n          settings {\n            storage\n            emails_sent\n            emails_limit\n            renewal_date\n            teamAccess\n            workspaces\n            emailAccounts\n            totalPromptsCount\n            usedPromptsCount\n          }\n          error_code\n        }\n        can_use_trial\n        trial_packages\n        promo_codes_count\n        invitationInfo {\n          invited_at\n          invites_count\n          paid_invites_count\n        }\n      }\n    }\n  }\n"]))),I=(0,E.Ps)(m||(m=(0,b.Z)(["\n  query USER_QUERY {\n    User {\n      get {\n        id\n        firstName\n        lastName\n        email\n        createdAt\n        updatedAt\n        companyWebsite\n        industry\n        countryUser\n        title\n        company\n        phone\n        error\n        verified\n        shouldBeDeletedAt\n        logo\n        type\n        hexometer_pricing_package\n        hexometer_pricing_package_interval\n        hexometer_pricing_package_count\n        hexomatic_pricing_package\n        hexomatic_pricing_package_interval\n        hexomatic_pricing_package_count\n        premium_credit_subscription_status\n        premium_credit_subscription_cancel_at\n        premium_credits_paypal_subscription_id\n        premium_credits_stripe_subscription_id\n        premium_credits_pricing_package\n        premium_credits_pricing_package_interval\n        left_premium_credits\n        left_one_time_premium_credits\n        referral_code\n        photo\n        uploadHash\n        twofa {\n          status\n          type\n          date\n        }\n        info {\n          address1\n          address2\n          city\n          state\n          zip\n          tax_type\n          tax_value\n        }\n        promoData {\n          hexowatch_ltd\n        }\n      }\n    }\n  }\n"]))),D=((0,E.Ps)(y||(y=(0,b.Z)(["\n  query PAYMENT_METHOD_QUERY {\n    User {\n      creditCardInfo {\n        number\n        name\n        expiry\n      }\n    }\n  }\n"]))),(0,E.Ps)(v||(v=(0,b.Z)(["\n  query ($settings: ListCustomerInvoicesInput) {\n    Billing {\n      listCustomerInvoices(settings: $settings) {\n        invoices {\n          invoiceId\n          amountDue\n          amountPaid\n          total\n          createdAt\n          status\n          invoicePdf\n        }\n        error_code\n      }\n    }\n  }\n"])))),P=(0,E.Ps)(g||(g=(0,b.Z)(["\n  query {\n    User {\n      promoBalance {\n        count\n      }\n    }\n  }\n"])))},80170:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{c_:function(){return W},Fz:function(){return u},pX:function(){return G},L5:function(){return q},_3:function(){return H},oR:function(){return R},Zz:function(){return J},sd:function(){return I},Rp:function(){return A},g:function(){return K},CK:function(){return p},vW:function(){return x},Nh:function(){return O},vV:function(){return L},D$:function(){return _},hk:function(){return g},Ch:function(){return b},ex:function(){return D},Xw:function(){return M},Fd:function(){return C},yU:function(){return T},qm:function(){return U},Ne:function(){return S},iV:function(){return Q},d7:function(){return V},XI:function(){return B},Tv:function(){return z},sj:function(){return m},AG:function(){return P},ym:function(){return E},mD:function(){return y},nt:function(){return v},cg:function(){return j},P8:function(){return f},zI:function(){return N},Rx:function(){return k},dP:function(){return F}});var i=function e(t,n){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=r({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decode
vendor: 16,384 bytes, line 2
2URIComponent).replace(/[()]/g,escape);var a="";for(var s in o)o[s]&&(a+="; "+s,!0!==o[s]&&(a+="="+o[s].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+a}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var o=n[i].split("="),a=o.slice(1).join("=");try{var s=decodeURIComponent(o[0]);if(r[s]=t.read(a,s),e===s)break}catch(c){}}return e?r[e]:r}},remove:function(e,t){i(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),o=i,a=n(30381),s=n.n(a);n(11883);var c={AC:{code:"AC",unicode:"U+1F1E6 U+1F1E8",name:"Ascension Island",emoji:"🇦🇨"},AD:{code:"AD",unicode:"U+1F1E6 U+1F1E9",name:"Andorra",emoji:"🇦🇩"},AE:{code:"AE",unicode:"U+1F1E6 U+1F1EA",name:"United Arab Emirates",emoji:"🇦🇪"},AF:{code:"AF",unicode:"U+1F1E6 U+1F1EB",name:"Afghanistan",emoji:"🇦🇫"},AG:{code:"AG",unicode:"U+1F1E6 U+1F1EC",name:"Antigua & Barbuda",emoji:"🇦🇬"},AI:{code:"AI",unicode:"U+1F1E6 U+1F1EE",name:"Anguilla",emoji:"🇦🇮"},AL:{code:"AL",unicode:"U+1F1E6 U+1F1F1",name:"Albania",emoji:"🇦🇱"},AM:{code:"AM",unicode:"U+1F1E6 U+1F1F2",name:"Armenia",emoji:"🇦🇲"},AO:{code:"AO",unicode:"U+1F1E6 U+1F1F4",name:"Angola",emoji:"🇦🇴"},AQ:{code:"AQ",unicode:"U+1F1E6 U+1F1F6",name:"Antarctica",emoji:"🇦🇶"},AR:{code:"AR",unicode:"U+1F1E6 U+1F1F7",name:"Argentina",emoji:"🇦🇷"},AS:{code:"AS",unicode:"U+1F1E6 U+1F1F8",name:"American Samoa",emoji:"🇦🇸"},AT:{code:"AT",unicode:"U+1F1E6 U+1F1F9",name:"Austria",emoji:"🇦🇹"},AU:{code:"AU",unicode:"U+1F1E6 U+1F1FA",name:"Australia",emoji:"🇦🇺"},AW:{code:"AW",unicode:"U+1F1E6 U+1F1FC",name:"Aruba",emoji:"🇦🇼"},AX:{code:"AX",unicode:"U+1F1E6 U+1F1FD",name:"Åland Islands",emoji:"🇦🇽"},AZ:{code:"AZ",unicode:"U+1F1E6 U+1F1FF",name:"Azerbaijan",emoji:"🇦🇿"},BA:{code:"BA",unicode:"U+1F1E7 U+1F1E6",name:"Bosnia & Herzegovina",emoji:"🇧🇦"},BB:{code:"BB",unicode:"U+1F1E7 U+1F1E7",name:"Barbados",emoji:"🇧🇧"},BD:{code:"BD",unicode:"U+1F1E7 U+1F1E9",name:"Bangladesh",emoji:"🇧🇩"},BE:{code:"BE",unicode:"U+1F1E7 U+1F1EA",name:"Belgium",emoji:"🇧🇪"},BF:{code:"BF",unicode:"U+1F1E7 U+1F1EB",name:"Burkina Faso",emoji:"🇧🇫"},BG:{code:"BG",unicode:"U+1F1E7 U+1F1EC",name:"Bulgaria",emoji:"🇧🇬"},BH:{code:"BH",unicode:"U+1F1E7 U+1F1ED",name:"Bahrain",emoji:"🇧🇭"},BI:{code:"BI",unicode:"U+1F1E7 U+1F1EE",name:"Burundi",emoji:"🇧🇮"},BJ:{code:"BJ",unicode:"U+1F1E7 U+1F1EF",name:"Benin",emoji:"🇧🇯"},BL:{code:"BL",unicode:"U+1F1E7 U+1F1F1",name:"St. Barthélemy",emoji:"🇧🇱"},BM:{code:"BM",unicode:"U+1F1E7 U+1F1F2",name:"Bermuda",emoji:"🇧🇲"},BN:{code:"BN",unicode:"U+1F1E7 U+1F1F3",name:"Brunei",emoji:"🇧🇳"},BO:{code:"BO",unicode:"U+1F1E7 U+1F1F4",name:"Bolivia",emoji:"🇧🇴"},BQ:{code:"BQ",unicode:"U+1F1E7 U+1F1F6",name:"Caribbean Netherlands",emoji:"🇧🇶"},BR:{code:"BR",unicode:"U+1F1E7 U+1F1F7",name:"Brazil",emoji:"🇧🇷"},BS:{code:"BS",unicode:"U+1F1E7 U+1F1F8",name:"Bahamas",emoji:"🇧🇸"},BT:{code:"BT",unicode:"U+1F1E7 U+1F1F9",name:"Bhutan",emoji:"🇧🇹"},BV:{code:"BV",unicode:"U+1F1E7 U+1F1FB",name:"Bouvet Island",emoji:"🇧🇻"},BW:{code:"BW",unicode:"U+1F1E7 U+1F1FC",name:"Botswana",emoji:"🇧🇼"},BY:{code:"BY",unicode:"U+1F1E7 U+1F1FE",name:"Belarus",emoji:"🇧🇾"},BZ:{code:"BZ",unicode:"U+1F1E7 U+1F1FF",name:"Belize",emoji:"🇧🇿"},CA:{code:"CA",unicode:"U+1F1E8 U+1F1E6",name:"Canada",emoji:"🇨🇦"},CC:{code:"CC",unicode:"U+1F1E8 U+1F1E8",name:"Cocos (Keeling) Islands",emoji:"🇨🇨"},CD:{code:"CD",unicode:"U+1F1E8 U+1F1E9",name:"Congo - Kinshasa",emoji:"🇨🇩"},CF:{code:"CF",unicode:"U+1F1E8 U+1F1EB",name:"Central African Republic",emoji:"🇨🇫"},CG:{code:"CG",unicode:"U+1F1E8 U+1F1EC",name:"Congo - Brazzaville",emoji:"🇨🇬"},CH:{code:"CH",unicode:"U+1F1E8 U+1F1ED",name:"Switzerland",emoji:"🇨🇭"},CI:{code:"CI",unicode:"U+1F1E8 U+1F1EE",name:"Côte d’Ivoire",emoji:"🇨🇮"},CK:{code:"CK",unicode:"U+1F1E8 U+1F1F0",name:"Cook Islands",emoji:"🇨🇰"},CL:{code:"CL",unicode:"U+1F1E8 U+1F1F1",name:"Chile",emoji:"🇨🇱"},CM:{code:"CM",unicode:"U+1F1E8 U+1F1F2",name:"Cameroon",emoji:"🇨🇲"},CN:{code:"CN",unicode:"U+1F1E8 U+1F1F3",name:"China",emoji:"🇨🇳"},CO:{code:"CO",unicode:"U+1F1E8 U+1F1F4",name:"Colombia",emoji:"🇨🇴"},CP:{code:"CP",unicode:"U+1F1E8 U+1F1F5",name:"Clipperton Island",emoji:"🇨🇵"},CR:{code:"CR",unicode:"U+1F1E8 U+1F1F7",name:"Costa Rica",emoji:"🇨🇷"},CU:{code:"CU",unicode:"U+1F1E8 U+1F1FA",name:"Cuba",emoji:"🇨🇺"},CV:{code:"CV",unicode:"U+1F1E8 U+1F1FB",name:"Cape Verde",emoji:"🇨🇻"},CW:{code:"CW",unicode:"U+1F1E8 U+1F1FC",name:"Curaçao",emoji:"🇨🇼"},CX:{code:"CX",unicode:"U+1F1E8 U+1F1FD",name:"Christmas Island",emoji:"🇨🇽"},CY:{code:"CY",unicode:"U+1F1E8 U+1F1FE",name:"Cyprus",emoji:"🇨🇾"},CZ:{code:"CZ",unicode:"U+1F1E8 U+1F1FF",name:"Czechia",emoji:"🇨🇿"},DE:{code:"DE",unicode:"U+1F1E9 U+1F1EA",name:"Germany",emoji:"🇩🇪"},DG:{code:"DG",unicode:"U+1F1E9 U+1F1EC",name:"Diego Garcia",emoji:"🇩🇬"},DJ:{code:"DJ",unicode:"U+1F1E9 U+1F1EF",name:"Djibouti",emoji:"🇩🇯"},DK:{code:"DK",unicode:"U+1F1E9 U+1F1F0",name:"Denmark",emoji:"🇩🇰"},DM:{code:"DM",unicode:"U+1F1E9 U+1F1F2",name:"Dominica",emoji:"🇩🇲"},DO:{code:"DO",unicode:"U+1F1E9 U+1F1F4",name:"Dominican Republic",emoji:"🇩🇴"},DZ:{code:"DZ",unicode:"U+1F1E9 U+1F1FF",name:"Algeria",emoji:"🇩🇿"},EA:{code:"EA",unicode:"U+1F1EA U+1F1E6",name:"Ceuta & Melilla",emoji:"🇪🇦"},EC:{code:"EC",unicode:"U+1F1EA U+1F1E8",name:"Ecuador",emoji:"🇪🇨"},EE:{code:"EE",unicode:"U+1F1EA U+1F1EA",name:"Estonia",emoji:"🇪🇪"},EG:{code:"EG",unicode:"U+1F1EA U+1F1EC",name:"Egypt",emoji:"🇪🇬"},EH:{code:"EH",unicode:"U+1F1EA U+1F1ED",name:"Western Sahara",emoji:"🇪🇭"},ER:{code:"ER",unicode:"U+1F1EA U+1F1F7",name:"Eritrea",emoji:"🇪🇷"},ES:{code:"ES",unicode:"U+1F1EA U+1F1F8",name:"Spain",emoji:"🇪🇸"},ET:{code:"ET",unicode:"U+1F1EA U+1F1F9",name:"Ethiopia",emoji:"🇪🇹"},EU:{code:"EU",unicode:"U+1F1EA U+1F1FA",name:"European Union",emoji:"🇪🇺"},FI:{code:"FI",unicode:"U+1F1EB U+1F1EE",name:"Finland",emoji:"🇫🇮"},FJ:{code:"FJ",unicode:"U+1F1EB U+1F1EF",name:"Fiji",emoji:"🇫🇯"},FK:{code:"FK",unicode:"U+1F1EB U+1F1F0",name:"Falkland Islands",emoji:"🇫🇰"},FM:{code:"FM",unicode:"U+1F1EB U+1F1F2",name:"Micronesia",emoji:"🇫🇲"},FO:{code:"FO",unicode:"U+1F1EB U+1F1F4",name:"Faroe Islands",emoji:"🇫🇴"},FR:{code:"FR",unicode:"U+1F1EB U+1F1F7",name:"France",emoji:"🇫🇷"},GA:{code:"GA",unicode:"U+1F1EC U+1F1E6",name:"Gabon",emoji:"🇬🇦"},GB:{code:"GB",unicode:"U+1F1EC U+1F1E7",name:"United Kingdom",emoji:"🇬🇧"},GD:{code:"GD",unicode:"U+1F1EC U+1F1E9",name:"Grenada",emoji:"🇬🇩"},GE:{code:"GE",unicode:"U+1F1EC U+1F1EA",name:"Georgia",emoji:"🇬🇪"},GF:{code:"GF",unicode:"U+1F1EC U+1F1EB",name:"French Guiana",emoji:"🇬🇫"},GG:{code:"GG",unicode:"U+1F1EC U+1F1EC",name:"Guernsey",emoji:"🇬🇬"},GH:{code:"GH",unicode:"U+1F1EC U+1F1ED",name:"Ghana",emoji:"🇬🇭"},GI:{code:"GI",unicode:"U+1F1EC U+1F1EE",name:"Gibraltar",emoji:"🇬🇮"},GL:{code:"GL",unicode:"U+1F1EC U+1F1F1",name:"Greenland",emoji:"🇬🇱"},GM:{code:"GM",unicode:"U+1F1EC U+1F1F2",name:"Gambia",emoji:"🇬🇲"},GN:{code:"GN",unicode:"U+1F1EC U+1F1F3",name:"Guinea",emoji:"🇬🇳"},GP:{code:"GP",unicode:"U+1F1EC U+1F1F5",name:"Guadeloupe",emoji:"🇬🇵"},GQ:{code:"GQ",unicode:"U+1F1EC U+1F1F6",name:"Equatorial Guinea",emoji:"🇬🇶"},GR:{code:"GR",unicode:"U+1F1EC U+1F1F7",name:"Greece",emoji:"🇬🇷"},GS:{code:"GS",unicode:"U+1F1EC U+1F1F8",name:"South Georgia & South Sandwich Islands",emoji:"🇬🇸"},GT:{code:"GT",unicode:"U+1F1EC U+1F1F9",name:"Guatemala",emoji:"🇬🇹"},GU:{code:"GU",unicode:"U+1F1EC U+1F1FA",name:"Guam",emoji:"🇬🇺"},GW:{code:"GW",unicode:"U+1F1EC U+1F1FC",name:"Guinea-Bissau",emoji:"🇬🇼"},GY:{code:"GY",unicode:"U+1F1EC U+1F1FE",name:"Guyana",emoji:"🇬🇾"},HK:{code:"HK",unicode:"U+1F1ED U+1F1F0",name:"Hong Kong SAR China",emoji:"🇭🇰"},HM:{code:"HM",unicode:"U+1F1ED U+1F1F2",name:"Heard & McDonald Islands",emoji:"🇭🇲"},HN:{code:"HN",unicode:"U+1F1ED U+1F1F3",name:"Honduras",emoji:"🇭🇳"},HR:{code:"HR",unicode:"U+1F1ED U+1F1F7",name:"Croatia",emoji:"🇭🇷"},HT:{code:"HT",unicode:"U+1F1ED U+1F1F9",name:"Haiti",emoji:"🇭🇹"},HU:{code:"HU",unicode:"U+1F1ED U+1F1FA",name:"Hungary",emoji:"🇭🇺"},IC:{code:"IC",unicode:"U+1F1EE U+1F1E8",name:"Canary Islands",emoji:"🇮🇨"},ID:{code:"ID",unicode:"U+1F1EE U+1F1E9",name:"Indonesia",emoji:"🇮🇩"},IE:{code:"IE",unicode:"U+1F1EE U+1F1EA",name:"Ireland",emoji:"🇮🇪"},IL:{code:"IL",unicode:"U+1F1EE U+1F1F1",name:"Israel",emoji:"🇮🇱"},IM:{code:"IM",unicode:"U+1F1EE U+1F1F2",name:"Isle of Man",emoji:"🇮🇲"},IN:{code:"IN",unicode:"U+1F1EE U+1F1F3",name:"India",emoji:"🇮🇳"},IO:{code:"IO",unicode:"U+1F1EE U+1F1F4",name:"British Indian Ocean Territory",emoji:"🇮🇴"},IQ:{code:"IQ",unicode:"U+1F1EE U+1F1F6",name:"Iraq",emoji:"🇮🇶"},IR:{code:"IR",unicode:"U+1F1EE U+1F1F7",name:"Iran",emoji:"🇮🇷"},IS:{code:"IS",unicode:"U+1F1EE U+1F1F8",name:"Iceland",emoji:"🇮🇸"},IT:{code:"IT",unicode:"U+1F1EE U+1F1F9",name:"Italy",emoji:"🇮🇹"},JE:{code:"JE",unicode:"U+1F1EF U+1F1EA",name:"Jersey",emoji:"🇯🇪"},JM:{code:"JM",unicode:"U+1F1EF U+1F1F2",name:"Jamaica",emoji:"🇯🇲"},JO:{code:"JO",unicode:"U+1F1EF U+1F1F4",name:"Jordan",emoji:"🇯🇴"},JP:{code:"JP",unicode:"U+1F1EF U+1F1F5",name:"Japan",emoji:"🇯🇵"},KE:{code:"KE",unicode:"U+1F1F0 U+1F1EA",name:"Kenya",emoji:"🇰🇪"},KG:{code:"KG",unicode:"U+1F1F0 U+1F1EC",name:"Kyrgyzstan",emoji:"🇰🇬"},KH:{code:"KH",unicode:"U+1F1F0 U+1F1ED",name:"Cambodia",emoji:"🇰🇭"},KI:{code:"KI",unicode:"U+1F1F0 U+1F1EE",name:"Kiribati",emoji:"🇰🇮"},KM:{code:"KM",unicode:"U+1F1F0 U+1F1F2",name:"Comoros",emoji:"🇰🇲"},KN:{code:"KN",unicode:"U+1F1F0 U+1F1F3",name:"St. Kitts & Nevis",emoji:"🇰🇳"},KP:{code:"KP",unicode:"U+1F1F0 U+1F1F5",name:"North Korea",emoji:"🇰🇵"},KR:{code:"KR",unicode:"U+1F1F0 U+1F1F7",name:"South Korea",emoji:"🇰🇷"},KW:{code:"KW",unicode:"U+1F1F0 U+1F1FC",name:"Kuwait",emoji:"🇰🇼"},KY:{code:"KY",unicode:"U+1F1F0 U+1F1FE",name:"Cayman Islands",emoji:"🇰🇾"},KZ:{code:"KZ",unicode:"U+1F1F0 U+1F1FF",name:"Kazakhstan",emoji:"🇰🇿"},LA:{code:"LA",unicode:"U+1F1F1 U+1F1E6",name:"Laos",emoji:"🇱🇦"},LB:{code:"LB",unicode:"U+1F1F1 U+1F1E7",name:"Lebanon",emoji:"🇱🇧"},LC:{code:"LC",unicode:"U+1F1F1 U+1F1E8",name:"St. Lucia",emoji:"🇱🇨"},LI:{code:"LI",unicode:"U+1F1F1 U+1F1EE",name:"Liechtenstein",emoji:"🇱🇮"},LK:{code:"LK",unicode:"U+1F1F1 U+1F1F0",name:"Sri Lanka",emoji:"🇱🇰"},LR:{code:"LR",unicode:"U+1F1F1 U+1F1F7",name:"Liberia",emoji:"🇱🇷"},LS:{code:"LS",unicode:"U+1F1F1 U+1F1F8",name:"Lesotho",emoji:"🇱🇸"},LT:{code:"LT",unicode:"U+1F1F1 U+1F1F9",name:"Lithuania",emoji:"🇱🇹"},LU:{code:"LU",unicode:"U+1F1F1 U+1F1FA",name:"Luxembourg",emoji:"🇱🇺"},LV:{code:"LV",unicode:"U+1F1F1 U+1F1FB",name:"Latvia",emoji:"🇱🇻"},LY:{code:"LY",unicode:"U+1F1F1 U+1F1FE",name:"Libya",emoji:"🇱🇾"},MA:{code:"MA",unicode:"U+1F1F2 U+1F1E6",name:"Morocco",emoji:"🇲🇦"},MC:{code:"MC",unicode:"U+1F1F2 U+1F1E8",name:"Monaco",emoji:"🇲🇨"},MD:{code:"MD",unicode:"U+1F1F2 U+1F1E9",name:"Moldova",emoji:"🇲🇩"},ME:{code:"ME",unicode:"U+1F1F2 U+1F1EA",name:"Montenegro",emoji:"🇲🇪"},MF:{code:"MF",unicode:"U+1F1F2 U+1F1EB",name:"St. Martin",emoji:"🇲🇫"},MG:{code:"MG",unicode:"U+1F1F2 U+1F1EC",name:"Madagascar",emoji:"🇲🇬"},MH:{code:"MH",unicode:"U+1F1F2 U+1F1ED",name:"Marshall Islands",emoji:"🇲🇭"},MK:{code:"MK",unicode:"U+1F1F2 U+1F1F0",name:"Macedonia",emoji:"🇲🇰"},ML:{code:"ML",unicode:"U+1F1F2 U+1F1F1",name:"Mali",emoji:"🇲🇱"},MM:{code:"MM",unicode:"U+1F1F2 U+1F1F2",name:"Myanmar (Burma)",emoji:"🇲🇲"},MN:{code:"MN",unicode:"U+1F1F2 U+1F1F3",name:"Mongolia",emoji:"🇲🇳"},MO:{code:"MO",unicode:"U+1F1F2 U+1F1F4",name:"Macau SAR China",emoji:"🇲🇴"},MP:{code:"MP",unicode:"U+1F1F2 U+1F1F5",name:"Northern Mariana Islands",emoji:"🇲🇵"},MQ:{code:"MQ",unicode:"U+1F1F2 U+1F1F6",name:"Martinique",emoji:"🇲🇶"},MR:{code:"MR",unicode:"U+1F1F2 U+1F1F7",name:"Mauritania",emoji:"🇲🇷"},MS:{code:"MS",unicode:"U+1F1F2 U+1F1F8",name:"Montserrat",emoji:"🇲🇸"},MT:{code:"MT",unicode:"U+1F1F2 U+1F1F9",name:"Malta",emoji:"🇲🇹"},MU:{code:"MU",unicode:"U+1F1F2 U+1F1FA",name:"Mauritius",emoji:"🇲🇺"},MV:{code:"MV",unicode:"U+1F1F2 U+1F1FB",name:"Maldives",emoji:"🇲🇻"},MW:{code:"MW",unicode:"U+1F1F2 U+1F1FC",name:"Malawi",emoji:"🇲🇼"},MX:{code:"MX",unicode:"U+1F1F2 U+1F1FD",name:"Mexico",emoji:"🇲🇽"},MY:{code:"MY",unicode:"U+1F1F2 U+1F1FE",name:"Malaysia",emoji:"🇲🇾"},MZ:{code:"MZ",unicode:"U+1F1F2 U+1F1FF",name:"Mozambique",emoji:"🇲🇿"},NA:{code:"NA",unicode:"U+1F1F3 U+1F1E6",name:"Namibia",emoji:"🇳🇦"},NC:{code:"NC",unicode:"U+1F1F3 U+1F1E8",name:"New Caledonia",emoji:"🇳🇨"},NE:{code:"NE",unicode:"U+1F1F3 U+1F1EA",name:"Niger",emoji:"🇳🇪"},NF:{code:"NF",unicode:"U+1F1F3 U+1F1EB",name:"Norfolk Island",emoji:"🇳🇫"},NG:{code:"NG",unicode:"U+1F1F3 U+1F1EC",name:"Nigeria",emoji:"🇳🇬"},NI:{code:"NI",unicode:"U+1F1F3 U+1F1EE",name:"Nicaragua",emoji:"🇳🇮"},NL:{code:"NL",unicode:"U+1F1F3 U+1F1F1",name:"Netherlands",emoji:"🇳🇱"},NO:{code:"NO",unicode:"U+1F1F3 U+1F1F4",name:"Norway",emoji:"🇳🇴"},NP:{code:"NP",unicode:"U+1F1F3 U+1F1F5",name:"Nepal",emoji:"🇳🇵"},NR:{code:"NR",unicode:"U+1F1F3 U+1F1F7",name:"Nauru",emoji:"🇳🇷"},NU:{code:"NU",unicode:"U+1F1F3 U+1F1FA",name:"Niue",emoji:"🇳🇺"},NZ:{code:"NZ",unicode:"U+1F1F3 U+1F1FF",name:"New Zealand",emoji:"🇳🇿"},OM:{code:"OM",unicode:"U+1F1F4 U+1F1F2",name:"Oman",emoji:"🇴🇲"},PA:{code:"PA",unicode:"U+1F1F5 U+1F1E6",name:"Panama",emoji:"🇵🇦"},PE:{code:"PE",unicode:"U+1F1F5 U+1F1EA",name:"Peru",emoji:"🇵🇪"},PF:{code:"PF",unicode:"U+1F1F5 U+1F1EB",name:"French Polynesia",emoji:"🇵🇫"},PG:{code:"PG",unicode:"U+1F1F5 U+1F1EC",name:"Papua New Guinea",emoji:"🇵🇬"},PH:{code:"PH",unicode:"U+1F1F5 U+1F1ED",name:"Philippines",emoji:"🇵🇭"},PK:{code:"PK",unicode:"U+1F1F5 U+1F1F0",name:"Pakistan",emoji:"🇵🇰"},PL:{code:"PL",unicode:"U+1F1F5 U+1F1F1",name:"Poland",emoji:"🇵🇱"},PM:{code:"PM",unicode:"U+1F1F5 U+1F1F2",name:"St. Pierre & Miquelon",emoji:"🇵🇲"},PN:{code:"PN",unicode:"U+1F1F5 U+1F1F3",name:"Pitcairn Islands",emoji:"🇵🇳"},PR:{code:"PR",unicode:"U+1F1F5 U+1F1F7",name:"Puerto Rico",emoji:"🇵🇷"},PS:{code:"PS",unicode:"U+1F1F5 U+1F1F8",name:"Palestinian Territories",emoji:"🇵🇸"},PT:{code:"PT",unicode:"U+1F1F5 U+1F1F9",name:"Portugal",emoji:"🇵🇹"},PW:{code:"PW",unicode:"U+1F1F5 U+1F1FC",name:"Palau",emoji:"🇵🇼"},PY:{code:"PY",unicode:"U+1F1F5 U+1F1FE",name:"Paraguay",emoji:"🇵🇾"},QA:{code:"QA",unicode:"U+1F1F6 U+1F1E6",name:"Qatar",emoji:"🇶🇦"},RE:{code:"RE",unicode:"U+1F1F7 U+1F1EA",name:"Réunion",emoji:"🇷🇪"},RO:{code:"RO",unicode:"U+1F1F7 U+1F1F4",name:"Romania",emoji:"🇷🇴"},RS:{code:"RS",unicode:"U+1F1F7 U+1F1F8",name:"Serbia",emoji:"🇷🇸"},RU:{code:"RU",unicode:"U+1F1F7 U+1F1FA",name:"Russia",emoji:"🇷🇺"},RW:{code:"RW",unicode:"U+1F1F7 U+1F1FC",name:"Rwanda",emoji:"🇷🇼"},SA:{code:"SA",unicode:"U+1F1F8 U+1F1E6",name:"Saudi Arabia",emoji:"🇸🇦"},SB:{code:"SB",unicode:"U+1F1F8 U+1F1E7",name:"Solomon Islands",emoji:"🇸🇧"},SC:{code:"SC",unicode:"U+1F1F8 U+1F1E8",name:"Seychelles",emoji:"🇸🇨"},SD:{code:"SD",unicode:"U+1F1F8 U+1F1E9",name:"Sudan",emoji:"🇸🇩"},SE:{code:"SE",unicode:"U+1F1F8 U+1F1EA",name:"Sweden",emoj
2i:"🇸🇪"},SG:{code:"SG",unicode:"U+1F1F8 U+1F1EC",name:"Singapore",emoji:"🇸🇬"},SH:{code:"SH",unicode:"U+1F1F8 U+1F1ED",name:"St. Helena",emoji:"🇸🇭"},SI:{code:"SI",unicode:"U+1F1F8 U+1F1EE",name:"Slovenia",emoji:"🇸🇮"},SJ:{code:"SJ",unicode:"U+1F1F8 U+1F1EF",name:"Svalbard & Jan Mayen",emoji:"🇸🇯"},SK:{code:"SK",unicode:"U+1F1F8 U+1F1F0",name:"Slovakia",emoji:"🇸🇰"},SL:{code:"SL",unicode:"U+1F1F8 U+1F1F1",name:"Sierra Leone",emoji:"🇸🇱"},SM:{code:"SM",unicode:"U+1F1F8 U+1F1F2",name:"San Marino",emoji:"🇸🇲"},SN:{code:"SN",unicode:"U+1F1F8 U+1F1F3",name:"Senegal",emoji:"🇸🇳"},SO:{code:"SO",unicode:"U+1F1F8 U+1F1F4",name:"Somalia",emoji:"🇸🇴"},SR:{code:"SR",unicode:"U+1F1F8 U+1F1F7",name:"Suriname",emoji:"🇸🇷"},SS:{code:"SS",unicode:"U+1F1F8 U+1F1F8",name:"South Sudan",emoji:"🇸🇸"},ST:{code:"ST",unicode:"U+1F1F8 U+1F1F9",name:"São Tomé & Príncipe",emoji:"🇸🇹"},SV:{code:"SV",unicode:"U+1F1F8 U+1F1FB",name:"El Salvador",emoji:"🇸🇻"},SX:{code:"SX",unicode:"U+1F1F8 U+1F1FD",name:"Sint Maarten",emoji:"🇸🇽"},SY:{code:"SY",unicode:"U+1F1F8 U+1F1FE",name:"Syria",emoji:"🇸🇾"},SZ:{code:"SZ",unicode:"U+1F1F8 U+1F1FF",name:"Swaziland",emoji:"🇸🇿"},TA:{code:"TA",unicode:"U+1F1F9 U+1F1E6",name:"Tristan da Cunha",emoji:"🇹🇦"},TC:{code:"TC",unicode:"U+1F1F9 U+1F1E8",name:"Turks & Caicos Islands",emoji:"🇹🇨"},TD:{code:"TD",unicode:"U+1F1F9 U+1F1E9",name:"Chad",emoji:"🇹🇩"},TF:{code:"TF",unicode:"U+1F1F9 U+1F1EB",name:"French Southern Territories",emoji:"🇹🇫"},TG:{code:"TG",unicode:"U+1F1F9 U+1F1EC",name:"Togo",emoji:"🇹🇬"},TH:{code:"TH",unicode:"U+1F1F9 U+1F1ED",name:"Thailand",emoji:"🇹🇭"},TJ:{code:"TJ",unicode:"U+1F1F9 U+1F1EF",name:"Tajikistan",emoji:"🇹🇯"},TK:{code:"TK",unicode:"U+1F1F9 U+1F1F0",name:"Tokelau",emoji:"🇹🇰"},TL:{code:"TL",unicode:"U+1F1F9 U+1F1F1",name:"Timor-Leste",emoji:"🇹🇱"},TM:{code:"TM",unicode:"U+1F1F9 U+1F1F2",name:"Turkmenistan",emoji:"🇹🇲"},TN:{code:"TN",unicode:"U+1F1F9 U+1F1F3",name:"Tunisia",emoji:"🇹🇳"},TO:{code:"TO",unicode:"U+1F1F9 U+1F1F4",name:"Tonga",emoji:"🇹🇴"},TR:{code:"TR",unicode:"U+1F1F9 U+1F1F7",name:"Turkey",emoji:"🇹🇷"},TT:{code:"TT",unicode:"U+1F1F9 U+1F1F9",name:"Trinidad & Tobago",emoji:"🇹🇹"},TV:{code:"TV",unicode:"U+1F1F9 U+1F1FB",name:"Tuvalu",emoji:"🇹🇻"},TW:{code:"TW",unicode:"U+1F1F9 U+1F1FC",name:"Taiwan",emoji:"🇹🇼"},TZ:{code:"TZ",unicode:"U+1F1F9 U+1F1FF",name:"Tanzania",emoji:"🇹🇿"},UA:{code:"UA",unicode:"U+1F1FA U+1F1E6",name:"Ukraine",emoji:"🇺🇦"},UG:{code:"UG",unicode:"U+1F1FA U+1F1EC",name:"Uganda",emoji:"🇺🇬"},UM:{code:"UM",unicode:"U+1F1FA U+1F1F2",name:"U.S. Outlying Islands",emoji:"🇺🇲"},UN:{code:"UN",unicode:"U+1F1FA U+1F1F3",name:"United Nations",emoji:"🇺🇳"},US:{code:"US",unicode:"U+1F1FA U+1F1F8",name:"United States",emoji:"🇺🇸"},UY:{code:"UY",unicode:"U+1F1FA U+1F1FE",name:"Uruguay",emoji:"🇺🇾"},UZ:{code:"UZ",unicode:"U+1F1FA U+1F1FF",name:"Uzbekistan",emoji:"🇺🇿"},VA:{code:"VA",unicode:"U+1F1FB U+1F1E6",name:"Vatican City",emoji:"🇻🇦"},VC:{code:"VC",unicode:"U+1F1FB U+1F1E8",name:"St. Vincent & Grenadines",emoji:"🇻🇨"},VE:{code:"VE",unicode:"U+1F1FB U+1F1EA",name:"Venezuela",emoji:"🇻🇪"},VG:{code:"VG",unicode:"U+1F1FB U+1F1EC",name:"British Virgin Islands",emoji:"🇻🇬"},VI:{code:"VI",unicode:"U+1F1FB U+1F1EE",name:"U.S. Virgin Islands",emoji:"🇻🇮"},VN:{code:"VN",unicode:"U+1F1FB U+1F1F3",name:"Vietnam",emoji:"🇻🇳"},VU:{code:"VU",unicode:"U+1F1FB U+1F1FA",name:"Vanuatu",emoji:"🇻🇺"},WF:{code:"WF",unicode:"U+1F1FC U+1F1EB",name:"Wallis & Futuna",emoji:"🇼🇫"},WS:{code:"WS",unicode:"U+1F1FC U+1F1F8",name:"Samoa",emoji:"🇼🇸"},XK:{code:"XK",unicode:"U+1F1FD U+1F1F0",name:"Kosovo",emoji:"🇽🇰"},YE:{code:"YE",unicode:"U+1F1FE U+1F1EA",name:"Yemen",emoji:"🇾🇪"},YT:{code:"YT",unicode:"U+1F1FE U+1F1F9",name:"Mayotte",emoji:"🇾🇹"},ZA:{code:"ZA",unicode:"U+1F1FF U+1F1E6",name:"South Africa",emoji:"🇿🇦"},ZM:{code:"ZM",unicode:"U+1F1FF U+1F1F2",name:"Zambia",emoji:"🇿🇲"},ZW:{code:"ZW",unicode:"U+1F1FF U+1F1FC",name:"Zimbabwe",emoji:"🇿🇼"}};const u=/^.*(?=.{8,})((?=.*[!@#$%^&*()\-_=+{};:,<.>]){1})(?=.*\d)((?=.*[a-z]){1})((?=.*[A-Z]){1}).*$/,l=["37.186.119.181","localhost",".hexofy.com","192.168.0.132"];setTimeout((()=>{n.g.window&&n.g.window.location&&n.g.window.location.hostname&&n.g.window.location.hostname.indexOf("hexofy.com")>-1&&o.remove("__session",{domain:void 0})}),100);const p=e=>o.get(e),f=(e,t)=>l.map((n=>{o.set(e,t)})),d=()=>{let e,t={};for(let r of l)if(e=o.get("__session",{domain:r}),e)try{t=JSON.parse(decodeURIComponent(e))}catch(n){}return t},h=(e,t,n)=>{l.map((r=>{o.set("__session",JSON.stringify({...d(),[e]:t}),{expires:n||30,domain:r})}))},m=e=>{l.map((t=>{o.set("cookie_preference",e,{expires:365,domain:t})}))},y=e=>{l.map((t=>{o.set("__irClickId",e,{expires:30,domain:t})}))},v=e=>{l.map((t=>{o.set("__mediaPartnerId",e,{expires:30,domain:t})}))},g=()=>{l.map((e=>{o.remove("__irClickId",{expires:30,domain:e})}))},b=()=>{l.map((e=>{o.remove("__mediaPartnerId",{expires:30,domain:e})}))},E=e=>{l.map((t=>{o.set("document_referrer",e,{expires:30,domain:t})}))},_=()=>{l.map((e=>{o.remove("document_referrer",{expires:30,domain:e})}))},w=e=>d()[e],F=e=>h("user-token",e),k=e=>h("user-hash",e),O=()=>w("user-token"),S=()=>h("user-token",null),T=()=>h("user-hash",null),C=()=>h("user-email",null),x=()=>w("user-name"),U=()=>h("user-name",null),j=e=>h("new-user",e),I=()=>
2w("new-user"),D=()=>{return e="new-user",delete d()[e],void l.map((e=>{o.remove("__session",{expires:30,domain:e})}));var e},P=e=>{l.map((t=>{o.set("device_key",e,{expires:30,domain:t})}))},N=e=>{l.map((t=>{o.set("ref_token",e,{expires:30,domain:t})}))},R=e=>e&&s().utc(new Date(e).toISOString()).format("MMM DD, YYYY h:mm:ss A (UTC)"),A=()=>!!localStorage.getItem("packageInfo"),M=()=>{localStorage.removeItem("packageInfo")},L=e=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e),q=e=>{e&&(e.preventDefault(),e.stopPropagation())},Q=()=>window.location.host.includes("localhost")?"http://localhost:8000":"https://hexofy.com/",V=e=>window.location.host.includes("localhost")?"http://localhost:8000"+e:"https://hexofy.com"+e,B=(e,t,r)=>{n.g.window&&n.g.window.chrome&&n.g.window.chrome.runtime&&["bmcfkceaciejniimbpekgcgkodlgfadj","nenkkhfkbgioenfhecolhdjjpbgbmbmn","cabkcpckbogodkhpkflapdjhlaoojpal","cfmhjjglgpcbkbpmicpkegadmoeicedc","nenimlehhngpokejigjcfdjobmkfphnn","dlbbedjpdncbbicnpimoghakfiakhddb","fjgeobgcbipefmbggcbkdihjlabjbgba","mnhjjidfkpmkhdpdlpmacjonamgamdpm","pndfblhdnbhojknmcfjcfigjkejepfag","jmpflegmbfmkimhdhfbjhpnncahdmodo","mgmcleaniklmnobmapoghodebomcclld","nebdjjiofgkbbiohgkcdmdjjeobaipdg","ckgmhanamjlhmfhlcibaljcacobffdjh","ieegoibolaojfjcncgeijaafbfpppfkg","hpkeojndcogejcnjkdnjgbcbmmoplkdk"].forEach((async i=>{try{await n.g.window.chrome.runtime.sendMessage(i,{token:e||null,refToken:t,deviceKey:r})}catch{return}})),document.dispatchEvent(new CustomEvent("extension-hexofy-token-event",{detail:{token:e||null,refToken:t,deviceKey:r}}))},G=e=>{const t=t=>{if("Escape"===t.key){t.preventDefault(),t.stopPropagation();const n=document.querySelectorAll('[id^="popup-"]'),r=document.querySelectorAll(".customModal");if(n.length&&r.length){const e=document.getElementsByTagName("body")[0],t=n[n.length-1];e.removeChild(t)}else e&&e()}};return[()=>window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)]},H=e=>e&&s().utc(new Date(e).toISOString()).format("MMM DD, YYYY"),W=e=>c[e],K=(e,t,n)=>{const r=parseInt(e)&&!isNaN(parseInt(e))&&new Date(parseInt(e));return r?s().utc(r.toISOString()).format(t+" "+("12 hour"===n?"h:mm:ss A":"HH:mm:ss")):""},z=e=>{l.map((t=>{o.set("base32",e,{expires:30,domain:t})}))},J=(e,t)=>{if(e&&e.indexOf("FREE")>-1)return"Free "+(t&&t>1e3?(t/1e3).toFixed(1):t||"")+(t&&t>1e3?"k":"")+" ";if(e&&e.indexOf("STANDARD")>-1)return"Standard "+(t?((t+2e3)/1e3).toFixed((t+2e3)%1e3>0?1:0):2)+"k";if(e&&e.indexOf("PRO")>-1)return"Pro "+(t?((t+4500)/1e3).toFixed((t+4500)%1e3>0?1:0):4.5)+"k";if(e&&e.indexOf("BUSINESS_SCANS_")>-1){const n=+e.slice(e.lastIndexOf("_")+1);return"BUSINESS_SCANS_10000"!==e?"Business+ "+(t?((t+n)/1e3).toFixed((t+n)%1e3>0?1:0):n/1e3)+"k":"Business "+(t?((t+1e4)/1e3).toFixed((t+1e4)%1e3>0?1:0):10)+"k"}}},24055:function(e,t,n){"use strict";var r=n(67294),i=n(11883),o=n(73359),a=n(99198),s=n(92129);t.Z=e=>{const{setUser:t,setHexofyUser:n}=(0,r.useContext)(s.S),{0:c,1:u}=(0,r.useState)(!0),[l,{data:p,loading:f}]=(0,o.t)(a.ME,{fetchPolicy:"no-cache",context:{clientName:"v2"}}),[d,{data:h,loading:m}]=(0,o.t)(a.MJ,{fetchPolicy:"no-cache",context:{clientName:"v2"}});(0,r.useEffect)((()=>{"hexofy_user"!==e&&p&&p.User&&p.User.get&&t(p.User.get.id?{...p.User.get}:{})}),[p]),(0,r.useEffect)((()=>{var t,r,i;"user"!==e&&null!=h&&null!==(t=h.HexofyUser)&&void 0!==t&&t.getHexofyUser&&n(null!==(r=h.HexofyUser.getHexofyUser)&&void 0!==r&&null!==(i=r.hfUser)&&void 0!==i&&i.id?{...h.HexofyUser.getHexofyUser}:{})}),[h]),(0,r.useEffect)((()=>{u(m||f)}),[m,f]);return{getUser:async(n,r)=>{var o,a,s,c;"hexofy_user"!==e&&await l({variables:{toggle:(new Date).toString()}}),"user"!==e&&await d({variables:{toggle:(new Date).toString()}}),n&&(0,i.navigate)("/"),r&&(null==p||null===(o=p.User)||void 0===o||null===(a=o.get)||void 0===a||!a.id)&&t(null!=p&&null!==(s=p.User)&&void 0!==s&&null!==(c=s.get)&&void 0!==c&&c.id?{...p.User.get}:{})},loading:c}}},19098:function(e,t,n){"use strict";n.d(t,{Ps:function(){return J}});var r=n(70655);function i(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const o=/\r\n|[\n\r]/g;function a(e,t){let n=0,r=1;for(const a of e.body.matchAll(o)){if("number"==typeof a.index||i(!1),a.index>=t)break;n=a.index+a[0].length,r+=1}return{line:r,column:t+1-n}}function s(e){return c(e.source,a(e.source,e.start))}function c(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,c=t.column+s,l=`${e.name}:${a}:${c}\n`,p=r.split(/\r\n|[\n\r]/g),f=p[i];if(f.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let r=0;r<f.length;r+=80)n.push(f.slice(r,r+80));return l+u([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+u([[a-1+" |",p[i-1]],[`${a} |`,f],["|","^".padStart(c)],[`${a+1} |`,p[i+1]]])}function u(e){const t=e.filter((([e,t])=>void 0!==t)),n=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(n)+(t?" "+t:""))).join("\n")}
vendor: 25,713 bytes, line 2
2class l extends Error{constructor(e,...t){var n,r,i;const{nodes:o,source:s,positions:c,path:u,originalError:f,extensions:d}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=f?f:void 0,this.nodes=p(Array.isArray(o)?o:o?[o]:void 0);const h=p(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=s?s:null==h||null===(r=h[0])||void 0===r?void 0:r.source,this.positions=null!=c?c:null==h?void 0:h.map((e=>e.start)),this.locations=c&&s?c.map((e=>a(s,e))):null==h?void 0:h.map((e=>a(e.source,e.start)));const m="object"==typeof(y=null==f?void 0:f.extensions)&&null!==y?null==f?void 0:f.extensions:void 0;var y;this.extensions=null!==(i=null!=d?d:m)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,l):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+s(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+c(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function p(e){return void 0===e||0===e.length?void 0:e}function f(e,t,n){return new l(`Syntax Error: ${n}`,{source:e,positions:[t]})}var d,h=n(72380);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(d||(d={}));var m,y=n(97359),v=n(87392),g=n(68297);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(m||(m={}));class b{constructor(e){const t=new h.WU(m.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==m.EOF)do{if(e.next)e=e.next;else{const t=S(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===m.COMMENT);return e}}function E(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function _(e,t){return w(e.charCodeAt(t))&&F(e.charCodeAt(t+1))}function w(e){return e>=55296&&e<=56319}function F(e){return e>=56320&&e<=57343}function k(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return m.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function O(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new h.WU(t,n,r,o,a,i)}function S(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return T(e,i);case 33:return O(e,m.BANG,i,i+1);case 36:return O(e,m.DOLLAR,i,i+1);case 38:return O(e,m.AMP,i,i+1);case 40:return O(e,m.PAREN_L,i,i+1);case 41:return O(e,m.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return O(e,m.SPREAD,i,i+3);break;case 58:return O(e,m.COLON,i,i+1);case 61:return O(e,m.EQUALS,i,i+1);case 64:return O(e,m.AT,i,i+1);case 91:return O(e,m.BRACKET_L,i,i+1);case 93:return O(e,m.BRACKET_R,i,i+1);case 123:return O(e,m.BRACE_L,i,i+1);case 124:return O(e,m.PIPE,i,i+1);case 125:return O(e,m.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?R(e,i):U(e,i)}if((0,g.X1)(t)||45===t)return C(e,i,t);if((0,g.LQ)(t))return A(e,i);throw f(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":E(t)||_(n,i)?`Unexpected character: ${k(e,i)}.`:`Invalid character: ${k(e,i)}.`)}return O(e,m.EOF,r,r)}function T(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(E(e))++i;else{if(!_(n,i))break;i+=2}}return O(e,m.COMMENT,t,i,n.slice(t+1,i))}function C(e,t,n){const r=e.source.body;let i=t,o=n,a=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),(0,g.X1)(o))throw f(e.source,i,`Invalid number, unexpected digit after 0: ${k(e,i)}.`)}else i=x(e,i,o),o=r.charCodeAt(i);if(46===o&&(a=!0,o=r.charCodeAt(++i),i=x(e,i,o),o=r.charCodeAt(i)),69!==o&&101!==o||(a=!0,o=r.charCodeAt(++i),43!==o&&45!==o||(o=r.charCodeAt(++i)),i=x(e,i,o),o=r.charCodeAt(i)),46===o||(0,g.LQ)(o))throw f(e.source,i,`Invalid number, expected digit but got: ${k(e,i)}.`);return O(e,a?m.FLOAT:m.INT,t,i,r.slice(t,i))}function x(e,t,n){if(!(0,g.X1)(n))throw f(e.source,t,`Invalid number, expected digit but got: ${k(e,t)}.`);const r=e.source.body;let i=t+1;for(;(0,g.X1)(r.charCodeAt(i));)++i;return i}function U(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,a="";for(;i<r;){const r=n.charCodeAt(i);if(34===r)return a+=n.slice(o,i),O(e,m.STRING,t,i+1,a);if(92!==r){if(10===r||13===r)break;if(E(r))++i;else{if(!_(n,i))throw f(e.source,i,`Invalid character within String: ${k(e,i)}.`);i+=2}}else{a+=n.slice(o,i);const t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?j(e,i):I(e,i):N(e,i);a+=t.value,i+=t.size,o=i}}throw f(e.source,i,"Unterminated string.")}function j(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const e=n.charCodeAt(t+i++);if(125===e){if(i<5||!E(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|P(e),r<0)break}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function I(e,t){const n=e.source.body,r=D(n,t+2);if(E(r))return{value:String.fromCodePoint(r),size:6};if(w(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=D(n,t+8);if(F(e))return{value:String.fromCodePoint(r,e),size:12}}throw f(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function D(e,t){return P(e.charCodeAt(t))<<12|P(e.charCodeAt(t+1))<<8|P(e.charCodeAt(t+2))<<4|P(e.charCodeAt(t+3))}function P(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function N(e,t){const n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function R(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const c=[];for(;o<r;){const r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){s+=n.slice(a,o),c.push(s);const r=O(e,m.BLOCK_STRING,t,o+3,(0,v.wv)(c).join("\n"));return e.line+=c.length-1,e.lineStart=i,r}if(92!==r||34!==n.charCodeAt(o+1)||34!==n.charCodeAt(o+2)||34!==n.charCodeAt(o+3))if(10!==r&&13!==r)if(E(r))++o;else{if(!_(n,o))throw f(e.source,o,`Invalid character within String: ${k(e,o)}.`);o+=2}else s+=n.slice(a,o),c.push(s),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,s="",a=o,i=o;else s+=n.slice(a,o),a=o+1,o+=4}throw f(e.source,o,"Unterminated string.")}function A(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,g.HQ)(e))break;++i}return O(e,m.NAME,t,i,n.slice(t,i))}var M=n(4783);class L{constructor(e,t={}){const n=(0,M.T)(e)?e:new M.H(e);this._lexer=new b(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(m.NAME);return this.node(e,{kind:y.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.h.DOCUMENT,definitions:this.many(m.SOF,this.parseDefinition,m.EOF)})}parseDefinition(){if(this.peek(m.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===m.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(m.BRACE_L))return this.node(e,{kind:y.h.OPERATION_DEFINITION,operation:h.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(m.NAME)&&(n=this.parseName()),this.node(e,{kind:y.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(m.NAME);switch(e.value){case"query":return h.ku.QUERY;case"mutation":return h.ku.MUTATION;case"subscription":return h.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(m.PAREN_L,this.parseVariableDefinition,m.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(m.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(m.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(m.DOLLAR),this.node(e,{kind:y.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.h.SELECTION_SET,selections:this.many(m.BRACE_L,this.parseSelection,m.BRACE_R)})}parseSelection(){return this.peek(m.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(m.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:y.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(m.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(m.PAREN_L,t,m.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(m.COLON),this.node(t,{kind:y.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(m.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(m.NAME)?this.node(e,{kind:y.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:y.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:y.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:y.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case m.BRACKET_L:return this.parseList(e);case m.BRACE_L:return this.parseObject(e);case m.INT:return this.advanceLexer(),this.node(t,{kind:y.h.INT,value:t.value});case m.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.h.FLOAT,value:t.value});case m.STRING:case m.BLOCK_STRING:return this.parseStringLiteral();case m.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.h.NULL});default:return this.node(t,{kind:y.h.ENUM,value:t.value})}case m.DOLLAR:if(e){if(this.expectToken(m.DOLLAR),this._lexer.token.kind===m.NAME){const e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:y.h.STRING,value:e.value,block:e.kind===m.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:y.h.LIST,values:this.any(m.BRACKET_L,(()=>this.parseValueLiteral(e)),m.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:y.h.OBJECT,fields:this.any(m.BRACE_L,(()=>this.parseObjectField(e)),m.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(m.COLON),this.node(t,{kind:y.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(m.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(m.AT),this.node(t,{kind:y.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(m.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(m.BRACKET_R),t=this.node(e,{kind:y.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(m.BANG)?this.node(e,{kind:y.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:y.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(m.STRING)||this.peek(m.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);return this.node(e,{kind:y.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(m.COLON);const n=this.parseNamedType();return this.node(e,{kind:y.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(m.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseFieldDefinition,m.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(m.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:y.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(m.PAREN_L,this.parseInputValueDef,m.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(m.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(m.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:y.h.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:y.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:y.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(m.EQUALS)?this.delimitedMany(m.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:y.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(m.BRACE_L,this.parseEnumValueDefinition,m.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:y.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${q(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(m.BRACE_L,this.parseInputValueDef,m.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===m.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(m.BRACE_L,this.parseOperationTypeDefinition,m.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:y.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:y.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:y.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(m.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:y.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(m.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(d,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new h.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${Q(e)}, found ${q(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==m.NAME||t.value!==e)throw f(this._lexer.source,t.start,`Expected "${e}", found ${q(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===m.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${q(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==m.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function q(e){const t=e.value;return Q(e.kind)+(null!=t?` "${t}"`:"")}function Q(e){return function(e){return e===m.BANG||e===m.DOLLAR||e===m.AMP||e===m.PAREN_L||e===m.PAREN_R||e===m.SPREAD||e===m.COLON||e===m.EQUALS||e===m.AT||e===m.BRACKET_L||e===m.BRACKET_R||e===m.BRACE_L||e===m.PIPE||e===m.BRACE_R}(e)?`"${e}"`:e}var V=new Map,B=new Map,G=!0,H=!1;function W(e){return e.replace(/[\s,]+/g," ").trim()}function K(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=W((a=e.loc).source.body.substring(a.start,a.end)),o=B.get(r);o&&!o.has(i)?G&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||B.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var a})),(0,r.pi)((0,r.pi)({},e),{definitions:n})}function z(e){var t=W(e);
2if(!V.has(t)){var n=function(e,t){return new L(e,t).parseDocument()}(e,{experimentalFragmentVariables:H,allowLegacyFragmentVariables:H});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");V.set(t,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"==typeof r&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(K(n)))}return V.get(t)}function J(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),z(r)}var Y,Z=J,$=function(){V.clear(),B.clear()},X=function(){G=!1},ee=function(){H=!0},te=function(){H=!1};(Y=J||(J={})).gql=Z,Y.resetCaches=$,Y.disableFragmentWarnings=X,Y.enableExperimentalFragmentVariables=ee,Y.disableExperimentalFragmentVariables=te,J.default=J},41143:function(e){"use strict";e.exports=function(e,t,n,r,i,o,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,i,o,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function o(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(c=s;0!=c--;)if(!o(e[c],a[c]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=e.entries();!(c=l.next()).done;)if(!o(c.value[1],a.get(c.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(l=e.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(c=s;0!=c--;)if(e[c]!==a[c])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(u=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(t&&e instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!e.$$typeof)&&!o(e[u[c]],a[u[c]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return o(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},64593:function(e,t,n){"use strict";n.d(t,{q:function(){return me}});var r,i,o,a,s=n(45697),c=n.n(s),u=n(83524),l=n.n(u),p=n(69590),f=n.n(p),d=n(67294),h=n(24852),m=n.n(h),y="bodyAttributes",v="htmlAttributes",g="titleAttributes",b={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},E=(Object.keys(b).map((function(e){return b[e]})),"charset"),_="cssText",w="href",F="http-equiv",k="innerHTML",O="itemprop",S="name",T="property",C="rel",x="src",U="target",j={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I="defaultTitle",D="defer",P="encodeSpecialCharacters",N="onChangeClientState",R="titleTemplate",A=Object.keys(j).reduce((function(e,t){return e[j[t]]=t,e}),{}),M=[b.NOSCRIPT,b.SCRIPT,b.STYLE],L="data-react-helmet",q="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},Q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},V=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}}(),B=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},G=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},H=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},W=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},K=function(e){var t=$(e,b.TITLE),n=$(e,R);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=$(e,I);return t||r||void 0},z=function(e){return $(e,N)||function(){}},J=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return B({},e,t)}),{})},Y=function(e,t){return t.filter((function(e){return void 0!==e[b.BASE]})).map((function(e){return e[b.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i].toLowerCase();if(-1!==e.indexOf(o)&&n[o])return t.concat(n)}return t}),[])},Z=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+q(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var i={};n.filter((function(e){for(var n=void 0,o=Object.keys(e),a=0;a<o.length;a++){var s=o[a],c=s.toLowerCase();-1===t.indexOf(c)||n===C&&"canonical"===e[n].toLowerCase()||c===C&&"stylesheet"===e[c].toLowerCase()||(n=c),-1===t.indexOf(s)||s!==k&&s!==_&&s!==O||(n=s)}if(!n||!e[n])return!1;var u=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),!r[n][u]&&(i[n][u]=!0,!0)}
2)).reverse().forEach((function(t){return e.push(t)}));for(var o=Object.keys(i),a=0;a<o.length;a++){var s=o[a],c=m()({},r[s],i[s]);r[s]=c}return e}),[]).reverse()},$=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},X=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){X(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||X:n.g.requestAnimationFrame||X,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:n.g.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},ie=null,oe=function(e,t){var n=e.baseTag,r=e.bodyAttributes,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.onChangeClientState,u=e.scriptTags,l=e.styleTags,p=e.title,f=e.titleAttributes;ce(b.BODY,r),ce(b.HTML,i),se(p,f);var d={baseTag:ue(b.BASE,n),linkTags:ue(b.LINK,o),metaTags:ue(b.META,a),noscriptTags:ue(b.NOSCRIPT,s),scriptTags:ue(b.SCRIPT,u),styleTags:ue(b.STYLE,l)},h={},m={};Object.keys(d).forEach((function(e){var t=d[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=d[e].oldTags)})),t&&t(),c(e,h,m)},ae=function(e){return Array.isArray(e)?e.join(""):e},se=function(e,t){void 0!==e&&document.title!==e&&(document.title=ae(e)),ce(b.TITLE,t)},ce=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(L),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s<a.length;s++){var c=a[s],u=t[c]||"";n.getAttribute(c)!==u&&n.setAttribute(c,u),-1===i.indexOf(c)&&i.push(c);var l=o.indexOf(c);-1!==l&&o.splice(l,1)}for(var p=o.length-1;p>=0;p--)n.removeAttribute(o[p]);i.length===o.length?n.removeAttribute(L):n.getAttribute(L)!==a.join(",")&&n.setAttribute(L,a.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(b.HEAD),r=n.querySelectorAll(e+"["+L+"]"),i=Array.prototype.slice.call(r),o=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===k)n.innerHTML=t.innerHTML;else if(r===_)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(L,"true"),i.some((function(e,t){return a=t,n.isEqualNode(e)}))?i.splice(a,1):o.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),o.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:o}},le=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},pe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[j[n]||n]=e[n],t}),t)},fe=function(e,t,n){switch(e){case b.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[L]=!0,i=pe(n,r),[d.createElement(b.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=le(n),o=ae(t);return i?"<"+e+" "+L+'="true" '+i+">"+W(o,r)+"</"+e+">":"<"+e+" "+L+'="true">'+W(o,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case y:case v:return{toComponent:function(){return pe(t)},toString:function(){return le(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,i=((r={key:n})[L]=!0,r);return Object.keys(t).forEach((function(e){var n=j[e]||e;if(n===k||n===_){var r=t.innerHTML||t.cssText;i.dangerouslySetInnerHTML={__html:r}}else i[n]=t[e]})),d.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!(e===k||e===_)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+W(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===M.indexOf(e);return t+"<"+e+" "+L+'="true" '+i+(a?"/>":">"+o+"</"+e+">")}),"")}(e,t,n)}}}},de=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.linkTags,a=e.metaTags,s=e.noscriptTags,c=e.scriptTags,u=e.styleTags,l=e.title,p=void 0===l?"":l,f=e.titleAttributes;return{base:fe(b.BASE,t,r),bodyAttributes:fe(y,n,r),htmlAttributes:fe(v,i,r),link:fe(b.LINK,o,r),meta:fe(b.META,a,r),noscript:fe(b.NOSCRIPT,s,r),script:fe(b.SCRIPT,c,r),style:fe(b.STYLE,u,r),title:fe(b.TITLE,{title:p,titleAttributes:f},r)}},he=l()((function(e){return{baseTag:Y([w,U],e),bodyAttributes:J(y,e),defer:$(e,D),encode:$(e,P),htmlAttributes:J(v,e),linkTags:Z(b.LINK,[C,w],e),metaTags:Z(b.META,[S,E,F,T,O],e),noscriptTags:Z(b.NOSCRIPT,[k],e),onChangeClientState:z(e),scriptTags:Z(b.SCRIPT,[x,k],e),styleTags:Z(b.STYLE,[_],e),title:K(e),titleAttributes:J(g,e)}}),(function(e){ie&&ne(ie),e.defer?ie=te((function(){oe(e,(function(){ie=null}))})):(oe(e),ie=null)}),de)((function(){return null})),me=(i=he,a=o=function(e){function t(){return Q(this,t),H(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, 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),t.prototype.shouldComponentUpdate=function(e){return!f()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case b.SCRIPT:case b.NOSCRIPT:return{innerHTML:t};case b.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,i=e.newChildProps,o=e.nestedChildren;return B({},r,((t={})[n.type]=[].concat(r[n.type]||[],[B({},i,this.mapNestedChildrenToProps(n,o))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case b.TITLE:return B({},i,((t={})[r.type]=a,t.titleAttributes=B({},o),t));case b.BODY:return B({},i,{bodyAttributes:B({},o)});case b.HTML:return B({},i,{htmlAttributes:B({},o)})}return B({},i,((n={})[r.type]=B({},o),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=B({},t);return Object.keys(e).forEach((function(t){var r;n=B({},n,((r={})[t]=e[t],r))})),n}
2,t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return d.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[A[n]||n]=e[n],t}),t)}(G(i,["children"]));switch(n.warnOnInvalidChildren(e,o),e.type){case b.LINK:case b.META:case b.NOSCRIPT:case b.SCRIPT:case b.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:o})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=G(e,["children"]),r=B({},n);return t&&(r=this.mapChildrenToProps(t,r)),d.createElement(i,r)},V(t,null,[{key:"canUseDOM",set:function(e){i.canUseDOM=e}}]),t}(d.Component),o.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},o.defaultProps={defer:!0,encodeSpecialCharacters:!0},o.peek=i.peek,o.rewind=function(){var e=i.rewind();return e||(e=de({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);me.renderStatic=me.rewind},59730:function(e,t,n){"use strict";var r=n(67294),i={stream:!0},o=new Map,a=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),u=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 p(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,i=0;i<r.length;i++){var a=o.get(r[i]);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 f(){return p(v(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 m(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){m(e,t)}))}function v(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 i=t[0],a=t.indexOf(":",1),s=parseInt(t.substring(1,a),16);switch(a=t.substring(a+1),i){case"J":(i=(t=e._chunks).get(s))?0===i._status&&(e=i._value,i._status=1,i._value=a,h(e)):t.set(s,new l(1,a,e));break;case"M":i=(t=e._chunks).get(s),a=JSON.parse(a,e._fromJSON);var p=e._bundlerConfig;p=(a=p?p[a.id][a.name]:a).chunks;for(var f=0;f<p.length;f++){var y=p[f];if(void 0===o.get(y)){var v=n.e(y),g=o.set.bind(o,y,null),b=o.set.bind(o,y);v.then(g,b),o.set(y,v)}}i?0===i._status&&(e=i._value,i._status=2,i._value=a,h(e)):t.set(s,new l(2,a,e));break;case"P":e._chunks.set(s,d(e,function(e){return u[e]||(u[e]=r.createServerContext(e,c)),u[e]}(a).Provider));break;case"S":i=JSON.parse(a),e._chunks.set(s,d(e,Symbol.for(i)));break;case"E":t=JSON.parse(a),(i=Error(t.message)).stack=t.stack,(a=(t=e._chunks).get(s))?m(a,i):t.set(s,new l(4,i,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function E(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):p(e=v(e,parseInt(n.substring(1),16)));case"@":return e=v(e,parseInt(n.substring(1),16)),{$$typeof:s,_payload:e,_init:p}}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:f,_partialRow:"",_stringDecoder:t})._fromJSON=E(e),e}function w(e,t){function n(t){y(e,t)}var r=t.getReader();r.read().then((function t(o){var a=o.value;if(!o.done){o=a,a=e._stringDecoder;for(var s=o.indexOf(10);-1<s;){var c=e._partialRow,u=o.subarray(0,s);u=a.decode(u),b(e,c+u),e._partialRow="",s=(o=o.subarray(s+1)).indexOf(10)}return e._partialRow+=a.decode(o,i),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 w(t=_(t&&t.moduleMap?t.moduleMap:null),e),t}},40904:function(e,t,n){"use strict";e.exports=n(59730)},83524:function(e,t,n){"use strict";var r,i=n(67294),o=(r=i)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");
2if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var c,u=[];function l(){c=e(u.map((function(e){return e.props}))),p.canUseDOM?t(c):n&&(c=n(c))}var p=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.peek=function(){return c},i.rewind=function(){if(i.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=c;return c=void 0,u=[],e};var a=i.prototype;return a.UNSAFE_componentWillMount=function(){u.push(this),l()},a.componentDidUpdate=function(){l()},a.componentWillUnmount=function(){var e=u.indexOf(this);u.splice(e,1),l()},a.render=function(){return o.createElement(r,this.props)},i}(i.PureComponent);return a(p,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(p,"canUseDOM",s),p}}},5313:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(t,"__esModule",{value:!0}),t.SubscriptionClient=void 0;var s=void 0!==n.g?n.g:"undefined"!=typeof window?window:{},c=s.WebSocket||s.MozWebSocket,u=n(43010),l=n(26729),p=n(89277),f=n(95905),d=n(73486),h=n(52100),m=n(61322),y=n(22892),v=n(62639),g=n(74957),b=function(){function e(e,t,n,r){var i=t||{},o=i.connectionCallback,a=void 0===o?void 0:o,s=i.connectionParams,p=void 0===s?{}:s,f=i.minTimeout,d=void 0===f?v.MIN_WS_TIMEOUT:f,h=i.timeout,m=void 0===h?v.WS_TIMEOUT:h,g=i.reconnect,b=void 0!==g&&g,E=i.reconnectionAttempts,_=void 0===E?1/0:E,w=i.lazy,F=void 0!==w&&w,k=i.inactivityTimeout,O=void 0===k?0:k,S=i.wsOptionArguments,T=void 0===S?[]:S;if(this.wsImpl=n||c,!this.wsImpl)throw new Error("Unable to find native implementation, or alternative implementation for WebSocket!");this.wsProtocols=r||y.GRAPHQL_WS,this.connectionCallback=a,this.url=e,this.operations={},this.nextOperationId=0,this.minWsTimeout=d,this.wsTimeout=m,this.unsentMessagesQueue=[],this.reconnect=b,this.reconnecting=!1,this.reconnectionAttempts=_,this.lazy=!!F,this.inactivityTimeout=O,this.closedByUser=!1,this.backoff=new u({jitter:.5}),this.eventEmitter=new l.EventEmitter,this.middlewares=[],this.client=null,this.maxConnectTimeGenerator=this.createMaxConnectTimeGenerator(),this.connectionParams=this.getConnectionParams(p),this.wsOptionArguments=T,this.lazy||this.connect()}return Object.defineProperty(e.prototype,"status",{get:function(){return null===this.client?this.wsImpl.CLOSED:this.client.readyState}
vendor: 3,930 bytes, line 2
2,enumerable:!1,configurable:!0}),e.prototype.close=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0),this.clearInactivityTimeout(),null!==this.client&&(this.closedByUser=t,e&&(this.clearCheckConnectionInterval(),this.clearMaxConnectTimeout(),this.clearTryReconnectTimeout(),this.unsubscribeAll(),this.sendMessage(void 0,g.default.GQL_CONNECTION_TERMINATE,null)),this.client.close(),this.client.onopen=null,this.client.onclose=null,this.client.onerror=null,this.client.onmessage=null,this.client=null,this.eventEmitter.emit("disconnected"),e||this.tryReconnect())},e.prototype.request=function(e){var t,n,r=this.getObserver.bind(this),i=this.executeOperation.bind(this),o=this.unsubscribe.bind(this);return this.clearInactivityTimeout(),(t={})[m.default]=function(){return this},t.subscribe=function(t,a,s){var c=r(t,a,s);return n=i(e,(function(e,t){null===e&&null===t?c.complete&&c.complete():e?c.error&&c.error(e[0]):c.next&&c.next(t)})),{unsubscribe:function(){n&&(o(n),n=null)}}},t},e.prototype.on=function(e,t,n){var r=this.eventEmitter.on(e,t,n);return function(){r.off(e,t,n)}},e.prototype.onConnected=function(e,t){return this.on("connected",e,t)},e.prototype.onConnecting=function(e,t){return this.on("connecting",e,t)},e.prototype.onDisconnected=function(e,t){return this.on("disconnected",e,t)},e.prototype.onReconnected=function(e,t){return this.on("reconnected",e,t)},e.prototype.onReconnecting=function(e,t){return this.on("reconnecting",e,t)},e.prototype.onError=function(e,t){return this.on("error",e,t)},e.prototype.unsubscribeAll=function(){var e=this;Object.keys(this.operations).forEach((function(t){e.unsubscribe(t)}))},e.prototype.applyMiddlewares=function(e){var t=this;return new Promise((function(n,r){var i,o,s;i=a([],t.middlewares,!0),o=t,(s=function(t){if(t)r(t);else if(i.length>0){var a=i.shift();a&&a.applyMiddleware.apply(o,[e,s])}else n(e)})()}))},e.prototype.use=function(e){var t=this;return e.map((function(e){if("function"!=typeof e.applyMiddleware)throw new Error("Middleware must implement the applyMiddleware function.");t.middlewares.push(e)})),this},e.prototype.getConnectionParams=function(e){return function(){return new Promise((function(t,n){if("function"==typeof e)try{return t(e.call(null))}catch(r){return n(r)}t(e)}))}},e.prototype.executeOperation=function(e,t){var n=this;null===this.client&&this.connect();var r=this.generateOperationId();return this.operations[r]={options:e,handler:t},this.applyMiddlewares(e).then((function(e){n.checkOperationOptions(e,t),n.operations[r]&&(n.operations[r]={options:e,handler:t},n.sendMessage(r,g.default.GQL_START,e))})).catch((function(e){n.unsubscribe(r),t(n.formatErrors(e))})),r},e.prototype.getObserver=function(e,t,n){return"function"==typeof e?{next:function(t){return e(t)},error:function(e){return t&&t(e)},complete:function(){return n&&n()}}:e},e.prototype.createMaxConnectTimeGenerator=function(){var e=this.minWsTimeout,t=this.wsTimeout;return new u({min:e,max:t,factor:1.2})},e.prototype.clearCheckConnectionInterval=function(){this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnectionIntervalId=null)},e.prototype.clearMaxConnectTimeout=function(){this.maxConnectTimeoutId&&(clearTimeout(this.maxConnectTimeoutId),this.maxConnectTimeoutId=null)},e.prototype.clearTryReconnectTimeout=function(){this.tryReconnectTimeoutId&&(clearTimeout(this.tryReconnectTimeoutId),this.tryReconnectTimeoutId=null)},e.prototype.clearInactivityTimeout=function(){this.inactivityTimeoutId&&(clearTimeout(this.inactivityTimeoutId),this.inactivityTimeoutId=null)},e.prototype.setInactivityTimeout=function(){var e=this;this.inactivityTimeout>0&&0===Object.keys(this.operations).length&&(this.inactivityTimeoutId=setTimeout((function(){0===Object.keys(e.operations).length&&e.close()}),this.inactivityTimeout))},e.prototype.checkOperationOptions=function(e,t){var n=e.query,r=e.variables,i=e.operationName;
2if(!n)throw new Error("Must provide a query.");if(!t)throw new Error("Must provide an handler.");if(!(0,p.default)(n)&&!(0,h.getOperationAST)(n,i)||i&&!(0,p.default)(i)||r&&!(0,f.default)(r))throw new Error("Incorrect option types. query must be a string or a document,`operationName` must be a string, and `variables` must be an object.")},e.prototype.buildMessage=function(e,t,n){return{id:e,type:t,payload:n&&n.query?r(r({},n),{query:"string"==typeof n.query?n.query:(0,d.print)(n.query)}):n}},e.prototype.formatErrors=function(e){return Array.isArray(e)?e:e&&e.errors?this.formatErrors(e.errors):e&&e.message?[e]:[{name:"FormatedError",message:"Unknown error",originalError:e}]},e.prototype.sendMessage=function(e,t,n){this.sendMessageRaw(this.buildMessage(e,t,n))},e.prototype.sendMessageRaw=function(e){switch(this.status){case this.wsImpl.OPEN:var t=JSON.stringify(e);try{JSON.parse(t)}catch(n){this.eventEmitter.emit("error",new Error("Message must be JSON-serializable. Got: "+e))}this.client.send(t);break;case this.wsImpl.CONNECTING:this.unsentMessagesQueue.push(e);break;default:this.reconnecting||this.eventEmitter.emit("error",new Error("A message was not sent because socket is not connected, is closing or is already closed. Message was: "+JSON.stringify(e)))}},e.prototype.generateOperationId=function(){return String(++this.nextOperationId)},e.prototype.tryReconnect=function(){var e=this;if(this.reconnect&&!(this.backoff.attempts>=this.reconnectionAttempts)){this.reconnecting||(Object.keys(this.operations).forEach((function(t){e.unsentMessagesQueue.push(e.buildMessage(t,g.default.GQL_START,e.operations[t].options))})),this.reconnecting=!0),this.clearTryReconnectTimeout();var t=this.backoff.duration();this.tryReconnectTimeoutId=setTimeout((function(){e.connect()}),t)}},e.prototype.flushUnsentMessagesQueue=function(){var e=this;this.unsentMessagesQueue.forEach((function(t){e.sendMessageRaw(t)})),this.unsentMessagesQueue=[]},e.prototype.checkConnection=function(){this.wasKeepAliveReceived?this.wasKeepAliveReceived=!1:this.reconnecting||this.close(!1,!0)},e.prototype.checkMaxConnectTimeout=function(){var e=this;this.clearMaxConnectTimeout(),this.maxConnectTimeoutId=setTimeout((function(){e.status!==e.wsImpl.OPEN&&(e.reconnecting=!0,e.close(!1,!0))}),this.maxConnectTimeGenerator.duration())},e.prototype.connect=function(){var e,t=this;this.client=new((e=this.wsImpl).bind.apply(e,a([void 0,this.url,this.wsProtocols],this.wsOptionArguments,!1))),this.checkMaxConnectTimeout(),this.client.onopen=function(){return i(t,void 0,void 0,(function(){var e,t;return o(this,(function(n){switch(n.label){case 0:if(this.status!==this.wsImpl.OPEN)return[3,4];this.clearMaxConnectTimeout(),this.closedByUser=!1,this.eventEmitter.emit(this.reconnecting?"reconnecting":"connecting"),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.connectionParams()];case 2:return e=n.sent(),this.sendMessage(void 0,g.default.GQL_CONNECTION_INIT,e),this.flushUnsentMessagesQueue(),[3,4];case 3:return t=n.sent(),this.sendMessage(void 0,g.default.GQL_CONNECTION_ERROR,t),this.flushUnsentMessagesQueue(),[3,4];case 4:return[2]}}
2))}))},this.client.onclose=function(){t.closedByUser||t.close(!1,!1)},this.client.onerror=function(e){t.eventEmitter.emit("error",e)},this.client.onmessage=function(e){var n=e.data;t.processReceivedData(n)}},e.prototype.processReceivedData=function(e){var t,n;try{n=(t=JSON.parse(e)).id}catch(s){throw new Error("Message must be JSON-parseable. Got: "+e)}if(-1===[g.default.GQL_DATA,g.default.GQL_COMPLETE,g.default.GQL_ERROR].indexOf(t.type)||this.operations[n])switch(t.type){case g.default.GQL_CONNECTION_ERROR:this.connectionCallback&&this.connectionCallback(t.payload);break;case g.default.GQL_CONNECTION_ACK:this.eventEmitter.emit(this.reconnecting?"reconnected":"connected",t.payload),this.reconnecting=!1,this.backoff.reset(),this.maxConnectTimeGenerator.reset(),this.connectionCallback&&this.connectionCallback();break;case g.default.GQL_COMPLETE:var i=this.operations[n].handler;delete this.operations[n],i.call(this,null,null);break;case g.default.GQL_ERROR:this.operations[n].handler(this.formatErrors(t.payload),null),delete this.operations[n];break;case g.default.GQL_DATA:var o=t.payload.errors?r(r({},t.payload),{errors:this.formatErrors(t.payload.errors)}):t.payload;this.operations[n].handler(null,o);break;case g.default.GQL_CONNECTION_KEEP_ALIVE:var a=void 0===this.wasKeepAliveReceived;this.wasKeepAliveReceived=!0,a&&this.checkConnection(),this.checkConnectionIntervalId&&(clearInterval(this.checkConnectionIntervalId),this.checkConnection()),this.checkConnectionIntervalId=setInterval(this.checkConnection.bind(this),this.wsTimeout);break;default:throw new Error("Invalid message type!")}else this.unsubscribe(n)},e.prototype.unsubscribe=function(e){this.operations[e]&&(delete this.operations[e],this.setInactivityTimeout(),this.sendMessage(e,g.default.GQL_STOP,void 0))},e}();t.SubscriptionClient=b},62639:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WS_TIMEOUT=t.MIN_WS_TIMEOUT=void 0;t.MIN_WS_TIMEOUT=1e3;t.WS_TIMEOUT=3e4},74957:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){throw new Error("Static Class")}return e.GQL_CONNECTION_INIT="connection_init",e.GQL_CONNECTION_ACK="connection_ack",e.GQL_CONNECTION_ERROR="connection_error",e.GQL_CONNECTION_KEEP_ALIVE="ka",e.GQL_CONNECTION_TERMINATE="connection_terminate",e.GQL_START="start",e.GQL_DATA="data",e.GQL_ERROR="error",e.GQL_COMPLETE="complete",e.GQL_STOP="stop",e.SUBSCRIPTION_START="subscription_start",e.SUBSCRIPTION_DATA="subscription_data",e.SUBSCRIPTION_SUCCESS="subscription_success",e.SUBSCRIPTION_FAIL="subscription_fail",e.SUBSCRIPTION_END="subscription_end",e.INIT="init",e.INIT_SUCCESS="init_success",e.INIT_FAIL="init_fail",e.KEEP_ALIVE="keepalive",e}();t.default=n},22892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GRAPHQL_SUBSCRIPTIONS=t.GRAPHQL_WS=void 0;t.GRAPHQL_WS="graphql-ws";t.GRAPHQL_SUBSCRIPTIONS="graphql-subscriptions"},95905:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return null!==e&&"object"==typeof e}},89277:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"string"==typeof e}},61322:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}}),e=n.hmd(e);var r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)},70655:function(e,t,n){"use strict";n.d(t,{CR:function(){return u},Jh:function(){return c},ZT:function(){return i},_T:function(){return a},ev:function(){return l},mG:function(){return s},pi:function(){return o}});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 i(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 o=function(){return o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.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 i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}
2function s(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{c(r.next(e))}catch(t){o(t)}}function s(e){try{c(r.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))}function c(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}Object.create;function u(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(s){i={error:s}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function l(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},66115: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},7867:function(e,t,n){var r=n(6015);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},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6015: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},72911: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||{},i=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]||{},${i});`:"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.5 - 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.5":"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);')},1644:function(e,t,n){"use strict";var r;function i(e){return!!e&&e<7}n.d(t,{I:function(){return r},O:function(){return i}}),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={}))},30990:function(e,t,n){"use strict";n.d(t,{M:function(){return o},c:function(){return a}});var r=n(70655),i=(n(83952),n(21436));function o(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(n){var r,o,a=n.graphQLErrors,s=n.clientErrors,c=n.networkError,u=n.errorMessage,l=n.extraInfo,p=e.call(this,u)||this;return p.name="ApolloError",p.graphQLErrors=a||[],p.clientErrors=s||[],p.networkError=c||null,p.message=u||(r=p,o="",((0,i.O)(r.graphQLErrors)||(0,i.O)(r.clientErrors))&&(r.graphQLErrors||[]).concat(r.clientErrors||[]).forEac
2h((function(e){var t=e?e.message:"Error message not found.";o+="".concat(t,"\n")})),r.networkError&&(o+="".concat(r.networkError.message,"\n")),o=o.replace(/\n$/,"")),p.extraInfo=l,p.__proto__=t.prototype,p}return(0,r.ZT)(t,e),t}(Error)},85317:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(67294),i=n(30320).aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function o(){var e=r.createContext[i];return e||(Object.defineProperty(r.createContext,i,{value:e=r.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},66252:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var r=n(83952),i=n(67294),o=n(85317);function a(e){var t=(0,i.useContext)((0,o.K)()),n=e||t.client;return __DEV__?(0,r.kG)(!!n,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):(0,r.kG)(!!n,32),n}},73359:function(e,t,n){"use strict";n.d(t,{t:function(){return u}});var r=n(70655),i=n(67294),o=n(14012),a=n(64316),s=n(66252),c=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function u(e,t){var n=(0,i.useRef)(new Set),u=(0,a.A)((0,s.x)(t&&t.client),e),l=(0,i.useRef)(),p=l.current?(0,o.J)(t,l.current):t,f=u.useQuery((0,r.pi)((0,r.pi)({},p),{skip:!l.current})),d=f.observable.options.initialFetchPolicy||u.getDefaultFetchPolicy(),h=Object.assign(f,{called:!!l.current}),m=(0,i.useMemo)((function(){for(var e={},t=function(t){var n=h[t];e[t]=function(){return l.current||(l.current=Object.create(null),u.forceUpdate()),n.apply(this,arguments)}},n=0,r=c;n<r.length;n++){t(r[n])}return e}),[]);return Object.assign(h,m),(0,i.useEffect)((function(){return function(){n.current.forEach((function(e){e.abort()}))}}),[]),[(0,i.useCallback)((function(e){var t=new AbortController;n.current.add(t),l.current=e?(0,r.pi)((0,r.pi)({},e),{fetchPolicy:e.fetchPolicy||d}):{fetchPolicy:d};var i=u.asyncUpdate(t.signal).then((function(e){return n.current.delete(t),Object.assign(e,m)}));return i.catch((function(){n.current.delete(t)})),i}),[]),h]}},64316:function(e,t,n){"use strict";n.d(t,{A:function(){return F},a:function(){return w}});var r=n(70655),i=n(83952),o=n(67294),a=n.t(o,2),s=n(30320),c=!1,u=a.useSyncExternalStore||function(e,t,n){var r=t();__DEV__&&!c&&r!==t()&&(c=!0,__DEV__&&i.kG.error("The result of getSnapshot should be cached to avoid an infinite loop"));var a=o.useState({inst:{value:r,getSnapshot:t}}),u=a[0].inst,p=a[1];return s.JC?o.useLayoutEffect((function(){Object.assign(u,{value:r,getSnapshot:t}),l(u)&&p({inst:u})}),[e,r,t]):Object.assign(u,{value:r,getSnapshot:t}),o.useEffect((function(){return l(u)&&p({inst:u}),e((function(){l(u)&&p({inst:u})}))}),[e]),r};function l(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(r){return!0}}var p=n(82152),f=n(14012),d=n(85317),h=n(30990),m=n(1644),y=n(14692),v=n(66252),g=n(48702),b=n(53712),E=n(21436),_=Object.prototype.hasOwnProperty;function w(e,t){return void 0===t&&(t=Object.create(null)),F((0,v.x)(t.client),e).useQuery(t)}function F(e,t){var n=(0,o.useRef)();n.current&&e===n.current.client&&t===n.current.query||(n.current=new k(e,t,n.current));var r=n.current,i=(0,o.useState)(0),a=(i[0],i[1]);return r.forceUpdate=function(){a((function(e){return e+1}))},r}var k=function(){function e(e,t,n){this.client=e,this.query=t,this.asyncResolveFns=new Set,this.optionsToIgnoreOnce=new(s.sy?WeakSet:Set),this.ssrDisabledResult=(0,g.J)({loading:!0,data:void 0,error:void 0,networkStatus:m.I.loading}),this.skipStandbyResult=(0,g.J)({loading:!1,data:void 0,error:void 0,networkStatus:m.I.ready}),this.toQueryResultCache=new(s.mr?WeakMap:Map),(0,y.Vp)(t,y.n_.Query);var r=n&&n.result,i=r&&r.data;i&&(this.previousData=i)}return e.prototype.forceUpdate=function(){__DEV__&&i.kG.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.asyncUpdate=function(e){var t=this;return new Promise((function(n,r){var i=t.watchQueryOptions,o=function(){t.asyncResolveFns.delete(n),t.optionsToIgnoreOnce.delete(i),e.removeEventListener("abort",o),r(e.reason)};t.asyncResolveFns.add(n),t.optionsToIgnoreOnce.add(i),e.addEventListener("abort",o),t.forceUpdate()}))},e.prototype.useQuery=function(e){var t=this;this.renderPromises=(0,o.useContext)((0,d.K)()).renderPromises,this.useOptions(e);var n=this.useObservableQuery(),r=u((0,o.useCallback)((function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,r=n.getCurrentResult();e&&e.loading===r.loading&&e.networkStatus===r.networkStatus&&(0,p.D)(e.data,r.data)||t.setResult(r)},r=function(o){var a=n.last;i.unsubscribe();try{n.resetLastResults(),i=n.subscribe(e,r)}finally{n.last=a}if(!_.call(o,"graphQLErrors"))throw o;var s=t.result;(!s||s&&s.loading||!(0,p.D)(o,s.error))&&t.setResult({data:s&&s.data,error:o,loading:!1,networkStatus:m.I.error})},i=n.subscribe(e,r);return function(){return i.unsubscribe()}}),[n,this.renderPromises,this.client.disableNetworkFetches]),(function(){return t.getCurrentResult()}),(function(){return t.getCurrentResult()}));this.unsafeHandlePartialRefetch(r);var i=this.toQueryResult(r);return!i.loading&&this.asyncResolveFns.size&&(this.asyncResolveFns.forEach((function(e){return e(i)})),this.asyncResolveFns.clear()),i},e.prototype.useOptions=function(t){var n,r=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;!this.optionsToIgnoreOnce.has(i)&&(0,p.D)(r,i)||(this.watchQueryOptions=r,i&&this.observable&&(this.optionsToIgnoreOnce.delete(i),this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(n=this.result)||void 0===n?void 0:n.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,b.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(f.J)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var n=e.skip,i=(e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,r._T)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),o=Object.assign(i,{query:this.query});if(!this.renderPromises||"network-only"!==o.fetchPolicy&&"cache-and-network"!==o.fetchPolicy||(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),n){var a=o.fetchPolicy,s=void 0===a?this.getDefaultFetchPolicy():a,c=o.initialFetchPolicy,u=void 0===c?s:c;Object.assign(o,{initialFetchPolicy:u,fetchPolicy:"standby"})}else o.fetchPolicy||(o.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return o},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cac
2he-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=(0,o.useMemo)((function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}),[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){var t=this;if(!e.loading){var n=this.toApolloError(e);Promise.resolve().then((function(){n?t.onError(n):e.data&&t.onCompleted(e.data)})).catch((function(e){__DEV__&&i.kG.warn(e)}))}},e.prototype.toApolloError=function(e){return(0,E.O)(e.errors)?new h.c({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var n=e.data,i=(e.partial,(0,r._T)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,r.pi)((0,r.pi)((0,r.pi)({data:n},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,E.O)(e.errors)&&(t.error=new h.c({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:m.I.refetch}),this.observable.refetch())},e}()},14692:function(e,t,n){"use strict";n.d(t,{Vp:function(){return s},n_:function(){return r}});var r,i=n(83952);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={}));var o=new Map;function a(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function s(e,t){var n=function(e){var t,n,a=o.get(e);if(a)return a;__DEV__?(0,i.kG)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):(0,i.kG)(!!e&&!!e.kind,33);for(var s=[],c=[],u=[],l=[],p=0,f=e.definitions;p<f.length;p++){var d=f[p];if("FragmentDefinition"!==d.kind){if("OperationDefinition"===d.kind)switch(d.operation){case"query":c.push(d);break;case"mutation":u.push(d);break;case"subscription":l.push(d)}}else s.push(d)}__DEV__?(0,i.kG)(!s.length||c.length||u.length||l.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):(0,i.kG)(!s.length||c.length||u.length||l.length,34),__DEV__?(0,i.kG)(c.length+u.length+l.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(c.length," queries, ").concat(l.length," ")+"subscriptions and ".concat(u.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):(0,i.kG)(c.length+u.length+l.length<=1,35),n=c.length?r.Query:r.Mutation,c.length||u.length||(n=r.Subscription);var h=c.length?c:u.length?u:l;__DEV__?(0,i.kG)(1===h.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(h.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):(0,i.kG)(1===h.length,36);var m=h[0];t=m.variableDefinitions||[];var y={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:n,variables:t};return o.set(e,y),y}(e),s=a(t),c=a(n.type);__DEV__?(0,i.kG)(n.type===t,"Running a ".concat(s," requires a graphql ")+"".concat(s,", but a ").concat(c," was used instead.")):(0,i.kG)(n.type===t,37)}},21436:function(e,t,n){"use strict";function r(e){return Array.isArray(e)&&e.length>0}n.d(t,{O:function(){return r}})},30320:function(e,t,n){"use strict";n.d(t,{DN:function(){return s},JC:function(){return l},aS:function(){return a},mr:function(){return i},sy:function(){return o}});var r=n(83952),i="function"==typeof WeakMap&&"ReactNative"!==(0,r.wY)((function(){return navigator.product})),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator,c="function"==typeof(0,r.wY)((function(){return window.document.createElement})),u=(0,r.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,l=c&&!u},53712: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)}))}
2)),n}n.d(t,{o:function(){return r}})},48702:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});n(83952);var r=n(13154);function i(e){var t=new Set([e]);return t.forEach((function(e){(0,r.s)(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){(0,r.s)(e[n])&&t.add(e[n])}))})),e}function o(e){return __DEV__&&i(e),e}},14012:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(70655),i=n(53712);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,r.pi)((0,r.pi)({},e&&e.variables),t.variables)})}},13154:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{s:function(){return r}})},83952:function(e,t,n){"use strict";n.d(t,{ej:function(){return s},kG:function(){return c},wY:function(){return f}});var r=n(70655),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,"number"==typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,a(r,t.prototype),r}return(0,r.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function p(e){return function(){if(u.indexOf(e)>=l){var t=console[e]||console.log;return t.apply(console,arguments)}}}!function(e){e.debug=p("debug"),e.log=p("log"),e.warn=p("warn"),e.error=p("error")}(c||(c={}));function f(e){try{return e()}catch(o){}}var d=f((function(){return globalThis}))||f((function(){return window}))||f((function(){return self}))||f((function(){return global}))||f((function(){return f.constructor("return this")()})),h="__",m=[h,h].join("DEV");var y=function(){try{return Boolean(__DEV__)}catch(o){return Object.defineProperty(d,m,{value:"production"!==f((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),d[m]}}();function v(e){try{return e()}catch(t){}}var g=v((function(){return globalThis}))||v((function(){return window}))||v((function(){return self}))||v((function(){return global}))||v((function(){return v.constructor("return this")()})),b=!1;function E(){b&&(delete g.process,b=!1)}!g||v((function(){return"production"}))||v((function(){return process}))||(Object.defineProperty(g,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),b=!0),n(4783).H,E(),__DEV__?c("boolean"==typeof y,y):c("boolean"==typeof y,39)},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},81880:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),e.raw=t,e}n.d(t,{Z:function(){return r}})},15785:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(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=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||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,{Z:function(){return i}})},87896:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return y},Link:function(){return K},Location:function(){return $},LocationContext:function(){return v},LocationProvider:function(){return Z},Match:function(){return ee},Redirect:function(){return k},Router:function(){return se},ServerLocation:function(){return X},createHistory:function(){return l},createMemorySource:function(){return p},globalHistory:function(){return d},insertParams:function(){return x},isRedirect:function(){return _},match:function(){return T},navigate:function(){return h},pick:function(){return S},redirectTo:function(){return w},resolve:function(){return C},shallowCompare:function(){return L},startsWith:function(){return O},useBaseContext:function(){return g},useLocation:function(){return ue},useLocationContext:function(){return b},useMatch:function(){return fe},useNavigate:function(){return le},useParams:function(){return pe},validateRedirect:function(){return U}});var i=n(67294),o=n(45697),a=n(41143);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 c(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}const u=e=>{const{search:t,hash:n,href:r,origin:i,protocol:o,host:a,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&r&&f&&(u=new URL(r).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:n,href:r,origin:i,protocol:o,host:a,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>
2{let n=[],r=u(e),i=!1,o=()=>{};return{get location(){return r},get transitioning(){return i},_onTransitionComplete(){i=!1,o()},listen(t){n.push(t);const i=()=>{r=u(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",i),()=>{e.removeEventListener("popstate",i),n=n.filter((e=>e!==t))}},navigate(t,{state:a,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{a=s({},a,{key:Date.now()+""});try{i||c?e.history.replaceState(a,null,t):e.history.pushState(a,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=u(e),i=!0;const l=new Promise((e=>o=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),l}}},p=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const i=[n],o=[null];return{get location(){return i[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return i},get index(){return r},get state(){return o[r]},pushState(e,t,n){const[a,s=""]=n.split("?");r++,i.push({pathname:a,search:s.length?`?${s}`:s}),o.push(e)},replaceState(e,t,n){const[a,s=""]=n.split("?");i[r]={pathname:a,search:s},o[r]=e},go(e){const t=r+e;t<0||t>o.length-1||(r=t)}}}},f=!("undefined"==typeof window||!window.document||!window.document.createElement),d=l(f?window:p()),{navigate:h}=d;function m(e,t){return i.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=i.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):i.createContext(t)}const y=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),g=()=>i.useContext(y),b=()=>i.useContext(v);function E(e){this.uri=e}const _=e=>e instanceof E,w=e=>{throw new E(e)};function F(e){const{to:t,replace:n=!0,state:r,noThrow:o,baseuri:a}=e;i.useEffect((()=>{Promise.resolve().then((()=>{const i=C(t,a);h(x(i,e),{replace:n,state:r})}))}),[]);const s=C(t,a);return o||w(x(s,e)),null}const k=e=>{const t=b(),{baseuri:n}=g();return i.createElement(F,s({},t,{baseuri:n},e))};k.propTypes={from:o.string,to:o.string.isRequired};const O=(e,t)=>e.substr(0,t.length)===t,S=(e,t)=>{let n,r;const[i]=t.split("?"),o=R(i),s=""===o[0],c=N(e);for(let u=0,l=c.length;u<l;u++){let e=!1;const i=c[u].route;if(i.default){r={route:i,params:{},uri:t};continue}const l=R(i.path),p={},f=Math.max(o.length,l.length);let d=0;for(;d<f;d++){const t=l[d],n=o[d];if(D(t)){p[t.slice(1)||"*"]=o.slice(d).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=j.exec(t);if(r&&!s){const e=-1===M.indexOf(r[1]);a(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${i.path}".`);const t=decodeURIComponent(n);p[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:i,params:p,uri:"/"+o.slice(0,d).join("/")};break}}return n||r||null},T=(e,t)=>S([{path:e}],t),C=(e,t)=>{if(O(e,"/"))return e;const[n,r]=e.split("?"),[i]=t.split("?"),o=R(n),a=R(i);if(""===o[0])return A(i,r);if(!O(o[0],".")){const e=a.concat(o).join("/");return A(("/"===i?"":"/")+e,r)}const s=a.concat(o),c=[];for(let u=0,l=s.length;u<l;u++){const e=s[u];".."===e?c.pop():"."!==e&&c.push(e)}return A("/"+c.join("/"),r)},x=(e,t)=>{const[n,r=""]=e.split("?");let i="/"+R(n).map((e=>{const n=j.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:o=""}={}}=t,a=o.split("?")[1]||"";return i=A(i,r,a),i},U=(e,t)=>{const n=e=>I(e);return R(e).filter(n).sort().join("/")===R(t).filter(n).sort().join("/")},j=/^:(.+)/,I=e=>j.test(e),D=e=>e&&"*"===e[0],P=(e,t)=>({route:e,score:e.default?0:R(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:I(t)?e+=2:D(t)?e-=5:e+=3,e)),0),index:t}),N=e=>e.map(P).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),R=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),A=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),M=["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]))},q=e=>e.replace(/(^\/+|\/+$)/g,""),Q=e=>t=>{if(!t)return null;if(t.type===i.Fragment&&t.props.children)return i.Children.map(t.props.children,Q(e));if(a(t.props.path||t.props.default||t.type===k,`<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!==k||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===k&&!U(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===k?t.props.from:t.props.path,r="/"===n?e:`${q(e)}/${q(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${q(r)}/*`:r}},V=["innerRef"],B=["to","state","replace","getProps"],G=["key"];let{forwardRef:H}=r||(r=n.t(i,2));void 0===H&&(H=e=>e);const W=()=>{},K=H(((e,t)=>{let{innerRef:n}=e,r=c(e,V);const{baseuri:o}=g(),{location:a}=b(),{to:u,state:l,replace:p,getProps:f=W}=r,d=c(r,B),m=C(u,o),y=encodeURI(m),v=a.pathname===y,E=O(a.pathname,y);return i.createElement("a",s({ref:t||n,"aria-current":v?"page":void 0},d,f({isCurrent:v,isPartiallyCurrent:E,href:m,location:a}),{href:m,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=p;if("boolean"!=typeof p&&v){const e=c(s({},a.state),G);t=L(s({},l),e)}h(m,{state:l,replace:t})}}}))}));K.displayName="Link",K.propTypes={to:o.string.isRequired};class z extends i.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const J=i.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function Y({children:e}){const[t,n]=i.useState(),r=i.useRef(),o=i.useMemo((()=>({componentDidCatch:r,error:t,setError:n})),[t]);return i.createElement(J.Provider,{value:o},i.createElement(z,{error:t,onError:(e,t)=>
2{n(e),null==r.current||r.current(e,t)}},e))}Y.displayName="ReactUseErrorBoundaryContext";const Z=function(e){var t,n;function r(t){return i.createElement(Y,null,i.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,o]=i.useState({location:n}),[a]=function(e){const t=i.useContext(J);t.componentDidCatch.current=void 0;const n=i.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,n]}();if(i.useEffect((()=>{e._onTransitionComplete()}),[r.location]),i.useEffect((()=>{let t=!1;const n=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||o({location:e})}))}))}));return()=>{t=!0,n()}}),[]),a){if(!_(a))throw a;h(a.uri,{replace:!0})}return i.createElement(v.Provider,{value:r},"function"==typeof t?t(r):t||null)})),$=({children:e})=>{const t=b();return t?e(t):i.createElement(Z,null,e)},X=({url:e,children:t})=>{const n=e.indexOf("?");let r,o="";return n>-1?(r=e.substring(0,n),o=e.substring(n)):r=e,i.createElement(v.Provider,{value:{location:{pathname:r,search:o,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=g(),{location:r}=b(),i=C(e,n),o=T(i,r.pathname);return t({location:r,match:o?s({},o.params,{uri:o.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,o=c(e,te);return i.createElement(oe,s({},o,{component:r,uri:t,location:n}))};let ie=0;const oe=e=>{let{children:t,style:n,component:r="div",uri:o,location:a}=e,u=c(e,ne);const l=i.useRef(),p=i.useRef(!0),f=i.useRef(o),d=i.useRef(a.pathname),h=i.useRef(!1);i.useEffect((()=>(ie++,m(),()=>{ie--,0===ie&&(p.current=!0)})),[]),i.useEffect((()=>{let e=!1,t=!1;o!==f.current&&(f.current=o,e=!0),a.pathname!==d.current&&(d.current=a.pathname,t=!0),h.current=e||t&&a.pathname===o,h.current&&m()}),[o,a]);const m=i.useCallback((()=>{var e;p.current?p.current=!1:(e=l.current,h.current&&e&&e.focus())}),[]);return i.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:l},u),t)},ae=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=g(),n=b();return i.createElement(ce,s({},t,n,e))};function ce(e){const{location:t,primary:n=!0,children:r,basepath:o,component:a="div"}=e,u=c(e,ae),l=i.Children.toArray(r).reduce(((e,t)=>{const n=Q(o)(t);return e.concat(n)}),[]),{pathname:p}=t,f=S(l,p);if(f){const{params:e,uri:r,route:c,route:{value:l}}=f,p=c.default?o:c.path.replace(/\*$/,""),d=s({},e,{uri:r,location:t}),h=i.cloneElement(l,d,l.props.children?i.createElement(se,{location:t,primary:n},l.props.children):void 0),m=n?re:a,v=n?s({uri:r,location:t,component:a},u):u;return i.createElement(y.Provider,{value:{baseuri:r,basepath:p}},i.createElement(m,v,h))}return null}const ue=()=>{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")},pe=()=>{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=ue(),n=T(e.basepath,t.pathname);return n?n.params:null},fe=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=ue(),r=C(e,t.baseuri),i=T(r,n.pathname);return i?s({},i.params,{uri:i.uri,path:e}):null}},71562:function(e,t,n){"use strict";n.d(t,{c4:function(){return _},cP:function(){return c},dq:function(){return p},mc:function(){return y},rU:function(){return E}});var r=n(45697),i=n(67294),o=n(87896),a=n(64506);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 c(e){let t=e||"/",n="",r="";const i=t.indexOf("#");-1!==i&&(r=t.slice(i),t=t.slice(0,i));const o=t.indexOf("?");return-1!==o&&(n=t.slice(o),t=t.slice(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>u.test(e))(e)};function p(e,t=""){var n;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:"")?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const f=e=>null==e?void 0:e.startsWith("/");function d(e,t){const{pathname:n,search:r,hash:i}=c(e);return`${(0,a.H)(n,t)}${r}${i}`}const h=(e,t)=>"number"==typeof e?e:l(e)?f(e)?function(e){const t=p(e),n="always";return d(t,n)}(e):function(e,t){if(f(e))return e;const n="always",r=(0,o.resolve)(e,t);return d(r,n)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function y(e){return p(e,"")}const v={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function g(e){return i.createElement(o.Location,null,(({location:t})=>i.createElement(b,s({},e,{_location:t}))))}class b extends i.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=c(h(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:u,replace:p,_location:f}=e,d=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,m),y=h(t,f.pathname);return l(y)?i.createElement(o.Link,s({to:y,state:u,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=c(y);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=p;const n=encodeURI(y)===f.pathname;"boolean"!=typeof p&&n&&(t=!0),window.___navigate(y,{state:u,replace:t})}return!0}},d)):i.createElement("a",s({href:y},d))}}b.propTypes=s({},v,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const E=i.forwardRef(((e,t)=>i.createElement(g,s({innerRef:t},e)))),_=(e,t)=>{window.___navigate(h(e,window.location.pathname),t)}},83521:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return f},scriptCallbackCache:function(){return d}});var r=n(67294),i=n(87896);function o(){return o=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},o.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)}},c="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 u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),f=new Set,d=new Map;function h(e){return r.createElement(i.Location,null,(()=>r.createElement(m,e)))}function m(e){const{src:t,strategy:n=u.postHydrate}=e||{},{pathname:a}=(0,i.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case u.postHydrate:t=y(e);break;case u.idle:c((()=>{t=y(e)}));break;case u.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===u.offMainThread){const i=v(e),c=g(e);return"undefined"==typeof window&&s.set(a,c),r.createElement("script",i?o({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:v(e)}}):o({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function y(e){const{id:t,src:n,strategy:r=u.postHydrate,onLoad:i,onError:a}=e||{},s=t||n,c=["load","error"],l={load:i,error:a};if(s){for(const e of c)if(null!=l&&l[e]){var p;const t=d.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,m;n.push(null==l?void 0:l[e]),null!=t&&null!=(p=t[e])&&p.event?null==l||null==(h=l[e])||h.call(l,null==t||null==(m
2=t[e])?void 0:m.event):d.set(s,o({},t,{[e]:{callbacks:n}}))}if(f.has(s))return null}const y=v(e),b=g(e),_=document.createElement("script");t&&(_.id=t),_.dataset.strategy=r;for(const[o,u]of Object.entries(b))_.setAttribute(o,u);y&&(_.textContent=y),n&&(_.src=n);const w={};if(s){for(const e of c){const t=t=>E(t,s,e);_.addEventListener(e,t),w[`${e}Callback`]=t}f.add(s)}return document.body.appendChild(_),{script:_,loadCallback:w.loadCallback,errorCallback:w.errorCallback}}function v(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))p.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function E(e,t,n){const r=d.get(t)||{};for(const o of(null==r||null==(i=r[n])?void 0:i.callbacks)||[]){var i;o(e)}d.set(t,{[n]:{event:e}})}},37826:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},25821:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});function r(e){return i(e,[])}function i(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:i(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),r=e.length-n,o=[];for(let a=0;a<n;++a)o.push(i(e[a],t));1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`);return"["+o.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)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+": "+i(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},72380:function(e,t,n){"use strict";n.d(t,{UG:function(){return s},WU:function(){return i},Ye:function(){return r},h8:function(){return o},ku:function(){return c}});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 i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,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 o={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(o));function s(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},87392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return a},wv:function(){return i}});var r=n(68297);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let s=0;s<e.length;++s){var a;const t=e[s],c=o(t);c!==t.length&&(r=null!==(a=r)&&void 0!==a?a:s,i=s,0!==s&&c<n&&(n=c))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function a(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.FD)(e.charCodeAt(0)))),s=n.endsWith('\\"""'),c=e.endsWith('"')&&!s,u=e.endsWith("\\"),l=c||u,p=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s);let f="";const d=o&&(0,r.FD)(e.charCodeAt(0));return(p&&!d||a)&&(f+="\n"),f+=n,(p||l)&&(f+="\n"),'"""'+f+'"""'}},68297:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},97359:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
2ingValue",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={}))},73486:function(e,t,n){"use strict";n.r(t),n.d(t,{print:function(){return c}});var r=n(87392);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}const a=["\\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"];var s=n(77304);function c(e){return(0,s.Vn)(e,u)}const u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=f("(",l(e.variableDefinitions,", "),")"),n=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+f(" = ",n)+f(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>p(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=f("",e,": ")+t;let a=o+f("(",l(n,", "),")");return a.length>80&&(a=o+f("(\n",d(l(n,"\n")),"\n)")),l([a,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+f(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",f("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${f("(",l(n,", "),")")} on ${t} ${f("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+f("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>f("",e,"\n")+l(["schema",l(t," "),p(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>f("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>f("",e,"\n")+l(["type",t,f("implements ",l(n," & ")),l(r," "),p(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>
2f("",e,"\n")+t+(h(n)?f("(\n",d(l(n,"\n")),"\n)"):f("(",l(n,", "),")"))+": "+r+f(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>f("",e,"\n")+l([t+": "+n,f("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>f("",e,"\n")+l(["interface",t,f("implements ",l(n," & ")),l(r," "),p(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>f("",e,"\n")+l(["union",t,l(n," "),f("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>f("",e,"\n")+l(["enum",t,l(n," "),p(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>f("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>f("",e,"\n")+l(["input",t,l(n," "),p(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>f("",e,"\n")+"directive @"+t+(h(n)?f("(\n",d(l(n,"\n")),"\n)"):f("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),p(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend type",e,f("implements ",l(t," & ")),l(n," "),p(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,f("implements ",l(t," & ")),l(n," "),p(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),f("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),p(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),p(n)]," ")}};function l(e,t=""){var n;return null!==(n=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function p(e){return f("{\n",d(l(e,"\n")),"\n}")}function f(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function d(e){return f("  ",e.replace(/\n/g,"\n  "))}function h(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},4783:function(e,t,n){"use strict";n.d(t,{H:function(){return a},T:function(){return s}});var r=n(37826),i=n(25821);const o=function(e,t){return e instanceof t};class a{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,r.a)(!1,`Body must be a string. Received: ${(0,i.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return o(e,a)}},77304:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},Vn:function(){return c}});var r=n(37826),i=n(25821),o=n(72380),a=n(97359);const s=Object.freeze({});function c(e,t,n=o.h8){const c=new Map;for(const r of Object.values(a.h))c.set(r,u(t,r));let l,p,f,d=Array.isArray(e),h=[e],m=-1,y=[],v=e;const g=[],b=[];do{m++;const e=m===h.length,a=e&&0!==y.length;if(e){if(p=0===b.length?void 0:g[g.length-1],v=f,f=b.pop(),a)if(d){v=v.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(v.splice(r,1),e++):v[r]=n}}else{v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v));for(const[e,t]of y)v[e]=t}m=l.index,h=l.keys,y=l.edits,d=l.inArray,l=l.prev}else if(f){if(p=d?m:h[m],v=f[p],null==v)continue;g.push(p)}let u;if(!Array.isArray(v)){var E,_;(0,o.UG)(v)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(v)}.`);const n=e?null===(E=c.get(v.kind))||void 0===E?void 0:E.leave:null===(_=c.get(v.kind))||void 0===_?void 0:_.enter;if(u=null==n?void 0:n.call(t,v,p,f,g,b),u===s)break;if(!1===u){if(!e){g.pop();continue}}else if(void 0!==u&&(y.push([p,u]),!e)){if(!(0,o.UG)(u)){g.pop();continue}v=u}}var w;if(void 0===u&&a&&y.push([p,v]),e)g.pop();else l={inArray:d,index:m,keys:h,edits:y,prev:l},d=Array.isArray(v),h=d?v:null!==(w=n[v.kind])&&void 0!==w?w:[],m=-1,y=[],f&&b.push(f),f=v}while(void 0!==l);return 0!==y.length?y[y.length-1][1]:e}function u(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}}},52100:function(e,t,n){"use strict";n.r(t),n.d(t,{getOperationAST:function(){return i}});var r=n(97359);function i(e,t){let n=null;for(const o of e.definitions){var i;if(o.kind===r.h.OPERATION_DEFINITION)if(null==t){if(n)return null;n=o}else if((null===(i=o.name)||void 0===i?void 0:i.value)===t)return o}return n}}},function(e){e.O(0,[532,774,885],(function(){return t=25824,e(e.s=t);var t}));e.O()}]);
3//# sourceMappingURL=app-39ac698f7955e541785d.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.