1/*! For license information please see app-af45f8454863cb6bb159.js.LICENSE.txt */ 2(self.webpackChunkmarketing_site=self.webpackChunkmarketing_site||[]).push([[524],{9465:function(e,t){t.TF=function(e){return e.replace(/[^\u0000-\u007e]/g,function(e){return r[e]||e})};for(var n=[{base:" ",chars:" "},{base:"0",chars:"ß"},{base:"A",chars:"â¶ï¼¡ÃÃÃẦẤẪẨÃÄÄáº°áº®áº´áº²È¦Ç ÃÇẢà ǺÇÈÈẠẬẶá¸ÄȺⱯ"},{base:"AA",chars:"ê²"},{base:"AE",chars:"ÃǼǢ"},{base:"AO",chars:"ê´"},{base:"AU",chars:"ê¶"},{base:"AV",chars:"ê¸êº"},{base:"AY",chars:"ê¼"},{base:"B",chars:"â·ï¼¢á¸á¸á¸ÉÆ"},{base:"C",chars:"â¸ï¼£ê¾á¸ÄCÄÄÄÃÆÈ»"},{base:"D",chars:"â¹ï¼¤á¸Äá¸á¸á¸á¸ÄÆÆá´ ê¹"},{base:"Dh",chars:"Ã"},{base:"DZ",chars:"DZÇ"},{base:"Dz",chars:"Ç²Ç "},{base:"E",chars:"Éâºï¼¥ÃÃÃá»áº¾á»á»áº¼Äá¸á¸ÄÄÃẺÄÈÈẸá»È¨á¸Äá¸á¸ÆÆá´"},{base:"F",chars:"ê¼â»ï¼¦á¸Æê»"},{base:"G",chars:"â¼ï¼§Ç´ÄḠÄÄ Ç¦Ä¢Ç¤Æê ê½ê¾É¢"},{base:"H",chars:"â½ï¼¨Ä¤á¸¢á¸¦ÈḤḨḪĦⱧⱵê"},{base:"I",chars:"â¾ï¼©ÃÃÃĨĪĬİÃḮá»ÇÈÈá»Ä®á¸¬Æ"},{base:"J",chars:"â¿ï¼ªÄ´ÉÈ·"},{base:"K",chars:"âKḰǨḲĶḴÆâ±©êêêê¢"},{base:"L",chars:"âLĿĹĽḶḸĻḼḺÅȽⱢⱠêêê"},{base:"LJ",chars:"Ç"},{base:"Lj",chars:"Ç"},{base:"M",chars:"âï¼á¸¾á¹á¹â±®ÆÏ»"},{base:"N",chars:"ê¤È âNǸÅÃá¹Åá¹Å á¹á¹Æêá´"},{base:"NJ",chars:"Ç"},{base:"Nj",chars:"Ç"},{base:"O",chars:"âOÃÃÃá»á»á»á»Ãá¹È¬á¹Åá¹á¹ÅȮȰÃȪá»ÅÇÈÈÆ á»á»á» á»á»¢á»á»ÇªÇ¬ÃÇ¾ÆÆêê"},{base:"OE",chars:"Å"},{base:"OI",chars:"Æ¢"},{base:"OO",chars:"ê"},{base:"OU",chars:"È¢"},{base:"P",chars:"â ï¼°á¹á¹Æ¤â±£êêê"},{base:"Q",chars:"âï¼±êêÉ"},{base:"R",chars:"âï¼²Åá¹ÅÈÈá¹á¹Åá¹ÉⱤêê¦ê"},{base:"S",chars:"âï¼³áºÅṤÅṠŠṦṢṨÈÅâ±¾ê¨ê"},{base:"T",chars:"âTṪŤṬÈŢṰṮŦƬƮȾê"},{base:"Th",chars:"Ã"},{base:"TZ",chars:"ê¨"},{base:"U",chars:"âï¼µÃÃÃŨṸŪṺŬÃÇÇÇÇỦŮŰÇÈÈÆ¯á»ªá»¨á»®á»¬á»°á»¤á¹²Å²á¹¶á¹´É"},{base:"V",chars:"âVṼṾƲêÉ "},{base:"VY",chars:"ê "},{base:"W",chars:"âï¼·áºáºÅ´áºáºáºâ±²"},{base:"X",chars:"âXáºáº"},{base:"Y",chars:"âYỲÃŶỸȲáºÅ¸á»¶á»´Æ³ÉỾ"},{base:"Z",chars:"âZŹáºÅ»Å½áºáºÆµÈ¤â±¿â±«ê¢"},{base:"a",chars:"âï½áºÃ áâầấẫẩãÄÄằắẵẳȧǡäÇảåǻÇÈÈạáºáº·á¸Ä â±¥ÉÉ"},{base:"aa",chars:"ê³"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"êµ"},{base:"au",chars:"ê·"},{base:"av",chars:"ê¹ê»"},{base:"ay",chars:"ê½"},{base:"b",chars:"âï½á¸á¸ á¸ÆÆÉÆ"},{base:"c",chars:"ï½âÄÄÄÄÃ§á¸ÆÈ¼ê¿â"},{base:"d",chars:"âï½á¸Äá¸á¸á¸á¸ÄÆÉÉÆá§Ôêª"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzÇ"},{base:"e",chars:"âï½ Ã¨Ã©Ãªá»áº¿á» á»áº½Äá¸á¸ÄÄëẻÄÈ Èẹá»È©á¸Äá¸á¸ÉÇ"},{base:"f",chars:"âï½á¸Æ"},{base:"ff",chars:"ï¬"},{base:"fi",chars:"ï¬"},{base:"fl",chars:"ï¬"},{base:"ffi",chars:"ï¬"},{base:"ffl",chars:"ï¬"},{base:"g",chars:"âï½ÇµÄḡÄÄ¡Ç§Ä£Ç¥É ê¡ê¿áµ¹"},{base:"h",chars:"âï½Ä¥á¸£á¸§ÈḥḩḫáºÄ§â±¨â±¶É¥"},{base:"hv",chars:"Æ"},{base:"i",chars:"âï½Ã¬ÃîĩīÄïḯá»ÇÈÈá»Ä¯á¸É¨Ä±"},{base:"j",chars:"âï½ÄµÇ°É"},{base:"k",chars:"âï½á¸±Ç©á¸³Ä·á¸µÆâ±ªêêê ê£"},{base:"l",chars:"âï½ÅÄºÄ¾á¸·á¸¹Ä¼á¸½á¸»Å¿ÅÆÉ«â±¡êêêÉ"},{base:"lj",chars:"Ç"},{base:"m",chars:"âï½á¸¿á¹á¹É±É¯"},{base:"n",chars:"âï½Ç¹ÅñṠÅá¹Åá¹á¹ÆÉ²Åêê¥Ð»Ô"},{base:"nj",chars:"Ç"},{base:"o",chars:"âï½Ã²Ã³Ã´á»á»á»á»Ãµá¹Èá¹Åá¹á¹Åȯȱöȫá»ÅÇÈÈÆ¡á»á»á»¡á»á»£á»á»Ç«ÇøǿêêɵÉá´"},{base:"oe",chars:"Å"},{base:"oi",chars:"Æ£"},{base:"oo",chars:"ê"},{base:"ou",chars:"È£"},{base:"p",chars:"âï½á¹á¹Æ¥áµ½êêêÏ"},{base:"q",chars:"â ï½Éêê"},{base:"r",chars:"â¡ï½Åá¹ÅÈÈá¹á¹Åá¹Éɽêê§ê"},{base:"s",chars:"â¢ï½Åá¹¥ÅṡšṧṣṩÈÅÈ¿ê©ê áºÊ"},{base:"ss",chars:"Ã"},{base:"t",chars:"â£ï½á¹«áºÅ¥á¹ÈţṱṯŧÆÊⱦê"},{base:"th",chars:"þ"},{base:"tz",chars:"ê©"},{base:"u",chars:"â¤ï½Ã¹ÃºÃ»Å©á¹¹Å«á¹»ÅüÇÇÇÇủůűÇÈÈÆ°á»«á»©á»¯á»á»±á»¥á¹³Å³á¹·á¹µÊ"},{base:"v",chars:"â¥ï½á¹½á¹¿ÊêÊ"},{base:"vy",chars:"ê¡"},{base:"w",chars:"â¦ï½áºáºÅµáºáº áºáºâ±³"},{base:"x",chars:"â§ï½áºáº"},{base:"y",chars:"â¨ï½á»³Ã½Å·á»¹È³áºÃ¿á»·áºá»µÆ´Éỿ"},{base:"z",chars:"â©ï½ÅºáºÅ¼Å¾áºáºÆ¶È¥Éⱬê£"}],r={},o=0;o<n.length;o+=1)for(var i=n[o].chars,a=0;a<i.length;a+=1)r[i[a]]=n[o].base},3842:function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&
2!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},9864:function(e,t,n){"use strict";t.RV=t.z_=void 0;var r=n(2574);t.z_=r.ScrollHandler;var o=n(3732);t.RV=o.useScrollRestoration},2574:function(e,t,n){"use strict";var r=n(4293);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(5372)),i=r(n(1934)),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={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(4041)),s=r(n(9067)),c=n(8416);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 f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new 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,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,i.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(a.Component);t.ScrollHandler=f,f.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},8416:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},3732:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)(function(){if(a.current){var r=n.read(t,e);a.current.scrollTo(0,r||0)}},[t.key]),{ref:a,onScroll:function(){a.current&&n.save(t,e,a.current.scrollTop)}}};var r=n(2574),o=n(4041),i=n(9125)},1798:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(9340),n(6261);t.onInitialClientRender=()=>{}},736: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)||[])}},6261:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const i=(0,o.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(a)};var r=n(2027),o=n(736)},5518:function(e,t){"use strict";t.onRouteUpdate=function(e,t){var n=e.location;if(void 0===t&&(t={}),"function"!=typeof gtag)return null;var r=t.pluginConfig||{};if(n&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some(function(e){return e.test(n.pathname)}))return null;var o=function(){var e=n?n.pathname+n.search+n.hash:void 0;window.gtag("event","page_view",{page_path:e})},i=r.delayOnRouteUpdate,a=void 0===i?0:i;return"requestAnimationFrame"in window?requestAnimationFrame(function(){requestAnimationFrame(function(){return setTimeout(o,a)})}):setTimeout(o,32+a),null}},2146:function(e,t,n){"use strict";n.r(t),n.d(t,{onInitialClientRender:function(){return s},onRouteUpdate:function(){return a}});const r=new Set;function o(e,t){let n=null;return function(){n&&clearTimeout(n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];n=setTimeout.apply(void 0,[e,t].concat(o))}}function i(e){void 0===e&&(e="dataLayer");const t=window;function i(n){r.has(n.name)||(r.add(n.name),function(e,t){let n=e.name,r=e.value,o=e.id;t.push({event:"core-web-vitals",webVitalsMeasurement:{name:n,id:o,value:Math.round("CLS"===n?1e3*r:r)}})}(n,t[e]))}return n.e(509).then(n.bind(n,9509)).then(e=>{let t=e.getLCP,n=e.getFID,r=e.getCLS;const a=o(i,3e3),s=i,c=o(i,3e3);
2r(a,!0),n(s,!0),t(c,!0)})}function a(e,t){setTimeout(()=>{const e=t.dataLayerName?window[t.dataLayerName]:window.dataLayer,n=t.routeChangeEventName?t.routeChangeEventName:"gatsby-route-change";e.push({event:n})},50)}function s(e,t){t.enableWebVitalsTracking&&i(t.dataLayerName)}},9663:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return i}});var r=n.cw(function(e,t){var n=o}),o=n(6691);r();const i=function(e,t){e.location}},765:function(e,t,n){"use strict";const r={SITE_URL:"http://localhost:3001",API_URL:"https://dev.cloud.pennylane.ai"},o={SITE_URL:"https://dev.qhack.ai",API_URL:"https://dev.cloud.pennylane.ai"},i={SITE_URL:"https://staging.qhack.ai",API_URL:"https://staging.cloud.pennylane.ai"},a={SITE_URL:"https://qhack.ai",API_URL:"https://cloud.pennylane.ai"},s={LOCAL:{activeEventSlug:"qhack-2026",siteURL:"http://localhost:3001/",dashboardOrigin:"http://localhost:3000",auth0:{enabled:!0,domain:"auth.dev.cloud.pennylane.ai",clientId:"8BZsYkBm1sosGoG0pdpAaQCPI3B1HJaF",audience:r.API_URL},graphql:r.API_URL+"/graphql",newsletterMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"294b062630"},welcomeEmailMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"b6d4779b78"},pennyLaneBaseUrl:"https://dev.pennylane.ai"},DEV:{activeEventSlug:"qhack-2026",siteURL:"https://dev.qhack.ai/",dashboardOrigin:o.SITE_URL,auth0:{enabled:!0,domain:"auth.dev.cloud.pennylane.ai",clientId:"8BZsYkBm1sosGoG0pdpAaQCPI3B1HJaF",audience:o.API_URL},graphql:o.API_URL+"/graphql",newsletterMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"294b062630"},welcomeEmailMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"b6d4779b78"},pennyLaneBaseUrl:"https://dev.pennylane.ai"},STAGING:{activeEventSlug:"qhack-2026",siteURL:"https://staging.qhack.ai/",dashboardOrigin:i.SITE_URL,auth0:{enabled:!0,domain:"auth.staging.cloud.pennylane.ai",clientId:"ckfpK2PScCLcVQIeLn9LM44zq1PUzkAS",audience:i.API_URL},graphql:i.API_URL+"/graphql",newsletterMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"294b062630"},welcomeEmailMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"b6d4779b78"},pennyLaneBaseUrl:"https://staging.pennylane.ai"},PROD:{activeEventSlug:"qhack-2026",siteURL:"https://qhack.ai/",dashboardOrigin:a.SITE_URL,auth0:{enabled:!0,domain:"auth.cloud.pennylane.ai",clientId:"SXdkhNsiLT0GdrOTFAR2gJ5tq8oGVcg3",audience:a.API_URL},graphql:a.API_URL+"/graphql",newsletterMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"294b062630"},welcomeEmailMailchimp:{baseURL:"https://xanadu.us17.list-manage.com/subscribe/post?u=725f07a1d1a4337416c3129fd&id=",mailingList:"b6d4779b78"},pennyLaneBaseUrl:"https://pennylane.ai"}},c=()=>{const e="undefined"!=typeof window?""+window.origin:"";return{}.DEV||e.length>0&&s.DEV.siteURL.includes(e)?"DEV":{}.STAGING||e.length>0&&s.STAGING.siteURL.includes(e)?"STAGING":{}.PROD||e.length>0&&s.PROD.siteURL.includes(e)?"PROD":"LOCAL"};n.d(t,["J",0,c,"z",0,()=>s[c()]])},2512:function(e,t,n){"use strict";n.r(t),n.d(t,{shouldUpdateScroll:function(){return qn},wrapPageElement:function(){return Un},wrapRootElement:function(){return Vn}});var r=n.cw(function(e,t){e.exports=n.g.fetch}),o=n(289),i=n(1576),a=n(571),s=n(6941),c=n(4041),u=n(765),l=n(9822),f=n(1810),d=n(9560),p=n(1085);const h=(0,i.J1)("\n query getProfile {\n me {\n handle\n id\n }\n }\n");var v=()=>{var e;const t=(0,c.useContext)(l.BR),n=t.playerDetails,r=t.setPlayerDetails,i=(0,s.WB)(),v=i.isAuthenticated,y=i.isLoading,m=i.loginWithRedirect,g=i.logout,b=(0,a.IT)(h,{skip:!v||!!n.handle}),S=b.data,O=b.error,w=b.loading,E=n.handle||(null==S||null===(e=S.me)||void 0===e?void 0:e.handle)||null,_=y||v&&!E&&w;return(0,c.useEffect)(()=>{var e,t;S&&r(Object.assign({},n,{handle:null!==(e=null==S||null===(t=S.me)||void 0===t?void 0:t.handle)&&void 0!==e?e:""}))},[S,O]),(0,p.jsx)(o.Fp,{LinkComponent:f.A,isAuthenticated:v,logIn:()=>{m()},signOut:()=>{g({logoutParams:{returnTo:"undefined"!=typeof window?""+window.location.origin:""}})},handle:E?"@"+E:null,isHandleLoading:_,RegisterComponent:(0,p.jsx)(d.Ay,{buttonVariant:"text",trackingLocation:"navbar"}),hasActiveEvent:(0,u.z)().activeEventSlug,pennyLaneBaseUrl:(0,u.z)().pennyLaneBaseUrl})};var y=e=>{let t=e.children;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(v,{}),(0,p.jsx)(o.lZ,{}),(0,p.jsxs)(o.Kz,{children:[t,(0,p.jsx)(o.wi,{LinkComponent:f.A})]})]})},m=n(5608),g=n(7252),b=n(6054);var S=n(3777);var O=n(7882);function w(e,t){return t?t(e):b.c.of()}function E(e){return"function"==typeof e?new C(e):e}function _(e){return e.request.length<=1}var C=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return b.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(E).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var o,i=E(n),a=E(r||new e(w));return o=_(i)&&_(a)?new e(function(e){return t(e)?i.request(e)||b.c.of():a.request(e)||b.c.of()}):new e(function(e,n){return t(e)?i.request(e,n)||b.c.of():a.request(e,n)||b.c.of()}),Object.assign(o,{left:i,right:a})},e.execute=function(e,t){return e.request(function(e,t){var n=(0,m.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,m.Cl)((0,m.Cl)({},n),e(n)):(0,m.Cl)((0,m.Cl)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,m.Cl)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,S.n4)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];if(t.indexOf(o)<0)throw(0,g.vA)(58,o)}return e}(t))))||b.c.of()},e.concat=function(t,n){var r=E(t);
2if(_(r))return!1!==globalThis.__DEV__&&g.V1.warn(47,r),r;var o,i=E(n);return o=_(i)?new e(function(e){return r.request(e,function(e){return i.request(e)||b.c.of()})||b.c.of()}):new e(function(e,t){return r.request(e,function(e){return i.request(e,t)||b.c.of()})||b.c.of()}),Object.assign(o,{left:r,right:i})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(w)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,g.vA)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,O.S2)("onError",function(){!1!==globalThis.__DEV__&&g.V1.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&g.V1.warn(50),this.onError=e,this},e}(),T=n(2307),I=function(e,t){var n;try{n=JSON.stringify(e)}catch(o){var r=(0,g.vA)(54,t,o.message);throw r.parseError=o,r}return n},x=n(1360);function k(e){var t=null,n=null,r=!1,o=[],i=[];function a(e){if(!n){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function s(e){n=e,i.slice().forEach(function(t){t[1](e)}),!t||t()}function c(){r=!0,i.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",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):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void i.push([e,t])})}};return x.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u}function R(e){var t={next:function(){return e.read()}};return x.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function A(e){var t,n,r=e;if(e.body&&(r=e.body),function(e){return!(!x.uJ||!e[Symbol.asyncIterator])}(r))return n=r[Symbol.asyncIterator](),(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(r))return R(r.getReader());if(function(e){return!!e.stream}(r))return R(r.stream().getReader());if(function(e){return!!e.arrayBuffer}(r))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,n){e.then(function(e){t({value:e,done:!1})}).catch(n)}))}};return x.uJ&&(n[Symbol.asyncIterator]=function(){return this}),n}(r.arrayBuffer());if(function(e){return!!e.pipe}(r))return k(r);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var N=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},D=n(3570),P=n(1777),M=n(3767),L=Object.prototype.hasOwnProperty;function j(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return F(e)}function F(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new U,o=1;o<n;++o)t=r.merge(t,e[o]);return t}var V=function(e,t,n){return this.merge(e[n],t[n])},U=function(){function e(e){void 0===e&&(e=V),this.reconciler=e,this.isObject=P.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];return(0,P.U)(t)&&(0,P.U)(e)?(Object.keys(t).forEach(function(o){if(L.call(e,o)){var i=e[o];if(t[o]!==i){var a=n.reconciler.apply(n,(0,m.fX)([e,t,o],r,!1));a!==i&&((e=n.shallowCopyForMerge(e))[o]=a)}}else(e=n.shallowCopyForMerge(e))[o]=t[o]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,P.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,m.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function q(e){return"incremental"in e}function B(e){return(0,P.U)(e)&&"payload"in e}function Q(e,t){var n=e,r=new U;return q(t)&&(0,M.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,o=e.path,i=o.length-1;i>=0;--i){var a=o[i],s=!isNaN(+a)?[]:{};s[a]=t,t=s}n=r.merge(n,t)}),n}var G=Object.prototype.hasOwnProperty;function z(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),o=e.slice(n+1).trim();t[r]=o}}),t}function W(e,t){if(e.status>=300){N(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}var H=n(7714);const K=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Y(e){return J[e.charCodeAt(0)]}const J=["\\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 $=n(424);const X={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Z(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=re(e.variableDefinitions)?te("(\n",Z(e.variableDefinitions,"\n"),"\n)"):te("(",Z(e.variableDefinitions,", "),")"),n=te("",e.description,"\n")+Z([e.operation,Z([e.name,t]),Z(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:o})=>te("",o,"\n")+e+": "+t+te(" = ",n)+te(" ",Z(r," "))},SelectionSet:{leave:({selections:e})=>ee(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:o}){const i=te("",e,": ")+t;let a=i+te("(",Z(n,", "),")");return a.length>80&&(a=i+te("(\n",ne(Z(n,"\n")),"\n)")),Z([a,Z(r," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+te(" ",Z(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>Z(["...",te("on ",e),Z(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:o,description:i})=>te("",i,"\n")+`fragment ${e}${te("(",Z(n,", "),")")} `+`on ${t} ${te("",Z(r," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
2,StringValue:{leave:({value:e,block:t})=>t?(0,H.yo)(e):`"${e.replace(K,Y)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Z(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Z(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+te("(",Z(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>te("",e,"\n")+Z(["schema",Z(t," "),ee(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>te("",e,"\n")+Z(["scalar",t,Z(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>te("",e,"\n")+Z(["type",t,te("implements ",Z(n," & ")),Z(r," "),ee(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:o})=>te("",e,"\n")+t+(re(n)?te("(\n",ne(Z(n,"\n")),"\n)"):te("(",Z(n,", "),")"))+": "+r+te(" ",Z(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:o})=>te("",e,"\n")+Z([t+": "+n,te("= ",r),Z(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:o})=>te("",e,"\n")+Z(["interface",t,te("implements ",Z(n," & ")),Z(r," "),ee(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>te("",e,"\n")+Z(["union",t,Z(n," "),te("= ",Z(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>te("",e,"\n")+Z(["enum",t,Z(n," "),ee(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>te("",e,"\n")+Z([t,Z(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>te("",e,"\n")+Z(["input",t,Z(n," "),ee(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:r,repeatable:o,locations:i})=>te("",e,"\n")+"directive @"+t+(re(n)?te("(\n",ne(Z(n,"\n")),"\n)"):te("(",Z(n,", "),")"))+te(" ",Z(r," "))+(o?" repeatable":"")+" on "+Z(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Z(["extend schema",Z(e," "),ee(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Z(["extend scalar",e,Z(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Z(["extend type",e,te("implements ",Z(t," & ")),Z(n," "),ee(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>Z(["extend interface",e,te("implements ",Z(t," & ")),Z(n," "),ee(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>Z(["extend union",e,Z(t," "),te("= ",Z(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>Z(["extend enum",e,Z(t," "),ee(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>Z(["extend input",e,Z(t," "),ee(n)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>Z(["extend directive @"+e,Z(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>Z([e,te(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>Z([e,te(".",t),te("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>Z(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>Z(["@",e,te("(",t,":)")])}};function Z(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function ee(e){return te("{\n",ne(Z(e,"\n")),"\n}")}function te(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function ne(e){return te(" ",e.replace(/\n/g,"\n "))}function re(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var oe,ie=n(5078),ae=n(555),se=n(4114),ce=Object.assign(function(e){var t=oe.get(e);return t||(t=function(e){return(0,$.YR)(e,X)}(e),oe.set(e,t)),t},{reset:function(){oe=new ie.A(ae.v.print||2e3)}});ce.reset(),!1!==globalThis.__DEV__&&(0,se.D_)("print",function(){return oe?oe.size:0});var ue={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},le=function(e,t){return t(e)};function fe(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var o={},i={};
2n.forEach(function(e){o=(0,m.Cl)((0,m.Cl)((0,m.Cl)({},o),e.options),{headers:(0,m.Cl)((0,m.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),i=(0,m.Cl)((0,m.Cl)({},i),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var n={};return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r={};Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var o={};return Object.keys(r).forEach(function(e){o[r[e].originalName]=r[e].value}),o}(o.headers,i.preserveHeaderCase));var a=e.operationName,s=e.extensions,c=e.variables,u=e.query,l={operationName:a,variables:c};return i.includeExtensions&&(l.extensions=s),i.includeQuery&&(l.query=t(u,ce)),{options:o,body:l}}function de(e){return new b.c(function(t){t.error(e)})}var pe=n(2455),he=n(8907),ve=n(2904),ye={kind:pe.b.FIELD,name:{kind:pe.b.NAME,value:"__typename"}};function me(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===pe.b.FRAGMENT_SPREAD&&me(t[e.name.value],t)})}function ge(e){return me((0,S.Vu)(e)||(0,S.E4)(e),(0,ve.JG)((0,S.zK)(e)))?null:e}function be(e){var t=new Map,n=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach(function(t,n){n(e)&&(r=t)}),r}}function Se(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function Oe(e,t){(0,S.sw)(t);for(var n=Se(""),r=Se(""),o=function(e){for(var t=0,o=void 0;t<e.length&&(o=e[t]);++t)if(!(0,M.c)(o)){if(o.kind===pe.b.OPERATION_DEFINITION)return n(o.name&&o.name.value);if(o.kind===pe.b.FRAGMENT_DEFINITION)return r(o.name.value)}return!1!==globalThis.__DEV__&&g.V1.error(124),null},i=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===pe.b.OPERATION_DEFINITION&&++i;var s=be(e),c=function(e){return(0,M.E)(e)&&e.map(s).some(function(e){return e&&e.remove})},u=new Map,l=!1,f={enter:function(e){if(c(e.directives))return l=!0,null}},d=(0,$.YR)(t,{Field:f,InlineFragment:f,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var a=o(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(c(e.directives))return l=!0,null;var a=o(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){u.set(JSON.stringify(r),e)},leave:function(e,t,n,o){return e===u.get(JSON.stringify(o))?e:i>0&&e.selectionSet.selections.every(function(e){return e.kind===pe.b.FIELD&&"__typename"===e.name.value})?(r(e.name.value).removed=!0,l=!0,null):void 0}},Directive:{leave:function(e){if(s(e))return l=!0,null}}});if(!l)return t;var p=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){p(r(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},h=new Set;d.definitions.forEach(function(e){e.kind===pe.b.OPERATION_DEFINITION?p(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){h.add(e)}):e.kind!==pe.b.FRAGMENT_DEFINITION||0!==i||r(e.name.value).removed||h.add(e.name.value)}),h.forEach(function(e){p(r(e)).fragmentSpreads.forEach(function(e){h.add(e)})});var v={enter:function(e){if(t=e.name.value,!h.has(t)||r(t).removed)return null;var t}};return ge((0,$.YR)(d,{FragmentSpread:v,FragmentDefinition:v,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=p(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,m.Cl)((0,m.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var we=Object.assign(function(e){return(0,$.YR)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==pe.b.OPERATION_DEFINITION){var r=e.selections;if(r)if(!r.some(function(e){return(0,he.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var o=n;if(!((0,he.dt)(o)&&o.directives&&o.directives.some(function(e){return"export"===e.name.value})))return(0,m.Cl)((0,m.Cl)({},e),{selections:(0,m.fX)((0,m.fX)([],r,!0),[ye],!1)})}}}}})},{added:function(e){return e===ye}});function Ee(e){return"query"===(0,S.Vn)(e).operation?e:(0,$.YR)(e,{OperationDefinition:{enter:function(e){return(0,m.Cl)((0,m.Cl)({},e),{operation:"query"})}}})}function _e(e){return(0,S.sw)(e),Oe([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function Ce(e){return(0,S.sw)(e),(0,$.YR)(e,{FragmentSpread:function(e){var t;if(!(null===(t=e.directives)||void 0===t?void 0:t.some(function(e){return"unmask"===e.name.value})))return(0,m.Cl)((0,m.Cl)({},e),{directives:(0,m.fX)((0,m.fX)([],e.directives||[],!0),[{kind:pe.b.DIRECTIVE,name:{kind:pe.b.NAME,value:"nonreactive"}}
2],!1)})}})}var Te=(0,g.no)(function(){return fetch}),Ie=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,o=e.print,i=void 0===o?le:o,a=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,l=void 0!==u&&u,f=(0,m.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw(0,g.vA)(51)}(r||Te);var d={http:{includeExtensions:a,preserveHeaderCase:s},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new C(function(e){var t=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")}(e,n),o=e.getContext(),a={};if(o.clientAwareness){var s=o.clientAwareness,u=s.name,f=s.version;u&&(a["apollographql-client-name"]=u),f&&(a["apollographql-client-version"]=f)}var p=(0,m.Cl)((0,m.Cl)({},a),o.headers),h={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:p};if((0,T.d8)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&g.V1.warn(52);var v=_e(e.query);if(!v)return de(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=v}var y,O,w,E,_,C=fe(e,i,ue,d,h),x=C.options,k=C.body;k.variables&&!l&&(k.variables=(y=k.variables,O=e.query,w=(0,m.Cl)({},y),E=new Set(Object.keys(y)),(0,$.YR)(O,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&E.delete(e.name.value)}}),E.forEach(function(e){delete w[e]}),w)),x.signal||"undefined"==typeof AbortController||(_=new AbortController,x.signal=_.signal);var R,P="OperationDefinition"===(R=(0,S.Vn)(e.query)).kind&&"subscription"===R.operation,M=(0,T.d8)(["defer"],e.query);if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(x.method="GET"),M||P){x.headers=x.headers||{};var L="multipart/mixed;";P&&M&&!1!==globalThis.__DEV__&&g.V1.warn(53),P?L+="boundary=graphql;subscriptionSpec=1.0,application/json":M&&(L+="deferSpec=20220824,application/json"),x.headers.accept=L}if("GET"===x.method){var j=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var o=void 0;try{o=I(t.variables,"Variables map")}catch(V){return{parseError:V}}r("variables",o)}if(t.extensions){var i=void 0;try{i=I(t.extensions,"Extensions map")}catch(V){return{parseError:V}}r("extensions",i)}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,k),F=j.newURI,V=j.parseError;if(V)return de(V);t=F}else try{x.body=I(k,"Payload")}catch(V){return de(V)}return new b.c(function(n){var o=r||(0,g.no)(function(){return fetch})||Te,i=n.next.bind(n);return o(t,x).then(function(t){var n;e.setContext({response:t});var r,o=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,m.sH)(this,void 0,void 0,function(){var n,r,o,i,a,s,c,u,l,f,d,p,h,v,y,g,b,S,O,w,E,_,C,T;return(0,m.YH)(this,function(I){switch(I.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=null===(T=e.headers)||void 0===T?void 0:T.get("content-type"),o="boundary=",i=(null==r?void 0:r.includes(o))?null==r?void 0:r.substring((null==r?void 0:r.indexOf(o))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(i),s="",c=A(e),u=!0,I.label=1;case 1:return u?[4,c.next()]:[3,3];case 2:for(l=I.sent(),f=l.value,d=l.done,p="string"==typeof f?f:n.decode(f),h=s.length-a.length+1,u=!d,v=(s+=p).indexOf(a,h);v>-1;){if(y=void 0,_=[s.slice(0,v),s.slice(v+a.length)],s=_[1],g=(y=_[0]).indexOf("\r\n\r\n"),b=z(y.slice(0,g)),(S=b["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");
2if(O=y.slice(g))if(w=W(e,O),Object.keys(w).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if(B(w)){if(E={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];E=(0,m.Cl)({},w.payload)}"errors"in w&&(E=(0,m.Cl)((0,m.Cl)({},E),{extensions:(0,m.Cl)((0,m.Cl)({},"extensions"in E?E.extensions:null),(C={},C[D.K$]=w.errors,C))})),t(E)}else t(w);else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2];v=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):(r=e,function(e){return e.text().then(function(t){return W(e,t)}).then(function(t){return Array.isArray(t)||G.call(t,"data")||G.call(t,"errors")||N(e,t,"Server response was missing for query '".concat(Array.isArray(r)?r.map(function(e){return e.operationName}):r.operationName,"'.")),t})})(t).then(i)}).then(function(){_=void 0,n.complete()}).catch(function(e){_=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,n)}),function(){_&&_.abort()}})})},xe=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,m.C6)(t,e),t}(C),ke=C.execute,Re=n(3972),Ae=n(5888),Ne=n(4214),De=n(4592),Pe=n(4019),Me=n(7634);function Le(e){return e}var je=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=x.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(Le,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new De.b(x.et);this.performWork=(0,Me.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,g.V1)(Array.isArray(r),104),n.lookupArray(r)},max:ae.v["documentTransform.cache"],cache:Pe.l})}},e.prototype.performWork=function(e){return(0,S.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}();function Fe(e,t,n){return new b.c(function(r){var o={then:function(e){return new Promise(function(t){return t(e())})}};function i(e,t){return function(n){if(e){var i=function(){return r.closed?0:e(n)};o=o.then(i,i).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:i(t,"next"),error:i(n,"error"),complete:function(){o.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function Ve(e){var t=Ue(e);return(0,M.E)(t)}function Ue(e){var t=(0,M.E)(e.errors)?e.errors.slice(0):[];return q(e)&&(0,M.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var qe=n(1461),Be=n(7613),Qe=n(5892);function Ge(e){return e&&"function"==typeof e.then}var ze=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),(0,Be.w)(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),(0,Be.w)(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var o=(void 0===r?[]:r).shift();o?Ge(o)?o.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=o.subscribe(n.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,Be.w)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new b.c(t)]),Ge(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,m.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
2n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(b.c);(0,Qe.r)(ze);var We=n(9820),He=n(5950),Ke=new(x.et?WeakMap:Map);function Ye(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return Ke.set(e,(Ke.get(e)+1)%1e15),n.apply(this,arguments)})}var Je=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var n=this.cache=e.cache;Ke.has(n)||(Ke.set(n,0),Ye(n,"evict"),Ye(n,"modify"),Ye(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||He.pT.loading;return this.variables&&this.networkStatus!==He.pT.loading&&!(0,Ae.L)(this.variables,e.variables)&&(t=He.pT.setVariables),(0,Ae.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),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.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,Ae.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var r=(0,O.lz)("canonizeResults",function(){return e.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,n=this,r=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(0,O.lz)("getLastError",function(){var e;return null===(e=n.observableQuery)||void 0===e?void 0:e.getLastError()})||(this.updateLastDiff(e),(0,Ae.L)(r&&r.result,e&&e.result)||null===(t=this.observableQuery)||void 0===t||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null===(e=this.observableQuery)||void 0===e||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||e.call(this),this.cancelWatch=void 0},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,m.Cl)((0,m.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,Ae.L)(r,this.lastWatch)||(this.cancel(),this.cancelWatch=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===Ke.get(this.cache)&&(0,Ae.L)(t,n.variables)&&(0,Ae.L)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var o,i=this,a=new U,s=(0,M.E)(e.errors)?e.errors.slice(0):[];if(null===(o=this.observableQuery)||void 0===o||o.resetNotifications(),"incremental"in e&&(0,M.E)(e.incremental)){var c=Q(this.getDiff().result,e);e.data=c}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=a.merge(u.result,e.data)}this.graphQLErrors=s,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&($e(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:Ke.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=(0,O.lz)("canonizeResults",function(){return o.diff(a)});!i.stopped&&(0,Ae.L)(i.variables,n.variables)&&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=He.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=He.pT.error,this.lastWrite=void 0,null===(t=this.observableQuery)||void 0===t||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function $e(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!Ve(e);return!r&&n&&e.data&&(r=!0),r}var Xe=n(7236),Ze=x.et?WeakMap:Map,et=x.En?WeakSet:Set,tt=new Me.DX,nt=!1;function rt(){nt||(nt=!0,!1!==globalThis.__DEV__&&g.V1.warn(64))}function ot(e,t,n){return tt.withValue(!0,function(){var r=it(e,t,n,!1);return Object.isFrozen(e)&&(0,Xe.G)(r),r})}function it(e,t,n,r,o){var i,a=n.knownChanged,s=function(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}(e,n.mutableTargets);if(Array.isArray(e)){for(var c=0,u=Array.from(e.entries());c<u.length;c++){var l=u[c],f=l[0],d=l[1];if(null!==d){var p=it(d,t,n,r,!1!==globalThis.__DEV__?"".concat(o||"","[").concat(f,"]"):void 0);a.has(p)&&a.add(s),s[f]=p}else s[f]=null}return a.has(s)?s:e}for(var h=0,v=t.selections;h<v.length;h++){var y=v[h],m=void 0;if(r&&a.add(s),y.kind===pe.b.FIELD){var b=(0,he.ue)(y),S=y.selectionSet;if(void 0===(m=s[b]||e[b]))continue;if(S&&null!==m){p=it(e[b],S,n,r,!1!==globalThis.__DEV__?"".concat(o||"",".").concat(b):void 0);a.has(p)&&(m=p)}!1===globalThis.__DEV__&&(s[b]=m),!1!==globalThis.__DEV__&&(r&&"__typename"!==b&&!(null===(i=Object.getOwnPropertyDescriptor(s,b))||void 0===i?void 0:i.value)?Object.defineProperty(s,b,at(b,m,o||"",n.operationName,n.operationType)):(delete s[b],s[b]=m))}if(y.kind!==pe.b.INLINE_FRAGMENT||y.typeCondition&&!n.cache.fragmentMatches(y,e.__typename)||(m=it(e,y.selectionSet,n,r,o)),y.kind===pe.b.FRAGMENT_SPREAD){var O=y.name.value,w=n.fragmentMap[O]||(n.fragmentMap[O]=n.cache.lookupFragment(O));(0,g.V1)(w,59,O);var E=(0,T.s7)(y);"mask"!==E&&(m=it(e,w.selectionSet,n,"migrate"===E,o))}a.has(m)&&a.add(s)}return"__typename"in e&&!("__typename"in s)&&(s.__typename=e.__typename),Object.keys(s).length!==Object.keys(e).length&&a.add(s),a.has(s)?s:e}function at(e,t,n,r,o){var i=function(){return tt.getValue()||(!1!==globalThis.__DEV__&&g.V1.warn(60,r?"".concat(o," '").concat(r,"'"):"anonymous ".concat(o),"".concat(n,".").concat(e).replace(/^\./,"")),i=function(){return t}),t};return{get:function(){return i()},set:function(e){i=function(){return e}},enumerable:!0,configurable:!0}}function st(e,t,n,r){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&rt(),e;var o=t.definitions.filter(function(e){return e.kind===pe.b.FRAGMENT_DEFINITION});void 0===r&&((0,g.V1)(1===o.length,61,o.length),r=o[0].name.value);var i=o.find(function(e){return e.name.value===r});return(0,g.V1)(!!i,62,r),null==e||(0,Ae.A)(e,{})?e:ot(e,i.selectionSet,{operationType:"fragment",operationName:i.name.value,fragmentMap:(0,ve.JG)((0,S.zK)(t)),c
2ache:n,mutableTargets:new Ze,knownChanged:new et})}var ct=Object.prototype.hasOwnProperty,ut=Object.create(null),lt=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ie.A(ae.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new De.b(!1),this.noCacheWarningsByQueryId=new Set;var n=new je(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,g.vA)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,m.sH)(this,arguments,void 0,function(e){var t,n,r,o,i,a,s,c=e.mutation,u=e.variables,l=e.optimisticResponse,f=e.updateQueries,d=e.refetchQueries,p=void 0===d?[]:d,h=e.awaitRefetchQueries,v=void 0!==h&&h,y=e.update,b=e.onQueryUpdated,S=e.fetchPolicy,O=void 0===S?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":S,w=e.errorPolicy,E=void 0===w?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":w,_=e.keepRootFields,C=e.context;return(0,m.YH)(this,function(e){switch(e.label){case 0:return(0,g.V1)(c,36),(0,g.V1)("network-only"===O||"no-cache"===O,37),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),n=this.getDocumentInfo(c).hasClientExports,u=this.getVariables(c,u),n?[4,this.localState.addExportedVariables(c,u,C)]:[3,2];case 1:u=e.sent(),e.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:u,loading:!0,error:null}),o=l&&this.markMutationOptimistic(l,{mutationId:t,document:c,variables:u,fetchPolicy:O,errorPolicy:E,context:C,updateQueries:f,update:y,keepRootFields:_}),this.broadcastQueries(),i=this,[2,new Promise(function(e,n){return Fe(i.getObservableFromLink(c,(0,m.Cl)((0,m.Cl)({},C),{optimisticResponse:o?l:void 0}),u,{},!1),function(e){if(Ve(e)&&"none"===E)throw new D.K4({graphQLErrors:Ue(e)});r&&(r.loading=!1,r.error=null);var n=(0,m.Cl)({},e);return"function"==typeof p&&(p=p(n)),"ignore"===E&&Ve(n)&&delete n.errors,i.markMutationResult({mutationId:t,result:n,document:c,variables:u,fetchPolicy:O,errorPolicy:E,context:C,update:y,updateQueries:f,awaitRefetchQueries:v,refetchQueries:p,removeOptimistic:o?t:void 0,onQueryUpdated:b,keepRootFields:_})}).subscribe({next:function(n){i.broadcastQueries(),"hasNext"in n&&!1!==n.hasNext||e((0,m.Cl)((0,m.Cl)({},n),{data:i.maskOperation({document:c,data:n.data,fetchPolicy:O,id:t})}))},error:function(e){r&&(r.loading=!1,r.error=e),o&&i.cache.removeOptimistic(t),i.broadcastQueries(),n(e instanceof D.K4?e:new D.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&$e(r,e.errorPolicy)){if(q(r)||o.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),q(r)&&(0,M.E)(r.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=Q(a.result,r)),void 0!==s&&(r.data=s,o.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,i){var a=e.observableQuery,s=a&&a.queryName;if(s&&ct.call(c,s)){var u=c[s],l=n.queries.get(i),f=l.document,d=l.variables,p=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var v=u(h,{mutationResult:r,queryName:f&&(0,S.n4)(f)||void 0,queryVariables:d});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:d})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];
2if(this.refetchQueries({updateCache:function(t){i||o.forEach(function(e){return t.write(e)});var a,s=e.update,c=!(q(a=r)||function(e){return"hasNext"in e&&"data"in e}(a))||q(r)&&!r.hasNext;if(s){if(!i){var u=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(r=(0,m.Cl)((0,m.Cl)({},r),{data:u.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}c&&s(t,r,{context:e.context,variables:e.variables})}i||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,{IGNORE:ut}):e;return r!==ut&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,m.Cl)((0,m.Cl)({},t),{result:{data:r}}),e)}catch(o){!1!==globalThis.__DEV__&&g.V1.error(o)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:(0,T.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,T.d8)(["nonreactive"],e),nonReactiveQuery:Ce(e),clientQuery:this.localState.clientQuery(e),serverQuery:Oe([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,S.wY)((0,S.Vu)(e)),asQuery:(0,m.Cl)((0,m.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,m.Cl)((0,m.Cl)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,m.Cl)((0,m.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,m.Cl)((0,m.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new Je(this),r=new We.U({queryManager:this,queryInfo:n,options:e});return r.lastQuery=t,We.U.inactiveOnCreation.getValue()||this.queries.set(r.queryId,n),n.init({document:t,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var n=this;void 0===t&&(t=this.generateQueryId()),(0,g.V1)(e.query,38),(0,g.V1)("Document"===e.query.kind,39),(0,g.V1)(!e.returnPartialData,40),(0,g.V1)(!e.pollInterval,41);var r=this.transform(e.query);return this.fetchQuery(t,(0,m.Cl)((0,m.Cl)({},e),{query:r})).then(function(o){return o&&(0,m.Cl)((0,m.Cl)({},o),{data:n.maskOperation({document:r,data:o.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return n.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,g.vA)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=He.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,o=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)r.set(e,e),o.set(e,!1);else if((0,he.Kc)(e)){var n=ce(t.transform(e));r.set(n,(0,S.n4)(e)),o.set(n,!1)}else(0,P.U)(e)&&e.query&&i.add(e)}
2),this.queries.forEach(function(t,r){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void n.set(r,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(ce(a)))&&(n.set(r,i),s&&o.set(s,!0),a&&o.set(ce(a),!0))}}),i.size&&i.forEach(function(e){var r=(0,qe.v)("legacyOneTimeQuery"),o=t.getOrCreateQuery(r).init({document:e.query,variables:e.variables}),i=new We.U({queryManager:t,queryInfo:o,options:(0,m.Cl)((0,m.Cl)({},e),{fetchPolicy:"network-only"})});(0,g.V1)(i.queryId===r),o.setObservableQuery(i),n.set(r,i)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){if(!e){var n=r.get(t);n?!1!==globalThis.__DEV__&&g.V1.warn(43,n):!1!==globalThis.__DEV__&&g.V1.warn(44)}}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(r,o){var i=r.options.fetchPolicy;(0,O.lz)("resetLastResults",function(){return r.resetLastResults()}),(e||"standby"!==i&&"cache-only"!==i)&&n.push(r.refetch()),(t.queries.get(o)||r.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.variables,o=e.fetchPolicy,i=e.errorPolicy,a=void 0===i?"none":i,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;n=this.transform(n),r=this.getVariables(n,r);var f=function(e){return t.getObservableFromLink(n,c,e,l).map(function(r){"no-cache"!==o&&($e(r,a)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var i=Ve(r),s=(0,D.uR)(r);if(i||s){var c={};if(i&&(c.graphQLErrors=r.errors),s&&(c.protocolErrors=r.extensions[D.K$]),"none"===a||s)throw new D.K4(c)}return"ignore"===a&&delete r.errors,r})};if(this.getDocumentInfo(n).hasClientExports){var d=this.localState.addExportedVariables(n,r,c).then(f);return new b.c(function(e){var t=null;return d.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(r)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null===(t=this.queries.get(e))||void 0===t||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null===(t=e.observableQuery)||void 0===t?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r,o){var i,a,s=this;void 0===o&&(o=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var c=this.getDocumentInfo(e),u=c.serverQuery,l=c.clientQuery;if(u){var f=this.inFlightLinkObservables,d=this.link,p={query:u,variables:n,operationName:(0,S.n4)(u)||void 0,context:this.prepareContext((0,m.Cl)((0,m.Cl)({},t),{forceFetch:!o})),extensions:r};if(t=p.context,o){var h=ce(u),v=(0,Ne.M)(n),y=f.lookup(h,v);if(!(a=y.observable)){var g=new ze([ke(d,p)]);a=y.observable=g,g.beforeNext(function e(t,n){"next"===t&&"hasNext"in n&&n.hasNext?g.beforeNext(e):f.remove(h,v)})}}else a=new ze([ke(d,p)])}else a=new ze([b.c.of({data:{}})]),t=this.prepareContext(t);return l&&(a=Fe(a,function(e){return s.localState.runResolvers({document:l,remoteResult:e,context:t,variables:n})})),a},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(n.query);return Fe(this.getObservableFromLink(o,n.context,n.variables),function(i){var a=Ue(i),s=a.length>0,c=n.errorPolicy;if(r>=e.lastRequestId){if(s&&"none"===c)throw e.markError(new D.K4({graphQLErrors:a}));e.markResult(i,o,n,t),e.markReady()}var u={data:i.data,loading:!1,networkStatus:He.pT.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=a,u.networkStatus=He.pT.error),u},function(t){var n=(0,D.Mn)(t)?t:new D.K4({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var o=this;void 0===n&&(n=He.pT.loading),void 0===r&&(r=t.query);var i,a,s=this.getVariables(r,t.variables),c=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?c&&c.fetchPolicy||"cache-first":u,f=t.errorPolicy,d=void 0===f?c&&c.errorPolicy||"none":f,p=t.returnPartialData,h=void 0!==p&&p,v=t.notifyOnNetworkStatusChange,y=void 0!==v&&v,m=t.context,g=void 0===m?{}:m,b=Object.assign({},t,{query:r,variables:s,fetchPolicy:l,errorPolicy:d,returnPartialData:h,notifyOnNetworkStatusChange:y,context:g}),S=function(r){b.variables=r;var i=o.fetchQueryByPolicy(e,b,n);return"standby"!==b.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},O=function(){return o.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){O(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(b.query).hasClientExports)i=new ze(this.localState.addExportedVariables(b.query,b.variables,b.context).then(S).then(function(e){return e.sources})),a=!0;else{var w=S(b.variables);a=w.fromLink,i=new ze(w.sources)}return i.promise.then(O,O),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?(0,qe.v)("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.queries.get(n)||e.queryInfo).getDiff()})});var l=new Map;return n&&this.cache.batch({update:n,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof Je&&e.watcher.observableQuery;if(r){if(c){u.delete(r.queryId);var o=c(r,t,n);return!0===o&&(o=r.refetch()),!1!==o&&l.set(r,o),o}null!==c&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach(function(e,n){var r,o=e.oq,i=e.lastDiff,a=e.diff;c&&(a||(a=(0,O.lz)("canonizeResults",function(){return t.cache.diff(o.queryInfo.getDiffOptions())})),r=c(o,a,i)),c&&!0!==r||(r=o.refetch()),!1!==r&&l.set(o,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,n,r,o=e.document,i=e.data;if(!1!==globalThis.__DEV__){var a=e.fetchPolicy,s=e.id,c=null===(t=(0,S.Vu)(o))||void 0===t?void 0:t.operation,u=(null!==(n=null==c?void 0:c[0])&&void 0!==n?n:"o")+s;!this.dataMasking||"no-cache"!==a||(0,ve.s6)(o)||this.noCacheWarningsByQueryId.has(u)||(this.noCacheWarningsByQueryId.add(u),!1!==globalThis.__DEV__&&g.V1.warn(45,null!==(r=(0,S.n4)(o))&&void 0!==r?r:"Unnamed ".concat(null!=c?c:"operation")))}return this.dataMasking?function(e,t,n){var r;if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&rt(),e;var o=(0,S.Vu)(t);return(0,g.V1)(o,63),null==e?e:ot(e,o.selectionSet,{operationType:o.operation,operationName:null===(r=o.name)||void 0===r?void 0:r.value,fragmentMap:(0,ve.JG)((0,S.zK)(t)),c
2ache:n,mutableTargets:new Ze,knownChanged:new et})}(i,o,this.cache):i},e.prototype.maskFragment=function(e){var t=e.data,n=e.fragment,r=e.fragmentName;return this.dataMasking?st(t,n,this.cache,r):t},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,o=t.query,i=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,l=t.context,f=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:i,networkStatus:n});var p=function(){return e.getDiff()},h=function(t,n){void 0===n&&(n=e.networkStatus||He.pT.loading);var a=t.result;!1===globalThis.__DEV__||u||(0,Ae.L)(a,{})||(0,We.y)(t.missing);var s=function(e){return b.c.of((0,m.Cl)({data:e,loading:(0,He.bi)(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.getDocumentInfo(o).hasForcedResolvers?r.localState.runResolvers({document:o,remoteResult:{data:a},context:l,variables:i,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===c&&n===He.pT.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},v="no-cache"===a?0:n===He.pT.refetch&&"merge"!==s?1:2,y=function(){return r.getResultsFromLink(e,v,{query:o,variables:i,context:l,fetchPolicy:a,errorPolicy:c})},g=f&&"number"==typeof d&&d!==n&&(0,He.bi)(n);switch(a){default:case"cache-first":return(S=p()).complete?{fromLink:!1,sources:[h(S,e.markReady())]}:u||g?{fromLink:!0,sources:[h(S),y()]}:{fromLink:!0,sources:[y()]};case"cache-and-network":var S;return(S=p()).complete||u||g?{fromLink:!0,sources:[h(S),y()]}:{fromLink:!0,sources:[y()]};case"cache-only":return{fromLink:!1,sources:[h(p(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[h(p()),y()]}:{fromLink:!0,sources:[y()]};case"no-cache":return g?{fromLink:!0,sources:[h(e.getDiff()),y()]}:{fromLink:!0,sources:[y()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Je(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,m.Cl)((0,m.Cl)((0,m.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function ft(e){return e.kind===pe.b.FIELD||e.kind===pe.b.FRAGMENT_SPREAD||e.kind===pe.b.INLINE_FRAGMENT}var dt=new Me.DX,pt=new WeakMap;function ht(e){var t=pt.get(e);return t||pt.set(e,t={vars:new Set,dep:(0,Me.yN)()}),t}function vt(e){ht(e).vars.forEach(function(t){return t.forgetCache(e)})}function yt(e){var t=new Set,n=new Set,r=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(e){ht(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var a=Array.from(n);n.clear(),a.forEach(function(t){return t(e)})}}else{var s=dt.getValue();s&&(o(s),ht(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),ht(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}var mt=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=j(t.resolvers,e)}):this.resolvers=j(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,m.sH)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,r=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return(0,m.YH)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,o,this.fragmentMatcher,a).then(function(e){return(0,m.Cl)((0,m.Cl)({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,T.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return _e(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,m.Cl)((0,m.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,m.sH)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,m.YH)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,m.Cl)((0,m.Cl)({},t),e.exportedVariables)})]:[2,(0,m.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,$.YR)(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 $.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Ee(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,m.sH)(this,arguments,void 0,function(e,t,n,r,o,i){var a,s,c,u,l,f,d,p,h,v;return void 0===n&&(n={}),void 0===r&&(r={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),(0,m.YH)(this,function(y){return a=(0,S.Vn)(e),s=(0,S.zK)(e),c=(0,ve.JG)(s),u=this.collectSelectionsToResolve(a,c),l=a.operation,f=l?l.charAt(0).toUpperCase()+l.slice(1):"Query",p=(d=this).cache,h=d.client,v={fragmentMap:c,context:(0,m.Cl)((0,m.Cl)({}
2,n),{cache:p,client:h}),variables:r,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,false,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,r){return(0,m.sH)(this,void 0,void 0,function(){var o,i,a,s,c,u=this;return(0,m.YH)(this,function(l){return o=r.fragmentMap,i=r.context,a=r.variables,s=[n],c=function(e){return(0,m.sH)(u,void 0,void 0,function(){var c,u;return(0,m.YH)(this,function(l){return(t||r.selectionsToResolve.has(e))&&(0,T.MS)(e,a)?(0,he.dt)(e)?[2,this.resolveField(e,t,n,r).then(function(t){var n;void 0!==t&&s.push(((n={})[(0,he.ue)(e)]=t,n))})]:((0,he.kd)(e)?c=e:(c=o[e.name.value],(0,g.V1)(c,21,e.name.value)),c&&c.typeCondition&&(u=c.typeCondition.name.value,r.fragmentMatcher(n,u,i))?[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 F(s)})]})})},e.prototype.resolveField=function(e,t,n,r){return(0,m.sH)(this,void 0,void 0,function(){var o,i,a,s,c,u,l,f,d,p=this;return(0,m.YH)(this,function(h){return n?(o=r.variables,i=e.name.value,a=(0,he.ue)(e),s=i!==a,c=n[a]||n[i],u=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=n.__typename||r.defaultOperationType,(f=this.resolvers&&this.resolvers[l])&&(d=f[s?i:a])&&(u=Promise.resolve(dt.withValue(this.cache,d,[n,(0,he.MB)(e,o),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,u.then(function(n){var o,i;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!==(i=null===(o=e.directives)||void 0===o?void 0:o.some(function(e){return"client"===e.name.value}))&&void 0!==i&&i;return Array.isArray(n)?p.resolveSubSelectedArray(e,t||a,n,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,n,r):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var o=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?o.resolveSubSelectedArray(e,t,n,r):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(o){if(!r.has(o)){var i=new Set;r.set(o,i),(0,$.YR)(o,{Directive:function(e,t,r,o,a){"client"===e.name.value&&a.forEach(function(e){n(e)&&ft(e)&&i.add(e)})},FragmentSpread:function(r,o,a,s,c){var u=t[r.name.value];(0,g.V1)(u,22,r.name.value);var l=e(u);l.size>0&&(c.forEach(function(e){n(e)&&ft(e)&&i.add(e)}),i.add(r),l.forEach(function(e){i.add(e)}))}})}return r.get(o)}(e)},e}(),gt=n(1507),bt=!1,St=function(){function e(e){var t,n,r,o=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,g.vA)(16);var i=e.uri,a=e.credentials,s=e.headers,c=e.cache,u=e.documentTransform,l=e.ssrMode,f=void 0!==l&&l,d=e.ssrForceFetchDelay,p=void 0===d?0:d,h=e.connectToDevTools,v=e.queryDeduplication,y=void 0===v||v,b=e.defaultOptions,S=e.defaultContext,w=e.assumeImmutableResults,E=void 0===w?c.assumeImmutableResults:w,_=e.resolvers,T=e.typeDefs,I=e.fragmentMatcher,x=e.clientAwareness,k=e.name,R=e.version,A=e.devtools,N=e.dataMasking;!1!==globalThis.__DEV__&&((0,O.cc)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,O.cc)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,O.cc)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,O.cc)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,O.cc)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,O.cc)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,O.cc)(e,"typeDefs","ApolloClient"),e.link||!1!==globalThis.__DEV__&&g.V1.warn(17));var D=e.link;D||(D=i?new xe({uri:i,credentials:a,headers:s}):C.empty()),this.link=D,this.cache=c,this.disableNetworkFetches=f||p>0,this.queryDeduplication=y,this.defaultOptions=b||Object.create(null),this.typeDefs=T,this.devtoolsConfig=(0,m.Cl)((0,m.Cl)({},A),{enabled:null!==(t=null==A?void 0:A.enabled)&&void 0!==t?t:h}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),p&&setTimeout(function(){return o.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=Re.r,this.localState=new mt({cache:c,client:this,resolvers:_,fragmentMatcher:I}),this.queryManager=new lt({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:S,documentTransform:u,queryDeduplication:y,ssrMode:f,dataMasking:!!N,clientAwareness:{name:null!==(n=null==x?void 0:x.name)&&void 0!==n?n:k,version:null!==(r=null==x?void 0:x.version)&&void 0!==r?r:R},localState:this.localState,assumeImmutableResults:E,onBroadcast:this.devtoolsConfig.enabled?function(){o.devToolsHookCb&&o.devToolsHookCb({action:{},state:{queries:o.queryManager.getQueryStore(),mutations:o.queryManager.mutationStore||{}},dataWithOptimisticResults:o.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
2,enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,bt||!1===globalThis.__DEV__||(bt=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&g.V1.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,gt.l)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,m.Cl)((0,m.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,O.cc)(e,"canonizeResults","client.watchQuery"),(0,O.cc)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,gt.l)(this.defaultOptions.query,e)),(0,g.V1)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,m.Cl)((0,m.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,O.cc)(e,"canonizeResults","client.query"),(0,O.cc)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&g.V1.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,gt.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,n=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(r){return(0,m.Cl)((0,m.Cl)({},r),{data:t.queryManager.maskOperation({document:e.query,data:r.data,fetchPolicy:e.fetchPolicy,id:n})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,m.Cl)((0,m.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ke(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach(function(e,t){n.push(t),r.push(e)});var o=Promise.all(r);return o.queries=n,o.results=r,o.catch(function(e){!1!==globalThis.__DEV__&&g.V1.debug(20,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
2,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(St.prototype.getMemoryInternals=se.ep);var Ot=C.from,wt=n(5427),Et=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,Me.LV)(ve.ct,{max:ae.v["cache.fragmentQueryDocuments"]||1e3,cache:Pe.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?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){var n=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,O.cc)(e,"canonizeResults","cache.readQuery"),(0,O.lz)("canonizeResults",function(){return n.read((0,m.Cl)((0,m.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t=this,n=e.fragment,r=e.fragmentName,o=e.from,i=e.optimistic,a=void 0===i||i,s=(0,m.Tt)(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(n,r),u=void 0===o||"string"==typeof o?o:this.identify(o),l=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var f=r||(0,S.E4)(n).name.value;u||!1!==globalThis.__DEV__&&g.V1.warn(1,f)}var d,p=(0,m.Cl)((0,m.Cl)({},s),{returnPartialData:!0,id:u,query:c,optimistic:a});return new b.c(function(o){return t.watch((0,m.Cl)((0,m.Cl)({},p),{immediate:!0,callback:function(i){var a=l?st(i.result,n,t,r):i.result;if(!d||!(0,wt.a)(c,{data:d.result},{data:a},e.variables)){var s={data:a,complete:!!i.complete};i.missing&&(s.missing=F(i.missing.map(function(e){return e.missing}))),d=(0,m.Cl)((0,m.Cl)({},i),{result:a}),o.next(s)}}}))})},e.prototype.readFragment=function(e,t){var n=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,O.cc)(e,"canonizeResults","cache.readFragment"),(0,O.lz)("canonizeResults",function(){return n.read((0,m.Cl)((0,m.Cl)({},e),{query:n.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,m.Tt)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,o=e.fragmentName,i=(0,m.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(r,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,O.cc)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(n){var r=(0,O.lz)("canonizeResults",function(){return n.readQuery(e)}),o=t(r);return null==o?r:(n.writeQuery((0,m.Cl)((0,m.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,O.cc)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(n){var r=(0,O.lz)("canonizeResults",function(){return n.readFragment(e)}),o=t(r);return null==o?r:(n.writeFragment((0,m.Cl)((0,m.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(Et.prototype.getMemoryInternals=se.tQ);var _t=function(e){function t(n,r,o,i){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var 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,m.C6)(t,e),t}(Error),Ct=n(492),Tt=Object.prototype.hasOwnProperty;function It(e){return null==e}function xt(e,t){var n=e.__typename,r=e.id,o=e._id;if("string"==typeof n&&(t&&(t.keyObject=It(r)?It(o)?void 0:{_id:o}:{id:r}),It(r)&&!It(o)&&(r=o),!It(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var kt={dataIdFromObject:xt,addTypename:!0,resultCaching:!0,canonizeResults:!1};function Rt(e){var t=e.canonizeResults;return void 0===t?kt.canonizeResults:t}var At=/^[_a-z][_0-9a-z]*/i;function Nt(e){var t=e.match(At);return t?t[0]:e}function Dt(e,t,n){return!!(0,P.U)(t)&&((0,M.c)(t)?t.every(function(t){return Dt(e,t,n)}):e.selections.every(function(e){if((0,he.dt)(e)&&(0,T.MS)(e,n)){var r=(0,he.ue)(e);return Tt.call(t,r)&&(!e.selectionSet||Dt(e.selectionSet,t[r],n))}return!0}))}function Pt(e){return(0,P.U)(e)&&!(0,he.A_)(e)&&!(0,M.c)(e)}function Mt(e,t){var n=(0,ve.JG)((0,S.zK)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var Lt=Object.create(null),jt=function(){return Lt},Ft=Object.create(null),Vt=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,Xe.G)((0,he.A_)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,he.A_)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,he.WU)(e);if((0,he.A_)(e))return e;var r=n.policies.identify(e)[0];if(r){var o=(0,he.WU)(r);return t&&n.merge(r,e),o}}}return e.prototype.toObject=function(){return(0,m.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),Tt.call(this.data,e)){var n=this.data[e];if(n&&Tt.call(n,t))return n[t]}return"__typename"===t&&Tt.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Qt?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Tt.call(this.data,e)?this.data[e]:this instanceof Qt?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,he.A_)(e)&&(e=e.__ref),(0,he.A_)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(n=e):e,i="string"==typeof t?this.lookup(n=t):t;if(i){(0,g.V1)("string"==typeof n,2);
2var a=new U(zt).merge(o,i);if(this.data[n]=a,a!==o&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);o||(s.__exists=1),Object.keys(i).forEach(function(e){if(!o||o[e]!==a[e]){s[e]=1;var t=Nt(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof Qt||delete a[e]}}),!s.__typename||o&&o.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete s.__typename,Object.keys(s).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var o=Object.create(null),i=!1,a=!0,s={DELETE:Lt,INVALIDATE:Ft,isReference:he.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,he.WU)(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(c){var u=Nt(c),l=r[c];if(void 0!==l){var f="function"==typeof t?t:t[c]||t[u];if(f){var d=f===jt?Lt:f((0,Xe.G)(l),(0,m.Cl)((0,m.Cl)({},s),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));if(d===Ft)n.group.dirty(e,c);else if(d===Lt&&(d=void 0),d!==l&&(o[c]=d,i=!0,l=d,!1!==globalThis.__DEV__)){var p=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&g.V1.warn(3,e),!0};if((0,he.A_)(d))p(d);else if(Array.isArray(d))for(var h=!1,v=void 0,y=0,b=d;y<b.length;y++){var S=b[y];if((0,he.A_)(S)){if(h=!0,p(S))break}else if("object"==typeof S&&S)n.policies.identify(S)[0]&&(v=S);if(h&&void 0!==v){!1!==globalThis.__DEV__&&g.V1.warn(4,v);break}}}}void 0!==l&&(a=!1)}}),i)return this.merge(e,o),a&&(this instanceof Qt?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,o=this.lookup(e);if(o){var i=this.getFieldValue(o,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:i,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=jt,r):jt)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(Tt.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof Qt&&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){Tt.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&&Tt.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,m.Tt)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[e])}),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Qt?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){Tt.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var o=this;o instanceof Qt;)o=o.parent;r.forEach(function(e){return o.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!Tt.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){(0,he.A_)(e)&&(t[e.__ref]=!0),(0,P.U)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,P.U)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Ut=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?(0,Me.yN)():null,this.keyMaker=new De.b(x.et)}
2,e.prototype.depend=function(e,t){if(this.d){this.d(qt(e,t));var n=Nt(t);n!==t&&this.d(qt(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(qt(e,t),"__exists"===t?"forget":"setDirty")},e}();function qt(e,t){return t+"#"+e}function Bt(e,t){Wt(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,o=void 0===r||r,i=t.seed,a=e.call(this,n,new Ut(o))||this;return a.stump=new Gt(a),a.storageTrie=new De.b(x.et),i&&a.replace(i),a}return(0,m.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Vt||(Vt={}));var Qt=function(e){function t(t,n,r,o){var i=e.call(this,n.policies,o)||this;return i.id=t,i.parent=n,i.replay=r,i.group=o,r(i),i}return(0,m.C6)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],o=n.lookup(e);o?r?r!==o&&Object.keys(r).forEach(function(n){(0,Ae.L)(r[n],o[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(o).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,m.Cl)((0,m.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return Tt.call(this.data,t)?(0,m.Cl)((0,m.Cl)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Vt),Gt=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new Ut(t.group.caching,t.group))||this}return(0,m.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Qt);function zt(e,t,n){var r=e[n],o=t[n];return(0,Ae.L)(r,o)?r:o}function Wt(e){return!!(e instanceof Vt&&e.group.caching)}var Ht=function(){function e(){this.known=new(x.En?WeakSet:Set),this.pool=new De.b(x.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,P.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,P.U)(e)){var t=function(e){return(0,P.U)(e)?(0,M.c)(e)?e.slice(0):(0,m.Cl)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,P.U)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(s=this.pool.lookupArray(r)).array||(this.known.add(s.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var o=Object.getPrototypeOf(e),i=[o],a=this.sortedKeys(e);i.push(a.json);var s,c=i.length;if(a.sorted.forEach(function(n){i.push(t.admit(e[n]))}),!(s=this.pool.lookupArray(i)).object){var u=s.object=Object.create(o);this.known.add(u),a.sorted.forEach(function(e,t){u[e]=i[c+t]}),!1!==globalThis.__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}();function Kt(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Yt=function(){function e(e){var t=this;this.knownResults=new(x.et?WeakMap:Map),this.config=(0,Ct.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:Rt(e)}),this.canon=e.canon||new Ht,this.executeSelectionSet=(0,Me.LV)(function(e){var n,r=e.context.canonizeResults,o=Kt(e);o[3]=!r;var i=(n=t.executeSelectionSet).peek.apply(n,o);return i?r?(0,m.Cl)((0,m.Cl)({},i),{result:t.canon.admit(i.result)}):i:(Bt(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||ae.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Kt,makeCacheKey:function(e,t,n,r){if(Wt(n.store))return n.store.makeCacheKey(e,(0,he.A_)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,Me.LV)(function(e){return Bt(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||ae.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;
2if(Wt(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Ht},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,o=void 0===r?"ROOT_QUERY":r,i=e.variables,a=e.returnPartialData,s=void 0===a||a,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;i=(0,m.Cl)((0,m.Cl)({},(0,S.wY)((0,S.AT)(n))),i);var f,d=(0,he.WU)(o),p=this.executeSelectionSet({selectionSet:(0,S.Vn)(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,m.Cl)({store:t,query:n,policies:l,variables:i,varString:(0,Ne.M)(i),canonizeResults:u},Mt(n,this.config.fragments))});if(p.missing&&(f=[new _t(Jt(p.missing),p.missing,n,i)],!s))throw f[0];return{result:p.result,complete:!f,missing:f}},e.prototype.isFresh=function(e,t,n,r){if(Wt(r.store)&&this.knownResults.get(e)===n){var o=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,o=e.enclosingRef,i=e.context;if((0,he.A_)(r)&&!i.policies.rootTypenamesById[r.__ref]&&!i.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var a,s=i.variables,c=i.policies,u=i.store.getFieldValue(r,"__typename"),l=[],f=new U;function d(e,t){var n;return e.missing&&(a=f.merge(a,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&l.push({__typename:u});var p=new Set(n.selections);p.forEach(function(e){var n,h;if((0,T.MS)(e,s))if((0,he.dt)(e)){var v=c.readField({fieldName:e.name.value,field:e,variables:i.variables,from:r},i),y=(0,he.ue)(e);void 0===v?we.added(e)||(a=f.merge(a,((n={})[y]="Can't find field '".concat(e.name.value,"' on ").concat((0,he.A_)(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):(0,M.c)(v)?v.length>0&&(v=d(t.executeSubSelectedArray({field:e,array:v,enclosingRef:o,context:i}),y)):e.selectionSet?null!=v&&(v=d(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:v,enclosingRef:(0,he.A_)(v)?v:o,context:i}),y)):i.canonizeResults&&(v=t.canon.pass(v)),void 0!==v&&l.push(((h={})[y]=v,h))}else{var m=(0,ve.HQ)(e,i.lookupFragment);if(!m&&e.kind===pe.b.FRAGMENT_SPREAD)throw(0,g.vA)(10,e.name.value);m&&c.fragmentMatches(m,u)&&m.selectionSet.selections.forEach(p.add,p)}});var h={result:F(l),missing:a},v=i.canonizeResults?this.canon.admit(h):(0,Xe.G)(h);return v.result&&this.knownResults.set(v.result,n),v},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,i=e.enclosingRef,a=e.context,s=new U;function c(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,M.c)(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:i,context:a}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,he.A_)(e)?e:i,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,P.U)(n)&&((0,g.V1)(!(0,he.A_)(n),11,function(e,t){return(0,he.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}(a.store,r,e),e)}),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function Jt(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(t){return t}}var $t=n(906),Xt=n(6563),Zt=Object.create(null);function en(e){var t=JSON.stringify(e);return Zt[t]||(Zt[t]=Object.create(null))}function tn(e){var t=en(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=rn(e,function(e){var o=sn(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&Tt.call(t,e[0])&&(o=sn(t,e,an)),(0,g.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(n.typename,":").concat(JSON.stringify(o))})}function nn(e){var t=en(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,o=n.variables,i=n.fieldName,a=rn(e,function(e){var n=e[0],i=n.charAt(0);
2if("@"!==i)if("$"!==i){if(t)return sn(t,e)}else{var a=n.slice(1);if(o&&Tt.call(o,a)){var s=e.slice(0);return s[0]=a,sn(o,s)}}else if(r&&(0,M.E)(r.directives)){var c=n.slice(1),u=r.directives.find(function(e){return e.name.value===c}),l=u&&(0,he.MB)(u,o);return l&&sn(l,e.slice(1))}}),s=JSON.stringify(a);return(t||"{}"!==s)&&(i+=":"+s),i})}function rn(e,t){var n=new U;return on(e).reduce(function(e,r){var o,i=t(r);if(void 0!==i){for(var a=r.length-1;a>=0;--a)(o={})[r[a]]=i,i=o;e=n.merge(e,i)}return e},Object.create(null))}function on(e){var t=en(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach(function(t,o){(0,M.c)(t)?(on(t).forEach(function(e){return n.push(r.concat(e))}),r.length=0):(r.push(t),(0,M.c)(e[o+1])||(n.push(r.slice(0)),r.length=0))})}return t.paths}function an(e,t){return e[t]}function sn(e,t,n){return n=n||an,cn(t.reduce(function e(t,r){return(0,M.c)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function cn(e){return(0,P.U)(e)?(0,M.c)(e)?e.map(cn):rn(Object.keys(e).sort(),function(t){return sn(e,t)}):e}function un(e){return void 0!==e.args?e.args:e.field?(0,he.MB)(e.field,e.variables):null}var ln=function(){},fn=function(e,t){return t.fieldName},dn=function(e,t,n){return(0,n.mergeObjects)(e,t)},pn=function(e,t){return t},hn=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,m.Cl)({dataIdFromObject:xt},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,r=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var i,a=t&&t.storeObject||e,s=(0,m.Cl)((0,m.Cl)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=yn(arguments,a);return r.readField(e,{store:r.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),u=c&&c.keyFn||this.config.dataIdFromObject;return tt.withValue(!0,function(){for(;u;){var t=u((0,m.Cl)((0,m.Cl)({},e),a),s);if(!(0,M.c)(t)){i=t;break}u=tn(t)}}),i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],o=r.queryType,i=r.mutationType,a=r.subscriptionType,s=(0,m.Tt)(r,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),i&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),Tt.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]})},e.prototype.updateTypePolicy=function(e,t,n){var r=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?dn:!1===t?pn:e.merge}a(r,t.merge),r.keyFn=!1===o?ln:(0,M.c)(o)?tn(o):"function"==typeof o?o:r.keyFn,i&&Object.keys(i).forEac
2h(function(t){var r=n[t];r&&(null==r?void 0:r.typename)===e||(r=n[t]={typename:e});var o=i[t];if("function"==typeof o)r.read=o;else{var s=o.keyArgs,c=o.read,u=o.merge;r.keyFn=!1===s?fn:(0,M.c)(s)?nn(s):"function"==typeof s?s:r.keyFn,"function"==typeof c&&(r.read=c),a(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||fn)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,g.V1)(!r||r===e,6,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(At);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!Tt.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,o){if(n.test(e)){var i=t.supertypeMap.get(o);i&&i.forEach(function(e){return r.add(e)})}})),r&&r.size&&r.forEach(function(e){var r=t.getTypePolicy(e),o=r.fields,i=(0,m.Tt)(r,["fields"]);Object.assign(n,i),Object.assign(n.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(n){t.updateTypePolicy(e,n,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!n||!this.fuzzySubtypes.size),l=!1,f=0;f<s.length;++f){var d=s[f];if(d.has(i))return a.has(i)||(l&&!1!==globalThis.__DEV__&&g.V1.warn(7,t,i),a.add(i)),!0;d.forEach(c),u&&f===s.length-1&&Dt(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);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,o=this.getFieldPolicy(n,r),i=o&&o.keyFn;if(i&&n)for(var a={typename:n,fieldName:r,field:e.field||null,variables:e.variables},s=un(e);i;){var c=i(s,a);if(!(0,M.c)(c)){t=c||r;break}i=nn(c)}return void 0===t&&(t=e.field?(0,he.Ii)(e.field,e.variables):(0,he.o5)(r,un(e))),!1===t?r:r===Nt(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var o=this.getStoreFieldName(e),i=Nt(o),a=t.store.getFieldValue(n,o),s=this.getFieldPolicy(e.typename,i),c=s&&s.read;if(c){var u=vn(this,n,e,t,t.store.getStorage((0,he.A_)(n)?n.__ref:n,o));return dt.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t),o=r&&r.merge;return!o&&n&&(o=(r=this.getTypePolicy(n))&&r.merge),o},e.prototype.runMergeFunction=function(e,t,n,r,o){var i=n.field,a=n.typename,s=n.merge;return s===dn?mn(r.store)(e,t):s===pn?t:(r.overwrite&&(e=void 0),s(e,t,vn(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:r.variables},r,o||Object.create(null))))},e}();function vn(e,t,n,r,o){var i=e.getStoreFieldName(n),a=Nt(i),s=n.variables||r.variables,c=r.store,u=c.toReference,l=c.canRead;return{args:un(n),field:n.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:he.A_,toReference:u,storage:o,cache:e.cache,canRead:l,readField:function(){return e.readField(yn(arguments,t,s),r)},mergeObjects:mn(r.store)}}function yn(e,t,n){var r,o=e[0],i=e[1],a=e.length;return"string"==typeof o?r={fieldName:o,from:a>1?i:t}:(r=(0,m.Cl)({},o),Tt.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&g.V1.warn(8,(0,Xt.p)(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function mn(e){return function(t,n){if((0,M.c)(t)||(0,M.c)(n))throw(0,g.vA)(9);if((0,P.U)(t)&&(0,P.U)(n)){var r=e.getFieldValue(t,"__typename"),o=e.getFieldValue(n,"__typename");if(r&&o&&r!==o)return n;if((0,he.A_)(t)&&Pt(n))return e.merge(t.__ref,n),t;if(Pt(t)&&(0,he.A_)(n))return e.merge(t,n.__ref),n;if(Pt(t)&&Pt(n))return(0,m.Cl)((0,m.Cl)({},t),n)}return n}}function gn(e,t,n){var r="".concat(t).concat(n),o=e.flavors.get(r);return o||e.flavors.set(r,o=e.clientOnly===t&&e.deferred===n?e:(0,m.Cl)((0,m.Cl)({},e),{clientOnly:t,deferred:n})),o}var bn=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,o=t.result,i=t.dataId,a=t.variables,s=t.overwrite,c=(0,S.Vu)(r),u=new U;a=(0,m.Cl)((0,m.Cl)({},(0,S.wY)(c)),a);var l=(0,m.Cl)((0,m.Cl)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:a,varString:(0,Ne.M)(a)},Mt(r,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),f=this.processSelectionSet({result:o||Object.create(null),dataId:i,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!(0,he.A_)(f))throw(0,g.vA)(12,o);
2return l.incomingById.forEach(function(t,r){var o=t.storeObject,i=t.mergeTree,a=t.fieldNodeSet,s=(0,he.WU)(r);if(i&&i.map.size){var c=n.applyMerges(i,s,o,l);if((0,he.A_)(c))return;o=c}if(!1!==globalThis.__DEV__&&!l.overwrite){var u=Object.create(null);a.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});Object.keys(o).forEach(function(e){(function(e){return!0===u[Nt(e)]})(e)&&!function(e){var t=i&&i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,n,r){var o=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},i=o(e);if(!i)return;var a=o(t);if(!a)return;if((0,he.A_)(i))return;if((0,Ae.L)(i,a))return;if(Object.keys(i).every(function(e){return void 0!==r.getFieldValue(a,e)}))return;var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=Nt(n),u="".concat(s,".").concat(c);if(Cn.has(u))return;Cn.add(u);var l=[];(0,M.c)(i)||(0,M.c)(a)||[i,a].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)});!1!==globalThis.__DEV__&&g.V1.warn(15,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,m.Cl)({},i),(0,m.Cl)({},a))}(s,o,e,l.store)})}e.merge(r,o)}),e.retain(f.__ref),f},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,o=e.selectionSet,i=e.context,a=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=n&&s.rootTypenamesById[n]||(0,he.D$)(r,o,i.fragmentMap)||n&&i.store.get(n,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=yn(arguments,c,i.variables);if((0,he.A_)(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var n=s.readField((0,m.Cl)((0,m.Cl)({},e),{from:t.storeObject}),i);if(void 0!==n)return n}}return s.readField(e,i)},f=new Set;this.flattenFields(o,r,i,u).forEach(function(e,n){var o,i=(0,he.ue)(n),d=r[i];if(f.add(n),void 0!==d){var p=s.getStoreFieldName({typename:u,fieldName:n.name.value,field:n,variables:e.variables}),h=On(a,p),v=t.processFieldValue(d,n,n.selectionSet?gn(e,!1,!1):e,h),y=void 0;n.selectionSet&&((0,he.A_)(v)||Pt(v))&&(y=l("__typename",v));var m=s.getMergeFunction(u,n.name.value,y);m?h.info={field:n,typename:u,merge:m}:_n(a,p),c=e.merge(c,((o={})[p]=v,o))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||we.added(n)||s.getReadFunction(u,n.name.value)||!1!==globalThis.__DEV__&&g.V1.error(13,(0,he.ue)(n),r)});try{var d=s.identify(r,{typename:u,selectionSet:o,fragmentMap:i.fragmentMap,storeObject:c,readField:l}),p=d[0],h=d[1];n=n||p,h&&(c=i.merge(c,h))}catch(S){if(!n)throw S}if("string"==typeof n){var v=(0,he.WU)(n),y=i.written[n]||(i.written[n]=[]);if(y.indexOf(o)>=0)return v;if(y.push(o),this.reader&&this.reader.isFresh(r,v,o,i))return v;var b=i.incomingById.get(n);return b?(b.storeObject=i.merge(b.storeObject,c),b.mergeTree=wn(b.mergeTree,a),f.forEach(function(e){return b.fieldNodeSet.add(e)})):i.incomingById.set(n,{storeObject:c,mergeTree:En(a)?void 0:a,fieldNodeSet:f}),v}return c},e.prototype.processFieldValue=function(e,t,n,r){var o=this;return t.selectionSet&&null!==e?(0,M.c)(e)?e.map(function(e,i){var a=o.processFieldValue(e,t,n,On(r,i));return _n(r,i),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,$t.m)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,he.D$)(t,e,n.fragmentMap));var o=new Map,i=this.cache.policies,a=new De.b(!1);return function e(s,c){var u=a.lookup(s,c.clientOnly,c.deferred);u.visited||(u.visited=!0,s.selections.forEach(function(a){if((0,T.MS)(a,n.variables)){var s=c.clientOnly,u=c.deferred;if(s&&u||!(0,M.E)(a.directives)||a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var r=(0,he.MB)(e,n.variables);r&&!1===r.if||(u=!0)}}),(0,he.dt)(a)){var l=o.get(a);l&&(s=s&&l.clientOnly,u=u&&l.deferred),o.set(a,gn(n,s,u))}else{var f=(0,ve.HQ)(a,n.lookupFragment);if(!f&&a.kind===pe.b.FRAGMENT_SPREAD)throw(0,g.vA)(14,a.name.value);f&&i.fragmentMatches(f,r,t,n.variables)&&e(f.selectionSet,gn(n,s,u))}}}))}(e,n),o},e.prototype.applyMerges=function(e,t,n,r,o){var i,a=this;if(e.map.size&&!(0,he.A_)(n)){var s,c=(0,M.c)(n)||!(0,he.A_)(t)&&!Pt(t)?void 0:t,u=n;c&&!o&&(o=[(0,he.A_)(c)?c.__ref:c]);var l=function(e,t){return(0,M.c)(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};
2e.map.forEach(function(e,t){var n=l(c,t),i=l(u,t);if(void 0!==i){o&&o.push(t);var f=a.applyMerges(e,n,i,r,o);f!==i&&(s=s||new Map).set(t,f),o&&(0,g.V1)(o.pop()===t)}}),s&&(n=(0,M.c)(u)?u.slice(0):(0,m.Cl)({},u),s.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,o&&(i=r.store).getStorage.apply(i,o)):n},e}(),Sn=[];function On(e,t){var n=e.map;return n.has(t)||n.set(t,Sn.pop()||{map:new Map}),n.get(t)}function wn(e,t){if(e===t||!t||En(t))return e;if(!e||En(e))return t;var n=e.info&&t.info?(0,m.Cl)((0,m.Cl)({},e.info),t.info):e.info||t.info,r=e.map.size&&t.map.size,o={info:n,map:r?new Map:e.map.size?e.map:t.map};if(r){var i=new Set(t.map.keys());e.map.forEach(function(e,n){o.map.set(n,wn(e,t.map.get(n))),i.delete(n)}),i.forEach(function(n){o.map.set(n,wn(t.map.get(n),e.map.get(n)))})}return o}function En(e){return!e||!(e.info||e.map.size)}function _n(e,t){var n=e.map,r=n.get(t);r&&En(r)&&(Sn.push(r),n.delete(t))}var Cn=new Set;var Tn=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new je(we),n.assumeImmutableResults=!0,n.makeVar=yt,n.txCount=0,!1!==globalThis.__DEV__&&((0,O.cc)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,O.cc)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),n.config=function(e){return(0,Ct.o)(kt,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new hn({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,m.C6)(t,e),t.prototype.init=function(){var e=this.data=new Vt.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.addTypenameTransform.resetCache(),null==r||r.resetCaches(),this.storeWriter=new bn(this,this.storeReader=new Yt({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Rt(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,Me.LV)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||ae.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(Wt(n)){var r=e.optimistic,o=e.id,i=e.variables;return n.makeCacheKey(e.query,e.callback,(0,Ne.M)({optimistic:r,id:o,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&(0,O.cc)(e,"canonizeResults","cache.read");var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,m.Cl)((0,m.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(r){if(r instanceof _t)return null;throw r}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(Tt.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!1!==globalThis.__DEV__&&(0,O.cc)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,m.Cl)((0,m.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,n=this;return this.watches.size||ht(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&&vt(n),n.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,O.cc)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),Ne.M.reset(),ce.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((0,he.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&g.V1.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(Tt.call(e,"id"))return!1;e=(0,m.Cl)((0,m.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),Ne.M.reset(),e&&e.discardWatches?(this.watches.forEac
2h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),vt(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,o=e.optimistic,i=void 0===o||o,a=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var o=n,i=o.data,a=o.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=a}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,m.Cl)((0,m.Cl)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,c):!1===i?c(this.data):c(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,m.Cl)((0,m.Cl)({},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){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=this,r=e.lastDiff,o=(0,O.lz)("canonizeResults",function(){return n.diff(e)});t&&(e.optimistic&&"string"==typeof t.optimistic&&(o.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,o,r))||r&&(0,Ae.L)(r.result,o.result)||e.callback(e.lastDiff=o,r)},t}(Et);!1!==globalThis.__DEV__&&(Tn.prototype.getMemoryInternals=se.cM);var In=n(3146),xn=n(6174),kn=function(e){var t=e.client,n=e.children,r=(0,xn.l)(),o=In.useContext(r),i=In.useMemo(function(){return(0,m.Cl)((0,m.Cl)({},o),{client:t||o.client})},[o,t]);return(0,g.V1)(i.client,71),In.createElement(r.Provider,{value:i},n)};function Rn(){return Rn.c||(Rn.c=n.n(r()))}r();const An=(0,u.z)();var Nn=e=>{let t=e.children;const n=(0,s.WB)(),r=n.getAccessTokenSilently,o=n.loginWithRedirect,i=(0,c.useMemo)(()=>{const e=new xe({uri:An.graphql,fetch:Rn()()}),t=(n=async(e,t)=>{let n=t.headers,i="";try{i=await r({authorizationParams:{audience:An.auth0.audience}})}catch(a){const e=a.error||"";"missing_refresh_token"!==e&&"invalid_grant"!==e||o(),console.error(a),i=""}return{headers:Object.assign({},n,{authorization:i?"Bearer "+i:""})}},new C(function(e,t){var r=(0,m.Tt)(e,[]);return new b.c(function(o){var i,a=!1;return Promise.resolve(r).then(function(t){return n(t,e.getContext())}).then(e.setContext).then(function(){a||(i=t(e).subscribe({next:o.next.bind(o),error:o.error.bind(o),complete:o.complete.bind(o)}))}).catch(o.error.bind(o)),function(){a=!0,i&&i.unsubscribe()}})}));var n;return new St({link:Ot([t,e]),cache:new Tn})},[r,o]);return(0,p.jsx)(kn,{client:i,children:t})},Dn=n(6691),Pn=n(9447);const Mn=(0,u.z)().auth0,Ln=e=>{(0,Dn.navigate)((null==e?void 0:e.returnTo)||"/",{replace:!0})};var jn=e=>{let t=e.children;const n=(0,Pn.F)();return Mn.enabled?(0,p.jsx)(s.y2,{domain:Mn.domain,clientId:Mn.clientId,authorizationParams:{audience:Mn.audience,redirect_uri:"undefined"!=typeof window?""+window.location.origin+n+"/":""},onRedirectCallback:Ln,useRefreshTokens:!0,useRefreshTokensFallback:!0,cacheLocation:"localstorage",children:t}):t};var Fn=e=>{let t=e.children;return(0,p.jsxs)(p.Fragment,{children:[t,"PROD"===(0,u.J)()&&(0,p.jsx)(p.Fragment,{children:(0,p.jsx)(Dn.Script,{dangerouslySetInnerHTML:{__html:"\n(function(h,o,t,j,a,r){\n h.hj=
2h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};\n h._hjSettings={hjid:3758757,hjsv:6};\n a=o.getElementsByTagName('head')[0];\n r=o.createElement('script');r.async=1;\n r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;\n a.appendChild(r);\n})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');\n"}},"hotjar-qhack")})]})};const Vn=e=>{let t=e.element;return(0,p.jsx)(jn,{children:(0,p.jsx)(Nn,{children:(0,p.jsx)(l.Ay,{children:t})})})},Un=e=>{let t=e.element,n=e.props;return(0,p.jsx)(Fn,{children:(0,p.jsx)(y,Object.assign({},n,{children:t}))})},qn=e=>{const t=""!==e.routerProps.location.hash;return"undefined"==typeof window||t||window.scroll({top:0,left:0,behavior:"instant"}),!0}},1810:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var r=n(7502),o=n(6691),i=n(1085);const a=["children","to","offset","id","addClass","tabIndex","testId","onClick"];var s=e=>{let t=e.children,n=e.to,s=e.offset,c=void 0===s?80:s,u=e.id,l=void 0===u?"":u,f=e.addClass,d=void 0===f?"":f,p=e.tabIndex,h=void 0===p?0:p,v=e.testId,y=void 0===v?"":v,m=e.onClick,g=(0,r.A)(e,a);const b="undefined"!=typeof window,S=n.startsWith("#");return(0,i.jsx)(o.Link,Object.assign({id:l,className:"ScrollLink "+d,tabIndex:h,to:n,onClick:e=>{if(b&&S){e.preventDefault();const t=document.querySelector(n);if(t){const e=t.getBoundingClientRect(),r=window.scrollY||document.documentElement.scrollTop,o=e.top+r-c;window.scrollTo({top:o,behavior:"smooth"}),window.history.pushState({},"",n)}else window.location.href=n}null==m||m(e)},"data-testid":y||"internal-link"},g,{children:t}))},c=n(765);const u=["children","href","addClass","id","tabIndex"],l=["/dashboard","/privacy-policy","/terms-and-conditions","/code-of-conduct","/accessibility"],f=["pennylane.ai","xanadu.ai","qhack.ai"],d=e=>!!f.find(t=>e.includes(t));function p(e){let t=e.children,n=e.href,a=e.addClass,f=void 0===a?"":a,p=e.id,h=void 0===p?"":p,v=e.tabIndex,y=void 0===v?0:v,m=(0,r.A)(e,u);const g=l.some(e=>n.includes(e)),b=n.startsWith("/"),S=n.includes("/dashboard");if(b&&!g)return(0,i.jsx)(o.Link,Object.assign({tabIndex:y,to:n,className:f,"data-testid":"internal-link",id:h},m,{children:t}));const O=n.startsWith("#"),w="#coding-challenges"===n?110:void 0;return O?(0,i.jsx)(s,Object.assign({to:n,addClass:f,offset:w},m,{children:t})):(0,i.jsx)("a",Object.assign({tabIndex:y,href:S?""+(0,c.z)().dashboardOrigin+n:n,target:b?"_self":"_blank",rel:b?"":"noopener "+(d(n)?"":"noreferrer"),className:f,"data-testid":"external-link",id:h},m,{children:t}))}},9560:function(e,t,n){"use strict";n.d(t,{Ay:function(){return Te}});var r,o=n.cw(function(e,t){const r=a(),o=s(),i=n(9465).TF,c={},u={},l={},f={},d={};function p(e){return String("000"+(e||"")).slice(-3)}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function v(e,t){switch(e){case"official":return Array.isArray(t)?t[0]:t;case"all":return"string"==typeof t?[t]:t;case"alias":return Array.isArray(t)?t[1]||t[0]:t;default:throw new TypeError("LocaleNameType must be one of these: all, official, alias!")}}function y(e){return l[e]}function m(e){return u[e]}function g(e){const t=p(e);return m(f[t])}function b(e){const t=p(e);return f[t]}function S(e){if("string"==typeof e){if(/^[0-9]*$/.test(e))return b(e);if(2===e.length)return e.toUpperCase();if(3===e.length)return y(e.toUpperCase())}if("number"==typeof e)return b(e)}r.forEach(function(e){const t=e;u[t[0]]=t[1],l[t[1]]=t[0],f[t[2]]=t[0],d[t[0]]=t[2]}),t.registerLocale=function(e){if(!e.locale)throw new TypeError("Missing localeData.locale");if(!e.countries)throw new TypeError("Missing localeData.countries");c[e.locale]=e.countries},t.alpha3ToAlpha2=y,t.alpha2ToAlpha3=m,t.alpha3ToNumeric=function(e){return d[y(e)]},t.alpha2ToNumeric=function(e){return d[e]},t.numericToAlpha3=g,t.numericToAlpha2=b,t.toAlpha3=function(e){if("string"==typeof e){if(/^[0-9]*$/.test(e))return g(e);if(2===e.length)return m(e.toUpperCase());if(3===e.length)return e.toUpperCase()}if("number"==typeof e)return g(e)},t.toAlpha2=S,t.getName=function(e,t,n={}){"select"in n||(n.select="official");try{const r=c[t.toLowerCase()][S(e)];return v(n.select,r)}catch(r){return}},t.getNames=function(e,t={}){"select"in t||(t.select="official");const n=c[e.toLowerCase()];return void 0===n?{}:function(e,t){return Object.keys(e).reduce(function(n,r){const o=e[r];return n[r]=t(o,r),n},{})}(n,function(e){return v(t.select,e)})},t.getAlpha2Code=function(e,t){const n=e=>e.toLowerCase(),r=(e,t)=>n(e)===n(t);try{const n=c[t.toLowerCase()];for(const t in n)if(h(n,t)){if("string"==typeof n[t]&&r(n[t],e))return t;if(Array.isArray(n[t]))for(const o of n[t])if(r(o,e))return t}return}catch(o){return}},t.getSimpleAlpha2Code=function(e,t){const n=e=>i(e.toLowerCase()),r=(e,t)=>n(e)===n(t);try{const n=c[t.toLowerCase()];for(const t in n)if(h(n,t)){if("string"==typeof n[t]&&r(n[t],e))return t;if(Array.isArray(n[t]))for(const o of n[t])if(r(o,e))return t}return}catch(o){return}},t.getAlpha2Codes=function(){return u},t.getAlpha3Code=function(e,n){const r=t.getAlpha2Code(e,n);return r?t.toAlpha3(r):void 0},t.getSimpleAlpha3Code=function(e,n){const r=t.getSimpleAlpha2Code(e,n);return r?t.toAlpha3(r):void 0},t.getAlpha3Codes=function(){return l},t.getNumericCodes=function(){return f},t.langs=function(){return Object.keys(c)}
2,t.getSupportedLanguages=function(){return o},t.isValid=function(e){if(!e)return!1;const t=e.toString().toUpperCase();return h(l,t)||h(u,t)||h(f,t)}}),i=n.cw(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(1783),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default}),a=n.cw(function(e,t){var n=JSON.parse('[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TW
2N","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKK","983","ISO 3166-2:XK"]]');e.exports=n}),s=n.cw(function(e,t){var n=JSON.parse('["br","cy","dv","sw","eu","af","am","ha","ku","ml","mt","no","ps","sd","so","sq","ta","tg","tt","ug","ur","vi","ar","az","be","bg","bn","bs","ca","cs","da","de","el","en","es","et","fa","fi","fr","ga","gl","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km","ko","ky","lt","lv","mk","mn","mr","ms","nb","nl","nn","pl","pt","ro","ru","sk","sl","sr","sv","th","tk","tr","uk","uz","zh"]');e.exports=n}),c=n(7502),u=n(6123),l=n.n(u),f=n(1576),d=n(5608),p=n(3146),h=n(1507),v=n(571),y=n(1360).Sw?p.useLayoutEffect:p.useEffect,m=n(653),g=n(2035),b=n(7882);function S(){}var O=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"],w=["initialFetchPolicy","onCompleted","onError","defaultOptions","partialRefetch","canonizeResults"],E=["query","ssr","client","fetchPolicy","nextFetchPolicy","refetchWritePolicy","errorPolicy","pollInterval","notifyOnNetworkStatusChange","returnPartialData","skipPollAttempt"];function _(e,t){var n;if(!1!==globalThis.__DEV__){var o=t||{};(0,m.h)(o,"canonizeResults","useLazyQuery"),(0,m.h)(o,"variables","useLazyQuery","Pass all `variables` to the returned `execute` function instead."),(0,m.h)(o,"context","useLazyQuery","Pass `context` to the returned `execute` function instead."),(0,m.h)(o,"onCompleted","useLazyQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),(0,m.h)(o,"onError","useLazyQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."),(0,m.h)(o,"defaultOptions","useLazyQuery","Pass the options directly to the hook instead."),(0,m.h)(o,"initialFetchPolicy","useLazyQuery","Use the `fetchPolicy` option instead."),(0,m.h)(o,"partialRefetch","useLazyQuery")}var i=p.useRef(void 0),a=p.useRef(void 0),s=p.useRef(void 0),c=(0,h.l)(t,i.current||{}),u=null!==(n=null==c?void 0:c.query)&&void 0!==n?n:e;a.current=t,s.current=u;var l=(0,d.Cl)((0,d.Cl)({},c),{skip:!i.current}),f=(0,v.SX)(u,l),_=f.obsQueryFields,C=f.result,T=f.client,I=f.resultData,x=f.observable,k=f.onQueryExecuted,R=x.options.initialFetchPolicy||(0,v.kk)(l.defaultOptions,T.defaultOptions),A=p.useReducer(function(e){return e+1},0)[1],N=p.useMemo(function(){for(var e={},t=function(t){var n=_[t];e[t]=function(){return!1!==globalThis.__DEV__&&"reobserve"===t&&!1!==globalThis.__DEV__&&g.V1.warn(79),i.current||(i.current=Object.create(null),A()),n.apply(this,arguments)}},n=0,r=O;n<r.length;n++){t(r[n])}return e},[A,_]),D=!!i.current,P=p.useMemo(function(){return(0,d.Cl)((0,d.Cl)((0,d.Cl)({},C),N),{called:D})},[C,N,D]),M=(r||(r=p.createContext(null)),p.useCallback(function(){var e=console.error;try{return console.error=S,p.useContext(r),!0}catch(t){return!1}finally{console.error=e}},[])),L=p.useRef(new Set),j=p.useCallback(function(e){if(!1!==globalThis.__DEV__){M()&&!1!==globalThis.__DEV__&&g.V1.warn(80);for(var t=0,n=w;t<n.length;t++){var r=n[t];L.current.has(r)||((0,b.cc)(e||{},r,"useLazyQuery.execute"),L.current.add(r))}for(var o=0,c=E;o<c.length;o++){var l=c[o];L.current.has(l)||((0,b.cc)(e||{},l,"useLazyQuery.execute","Please pass the option to the `useLazyQuery` hook instead."),L.current.add(l))}}i.current=e?(0,d.Cl)((0,d.Cl)({},e),{fetchPolicy:e.fetchPolicy||R}):{fetchPolicy:R};var f=(0,h.l)(a.current,(0,d.Cl)({query:s.current},i.current)),p=function(e,t,n,r,o,i){var a=o.query||r,s=(0,v.Er)(n,a,o,!1)(t),
2c=t.reobserveAsConcast((0,v.t_)(t,n,o,s));return i(s),new Promise(function(r){var o;c.subscribe({next:function(e){o=e},error:function(){r((0,v.$X)(t.getCurrentResult(),e.previousData,t,n))},complete:function(){r((0,v.$X)(t.maskResult(o),e.previousData,t,n))}})})}(I,x,T,u,(0,d.Cl)((0,d.Cl)({},f),{skip:!1}),k).then(function(e){return Object.assign(e,N)});return p.catch(function(){}),p},[M,T,u,N,R,x,I,k]),F=p.useRef(j);y(function(){F.current=j});var V=p.useCallback(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return F.current.apply(F,e)},[]);return[V,P]}var C=n(5888),T=n(3650),I=n(3570),x=n(2991);var k=n(6941),R=n(4041);function A(){return A.c||(A.c=n.n(i()))}i();var N=n(289),D=n(4158),P=n(765),M="Registration",L={loggedIn:"Register now!",loggedOut:"Register now!"},j={eventNotStarted:{label:"Get ready for challenges",link:"/get-ready"},eventStarted:{label:"Challenge portal",link:"/dashboard/team"}},F={helpText:"You may change your username in your account settings on pennylane.ai. For additional support contact [email protected].",referText:"If a user referred you to QHack, please enter their username. You may only enter one referrer.",tooltipLabel:"Referral program info",tooltipText:"The top 10 referrers will receive an exclusive swag pack. Be sure to tell your friends and get them to register and enter your username!",nextButtonLabel:"Next",cancelButtonLabel:"Cancel",invalidUsernameError:"Username must be between 3-20 characters, and can only contain alphanumeric characters and underscores."},V={text:"Tell us a bit about your background - this information helps us improve our events! All information is optional.",country:{placeholder:"Select country",title:"What country will you be participating from?"},education:{placeholder:"Select education level",title:"What is your highest level of education?",options:["High School","Undergraduate","Masters","PhD","Other"]},experience:{placeholder:"Select experience",title:"What is your experience with quantum computing?",options:["None","I have a bit of experience","I'm a quantum computing hobbyist!","I work with quantum every day/am employed in the industry"]},referralSource:{placeholder:"Select source",title:"How did you hear about this event?",options:["Xanadu Newsletter","PennyLane Newsletter","PennyLane website","X / Twitter","Instagram","LinkedIn","Google","Discord","Slack","Word of mouth","Other"]},framework:{placeholder:"Select framework",title:"Which of the following quantum programming frameworks have you used before?",options:["PennyLane","Qiskit","Cirq","cuQuantum","CUDA Quantum","t|ket>","QuTip","Other"]},qhack:{placeholder:"Select option",title:"Have you attended past QHacks?",options:["Yes","No"]},nextButtonLabel:"Next",backButtonLabel:"Back"},U={terms:"I accept the [QHack Terms and Conditions](terms-and-conditions), [QHack Code of Conduct](/code-of-conduct), [Xanadu's Privacy Policy](privacy-policy), and [Xanadu's Accessibility Policy](/accessibility).*",electronicCommunication:"I consent to receive electronic communications from Xanadu regarding the QHack competition.*",newsletterSubscribe:"I consent to receive all other promotional communications from Xanadu.",registerButtonLabel:"Complete registration",backButtonLabel:"Back"},q={title:"Thank you for registering!",buttonLabel:"Back to QHack.ai"},B=n(9447),Q=n(9822),G=n(1810),z=n(1085);const W=["variant","children","className"],H=e=>{let t=e.variant,n=void 0===t?"primary":t,r=e.children,o=e.className,i=(0,c.A)(e,W);return(0,z.jsx)("button",Object.assign({className:(0,D.cn)("flex items-center justify-center h-10 gap-3 rounded px-5 text-2026-inverse w-full disabled:bg-gray-8 disabled:text-2026-form-gray-light",{primary:"bg-2026-form-blue text-2026-inverse",secondary:"bg-transparent text-2026-form-gray-light"}[n],o)},i,{children:r}))};o();var K=JSON.parse('{"locale":"en","countries":{"AF":"Afghanistan","AL":"Albania","DZ":"Algeria","AS":"American Samoa","AD":"Andorra","AO":"Angola","AI":"Anguilla","AQ":"Antarctica","AG":"Antigua and Barbuda","AR":"Argentina","AM":"Armenia","AW":"Aruba","AU":"Australia","AT":"Austria","AZ":"Azerbaijan","BS":"Bahamas","BH":"Bahrain","BD":"Bangladesh","BB":"Barbados","BY":"Belarus","BE":"Belgium","BZ":"Belize","BJ":"Benin","BM":"Bermuda","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia and Herzegovina","BW":"Botswana","BV":"Bouvet Island","BR":"Brazil","IO":"British Indian Ocean Territory","BN":"Brunei Darussalam","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CV":"Cape Verde","KY":"Cayman Islands","CF":"Central African Republic","TD":"Chad","CL":"Chile","CN":["People\'s Republic of China","China"],"CX":"Christmas Island","CC":"Cocos (Keeling) Islands","CO":"Colombia","KM":"Comoros","CG":["Republic of the Congo","Congo"],"CD":["Democratic Republic of the Congo","Congo"],"CK":"Cook Islands","CR":"Costa Rica","CI":["Cote d\'Ivoire","Côte d\'Ivoire","Ivory Coast"],"HR":"Croatia","CU":"Cuba","CY":"Cyprus","CZ":["Czech Republic","Czechia"],"DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","GQ":"Equatorial Guinea","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","FK":"Falkland Islands (Malvinas)","FO":"Faroe Islands","FJ":"Fiji","FI":"Finland","FR":"France","GF":"French Guiana","PF":"French Polynesia","TF":"French Southern Territories","GA":"Gabon","GM":["Republic of The Gambia","The Gambia","Gambia"],"GE":"Georgia","DE":"Germany","GH":"Ghana","GI":"Gibraltar","GR":"Greece","GL":"Greenland","GD":"Grenada","GP":"Guadeloupe","GU":"Guam","GT":"Guatemala","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HT":"Haiti","HM":"Heard Island and McDonald Islands","VA":"Holy See (Vatican City State)","HN":"Honduras","HK":"Hong Kong","HU":"Hungary","IS":"Iceland","IN":"India","ID":"Indonesia","IR":["Islamic Republic of Iran","Iran"],"IQ":"Iraq","IE":"Ireland","IL":"Israel","IT":"Italy","JM":"Jamaica","JP":"Japan","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KI":"Kiribati","KP":"North Korea","KR":["South Korea","Korea, Republic of","Republic of Korea"],"KW":"Kuwait","KG":"Kyrgyzstan","LA":"La
2o People\'s Democratic Republic","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LR":"Liberia","LY":"Libya","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","MO":"Macao","MG":"Madagascar","MW":"Malawi","MY":"Malaysia","MV":"Maldives","ML":"Mali","MT":"Malta","MH":"Marshall Islands","MQ":"Martinique","MR":"Mauritania","MU":"Mauritius","YT":"Mayotte","MX":"Mexico","FM":"Micronesia, Federated States of","MD":"Moldova, Republic of","MC":"Monaco","MN":"Mongolia","MS":"Montserrat","MA":"Morocco","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NR":"Nauru","NP":"Nepal","NL":["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],"NC":"New Caledonia","NZ":"New Zealand","NI":"Nicaragua","NE":"Niger","NG":"Nigeria","NU":"Niue","NF":"Norfolk Island","MK":["The Republic of North Macedonia","North Macedonia"],"MP":"Northern Mariana Islands","NO":"Norway","OM":"Oman","PK":"Pakistan","PW":"Palau","PS":["State of Palestine","Palestine"],"PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PN":["Pitcairn","Pitcairn Islands"],"PL":"Poland","PT":"Portugal","PR":"Puerto Rico","QA":"Qatar","RE":"Reunion","RO":"Romania","RU":["Russian Federation","Russia"],"RW":"Rwanda","SH":"Saint Helena","KN":"Saint Kitts and Nevis","LC":"Saint Lucia","PM":"Saint Pierre and Miquelon","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","ST":"Sao Tome and Principe","SA":"Saudi Arabia","SN":"Senegal","SC":"Seychelles","SL":"Sierra Leone","SG":"Singapore","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","SO":"Somalia","ZA":"South Africa","GS":"South Georgia and the South Sandwich Islands","ES":"Spain","LK":"Sri Lanka","SD":"Sudan","SR":"Suriname","SJ":"Svalbard and Jan Mayen","SZ":"Eswatini","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","TW":["Taiwan, Province of China","Taiwan"],"TJ":"Tajikistan","TZ":["United Republic of Tanzania","Tanzania"],"TH":"Thailand","TL":"Timor-Leste","TG":"Togo","TK":"Tokelau","TO":"Tonga","TT":"Trinidad and Tobago","TN":"Tunisia","TR":["Türkiye","Turkey"],"TM":"Turkmenistan","TC":"Turks and Caicos Islands","TV":"Tuvalu","UG":"Uganda","UA":"Ukraine","AE":["United Arab Emirates","UAE"],"GB":["United Kingdom","UK","Great Britain"],"US":["United States of America","United States","USA","U.S.A.","US","U.S."],"UM":"United States Minor Outlying Islands","UY":"Uruguay","UZ":"Uzbekistan","VU":"Vanuatu","VE":"Venezuela","VN":"Vietnam","VG":"Virgin Islands, British","VI":"Virgin Islands, U.S.","WF":"Wallis and Futuna","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe","AX":["Ã
land Islands","Aland Islands"],"BQ":"Bonaire, Sint Eustatius and Saba","CW":"Curaçao","GG":"Guernsey","IM":"Isle of Man","JE":"Jersey","ME":"Montenegro","BL":"Saint Barthélemy","MF":"Saint Martin (French part)","RS":"Serbia","SX":"Sint Maarten (Dutch part)","SS":"South Sudan","XK":"Kosovo"}}');const Y="OptionalRegistrationDetails",J=V,$=["Russia","Russian Federation","Belarus","North Korea","Iran","Islamic Republic of Iran","Libya","Somalia","Syrian Arab Republic"],X={Canada:"Canada (excluding Quebec)"},Z=e=>{var t;return null!==(t=X[e])&&void 0!==t?t:e};o().registerLocale(K);const ee=Object.values(o().getNames("en",{select:"official"})).filter(e=>!$.includes(e)).map(e=>{const t=Z(e);return{label:t,value:t}}),te=J.education.options.map(e=>({label:e,value:e})),ne=J.experience.options.map(e=>({label:e,value:e})),re=J.referralSource.options.map(e=>({label:e,value:e})),oe=J.framework.options.map(e=>({label:e,value:e})),ie=J.qhack.options.map(e=>({label:e,value:e}));var ae=e=>{let t=e.goToPreviousStep,n=e.onUpdateAnswers,r=e.userInformation;const o=(0,R.useState)({country:"",education:"",experience:"",referralSource:[],framework:[],attendQHackBefore:""}),i=o[0],a=o[1],s=[{title:J.country.title,options:ee,key:J.country.placeholder,selectedValueKey:"country",onChange:e=>a(Object.assign({},i,{country:e.value}))},{title:J.education.title,options:te,key:J.education.placeholder,selectedValueKey:"education",onChange:e=>a(Object.assign({},i,{education:e.value}))},{title:J.experience.title,options:ne,key:J.experience.placeholder,selectedValueKey:"experience",onChange:e=>a(Object.assign({},i,{experience:e.value}))},{title:J.referralSource.title,options:re,key:J.referralSource.placeholder,isMulti:!0,selectedValueKey:"referralSource",onChange:e=>{a(Object.assign({},i,{referralSource:e}))}},{title:J.framework.title,options:oe,isMulti:!0,key:J.framework.placeholder,selectedValueKey:"framework",onChange:e=>a(Object.assign({},i,{framework:e}))},{title:J.qhack.title,options:ie,key:J.qhack.placeholder,selectedValueKey:"attendQHackBefore",onCh
2ange:e=>a(Object.assign({},i,{attendQHackBefore:e.value}))}];return(0,R.useEffect)(()=>{r&&a({country:Z(r.country),education:r.education,experience:r.experience,referralSource:r.referralSource,framework:r.framework,attendQHackBefore:r.attendQHackBefore})},[r]),(0,z.jsxs)("form",{name:Y,onSubmit:e=>{e.preventDefault(),n(i)},"data-testid":"optional-register-form",autoComplete:"off",className:"mt-[14px]",children:[(0,z.jsx)("p",{className:"text-2026-small text-2026-form-gray-light text-center",children:J.text}),(0,z.jsx)("div",{className:"mb-4 text-sm",onKeyDown:e=>{"Enter"===e.key&&e.preventDefault()},children:s.map((e,t)=>(0,z.jsxs)("div",{className:"mt-[14px]",children:[(0,z.jsx)("label",{className:"mb-2 block text-2026-form-primary text-2026-small",htmlFor:"react-select-"+(t+2)+"-input",children:e.title}),(0,z.jsx)(N.l6,{isMulti:!!e.isMulti,className:"w-full",fieldLabel:e.key,fieldLabelHidden:!0,fieldName:e.selectedValueKey,formName:Y,placeholder:e.key,onChange:e.onChange,options:e.options,closeMenuOnSelect:!e.isMulti,blurInputOnSelect:!e.isMulti,value:i[e.selectedValueKey]?Array.isArray(i[e.selectedValueKey])?i[e.selectedValueKey]:{label:""+i[e.selectedValueKey],value:i[e.selectedValueKey]}:""})]},t))}),(0,z.jsxs)("div",{className:"mt-8",children:[(0,z.jsx)(H,{type:"submit",children:J.nextButtonLabel}),(0,z.jsx)(H,{variant:"secondary",type:"button",onClick:()=>t(),children:J.backButtonLabel})]})]})};const se=U;var ce=e=>{let t=e.goToPreviousStep,n=e.registerUser,r=e.updateSelection,o=e.userInformation;return(0,z.jsxs)("form",{name:"TermsAcceptForm",onSubmit:e=>{e.preventDefault(),n()},"data-testid":"terms-accept-form",autoComplete:"off",children:[(0,z.jsx)("div",{className:"mb-5 mt-6",children:(0,z.jsx)(N.Sc,{testId:"terms-checkbox",isChecked:o.termsAccepted,fieldName:"Terms",label:se.terms,onChange:e=>r(Object.assign({},o,{termsAccepted:e}))})}),(0,z.jsx)("div",{className:"mb-5",children:(0,z.jsx)(N.Sc,{testId:"electronic-communication-checkbox",isChecked:o.electronicCommunicationAccepted,fieldName:"Electronic Communication",label:se.electronicCommunication,onChange:e=>r(Object.assign({},o,{electronicCommunicationAccepted:e}))})}),(0,z.jsx)("div",{className:"mb-5",children:(0,z.jsx)(N.Sc,{testId:"newsletter-checkbox",isChecked:o.newsletterSubscribed,fieldName:"Newsletter Subscribe",label:se.newsletterSubscribe,onChange:e=>r(Object.assign({},o,{newsletterSubscribed:e}))})}),(0,z.jsx)("p",{className:"text-center text-2026-form-gray-light text-sm mb-6",children:"*Required"}),(0,z.jsxs)("div",{className:"w-[330px] mx-auto",children:[(0,z.jsx)(H,{type:"submit",disabled:!o.electronicCommunicationAccepted||!o.termsAccepted,children:se.registerButtonLabel}),(0,z.jsx)(H,{variant:"secondary",type:"button",onClick:()=>t(),children:se.backButtonLabel})]})]})};const ue=(0,f.J1)("\n query getProfile{\n me {\n handle\n }\n }\n"),le=F;var fe=e=>{let t=e.referredBy,n=e.onUsernameUpdate,r=e.goToNextStep,o=e.closeRegistration,i=e.usernameCharactersValid;const a=(0,R.useState)(""),s=a[0],c=a[1],u=(0,R.useState)(!0),l=u[0],f=u[1],d=(0,k.WB)(),p=d.isAuthenticated,h=d.user,y=(0,v.IT)(ue,{skip:!p}),m=y.data,g=y.loading;return(0,R.useEffect)(()=>{f(!!g)},[g]),(0,R.useEffect)(()=>{var e,t;m&&c(null!==(e=null==m||null===(t=m.me)||void 0===t?void 0:t.handle)&&void 0!==e?e:"")},[m]),(0,z.jsxs)("form",{onSubmit:e=>{e.preventDefault(),r()},className:"UserDetailsForm flex flex-col gap-4 mt-6","data-testid":"user-details-form",autoComplete:"off",children:[(0,z.jsxs)("div",{children:[(0,z.jsx)("label",{htmlFor:"username-input",children:"Username"}),(0,z.jsx)("input",{type:"text",id:"username-input",value:s||(l?"loading...":"Username not available"),disabled:!0,name:"username",readOnly:!0})]}),(0,z.jsxs)("div",{children:[(0,z.jsx)("label",{htmlFor:"email-input",children:"Email"}),(0,z.jsx)("input",{type:"text",id:"email-input",value:(null==h?void 0:h.email)||"Email not available",disabled:!0,name:"email",readOnly:!0})]}),(0,z.jsx)("p",{className:"text-sm text-2026-form-gray-light text-center font-sora leading-[140%]",children:le.helpText}),(0,z.jsxs)("div",{children:[(0,z.jsx)("p",{className:"text-2026-small text-2026-form-primary text-center mb-2",children:le.referText}),(0,z.jsx)("input",{type:"text",id:"referrer-username-input",placeholder:"username",value:t,onChange:e=>n(e.target.value||""),name:"refer-username",minLength:3,maxLength:20,required:!!t.length})]}),(0,z.jsxs)("div",{className:"flex flex-col gap-2 w-[330px] mx-auto",children:[(0,z.jsx)(H,{type:"submit",disabled:!i,children:le.nextButtonLabel}),(0,z.jsx)(H,{variant:"secondary",type:"button",onClick:()=>o(),children:le.cancelButtonLabel})]})]})};const de=["label","testId"],pe=(0,P.z)(),he="register",ve=function(e,t,n){void 0===t&&(t=""),void 0===n&&(n="");const r=n&&e.startsWith(n)?e.slice(n.length)||"/":e||"/",o=new URLSearchParams(t.startsWith("?")?t.slice(1):t);return o.set(he,"refer"),r+"?"+o.toString()},ye=/^[a-zA-Z0-9_]+$/,me=(0,f.J1)("\n query GetPlayerCurrent {\n player {\n id\n }\n }\n"),ge=(0,f.J1)("\n query GetEventDetails {\n events {\n id\n slug\n status\n registrationOpen\n teamsLocked\n }\n }\n"),be=(0,f.J1)("\n # Registers new users\n mutation PlayerCreate($meta: JSON!) {\n playerCreate(meta: $meta) {\n player {\n id\n }\n userError {\n field\n message\n }\n }\n }\n");var Se=function(e){return e[e.UserDetails=0]="UserDetails",e[e.OptionalDetails=1]="OptionalDetails",e[e.TermsAccept=2]="TermsAccept",e[e.Success=3]="Success",e}(Se||{});const Oe=M,we=q,Ee=j,_e=L,Ce=F.invalidUsernameError;var Te=e=>{var t;let n=e.showOnlyCTAWithoutModal,r=void 0!==n&&n,o=e.buttonVariant,i=void 0===o?"primary":o,a=e.buttonClassName,s=e.buttonIcon,u=e.registeredContent,f=e.trackingLocation;const v=(0,k.WB)(),g=v.user,b=v.isAuthenticated,S=v.loginWithRedirect,O=v.isLoading,w=(0,B.F)(),E=(0,R.useContext)(Q.BR),P=E.eventDetails,M=E.setEventDetails,L=E.playerDetails,j=E.setPlayerDetails,F=E.showRegisterModal,V=E.setShowRegisterModal,U=(0,R.useState)(Se.UserDetails),q=U[0],W=U[1],K=(0,R.useState)(!0),Y=K[0],J=K[1],$=(0,R.useState)(!1)[1],X=(0,R.useState)({referredBy:"",country:"",education:"",experience:"",referralSource:[],framework:[],attendQHackBefore:"",termsAccepted:!1,newsletterSubscribed:!1,electronicCommunicationAccepted:!1}),Z=X[0],ee=X[1],te=(0,R.useState)(null),ne=te[0],re=te[1],oe=_(ge),ie=oe[0],se=oe[1],ue=se.data,le=se.error,Te=_(me,{context:{headers:{"X-Event-ID":P.id}}}),xe=Te[0],ke=Te[1],Re=ke.data,Ae=ke.error,Ne=ke.loading,De=ke.called,Pe=function(e,t){!1!==globalThis.__DEV__&&(0,m.h)(t||{},"ignoreResults","useMutation","If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");var n=(0,x.m)(null==t?void 0:t.client);(0,T.D$)(e,T.KG.Mutation);var r=p.useState({called:!1,loading:!1,client:n}),o=r[0],i=r[1],a=p.useRef({result:o,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});y(function(){Object.assign(a.current,{client:n,options:t,mutation:e})});var s=p.useCallback(function(e){void 0===e&&(e={});var t=a.current,n=t.options,r=t.mutation,o=(0,d.Cl)((0,d.Cl)({},n),{mutation:r}),s=e.client||a.current.client;a.current.result.loading||o.ignoreResults||!a.current.isMounted||i(a.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});var c=++a.current.mutationId,u=(0,h.l)(o,e);return s.mutate(u).then(function(t){var n,r,o=t.data,l=t.errors,f=l&&l.length>0?new I.K4({graphQLErrors:l}):void 0,d=e.onError||(null===(n=a.current.options)||void 0===n?void 0:n.onError);if(f&&d&&d(f,u),c===a.current.mutationId&&!u.ignoreResults){var p={called:!0,loading:!1,data:o,error:f,client:s};a.current.isMounted&&!(0,C.L)(a.current.result,p)&&i(a.current.result=p)}var h=e.onCompleted||(null===(r=a.current.options)||void 0===r?void 0:r.onCompleted);return f||null==h||h(t.data,u),t},function(t){var n;if(c===a.current.mutationId&&a.current.isMounted){var r={loading:!1,error:t,data:void 0,called:!0,client:s};(0,C.L)(a.current.result,r)||i(a.current.result=r)}var o=e.onError||(null===(n=a.current.options)||void 0===n?void 0:n.onError);if(o)return o(t,u),{data:void 0,errors:t};throw t})},[]),c=p.useCallback(function(){if(a.current.isMounted){var e={called:!1,loading:!1,client:a.current.client};Object.assign(a.current,{mutationId:0,result:e}),i(e)}},[]);return p.useEffect(function(){var e=a.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[s,(0,d.Cl)({reset:c},o)]}(be,{context:{headers:{"X-Event-ID":P.id}}}),Me=Pe[0];(0,R.useEffect)(()=>{P.id||ie()},[]),(0,R.useEffect)(()=>
2{ue&&ue.events&&ue.events.length&&ue.events.forEach(e=>{e.slug===pe.activeEventSlug&&M(e)}),le&&$(!0)},[ue,le]),(0,R.useEffect)(()=>{Re&&Re.player&&Re.player.id&&j(Object.assign({},L,{id:Re.player.id||""})),Ae&&$(!0)},[Re,Ae]),(0,R.useEffect)(()=>{P.id&&!L.id&&!O&&b&&(Ne||xe())},[P.id,L.id,O,b]);const Le=e=>{e&&(0,D._E)("click",{event_category:"qhack_2026",event_label:"register_now",value:e})},je=()=>{if("undefined"!=typeof window&&"URLSearchParams"in window){const e=new URL(window.location.href);e.searchParams.delete(he),history.replaceState({},"",e.href)}V(!1)},Fe=P.teamsLocked?Ee.eventNotStarted:Ee.eventStarted,Ve=L.id||(null==Re||null===(t=Re.player)||void 0===t?void 0:t.id)||null,Ue=O||b&&!Ve&&(P.id?!De||Ne:!le),qe=(e=>{let t=e.isRegistered,n=e.isSignedIn,r=e.isResolving;return t?"registered":r?"resolving":n?"signedIn":"signedOut"})({isRegistered:Boolean(Ve),isSignedIn:b,isResolving:Ue});(0,R.useEffect)(()=>{"signedIn"===qe&&P.registrationOpen&&"undefined"!=typeof window&&new URLSearchParams(window.location.search).has(he)&&V(!0)},[qe,P.registrationOpen]),(0,R.useEffect)(()=>{if("undefined"==typeof window||!("URLSearchParams"in window))return;const e=new URL(window.location.href);F?(q===Se.UserDetails&&e.searchParams.set(he,"refer"),q===Se.OptionalDetails&&e.searchParams.set(he,"optional-details"),q===Se.TermsAccept&&e.searchParams.set(he,"accept-terms"),history.pushState({},"",e.href)):"registered"===qe&&(e.searchParams.delete(he),history.pushState({},"",e.href)),re(null)},[q,F,qe]);const Be={registered:{variant:i,label:Fe.label,href:Fe.link},signedIn:{variant:i,label:_e.loggedIn,onClick:()=>{P.registrationOpen&&(V(!0),Le(f))},disabled:!P.registrationOpen||Ne,testId:"signed-in-non-registered-user-button"},signedOut:{variant:i,label:_e.loggedOut,onClick:()=>{"undefined"!=typeof window&&(Le(f),S({appState:{returnTo:ve(window.location.pathname,window.location.search,w)}}))},testId:"signed-out-non-registered-user-button"},resolving:{variant:i,label:"Loading...",disabled:!0,testId:"register-cta-resolving"}}[qe],Qe=Be.label,Ge=Be.testId,ze=(0,c.A)(Be,de),We={[Se.UserDetails]:(0,z.jsx)(fe,{referredBy:Z.referredBy,usernameCharactersValid:Y,onUsernameUpdate:e=>{if(ee(Object.assign({},Z,{referredBy:e})),e){const t=new RegExp(ye).test(e);J(t),re(t?null:[{message:Ce}])}else re(null),J(!0)},goToNextStep:()=>W(Se.OptionalDetails),closeRegistration:je}),[Se.OptionalDetails]:(0,z.jsx)(ae,{userInformation:Z,goToPreviousStep:()=>W(Se.UserDetails),onUpdateAnswers:e=>{ee(Object.assign({},Z,e)),W(Se.TermsAccept)}}),[Se.TermsAccept]:(0,z.jsx)(ce,{userInformation:Z,goToPreviousStep:()=>W(Se.OptionalDetails),updateSelection:e=>ee(Object.assign({},Z,e)),registerUser:()=>{(async()=>{if(re(null),P.registrationOpen&&"FINISHED"!==P.status)try{const e=await Me({variables:{meta:Z}});j(Object.assign({},l()(e,"data.playerCreate.player",{}))),Z.newsletterSubscribed&&pe.newsletterMailchimp.baseURL&&pe.newsletterMailchimp.mailingList&&(0,D.Yr)({EMAIL:null==g?void 0:g.email},pe.newsletterMailchimp.baseURL,pe.newsletterMailchimp.mailingList),Z.electronicCommunicationAccepted&&pe.welcomeEmailMailchimp.baseURL&&pe.welcomeEmailMailchimp.mailingList&&(0,D.Yr)({EMAIL:null==g?void 0:g.email},pe.welcomeEmailMailchimp.baseURL,pe.welcomeEmailMailchimp.mailingList);const t=l()(e,"data.playerCreate.userError");t?re([t]):W(Se.Success)}catch(e){re([{message:"There was an error on the server, please try again later."}])}})()}}),[Se.Success]:(0,z.jsx)(H,{onClick:je,className:"mt-10 mb-6 w-[330px] mx-auto",children:we.buttonLabel})};return(0,z.jsxs)(z.Fragment,{children:[u&&"registered"===qe?u:(0,z.jsx)(N.fG,Object.assign({LinkComponent:G.A},ze,{"data-testid":Ge,"aria-busy":"resolving"===qe,"aria-label":"resolving"===qe?"Loading registration":void 0,className:a,icon:"resolving"===qe?null:s,children:Qe})),r?null:(0,z.jsxs)(A()(),{isOpen:F,onRequestClose:je,shouldCloseOnEsc:!1,shouldCloseOnOverlayClick:!1,className:"Register__modal",id:"register-modal",ariaHideApp:!1,testId:"register-modal",aria:{labelledby:"register-modal-title"},children:[(0,z.jsx)(Ie,{onClick:je}),(0,z.jsx)("h2",{id:"register-modal-title",className:(0,D.cn)("font-sora text-2026-form-navy font-bold text-center",q===Se.Success?"text-[31px] mt-6":"text-[30px] uppercase"),children:q===Se.Success?we.title:Oe}),We[q],ne&&ne.length&&(0,z.jsxs)("div",{className:"mb-4 mt-8 text-sm text-2026-form-error","data-testid":"register-form-errors",children:[(0,z.jsx)("p",{className:"font-semibold mb-2",children:"The following error(s) occurred:"}),(0,z.jsx)("ul",{className:"list-disc pl-4",children:ne.map((e,t)=>(0,z.jsx)("li",{children:e.message},"error-"+t))})]})]})]})};const Ie=e=>{let t=e.onClick;return(0,z.jsx)("button",{className:"absolute top-4 right-[19px] inline mt-0 size-6","aria-label":"close registration modal",onClick:t,children:(0,z.jsx)("i",{className:"bx bx-x text-2xl"})})}},9447:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(6691);const o=()=>{var e;const t=(0,r.useStaticQuery)("1340339594");return null!=t&&null!==(e=t.site)&&void 0!==e&&e.pathPrefix?t.site.pathPrefix:""}},9822:function(e,t,n){"use strict";var r=n(4041),o=n(1085);const i=(0,r.createContext)({eventDetails:{id:"",slug:"",status:"",registrationOpen:!1,teamsLocked:!0},setEventDetails:e=>{},playerDetails:{id:"",handle:""},setPlayerDetails:e=>{},showRegisterModal:!1,setShowRegisterModal:()=>null}),a=e=>{let t=e.children;const n=(0,r.useState)({id:"",slug:"",status:"",registrationOpen:!1,teamsLocked:!0}),a=n[0],s=n[1],c=(0,r.useState)({id:"",handle:""}),u=c[0],l=c[1],f=(0,r.useState)(!1),d=f[0],p=f[1];return(0,o.jsx)(i.Provider,{value:{eventDetails:a,setEventDetails:s,playerDetails:u,setPlayerDetails:l,showRegisterModal:d,setShowRegisterModal:p},children:t})};t.Ay=e=>{let t=e.children;return(0,o.jsx)(a,{children:t})},n.d(t,["BR",0,i])},3616:function(e,t,n){t.components={"component---src-pages-404-tsx":()=>n.e(453).then(n.bind(n,44)),"component---src-pages-accessibility-tsx":()=>n.e(377).then(n.bind(n,2348)),"component---src-pages-auth-setup-profile-tsx":()=>Promise.all([n.e(869),n.e(289)]).then(n.bind(n,4943)),"component---src-pages-auth-verify-email-tsx":()=>Promise.all([n.e(869),n.e(378)]).then(n.bind(n,5734)),"component---src-pages-code-of-conduct-tsx":()=>n.e(17).then(n.bind(n,4950)),"component---src-pages-faq-tsx":()=>Promise.all([n.e(869),n.e(74),n.e(925)]).then(n.bind(n,5896)),"component---src-pages-get-ready-tsx":()=>n.e(275).then(n.bind(n,5157)),"component---src-pages-index-tsx":()=>Promise.all([n.e(869),n.e(74),n.e(245)]).then(n.bind(n,5036)),"component---src-pages-privacy-policy-tsx":()=>n.e(756).then(n.bind(n,5051)),"component---src-pages-prizes-tsx":()=>Promise.all([n.e(869),n.e(734),n.e(74),n.e(24)]).then(n.bind(n,5037)),"component---src-pages-terms-and-conditions-tsx":()=>n.e(899).then(n.bind(n,9072))}},3818:function(e,t,n){e.exports=[{plugin:n(5518),options:{plugins:[],trackingIds:["G-Z9HT4JQQB3"],pluginConfig:{head:!0,exclude:["dev.qhack.ai/**"],respectDNT:!1,origin:"https://www.googletagmanager.com",delayOnRouteUpdate:0},gtagConfig:{}}},{plugin:n(2146),options:{plugins:[],id:"GTM-MXLS9SS8",includeInDevelopment:!1,defaultDataLayer:{type:"object",value:{platform:"gatsby"}},routeChangeEventName:"gatsby-route-change",enableWebVitalsTracking:!1,selfHostedOrigin:"https://www.googletagmanager.com",selfHostedPath:"gtm.js"}},{plugin:n(9663),options:{plugins:[],name:"QHack 2026: Quantum Coding Championship",short_name:"QHack",start_url:"/",background_color:"#114734",theme_color:"#114734",display:"standalone",icon:"static/favicon/favicon.png",icons:[{src:"/favicon/favicon-16x16.png",sizes:"16x16",type:"image/png"},{src:"/favicon/favicon-32x32.png",sizes:"32x32",type:"image/png"},{src:"/favicon/apple-touch-icon.png",sizes:"180x180",type:"image/png"},{src:"/favicon/android-chrome-192x192.png",sizes:"192x192",type:"image/png"},{src:"/favicon/android-chrome-512x512.png",sizes:"512x512",type:"image/png"}],legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"cdbb1659b0bb6949e8f1a4e66b50c27b"}},{plugin:n(2512),options:{plugins:[]}},{plugin:n(1798),options:{plugins:[]}}]},9579:function(e,t,n){const r=n(3818),o=n(890).Zf,i=o.getResourceURLsForPathname,a=o.loadPage,s=o.loadPageSync;t.N=function(e,t,n,o){void 0===t&&(t={});let c=r.map(n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=i,t.loadPage=a,t.loadPageSync=s;const r=n.plugin[e](t,n.options);return r&&o&&(t=o({args:t,result:r,plugin:n})),r});return c=c.filter(e=>void 0!==e),c.length>0?c:n?[n]:[]}
2,t.v=(e,t,n)=>r.reduce((n,r)=>r.plugin[e]?n.then(()=>r.plugin[e](t,r.options)):n,Promise.resolve())},767:function(e,t){t.U=()=>""},4758:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map(function(e){e(n)}),(e["*"]||[]).slice().map(function(e){e(t,n)})}}}()},6118:function(e,t,n){"use strict";n.d(t,{Yl:function(){return d},Hh:function(){return h},UA:function(){return p},QX:function(){return f}});var r=n(9125),o=n(9146),i=e=>{if(void 0===e)return e;let t=e.split("?"),n=t[0],r=t[1],o=void 0===r?"":r;return o&&(o="?"+o),"/"===n?"/"+o:"/"===n.charAt(n.length-1)?n.slice(0,-1)+o:n+o};n.dn(i);var a=n(6148);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const n=e.split("?"),r=n[0],o=n[1];t=r+"?"+encodeURIComponent(o)}const n=decodeURIComponent(t);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const f=e=>{c=e},d=e=>{const t=v(e),n=c.map(e=>{let t=e.path;return{path:e.matchPath,originalPath:t}}),o=(0,r.pick)(n,t);return o?i(o.route.originalPath):null},p=e=>{const t=v(e),n=c.map(e=>{let t=e.path;return{path:e.matchPath,originalPath:t}}),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const n=(0,a.X)(e);if(n)return h(n.toPath);let r=d(t);return r||(r=v(e)),s.set(t,r),r},v=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=i(t),t}},6691:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.N_},PageRenderer:function(){return i()},Script:function(){return _.Script},ScriptStrategy:function(){return _.ScriptStrategy},Slice:function(){return O},StaticQuery:function(){return c.de},StaticQueryContext:function(){return c.G},collectedScriptsByPage:function(){return _.collectedScriptsByPage},graphql:function(){return T},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return C},scriptCache:function(){return _.scriptCache},scriptCallbackCache:function(){return _.scriptCallbackCache},useScrollRestoration:function(){return a.RV},useStaticQuery:function(){return c.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var r=n(890),o=n(9746),i=n.n(o),a=n(9864),s=n(8850),c=n(5033),u=n(9140),l=n(7556),f=n(4041),d=n(7502),p=n(767),h=n(1613);const v=e=>{let t=e.sliceId,n=e.children;const r=[f.createElement("slice-start",{id:t+"-1"}),f.createElement("slice-end",{id:t+"-1"})];return n&&(r.push(n),r.push(f.createElement("slice-start",{id:t+"-2"}),f.createElement("slice-end",{id:t+"-2"}))),r};var y=n(1085);const m=["sliceName","allowEmpty","children"],g=e=>{let t=e.sliceName,n=e.allowEmpty,r=e.children,o=(0,d.A)(e,m);const i=(0,f.useContext)(h.Jr),a=(0,f.useContext)(h.hr),s=i[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,p.U)(t):e)(s,o);let u=a[c];return u?r&&(u.hasChildren=!0):a[c]=u={props:o,sliceName:s,hasChildren:!!r},(0,y.jsx)(v,{sliceId:c,children:r})},b=["sliceName","allowEmpty","children"],S=e=>{let t=e.sliceName,n=e.allowEmpty,r=e.children,o=(0,d.A)(e,b);const i=(0,f.useContext)(h.Jr),a=(0,f.useContext)(h.dd),s=i[t],c=a.get(s);if(!c){if(n)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}return(0,y.jsx)(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o,{children:r}))};function O(e){{const n=Object.assign({},e,{sliceName:e.alias});delete n.alias,delete n.__renderedByLocation;const r=(0,f.useContext)(h.j$),o=E(e);if(Object.keys(o).length)throw new w("browser"===r.renderEnvironment,n.sliceName,o,e.__renderedByLocation);if("server"===r.renderEnvironment)return(0,y.jsx)(g,Object.assign({},n));if("browser"===r.renderEnvironment)return(0,y.jsx)(S,Object.assign({},n));if("engines"===r.renderEnvironment||"dev-ssr"===r.renderEnvironment)return(0,y.jsx)(S,Object.assign({},n));if("slices"===r.renderEnvironment){let n="";try{n='\n\nSlice component "'+r.sliceRoot.name+'" ('+r.sliceRoot.componentPath+') tried to render <Slice alias="'+e.alias+'"/>'}catch(t){}throw new Error("Nested slices are not supported."+n+"\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices")}throw new Error('Slice context "'+r.renderEnvironment+'" is not supported.')}}let w=function(e){function t(n,r,o,i){var a;const s=Object.entries(o).map(e=>{let t=e[0];return'not serializable "'+e[1]+'" type passed to "'+t+'" prop'}).join(", "),c="SlicePropsError";let u="",l="";if(n){var d,p;let e="";if(f.captureOwnerStack){const t=f.captureOwnerStack(),n=(new Error).stack||"";e=t?n+"\n"+t:n}
2else e=null!==(d=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)&&void 0!==d&&null!==(p=d.ReactDebugCurrentFrame)&&void 0!==p&&p.getCurrentStack?f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack():(new Error).stack||"";const t=e.trim().split("\n").slice(1);t.length>0&&(t[0]=t[0].trim(),u="\n"+t.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(a,t),i&&(a.forcedLocation=Object.assign({},i,{functionName:"Slice"})),a}return(0,u.A)(t,e),t}((0,l.A)(Error));const E=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const o of Object.entries(e)){const e=o[0],i=o[1];if(null==i||!r&&"children"===e)continue;const a=r?r+"."+e:e;"function"==typeof i?t[a]=typeof i:"object"==typeof i&&n.indexOf(i)<=0&&(n.push(i),E(i,t,n,a))}return t};var _=n(9340);const C=r.Ay.enqueue;function T(){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.")}},890:function(e,t,n){"use strict";n.d(t,{Wi:function(){return l},N5:function(){return S},Ay:function(){return E},Rh:function(){return C},LE:function(){return _},Zf:function(){return w},iC:function(){return O}});var r=n(9140),o=n(107);const i=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e=>{o.setAttribute(e,t[e])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)})},a={};var s=function(e,t){return new Promise(n=>{a[e]?n():i(e,t).then(()=>{n(),a[e]=!0}).catch(()=>{})})},c=n(4758),u=n(6118);const l={Error:"error",Success:"success"},f=e=>{const t=e.split("?"),n=t[0],r=t[1];var o;return"/page-data/"+("/"===n?"index":(o="/"===(o=n)[0]?o.slice(1):o).endsWith("/")?o.slice(0,-1):o)+"/page-data.json"+(r?"?"+r:"")},d=e=>e.startsWith("//");function p(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 h=/bot|crawler|spider|crawling/i,v=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function y(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(()=>{y(e).then(t)},200)}})}let m=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,u.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=p(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 t=e.pagePath,n=e.retries,r=void 0===n?0:n,o=f(t);return this.memoizedGet(o).then(n=>{const o=n.status,i=n.responseText;if(200===o)try{const n=JSON.parse(i);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+="?"+r),Object.assign(e,{status:l.Success,payload:n})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:l.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0}
2)):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:l.Error})})},t.fetchPartialHydrationJson=function(e){const t=e.pagePath,n=e.retries,r=void 0===n?0:n,o=f(t).replace(".json","-rsc.json");return this.memoizedGet(o).then(n=>{const o=n.status,i=n.responseText;if(200===o)try{return Object.assign(e,{status:l.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:l.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:l.Error})})},t.loadPageDataJson=function(e){const t=(0,u.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))},t.loadPartialHydrationJson=function(e){const t=(0,u.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then(e=>(this.partialHydrationDb.set(t,e),e))}
2,t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return p("/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,u.Yl)(e)},t.loadPage=function(e){const t=(0,u.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const r=[this.loadAppData(),this.loadPageDataJson(t)];const i=Promise.all(r).then(e=>{const r=e[0],i=e[1],a=e[2];if(i.status===l.Error||(null==a?void 0:a.status)===l.Error)return{status:l.Error};let s=i.payload;const u=s,f=u.componentChunkName,d=u.staticQueryHashes,p=void 0===d?[]:d,h=u.slicesMap,m=void 0===h?{}:h,g={},b=Array.from(new Set(Object.values(m))),S=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(b.map(e=>this.loadSliceDataJson(e))).then(e=>{const u=[],d=(0,o.A)(p);for(const t of Object.values(e)){const e=t.jsonPayload,n=t.sliceName;u.push(Object.assign({name:n},e));for(const t of e.staticQueryHashes)d.includes(t)||d.push(t)}const h=[Promise.all(u.map(S)),this.loadComponent(f,"head")];h.push(this.loadComponent(f));const m=Promise.all(h).then(e=>{const t=e[0],o=e[1],c=e[2];g.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(g.status=l.Error,g.error=n);let u;if((!c||c instanceof Error)&&(g.status=l.Error,g.error=c),g.status!==l.Error){if(g.status=l.Success,!0!==i.notFound&&!0!==(null==a?void 0:a.notFound)||(g.notFound=!0),s=Object.assign(s,{webpackCompilationHash:r?r.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){u=v(s,null,o),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 n.e(878).then(n.t.bind(n,8878,23)).then(t=>y((0,t.createFromReadableStream)(e))).then(e=>(u.partialHydration=e,u))}u=v(s,c,o)}return u}),b=Promise.all(d.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 n=e.staticQueryHash,r=e.jsonPayload;t[n]=r,this.staticQueryDb[n]=r}),t});return Promise.all([m,b]).then(e=>{let n,r=e[0],o=e[1];return r&&(n=Object.assign({},r,{staticQueryResults:o}),g.payload=n,c.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,g),g.error?{error:g.error,status:g.status}:n}).catch(e=>({error:e,status:l.Error}))})});return i.then(()=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,i),i},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,u.Hh)(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||!h.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};
2t.promise=new Promise((e,n)=>{t.resolve=e,t.reject=n}),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",()=>{const t=this.prefetchQueued.findIndex(t=>t[0]===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=e[0],n=e[1];return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,u.Hh)(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 s(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,u.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=v(n.payload);return[].concat((0,o.A)(g(e.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){const t=(0,u.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then(t=>{const n=t.status,r=t.responseText;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o})},e}();const g=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);let b,S=function(e){function t(t,n,r){var o;return o=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&&o.pageDataDb.set((0,u.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then(e=>{if(e.status!==l.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=g(n);return Promise.all(r.map(s)).then(()=>t)})},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then(e=>e.notFound?d(t)?e:p(t,"HEAD").then(t=>200===t.status?{status:l.Error}:e):e)},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then(e=>e.notFound?d(t)?e:p(t,"HEAD").then(t=>200===t.status?{status:l.Error}:e):e)},t}(m);const O=e=>{b=e},w={enqueue:e=>b.prefetch(e),getResourceURLsForPathname:e=>b.getResourceURLsForPathname(e),loadPage:e=>b.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),b.loadPageSync(e,t)},prefetch:e=>b.prefetch(e),isPageNotFound:e=>b.isPageNotFound(e),hovering:e=>b.hovering(e),loadAppData:()=>b.loadAppData()};var E=w;function _(){return b?b.staticQueryDb:{}}function C(){return b?b.slicesDb:{}}},1177:function(e,t,n){"use strict";n.d(t,{A:function(){return R}});var r=n(4041),o=n(9067),i=n.n(o),a=n(9579),s=n(6118),c=n(107),u=n(6691),l=n(9125),f=n(4837);function d(e){let t=e.children,n=e.callback;return(0,r.useEffect)(()=>{n()}),t}const p=["link","meta","style","title","base","noscript","script","html","body"],h="itemProp",v="gatsby-do-not-hoist-me-react",y="data-original-tag",m=r.createContext(!1);function g(e){0}function b(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function S(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const d of e.childNodes){var o,i,a,s,u;if(!E(d))continue;const e=null!==(o=null===(i=d.attributes)||void 0===i||null===(a=i.getNamedItem(y))||void 0===a?void 0:a.value)&&void 0!==o?o:d.nodeName.toLowerCase(),p=null===(s=d.attributes)||void 0===s||null===(u=s.id)||void 0===u?void 0:u.value;if(w(e))if("html"===e||"body"===e)for(const n of d.attributes){if
2(n.name===y)continue;const r="style"===n.name;var l;if(t[e]=Object.assign({},t[e]),r||(t[e][n.name]=n.value),r)t[e].style=""+(null!==(l=t[e])&&void 0!==l&&l.style?t[e].style:"")+n.value+" "}else{let e=d.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),e.getAttribute(h)===v&&e.removeAttribute(h),"script"===e.nodeName.toLowerCase()&&(e=O(e)),p)if(n.has(p)){var f;const t=n.get(p);null===(f=r[t].parentNode)||void 0===f||f.removeChild(r[t]),r[t]=e}else r.push(e),n.set(p,r.length-1);else r.push(e)}else g();d.childNodes.length&&r.push.apply(r,(0,c.A)(S(d,t).validHeadNodes))}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function O(e){const t=document.createElement(e.nodeName);for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function w(e){return p.includes(e)}function E(e){return 1===e.nodeType}var _=n(1085);const C=document.createElement("div"),T={html:[],body:[]},I=()=>{var e;const t=S(C),n=t.validHeadNodes,r=t.htmlAndBodyAttributes;T.html=Object.keys(r.html),T.body=Object.keys(r.body),function(e){if(!e)return;const t=e.html,n=e.body,r=document.querySelector("html");
2r&&Object.entries(t).forEach(e=>{let t=e[0],n=e[1];r.setAttribute(t,n)});const o=document.querySelector("body");o&&Object.entries(n).forEach(e=>{let t=e[0],n=e[1];o.setAttribute(t,n)})}(r);const o=document.querySelectorAll("[data-gatsby-head]");var i;if(0===o.length)return void(i=document.head).append.apply(i,(0,c.A)(n));const a=[];!function(e){let t=e.oldNodes,n=e.newNodes,r=e.onStale,o=e.onNew;for(const i of t){const e=n.findIndex(e=>b(e,i));-1===e?r(i):n.splice(e,1)}for(const i of n)o(i)}({oldNodes:o,newNodes:n,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};if(18!==parseInt(r.version.split(".")[0],10)&&!r.createElement.headPatched){const e=r.createElement,t=function(e,t){function n(){return!!t||r.useContext(m)}return new Map(p.map(t=>[t,"html"===t||"body"===t?function(t){const r=r=>{if(n()){const n=Object.assign({},r,{[y]:t});return e("div",n)}return e(t,r)};return r.displayName="React19HeadAPICompat"+t,r}(t):function(t){const r=r=>{if(n()&&!(h in r)){const n=Object.assign({},r,{[h]:v});return e(t,n)}return e(t,r)};return r.displayName="React19HeadAPICompat"+t,r}(t)]))}(e,!1);r.createElement=function(n,o){const i=t.get(n);i&&(n=i);for(var a=arguments.length,s=new Array(a>2?a-2:0),c=2;c<a;c++)s[c-2]=arguments[c];return e.call.apply(e,[r,n,o].concat(s))},r.createElement.headPatched=!0}function x(e){let t=e.pageComponent,n=e.staticQueryResults,o=e.pageComponentProps;(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 r=(0,f.n)().render,i=(0,_.jsx)(t.Head,Object.assign({},{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext})),s=(0,a.N)("wrapRootElement",{element:i},i,e=>({element:e.result})).pop();r((0,_.jsx)(d,{callback:I,children:(0,_.jsx)(m.Provider,{value:!0,children:(0,_.jsx)(u.StaticQueryContext.Provider,{value:n,children:(0,_.jsx)(l.LocationProvider,{children:s})})})}),C)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const t=e.html,n=e.body;if(t){const e=document.querySelector("html");t.forEach(t=>{e&&e.removeAttribute(t)})}if(n){const e=document.querySelector("body");n.forEach(t=>{e&&e.removeAttribute(t)})}}(T)}})}function k(e){const t=Object.assign({},e,{params:Object.assign({},(0,s.UA)(e.location.pathname),e.pageResources.json.pageContext.__params)});let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,Object.assign({},t,{key:e.path||e.pageResources.page.path}));x({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.N)("wrapPageElement",{element:n,props:t},n,e=>({element:e.result,props:t})).pop()}k.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var R=k},5106:function(e,t,n){"use strict";var r=function(){return n(9579)},o=n.cw(function(e,t){r(),"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(function(e){e.addEventListener("updatefound",()=>{(0,r().N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r().N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r().N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r().N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r().N)("onServiceWorkerActive",{serviceWorker:e})}})})}).catch(function(e){console.error("Error during service worker registration:",e)})}),i=n(9140);r();var a=n(4041),s=n(9125),c=n(9864),u=n(5033),l=n(1613),f=n(890),d=n(6148),p=n(4758);const h={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 v=n(8850),y=n(1085);function m(e){const t=(0,d.X)(e),n=window.location,r=n.hash,o=n.search;return null!=t&&(window.___replace(t.toPath+o+r),!0)}let g="";window.addEventListener("unhandledrejection",e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)});const b=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,r().N)("onPreRouteUpdate",{location:e,prevLocation:t}))},S=(e,t)=>{m(e.pathname)||(0,r().N)("onRouteUpdate",{location:e,prevLocation:t})},O=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void s.globalHistory.navigate(e);const n=(0,v.Rr)(e),o=n.pathname,i=n.search,a=n.hash,c=(0,d.X)(o);if(c&&(e=c.toPath+i+a),window.___swUpdated)return void(window.location=o+i+a);const u=setTimeout(()=>{p.A.emit("onDelayedLoadPageResources",{pathname:o}),(0,r().N)("onRouteUpdateDelayed",{location:window.location})},1e3);f.Ay.loadPage(o+i).then(n=>{if(!n||n.status===f.Wi.Error)return window.history.replaceState({},"",location.href),window.location=o,void clearTimeout(u);n&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"
2in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=o+i+a),(0,s.navigate)(e,t),clearTimeout(u)})};function w(e,t){let n=t.location;const o=n.pathname,i=n.hash,a=(0,r().N)("shouldUpdateScroll",{prevRouterProps:e,pathname:o,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(a.length>0)return a[a.length-1];if(e){if(e.location.pathname===o)return i?decodeURI(i.slice(1)):[0,0]}return!0}let E=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,i.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame(()=>{let e="new page at "+this.props.location.pathname;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n="Navigated to "+e;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})},n.render=function(){return(0,y.jsx)("div",Object.assign({},h,{ref:this.announcementRef}))},t}(a.Component);const _=(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 C=function(e){function t(t){var n;return n=e.call(this,t)||this,b(t.location,null),n}(0,i.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){S(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!_(this.props.location,e.location)&&(b(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){_(e.location,this.props.location)&&S(this.props.location,e.location)},n.render=function(){return(0,y.jsxs)(a.Fragment,{children:[this.props.children,(0,y.jsx)(E,{location:location})]})},t}(a.Component);var T=n(1177),I=n(3616);function x(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var k=function(e,t,n){return x(e.props,t)||x(e.state,n)};n.dn(k);var R=function(e){function t(t){var n;n=e.call(this)||this;const r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||f.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,i.A)(t,e),t.getDerivedStateFromProps=function(e,t){let n=e.location;if(t.location.href!==n.href){return{pageResources:f.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}}return{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){f.Ay.loadPage(e).then(t=>{t&&t.status!==f.Wi.Error?this.setState({location:Object.assign({},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||(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)||k(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),A=n(9146),N=n(4837);const D=new f.N5(I,[],window.pageData);(0,f.iC)(D),D.setApiRunner(r().N);const P=(0,N.n)(),M=P.render,L=P.hydrate;window.asyncRequires=I,window.___emitter=p.A,window.___loader=f.Zf,s.globalHistory.listen(e=>{e.location.action=e.action}),window.___push=e=>O(e,{replace:!1}),window.___replace=e=>O(e,{replace:!0}),window.___navigate=(e,t)=>O(e,t);const j="gatsby-reload-compilation-hash-match";(0,r().v)("onClientEntry").then(()=>{const e=(e,t)=>{console.error("Uncaught error:",e,t),(0,r().N)("onUncaughtError",{error:e,errorInfo:t})},t=(e,t)=>{(0,r().N)("onCaughtError",{error:e,errorInfo:t})};(0,r().N)("registerServiceWorker").filter(Boolean).length>0&&o();const n=e=>(0,y.jsx)(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"},children:(0,y.jsx)(T.A,Object.assign({},e))}),d=a.createContext({}),p={renderEnvironment:"browser"};let h=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.A)(t,e),t.prototype.render=function(){const e=this.props.children;return(0,y.jsx)(s.Location,{children:t=>{let n=t.location;return(0,y.jsx)(R,{location:n,children:t=>{let n=t.pageResources,r=t.location;const o=(0,f.LE)(),i=(0,f.Rh)();return(0,y.jsx)(u.G.Provider,{value:o,children:(0,y.jsx)(l.j$.Provider,{value:p,children:(0,y.jsx)(l.dd.Provider,{value:i,children:(0,y.jsx)(l.Jr.Provider,{value:n.page.slicesMap,children:(0,y.jsx)(d.Provider,{value:{pageResources:n,location:r},children:e})})})})})}})}})},t}(a.Component),v=function(e){function t(){return e.apply(this,arguments)||this}return(0,i.A)(t,e),t.prototype.render=function(){return(0,y.jsx)(d.Consumer,{children:e=>{let t=e.pageResources,r=e.location;return(0,y.jsx)(C,{location:r,children:(0,y.jsx)(c.z_,{location:r,shouldUpdateScroll:w,
2children:(0,y.jsx)(s.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper",children:(0,y.jsx)(n,Object.assign({path:"/404.html"===t.page.path||"/500.html"===t.page.path?(0,A.A)(r.pathname,""):encodeURI((t.page.matchPath||t.page.path).split("?")[0])},this.props,{location:r,pageResources:t},t.json))})})})}})},t}(a.Component);const m=window,g=m.pagePath,b=m.location;g&&""+g!==b.pathname+(g.includes("?")?b.search:"")&&!(D.findMatchPath((0,A.A)(b.pathname,""))||g.match(/^\/(404|500)(\/?|.html)$/)||g.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)(""+g+(g.includes("?")?"":b.search)+b.hash,{replace:!0});const S=()=>{try{return sessionStorage}catch(e){return null}};f.Zf.loadPage(b.pathname+b.search).then(n=>{var o;const i=S();if(null!=n&&null!==(o=n.page)&&void 0!==o&&o.webpackCompilationHash&&n.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),i)){if(!("1"===i.getItem(j)))return i.setItem(j,"1"),void window.location.reload(!0)}if(i&&i.removeItem(j),!n||n.status===f.Wi.Error){const e="page resources for "+b.pathname+" not found. Not rendering React";if(n&&n.error)throw console.error(e),n.error;throw new Error(e)}const s=(0,r().N)("wrapRootElement",{element:(0,y.jsx)(v,{})},(0,y.jsx)(v,{}),e=>({element:e.result})).pop(),c=function(){const e=a.useRef(!1);return a.useEffect(()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,r().N)("onInitialClientRender"))},[]),(0,y.jsx)(h,{children:s})},u=document.getElementById("gatsby-focus-wrapper");let l=(n,r)=>M(n,r,{onUncaughtError:e,onCaughtError:t});u&&u.children.length&&(l=(n,r)=>L(n,r,{onUncaughtError:e,onCaughtError:t}));const d=(0,r().N)("replaceHydrateFunction",void 0,l)[0]||l;function p(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;d((0,y.jsx)(c,{}),e)}const m=document;if("complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll)setTimeout(function(){p()},0);else{const e=function(){m.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),p()};m.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}})})},5138:function(e,t,n){"use strict";n.r(t);var r=n(4041),o=n(890),i=n(1177);t.default=e=>{let t=e.location;const n=o.Ay.loadPageSync(t.pathname);return n?r.createElement(i.A,Object.assign({location:t,pageResources:n},n.json)):null}},9746:function(e,t,n){var r;e.exports=(r=n(5138))&&r.default||r},4837:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});const r=new WeakMap;function o(){const e=n(5873);return{render:function(t,n,o){void 0===o&&(o={});let i=r.get(n);if(!i){const t=o.onUncaughtError||o.onCaughtError?{onUncaughtError:o.onUncaughtError,onCaughtError:o.onCaughtError}:void 0;r.set(n,i=e.createRoot(n,t))}i.render(t)},hydrate:function(t,n,r){void 0===r&&(r={});const o=r.onUncaughtError||r.onCaughtError?{onUncaughtError:r.onUncaughtError,onCaughtError:r.onCaughtError}:void 0;return e.hydrateRoot(n,t,o)}}}},4439:function(e,t){t.polyfill=e=>e},6148:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});const r=new Map,o=new Map;function i(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach(e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)})},1613:function(e,t,n){"use strict";var r=n(4041);const o=r.createContext({}),i=r.createContext({}),a=r.createContext({}),s=r.createContext({});n.d(t,["Jr",0,a,"dd",0,o,"hr",0,s,"j$",0,i])},5033:function(e,t,n){"use strict";n.d(t,{de:function(){return u},G:function(){return i},GR:function(){return l}});var r=n(4041);n(6835);var o=n(1085);const i=(a="StaticQuery",s={},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]}(a,s):r.createContext(s));var a,s;function c(e){let t=e.staticQueryData,n=e.data,i=e.query,a=e.render;const s=n?n.data:t[i]&&t[i].data;return(0,o.jsxs)(r.Fragment,{children:[s&&a(s),!s&&(0,o.jsx)("div",{children:"Loading (StaticQuery)"})]})}const u=e=>{const t=e.data,n=e.query,r=e.render,a=e.children;return(0,o.jsx)(i.Consumer,{children:e=>(0,o.jsx)(c,{data:t,query:n,render:r||a,staticQueryData:e})})},l=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 { use
2StaticQuery, 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")}},9146: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,{A:function(){return r}})},1576:function(e,t,n){"use strict";n.d(t,{J1:function(){return X}});var r=n(5608);function o(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const i=/\r\n|[\n\r]/g;function a(e,t){let n=0,r=1;for(const a of e.body.matchAll(i)){if("number"==typeof a.index||o(!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,o=t.line-1,i=e.locationOffset.line-1,a=t.line+i,s=1===t.line?n:0,c=t.column+s,l=`${e.name}:${a}:${c}\n`,f=r.split(/\r\n|[\n\r]/g),d=f[o];if(d.length>120){const e=Math.floor(c/80),t=c%80,n=[];for(let r=0;r<d.length;r+=80)n.push(d.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+" |",f[o-1]],[`${a} |`,d],["|","^".padStart(c)],[`${a+1} |`,f[o+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")}class l extends Error{constructor(e,...t){var n,r,o;const{nodes:i,source:s,positions:c,path:u,originalError:d,extensions:p}=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!=d?d:void 0,this.nodes=f(Array.isArray(i)?i:i?[i]:void 0);const h=f(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 v="object"==typeof(y=null==d?void 0:d.extensions)&&null!==y?null==d?void 0:d.extensions:void 0;var y;this.extensions=null!==(o=null!=p?p:v)&&void 0!==o?o: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!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.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 f(e){return void 0===e||0===e.length?void 0:e}function d(e,t,n){return new l(`Syntax Error: ${n}`,{source:e,positions:[t]})}var p,h=n(9762);!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",e.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"}(p||(p={}));var v,y=n(2455),m=n(7714),g=n(5881);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}
2",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(v||(v={}));class b{constructor(e){const t=new h.ou(v.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!==v.EOF)do{if(e.next)e=e.next;else{const t=T(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===v.COMMENT);return e}}function S(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function O(e,t){return w(e.charCodeAt(t))&&E(e.charCodeAt(t+1))}function w(e){return e>=55296&&e<=56319}function E(e){return e>=56320&&e<=57343}function _(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return v.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function C(e,t,n,r,o){const i=e.line,a=1+n-e.lineStart;return new h.ou(t,n,r,i,a,o)}function T(e,t){const n=e.source.body,r=n.length;let o=t;for(;o<r;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return I(e,o);case 33:return C(e,v.BANG,o,o+1);case 36:return C(e,v.DOLLAR,o,o+1);case 38:return C(e,v.AMP,o,o+1);case 40:return C(e,v.PAREN_L,o,o+1);case 41:return C(e,v.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return C(e,v.SPREAD,o,o+3);break;case 58:return C(e,v.COLON,o,o+1);case 61:return C(e,v.EQUALS,o,o+1);case 64:return C(e,v.AT,o,o+1);case 91:return C(e,v.BRACKET_L,o,o+1);case 93:return C(e,v.BRACKET_R,o,o+1);case 123:return C(e,v.BRACE_L,o,o+1);case 124:return C(e,v.PIPE,o,o+1);case 125:return C(e,v.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?L(e,o):R(e,o)}if((0,g.yp)(t)||45===t)return x(e,o,t);if((0,g.un)(t))return j(e,o);throw d(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":S(t)||O(n,o)?`Unexpected character: ${_(e,o)}.`:`Invalid character: ${_(e,o)}.`)}return C(e,v.EOF,r,r)}function I(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r;){const e=n.charCodeAt(o);if(10===e||13===e)break;if(S(e))++o;else{if(!O(n,o))break;o+=2}}return C(e,v.COMMENT,t,o,n.slice(t+1,o))}function x(e,t,n){const r=e.source.body;let o=t,i=n,a=!1;if(45===i&&(i=r.charCodeAt(++o)),48===i){if(i=r.charCodeAt(++o),(0,g.yp)(i))throw d(e.source,o,`Invalid number, unexpected digit after 0: ${_(e,o)}.`)}else o=k(e,o,i),i=r.charCodeAt(o);if(46===i&&(a=!0,i=r.charCodeAt(++o),o=k(e,o,i),i=r.charCodeAt(o)),69!==i&&101!==i||(a=!0,i=r.charCodeAt(++o),43!==i&&45!==i||(i=r.charCodeAt(++o)),o=k(e,o,i),i=r.charCodeAt(o)),46===i||(0,g.un)(i))throw d(e.source,o,`Invalid number, expected digit but got: ${_(e,o)}.`);return C(e,a?v.FLOAT:v.INT,t,o,r.slice(t,o))}function k(e,t,n){if(!(0,g.yp)(n))throw d(e.source,t,`Invalid number, expected digit but got: ${_(e,t)}.`);const r=e.source.body;let o=t+1;for(;(0,g.yp)(r.charCodeAt(o));)++o;return o}function R(e,t){const n=e.source.body,r=n.length;let o=t+1,i=o,a="";for(;o<r;){const r=n.charCodeAt(o);if(34===r)return a+=n.slice(i,o),C(e,v.STRING,t,o+1,a);if(92===r){a+=n.slice(i,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?A(e,o):N(e,o):M(e,o);a+=t.value,o+=t.size,i=o;continue}if(10===r||13===r)break;if(S(r))++o;else{if(!O(n,o))throw d(e.source,o,`Invalid character within String: ${_(e,o)}.`);o+=2}}throw d(e.source,o,"Unterminated string.")}function A(e,t){const n=e.source.body;let r=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!S(r))break;return{value:String.fromCodePoint(r),size:o}}if(r=r<<4|P(e),r<0)break}throw d(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function N(e,t){const n=e.source.body,r=D(n,t+2);if(S(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(E(e))return{value:String.fromCodePoint(r,e),size:12}}throw d(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 M(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 d(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function L(e,t){const n=e.source.body,r=n.length;let o=e.lineStart,i=t+3,a=i,s="";const c=[];for(;i<r;){const r=n.charCodeAt(i);if(34===r&&34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)){s+=n.slice(a,i),c.push(s);const r=C(e,v.BLOCK_STRING,t,i+3,(0,m.OC)(c).join("\n"));return e.line+=c.length-1,e.lineStart=o,r}if(92!==r||34!==n.charCodeAt(i+1)||34!==n.charCodeAt(i+2)||34!==n.charCodeAt(i+3))if(10!==r&&13!==r)if(S(r))++i;
vendor: 16,384 bytes, line 2
2else{if(!O(n,i))throw d(e.source,i,`Invalid character within String: ${_(e,i)}.`);i+=2}else s+=n.slice(a,i),c.push(s),13===r&&10===n.charCodeAt(i+1)?i+=2:++i,s="",a=i,o=i;else s+=n.slice(a,i),a=i+1,i+=4}throw d(e.source,i,"Unterminated string.")}function j(e,t){const n=e.source.body,r=n.length;let o=t+1;for(;o<r;){const e=n.charCodeAt(o);if(!(0,g.xr)(e))break;++o}return C(e,v.NAME,t,o,n.slice(t,o))}var F=n(3217),V=n(5198);const U=globalThis.process&&!0?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;const r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=(0,V.N)(e);throw new Error(`Cannot use ${r} "${t}" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.`)}}return!1};class q{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,F.U)(!1,`Body must be a string. Received: ${(0,V.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,F.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,F.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class B{constructor(e,t={}){const{lexer:n,...r}=t;if(n)this._lexer=n;else{const t=function(e){return U(e,q)}(e)?e:new q(e);this._lexer=new b(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(v.NAME);return this.node(e,{kind:y.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:y.b.DOCUMENT,definitions:this.many(v.SOF,this.parseDefinition,v.EOF)})}parseDefinition(){if(this.peek(v.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===v.BRACE_L)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===v.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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw d(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(v.BRACE_L))return this.node(e,{kind:y.b.OPERATION_DEFINITION,operation:h.cE.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseDescription(),n=this.parseOperationType();let r;return this.peek(v.NAME)&&(r=this.parseName()),this.node(e,{kind:y.b.OPERATION_DEFINITION,operation:n,description:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(v.NAME);switch(e.value){case"query":return h.cE.QUERY;case"mutation":return h.cE.MUTATION;case"subscription":return h.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(v.PAREN_L,this.parseVariableDefinition,v.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:y.b.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(v.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(v.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(v.DOLLAR),this.node(e,{kind:y.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:y.b.SELECTION_SET,selections:this.many(v.BRACE_L,this.parseSelection,v.BRACE_R)})}parseSelection(){return this.peek(v.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(v.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:y.b.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(v.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(v.PAREN_L,t,v.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(v.COLON),this.node(t,{kind:y.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(v.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(v.NAME)?this.node(e,{kind:y.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:y.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token,t=this.parseDescription();return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:y.b.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:y.b.FRAGMENT_DEFINITION,description:t,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 v.BRACKET_L:return this.parseList(e);case v.BRACE_L:return this.parseObject(e);case v.INT:return this.advanceLexer(),this.node(t,{kind:y.b.INT,value:t.value});case v.FLOAT:return this.advanceLexer(),this.node(t,{kind:y.b.FLOAT,value:t.value});case v.STRING:case v.BLOCK_STRING:return this.parseStringLiteral();case v.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:y.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:y.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:y.b.NULL});default:return this.node(t,{kind:y.b.ENUM,value:t.value})}case v.DOLLAR:if(e){if(this.expectToken(v.DOLLAR),this._lexer.token.kind===v.NAME){const e=this._lexer.token.value;throw d(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.b.STRING,value:e.value,block:e.kind===v.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:y.b.LIST,values:this.any(v.BRACKET_L,()=>this.parseValueLiteral(e),v.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:y.b.OBJECT,fields:this.any(v.BRACE_L,()=>this.parseObjectField(e),v.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(v.COLON),this.node(t,{kind:y.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(v.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(v.AT),this.node(t,{kind:y.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(v.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(v.BRACKET_R),t=this.node(e,{kind:y.b.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(v.BANG)?this.node(e,{kind:y.b.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:y.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(v.STRING)||this.peek(v.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(v.BRACE_L,this.parseOperationTypeDefinition,v.BRACE_R);return this.node(e,{kind:y.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(v.COLON);const n=this.parseNamedType();return this.node(e,{kind:y.b.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.b.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(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:y.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(v.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(v.BRACE_L,this.parseFieldDefinition,v.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(v.COLON);const o=this.parseTypeReference(),i=this.parseConstDirectives();return this.node(e,{kind:y.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:o,directives:i})}parseArgumentDefs(){return this.optionalMany(v.PAREN_L,this.parseInputValueDef,v.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(v.COLON);const r=this.parseTypeReference();let o;this.expectOptionalToken(v.EQUALS)&&(o=this.parseConstValueLiteral());const i=this.parseConstDirectives();return this.node(e,{kind:y.b.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:o,directives:i})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),o=this.parseConstDirectives(),i=this.parseFieldsDefinition();return this.node(e,{kind:y.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:o,fields:i})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseUnionMemberTypes();return this.node(e,{kind:y.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:o})}parseUnionMemberTypes(){return this.expectOptionalToken(v.EQUALS)?this.delimitedMany(v.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),o=this.parseEnumValuesDefinition();return this.node(e,{kind:y.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:o})}parseEnumValuesDefinition(){return this.optionalMany(v.BRACE_L,this.parseEnumValueDefinition,v.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:y.b.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 d(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(),o=this.parseInputFieldsDefinition();return this.node(e,{kind:y.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:o})}parseInputFieldsDefinition(){return this.optionalMany(v.BRACE_L,this.parseInputValueDef,v.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===v.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();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(v.BRACE_L,this.parseOperationTypeDefinition,v.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:y.b.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.b.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(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:y.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===o.length)throw this.unexpected();return this.node(e,{kind:y.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:o})}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.b.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.b.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.nod
2e(e,{kind:y.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinitionExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(v.AT);const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:y.b.DIRECTIVE_EXTENSION,name:t,directives:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(v.AT);const n=this.parseName(),r=this.parseArgumentDefs(),o=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(e,{kind:y.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,directives:o,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(v.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(p,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){const e=this._lexer.token,t=this.expectOptionalToken(v.AT),n=this.parseName();let r,o;return!t&&this.expectOptionalToken(v.DOT)&&(r=this.parseName()),(t||r)&&this.expectOptionalToken(v.PAREN_L)&&(o=this.parseName(),this.expectToken(v.COLON),this.expectToken(v.PAREN_R)),t?o?this.node(e,{kind:y.b.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:o}):this.node(e,{kind:y.b.DIRECTIVE_COORDINATE,name:n}):r?o?this.node(e,{kind:y.b.ARGUMENT_COORDINATE,name:n,fieldName:r,argumentName:o}):this.node(e,{kind:y.b.MEMBER_COORDINATE,name:n,memberName:r}):this.node(e,{kind:y.b.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new h.aZ(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 d(this._lexer.source,t.start,`Expected ${G(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!==v.NAME||t.value!==e)throw d(this._lexer.source,t.start,`Expected "${e}", found ${Q(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===v.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return d(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(t.kind!==v.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw d(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function Q(e){const t=e.value;return G(e.kind)+(null!=t?` "${t}"`:"")}function G(e){return function(e){return e===v.BANG||e===v.DOLLAR||e===v.AMP||e===v.PAREN_L||e===v.PAREN_R||e===v.DOT||e===v.SPREAD||e===v.COLON||e===v.EQUALS||e===v.AT||e===v.BRACKET_L||e===v.BRACKET_R||e===v.BRACE_L||e===v.PIPE||e===v.BRACE_R}(e)?`"${e}"`:e}var z=new Map,W=new Map,H=!0,K=!1;function Y(e){return e.replace(/[\s,]+/g," ").trim()}function J(e){var t=new Set,n=[];return e.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,o=Y((a=e.loc).source.body.substring(a.start,a.end)),i=W.get(r);i&&!i.has(o)?H&&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"):i||W.set(r,i=new Set),i.add(o),t.has(o)||
2(t.add(o),n.push(e))}else n.push(e);var a}),(0,r.Cl)((0,r.Cl)({},e),{definitions:n})}function $(e){var t=Y(e);if(!z.has(t)){var n=function(e,t){const n=new B(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}(e,{experimentalFragmentVariables:K,allowLegacyFragmentVariables:K,experimentalFragmentArguments:K});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");z.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}(J(n)))}return z.get(t)}function X(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]}),$(r)}var Z,ee=X,te=function(){z.clear(),W.clear()},ne=function(){H=!1},re=function(){K=!0},oe=function(){K=!1};(Z=X||(X={})).gql=ee,Z.resetCaches=te,Z.disableFragmentWarnings=ne,Z.enableExperimentalFragmentVariables=re,Z.disableExperimentalFragmentVariables=oe,X.default=X},5098:function(e,t,n){var r=n(3305),o=n(9361),i=n(1112),a=n(5276),s=n(7452);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},1386:function(e,t,n){var r=n(2393),o=n(2049),i=n(7144),a=n(5071),s=n(3964);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},9770:function(e,t,n){var r=n(4715)(n(8942),"Map");e.exports=r},8250:function(e,t,n){var r=n(9753),o=n(5681),i=n(88),a=n(4732),s=n(9068);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=i,c.prototype.has=a,c.prototype.set=s,e.exports=c},5650:function(e,t,n){var r=n(8942).Symbol;e.exports=r},5111:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}},7034:function(e,t,n){var r=n(6285);e.exports=function(e,t){for(var n=e.length;n--;
vendor: 6,550 bytes, line 2
2)if(r(e[n][0],t))return n;return-1}},7923:function(e,t,n){var r=n(3526),o=n(6040);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}},7379:function(e,t,n){var r=n(5650),o=n(8870),i=n(9005),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},9624:function(e,t,n){var r=n(3655),o=n(4759),i=n(1580),a=n(4066),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,d=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?d:s).test(a(e))}},2291:function(e,t,n){var r=n(5650),o=n(5111),i=n(3142),a=n(1187),s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}},3526:function(e,t,n){var r=n(3142),o=n(5187),i=n(6493),a=n(5243);e.exports=function(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}},1950:function(e,t,n){var r=n(8942)["__core-js_shared__"];e.exports=r},4967:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},4700:function(e,t,n){var r=n(1448);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},4715:function(e,t,n){var r=n(9624),o=n(155);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},8870:function(e,t,n){var r=n(5650),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(c){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}},155:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},3305:function(e,t,n){var r=n(4497);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},9361:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},1112:function(e,t,n){var r=n(4497),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},5276:function(e,t,n){var r=n(4497),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},7452:function(e,t,n){var r=n(4497);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},5187:function(e,t,n){var r=n(3142),o=n(1187),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},1448:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},4759:function(e,t,n){var r,o=n(1950),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},2393:function(e){e.exports=function(){this.__data__=[],this.size=0}},2049:function(e,t,n){var r=n(7034),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}},7144:function(e,t,n){var r=n(7034);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},5071:function(e,t,n){var r=n(7034);e.exports=function(e){return r(this.__data__,e)>-1}},3964:function(e,t,n){var r=n(7034);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},9753:function(e,t,n){var r=n(5098),o=n(1386),i=n(9770);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},5681:function(e,t,n){var r=n(4700);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},88:function(e,t,n){var r=n(4700);e.exports=function(e){return r(this,e).get(e)}},4732:function(e,t,n){var r=n(4700);e.exports=function(e){return r(this,e).has(e)}},9068:function(e,t,n){var r=n(4700);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},9234:function(e,t,n){var r=n(9011);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},4497:function(e,t,n){var r=n(4715)(Object,"create");e.exports=r},9005:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},8942:function(e,t,n){var r=n(4967),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},6493:function(e,t,n){var r=n(9234),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},6040:function(e,t,n){var r=n(1187);e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},4066:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},6285:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6123:function(e,t,n){var r=n(7923);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},3142:function(e){var t=Array.isArray;e.exports=t},3655:function(e,t,n){var r=n(7379),o=n(1580);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1580:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},547:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},1187:function(e,t,n){var r=n(7379),o=n(547);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},9011:function(e,t,n){var r=n(8250);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},5243:function(e,t,n){var r=n(2291);e.exports=function(e){return null==e?"":r(e)}},1783:function(e,t,n){"use strict";
vendor: 21,175 bytes, line 2
2Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4041),a=h(i),s=h(n(3144)),c=h(n(9067)),u=h(n(8305)),l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(3977)),f=n(5907),d=h(f),p=n(4439);function h(e){return e&&e.__esModule?e:{default:e}}function v(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var y=t.portalClassName="ReactModalPortal",m=t.bodyOpenClassName="ReactModal__Body--open",g=f.canUseDOM&&void 0!==s.default.createPortal,b=function(e){return document.createElement(e)},S=function(){return g?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function O(e){return e()}var w=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,c=Array(i),l=0;l<i;l++)c[l]=arguments[l];return n=o=v(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),o.removePortal=function(){!g&&s.default.unmountComponentAtNode(o.node);var e=O(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=S()(o,a.default.createElement(u.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},v(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){f.canUseDOM&&(g||(this.node=b("div")),this.node.className=this.props.portalClassName,O(this.props.parentSelector).appendChild(this.node),!g&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:O(e.parentSelector),nextParent:O(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(f.canUseDOM){var r=this.props,o=r.isOpen,i=r.portalClassName;e.portalClassName!==i&&(this.node.className=i);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!g&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(f.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return f.canUseDOM&&g?(!this.node&&g&&(this.node=b("div")),S()(a.default.createElement(u.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){l.setElement(e)}}]),t}(i.Component);w.propTypes={isOpen:c.default.bool.isRequired,style:c.default.shape({content:c.default.object,overlay:c.default.object}),portalClassName:c.default.string,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,className:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),overlayClassName:c.default.oneOfType([c.default.string,c.default.shape({base:c.default.string.isRequired,afterOpen:c.default.string.isRequired,beforeClose:c.default.string.isRequired})]),appElement:c.default.oneOfType([c.default.instanceOf(d.default),c.default.instanceOf(f.SafeHTMLCollection),c.default.instanceOf(f.SafeNodeList),c.default.arrayOf(c.default.instanceOf(d.default))]),onAfterOpen:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,ariaHideApp:c.default.bool,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,parentSelector:c.default.func,aria:c.default.object,data:c.default.object,role:c.default.string,contentLabel:c.default.string,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func},w.defaultProps={isOpen:!1,portalClassName:y,bodyOpenClassName:m,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return a.default.createElement("div",e,t)},contentElement:function(e,t){return a.default.createElement("div",e,t)}},w.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(w),t.default=w},8305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4041),s=y(n(9067)),c=v(n(9016)),u=y(n(6380)),l=v(n(3977)),f=v(n(5219)),d=n(5907),p=y(d),h=y(n(8709));function v(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function y(e){return e&&e.__esModule?e:{default:e}}n(6824);var m={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},g=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,i=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;i&&f.remove(s.body,i),o&&f.remove(s.getElementsByTagName("html")[0],o),r&&g>0&&0===(g-=1)&&l.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},function(){n.openAnimationFrame=requestAnimationFrame(function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})})}))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())})},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,u.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:m[e],afterOpen:m[e]+"--after-open",beforeClose:m[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(n,r){return n[e+"-"+r]=t[r],n},{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&f.add(a.body,o),r&&f.add(a.getElementsByTagName("html")[0],r),n&&(g+=1,l.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=n?{}:i.content,c=o?{}:i.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},c,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},l=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(l,a);return this.props.overlayElement(u,f)}}]),t}(a.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(p.default),s.default.instanceOf(d.SafeHTMLCollection),s.default.instanceOf(d.SafeNodeList),s.default.arrayOf(s.default.instanceOf(p.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=b,e.exports=t.default},3977:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s&&(s.removeAttribute?s.removeAttribute("aria-hidden"):null!=s.length?s.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(s).forEach(function(e){return e.removeAttribute("aria-hidden")}));s=null},t.log=function(){0},t.assertNodeList=c,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);c(n,t),t=n}return s=t||s},t.validateElement=u,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=u(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(a){n=!0,r=a}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=u(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(a){n=!0,r=a}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,o=n(4674),i=(r=o)&&r.__esModule?r:{default:r},a=n(5907);var s=null;function c(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function u(e){var t=e||s;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},6824:function(e,t,n){"use strict";var r,o=n(8709),i=(r=o)&&r.__esModule?r:{default:r};var a=void 0,s=void 0,c=[];function u(){0!==c.length&&c[c.length-1].focusContent()}i.default.subscribe(function(e,t){a||s||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",u),(s=a.cloneNode()).addEventListener("focus",u)),(c=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))})},5219:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var i=document.body;for(var a in r)o(i,r[a]);n={},r={}},t.log=function(){0};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),o.add(e)});var o,i},t.remove=function(e,t){return o=e.classList,i="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach(function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&o.remove(e)});var o,i}},9016:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){0},t.handleBlur=u,t.handleFocus=l,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(n){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",u,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",u),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",u),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",u),document.detachEvent("onFocus",l))};var r,o=n(3884),i=(r=o)&&r.__esModule?r:{default:r};var a=[],s=null,c=!1;function u(){c=!0}function l(){if(c){if(c=!1,!s)return;setTimeout(function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()},0)}}},8709:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(n){return n(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},5907:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=n(3842);var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=i.canUseDOM?window.NodeList:{},t.canUseDOM=i.canUseDOM;t.default=a},6380:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,s=n[0],c=n[n.length-1],u=a();if(e===u){if(!o)return;r=c}c!==u||o||(r=s);s===u&&o&&(r=c);if(r)return t.preventDefault(),void r.focus();var l=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==l||"Chrome"==l[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var f=n.indexOf(u);f>-1&&(f+=o?-1:1);if(void 0===(r=n[f]))return t.preventDefault(),void(r=o?c:s).focus();t.preventDefault(),r.focus()};var r,o=n(3884),i=(r=o)&&r.__esModule?r:{default:r};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?a(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},3884:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]);return n.filter(s)};var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function i(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),i=o.getPropertyValue("display");return t?i!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):i===n}catch(a){return console.warn("Failed to inspect element style"),!1}}function a(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),i(t))return!1;t=t.parentNode}return!0}(e)}function s(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&a(e,!n)}e.exports=t.default},3146:function(e,t,n){"use strict";
2e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(4041))},4674:function(e){"use strict";var t=function(){};e.exports=t},5372: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},1934:function(e,t,n){var r=n(9893);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},4293:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},9893: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},2027:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,(e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},8801:function(e,t,n){"use strict";var r=n(6412),o=n(8854),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},3321:function(e,t,n){"use strict";var r=n(1160),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},4794:function(e,t,n){"use strict";var r=n(8847),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},8524:function(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},343:function(e,t,n){"use strict";var r,o,i,a=n(8524),s=n(2333),c=n(61),u=n(6412),l=n(8847),f=n(9154),d=n(3966),p=n(8854),h=n(5560),v=n(5685),y=n(2757),m=n(5682),g=n(6890),b=n(2398),S=n(7722),O=n(1361),w=n(5230),E=w.enforce,_=w.get,C=c.Int8Array,T=C&&C.prototype,I=c.Uint8ClampedArray,x=I&&I.prototype,k=C&&g(C),R=T&&g(T),A=Object.prototype,N=c.TypeError,D=S("toStringTag"),P=O("TYPED_ARRAY_TAG"),M="TypedArrayConstructor",L=a&&!!b&&"Opera"!==d(c.opera),j=!1,F={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},V={BigInt64Array:8,BigUint64Array:8},U=function(e){var t=g(e);
vendor: 4,457 bytes, line 2
2if(l(t)){var n=_(t);return n&&f(n,M)?n[M]:U(t)}},q=function(e){if(!l(e))return!1;var t=d(e);return f(F,t)||f(V,t)};for(r in F)(i=(o=c[r])&&o.prototype)?E(i)[M]=o:L=!1;for(r in V)(i=(o=c[r])&&o.prototype)&&(E(i)[M]=o);if((!L||!u(k)||k===Function.prototype)&&(k=function(){throw new N("Incorrect invocation")},L))for(r in F)c[r]&&b(c[r],k);if((!L||!R||R===A)&&(R=k.prototype,L))for(r in F)c[r]&&b(c[r].prototype,R);if(L&&g(x)!==R&&b(x,R),s&&!f(R,D))for(r in j=!0,y(R,D,{configurable:!0,get:function(){return l(this)?this[P]:void 0}}),F)c[r]&&h(c[r].prototype,P,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:L,TYPED_ARRAY_TAG:j&&P,aTypedArray:function(e){if(q(e))return e;throw new N("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!b||m(k,e)))return e;throw new N(p(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n,r){if(s){if(n)for(var o in F){var i=c[o];if(i&&f(i.prototype,e))try{delete i.prototype[e]}catch(a){try{i.prototype[e]=t}catch(u){}}}R[e]&&!n||v(R,e,n?t:L&&T[e]||t,r)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(s){if(b){if(n)for(r in F)if((o=c[r])&&f(o,e))try{delete o[e]}catch(i){}if(k[e]&&!n)return;try{return v(k,e,n?t:L&&k[e]||t)}catch(i){}}for(r in F)!(o=c[r])||o[e]&&!n||v(o,e,t)}},getTypedArrayConstructor:U,isView:function(e){if(!l(e))return!1;var t=d(e);return"DataView"===t||f(F,t)||f(V,t)},isTypedArray:q,TypedArray:k,TypedArrayPrototype:R}},5154:function(e,t,n){"use strict";var r=n(4988),o=n(8211),i=n(6589),a=function(e){return function(t,n,a){var s=r(t),c=i(s);if(0===c)return!e&&-1;var u,l=o(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),q:a(!1)}},8053:function(e,t,n){"use strict";var r=n(3858);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){return 1},1)})}},5809:function(e,t,n){"use strict";var r=n(7169);e.exports=r([].slice)},863:function(e,t,n){"use strict";var r=n(5809),o=Math.floor,i=function(e,t){var n=e.length;if(n<8)for(var a,s,c=1;c<n;){for(s=c,a=e[c];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==c++&&(e[s]=a)}else for(var u=o(n/2),l=i(r(e,0,u),t),f=i(r(e,u),t),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)e[h+v]=h<d&&v<p?t(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return e};e.exports=i},3553:function(e,t,n){"use strict";var r=n(7169),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},3966:function(e,t,n){"use strict";var r=n(2209),o=n(6412),i=n(3553),a=n(7722)("toStringTag"),s=Object,c="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=s(e),a))?n:c?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},3742:function(e,t,n){"use strict";var r=n(9154),o=n(2560),i=n(1912),a=n(2642);e.exports=function(e,t,n){for(var s=o(t),c=a.f,u=i.f,l=0;l<s.length;l++){var f=s[l];r(e,f)||n&&r(n,f)||c(e,f,u(t,f))}}},40:function(e,t,n){"use strict";var r=n(3858);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},5560:function(e,t,n){"use strict";var r=n(2333),o=n(2642),i=n(2675);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},2675:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},2757:function(e,t,n){"use strict";var r=n(994),o=n(2642);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},5685:function(e,t,n){"use strict";var r=n(6412),o=n(2642),i=n(994),a=n(4942);e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:t;if(r(n)&&i(n,u,s),s.global)c?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(l){}c?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},4942:function(e,t,n){"use strict";var r=n(61),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},1449:function(e,t,n){"use strict";var r=n(8854),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+r(t)+" of "+r(e))}},2333:function(e,t,n){"use strict";var r=n(3858);e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}}
vendor: 4,351 bytes, line 2
2)[1]})},9334:function(e,t,n){"use strict";var r=n(61),o=n(8847),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},1146:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},5598:function(e,t,n){"use strict";var r=n(8732).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},1318:function(e,t,n){"use strict";var r=n(8732);e.exports=/MSIE|Trident/.test(r)},8732:function(e,t,n){"use strict";var r=n(61).navigator,o=r&&r.userAgent;e.exports=o?String(o):""},8656:function(e,t,n){"use strict";var r,o,i=n(61),a=n(8732),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},5356:function(e,t,n){"use strict";var r=n(8732).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},2941:function(e,t,n){"use strict";var r=n(61),o=n(1912).f,i=n(5560),a=n(5685),s=n(4942),c=n(3742),u=n(841);e.exports=function(e,t){var n,l,f,d,p,h=e.target,v=e.global,y=e.stat;if(n=v?r:y?r[h]||s(h,{}):r[h]&&r[h].prototype)for(l in t){if(d=t[l],f=e.dontCallGetSet?(p=o(n,l))&&p.value:n[l],!u(v?l:h+(y?".":"#")+l,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;c(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,l,d,e)}}},3858:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},6671:function(e,t,n){"use strict";var r=n(3858);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},5512:function(e,t,n){"use strict";var r=n(6671),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},6783:function(e,t,n){"use strict";var r=n(2333),o=n(9154),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:c,i2:u}},9281:function(e,t,n){"use strict";var r=n(7169),o=n(8801);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(i){}}},9195:function(e,t,n){"use strict";var r=n(3553),o=n(7169);e.exports=function(e){if("Function"===r(e))return o(e)}},7169:function(e,t,n){"use strict";var r=n(6671),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},2420:function(e,t,n){"use strict";var r=n(61),o=n(6412);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},6033:function(e,t,n){"use strict";var r=n(8801),o=n(7838);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},61:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9154:function(e,t,n){"use strict";var r=n(7169),o=n(4620),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},4900:function(e){"use strict";e.exports={}},6614:function(e,t,n){"use strict";var r=n(2333),o=n(3858),i=n(9334);e.exports=!r&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},992:function(e,t,n){"use strict";var r=n(7169),o=n(3858),i=n(3553),a=Object,s=r("".split);e.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?s(e,""):a(e)}:a},6853:function(e,t,n){"use strict";var r=n(7169),o=n(6412),i=n(3782),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},5230:function(e,t,n){"use strict";var r,o,i,a=n(1945),s=n(61),c=n(8847),u=n(5560),l=n(9154),f=n(3782),d=n(4360),p=n(4900),h="Object already initialized",v=s.TypeError,y=s.WeakMap;if(a||f.state){var m=f.state||(f.state=new y);m.get=m.get,m.has=m.has,m.set=m.set,r=function(e,t){if(m.has(e))throw new v(h);return t.facade=e,m.set(e,t),t},o=function(e){return m.get(e)||{}},i=function(e){return m.has(e)}}else{var g=d("state");p[g]=!0,r=function(e,t){if(l(e,g))throw new v(h);return t.facade=e,u(e,g,t),t},o=function(e){return l(e,g)?e[g]:{}},i=function(e){return l(e,g)}}
vendor: 4,292 bytes, line 2
2e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}}}},6412:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},841:function(e,t,n){"use strict";var r=n(3858),o=n(6412),i=/#|\.prototype\./,a=function(e,t){var n=c[s(e)];return n===l||n!==u&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},7838:function(e){"use strict";e.exports=function(e){return null==e}},8847:function(e,t,n){"use strict";var r=n(6412);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},1160:function(e,t,n){"use strict";var r=n(8847);e.exports=function(e){return r(e)||null===e}},7862:function(e){"use strict";e.exports=!1},3248:function(e,t,n){"use strict";var r=n(2420),o=n(6412),i=n(5682),a=n(1041),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},6589:function(e,t,n){"use strict";var r=n(9211);e.exports=function(e){return r(e.length)}},994:function(e,t,n){"use strict";var r=n(7169),o=n(3858),i=n(6412),a=n(9154),s=n(2333),c=n(6783).i2,u=n(6853),l=n(5230),f=l.enforce,d=l.get,p=String,h=Object.defineProperty,v=r("".slice),y=r("".replace),m=r([].join),g=s&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),b=String(String).split("String"),S=e.exports=function(e,t,n){"Symbol("===v(p(t),0,7)&&(t="["+y(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),g&&n&&a(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(o){}var r=f(e);return a(r,"source")||(r.source=m(b,"string"==typeof t?t:"")),e};Function.prototype.toString=S(function(){return i(this)&&d(this).source||u(this)},"toString")},3246:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},2642:function(e,t,n){"use strict";var r=n(2333),o=n(6614),i=n(2131),a=n(4794),s=n(3096),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",d="configurable",p="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=l(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return u(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1912:function(e,t,n){"use strict";var r=n(2333),o=n(5512),i=n(6640),a=n(2675),s=n(4988),c=n(3096),u=n(9154),l=n(6614),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=s(e),t=c(t),l)try{return f(e,t)}catch(n){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},3197:function(e,t,n){"use strict";var r=n(3027),o=n(1146).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},1692:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},6890:function(e,t,n){"use strict";var r=n(9154),o=n(6412),i=n(4620),a=n(4360),s=n(40),c=a("IE_PROTO"),u=Object,l=u.prototype;e.exports=s?u.getPrototypeOf:function(e){var t=i(e);if(r(t,c))return t[c];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof u?l:null}},5682:function(e,t,n){"use strict";var r=n(7169);e.exports=r({}.isPrototypeOf)},3027:function(e,t,n){"use strict";var r=n(7169),o=n(9154),i=n(4988),a=n(5154).q,s=n(4900),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(~a(l,n)||c(l,n));return l}},6640:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2398:function(e,t,n){"use strict";var r=n(9281),o=n(8847),i=n(4853),a=n(3321);
2e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(s){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},6799:function(e,t,n){"use strict";var r=n(5512),o=n(6412),i=n(8847),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},2560:function(e,t,n){"use strict";var r=n(2420),o=n(7169),i=n(3197),a=n(1692),s=n(4794),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?c(t,n(e)):t}},674:function(e,t,n){"use strict";var r=n(61),o=n(3858),i=r.RegExp,a=!o(function(){var e=!0;try{i(".","d")}catch(c){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",o=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},a={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(a.hasIndices="d"),a)o(s,a[s]);return Object.getOwnPropertyDescriptor(i.prototype,"flags").get.call(t)!==r||n!==r});e.exports={correct:a}},7396:function(e,t,n){"use strict";var r=n(4794);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},4853:function(e,t,n){"use strict";var r=n(7838),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},4360:function(e,t,n){"use strict";var r=n(5898),o=n(1361),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},3782:function(e,t,n){"use strict";var r=n(7862),o=n(61),i=n(4942),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.50.0",mode:r?"pure":"global",copyright:"© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.50.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5898:function(e,t,n){"use strict";var r=n(3782),o=Object.create||Object;e.exports=function(e,t){return r[e]||(r[e]=t||o(null))}},9760:function(e,t,n){"use strict";var r=n(8656),o=n(3858),i=n(61).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},8211:function(e,t,n){"use strict";var r=n(904),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},4988:function(e,t,n){"use strict";var r=n(992),o=n(4853);e.exports=function(e){return r(o(e))}},904:function(e,t,n){"use strict";var r=n(3246);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},9211:function(e,t,n){"use strict";var r=n(904),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},4620:function(e,t,n){"use strict";var r=n(4853),o=Object;e.exports=function(e){return o(r(e))}},7040:function(e,t,n){"use strict";var r=n(3323),o=RangeError;e.exports=function(e,t){var n=r(e);if(n%t)throw new o("Wrong offset");return n}},3323:function(e,t,n){"use strict";var r=n(904),o=RangeError;e.exports=function(e){var t=r(e);if(t<0)throw new o("The argument can't be less than 0");return t}},5826:function(e,t,n){"use strict";var r=n(5512),o=n(8847),i=n(3248),a=n(6033),s=n(6799),c=n(7722),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=a(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},3096:function(e,t,n){"use strict";var r=n(5826),o=n(3248);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},2209:function(e,t,n){"use strict";var r={};r[n(7722)("toStringTag")]="z",e.exports="[object z]"===String(r)},4170:function(e,t,n){"use strict";var r=n(3966),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},8854:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},1361:function(e,t,n){"use strict";var r=n(7169),o=0,i=Math.random(),a=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},1041:function(e,t,n){"use strict";var r=n(9760);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},2131:function(e,t,n){"use strict";var r=n(2333),o=n(3858);e.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},1945:function(e,t,n){"use strict";var r=n(61),o=n(6412),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},7722:function(e,t,n){"use strict";var r=n(61),o=n(5898),i=n(9154),a=n(1361),s=n(9760),c=n(1041),u=r.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||a;e.exports=function(e){return i(l,e)||(l[e]=s&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},2983:function(e,t,n){"use strict";var r=n(2941),o=n(7169),i=n(8801),a=n(4620),s=n(6589),c=n(1449),u=n(4170),l=n(3858),f=n(863),d=n(8053),p=n(5598),h=n(1318),v=n(8656),y=n(5356),m=[],g=o(m.sort),b=o(m.push),S=l(function(){m.sort(void 0)}),O=l(function(){m.sort(null)}),w=d("sort"),E=!l(function(){if(v)return v<70;if(!(p&&p>3)){if(h)return!0;
2if(y)return y<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)m.push({k:t+r,v:n})}for(m.sort(function(e,t){return t.v-e.v}),r=0;r<m.length;r++)t=m[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}});r({target:"Array",proto:!0,forced:S||!O||!w||!E},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(E)return void 0===e?g(t):g(t,e);var n,r,o=[],l=s(t);for(r=0;r<l;r++)r in t&&b(o,t[r]);for(f(o,function(e){return function(t,n){if(void 0===n)return-1;if(void 0===t)return 1;if(void 0!==e)return+e(t,n)||0;var r=u(t),o=u(n);return r===o?0:r>o?1:-1}}(e)),n=s(o),r=0;r<n;)t[r]=o[r++];for(;r<l;)c(t,r++);return t}})},7546:function(e,t,n){"use strict";var r=n(2941),o=n(61);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},9274:function(e,t,n){"use strict";var r=n(2333),o=n(2757),i=n(674),a=n(7396);r&&!i.correct&&(o(RegExp.prototype,"flags",{configurable:!0,get:a}),i.correct=!0)},5578:function(e,t,n){"use strict";var r=n(61),o=n(5512),i=n(343),a=n(6589),s=n(7040),c=n(4620),u=n(3858),l=r.RangeError,f=r.Int8Array,d=f&&f.prototype,p=d&&d.set,h=i.aTypedArray,v=i.exportTypedArrayMethod,y=!u(function(){var e=new Uint8ClampedArray(2);return o(p,e,{length:1,0:3},1),3!==e[1]}),m=y&&i.NATIVE_ARRAY_BUFFER_VIEWS&&u(function(){var e=new f(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]});v("set",function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=c(e);if(y)return o(p,this,n,t);var r=this.length,i=a(n),u=0;if(i+t>r)throw new l("Wrong length");for(;u<i;)this[t+u]=n[u++]},!y||m)},3368:function(e,t,n){"use strict";var r=n(61),o=n(9195),i=n(3858),a=n(8801),s=n(863),c=n(343),u=n(5598),l=n(1318),f=n(8656),d=n(5356),p=c.aTypedArray,h=c.exportTypedArrayMethod,v=r.Uint16Array,y=v&&o(v.prototype.sort),m=!(!y||i(function(){y(new v(2),null)})&&i(function(){y(new v(2),{})})),g=!!y&&!i(function(){if(f)return f<74;if(u)return u<67;if(l)return!0;if(d)return d<602;var e,t,n=new v(516),r=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,r[e]=e-2*t+3;for(y(n,function(e,t){return(e/4|0)-(t/4|0)}),e=0;e<516;e++)if(n[e]!==r[e])return!0});h("sort",function(e){return void 0!==e&&a(e),g?y(this,e):s(p(this),function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!=n?t!=t?0:-1:t!=t?1:0===t&&0===n?1/t>0?1/n>0?0:1:1/n>0?-1:0:t>n?1:t<n?-1:0}}(e))},!g||m)},6835:function(e,t,n){"use strict";n(7546)},9820:function(e,t,n){"use strict";n.d(t,{U:function(){return b},y:function(){return O}});var r=n(5608),o=n(7252),i=n(5888),a=n(5950),s=n(3777),c=n(492),u=n(906);var l=n(7613),f=n(6054),d=n(5892),p=n(3570),h=n(5427),v=n(7634),y=n(7882),m=Object.assign,g=Object.hasOwnProperty,b=function(e){function t(n){var o=n.queryManager,i=n.queryInfo,a=n.options,c=this,u=t.inactiveOnCreation.getValue();(c=e.call(this,function(e){c._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=S)}catch(n){}var r=!c.observers.size;c.observers.add(e);var o=c.last;return o&&o.error?e.error&&e.error(o.error):o&&o.result&&e.next&&e.next(c.maskResult(o.result)),r&&c.reobserve().catch(function(){}),function(){c.observers.delete(e)&&!c.observers.size&&c.tearDownQuery()}})||this).observers=new Set,c.subscriptions=new Set,c.dirty=!1,c._getOrCreateQuery=function(){return u&&(o.queries.set(c.queryId,i),u=!1),c.queryManager.getOrCreateQuery(c.queryId)},c.queryInfo=i,c.queryManager=o,c.waitForOwnResult=w(a.fetchPolicy),c.isTornDown=!1,c.subscribeToMore=c.subscribeToMore.bind(c),c.maskResult=c.maskResult.bind(c);var l=o.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,d=void 0===f?"cache-first":f,p=a.fetchPolicy,h=void 0===p?d:p,v=a.initialFetchPolicy,y=void 0===v?"standby"===h?d:h:v;c.options=(0,r.Cl)((0,r.Cl)({},a),{initialFetchPolicy:y,fetchPolicy:h}),c.queryId=i.queryId||o.generateQueryId();var m=(0,s.Vu)(c.query);return c.queryName=m&&m.name&&m.name.value,c}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables}
2,enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&(0,y.S2)("observableQuery.result",function(){!1!==globalThis.__DEV__&&o.V1.warn(23)}),new Promise(function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){o.unsubscribe()},0)},error:n},o=e.subscribe(r)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var n=(0,y.lz)("getLastResult",function(){return t.getLastResult(!0)}),o=this.queryInfo.networkStatus||n&&n.networkStatus||a.pT.ready,s=(0,r.Cl)((0,r.Cl)({},n),{loading:(0,a.bi)(o),networkStatus:o}),c=this.options.fetchPolicy,u=void 0===c?"cache-first":c;if(w(u)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),(0,i.L)(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,!l.complete||s.networkStatus!==a.pT.loading||"cache-first"!==u&&"cache-only"!==u||(s.networkStatus=a.pT.ready,s.loading=!1)):s.partial=!0,s.networkStatus===a.pT.ready&&(s.error||s.errors)&&(s.networkStatus=a.pT.error),!1===globalThis.__DEV__||l.complete||this.options.partialRefetch||s.loading||s.data||s.error||O(l.missing)}return e&&this.updateLastResult(s),s},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var n=this.queryManager.getDocumentInfo(this.query),r=this.queryManager.dataMasking,o=r?n.nonReactiveQuery:this.query;return(r||n.hasNonreactiveDirective?!(0,h.a)(o,this.last.result,e,this.variables):!(0,i.L)(this.last.result,e))||t&&!(0,i.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,i.L)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,y.S2)("getLastResult",function(){!1!==globalThis.__DEV__&&o.V1.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,y.S2)("getLastError",function(){!1!==globalThis.__DEV__&&o.V1.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,y.S2)("resetLastResults",function(){!1!==globalThis.__DEV__&&o.V1.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&o.V1.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},c=this.options.fetchPolicy;if(n.fetchPolicy="no-cache"===c?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&g.call(e,"variables")){var u=(0,s.AT)(this.query),l=u.variableDefinitions;l&&l.some(function(e){return"variables"===e.variable.name.value})||!1!==globalThis.__DEV__&&o.V1.warn(28,e,(null===(t=u.name)||void 0===t?void 0:t.value)||u)}return e&&!(0,i.L)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.Cl)((0,r.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.Cl)((0,r.Cl)({},e.query?e:(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,r.Cl)((0,r.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var s=this.queryInfo,c=s.networkStatus;s.networkStatus=a.pT.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var u=new Set,l=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,o.V1)(l,29),this.queryManager.fetchQuery(i,n,a.pT.fetchMore).then(function(o){if(t.queryManager.removeQuery(i),s.networkStatus===a.pT.fetchMore&&(s.networkStatus=c),f)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:o.data,variables:n.variables})}):r.writeQuery({query:n.query,variables:n.variables,data:o.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var d=t.getLast("result"),p=l(d.data,{fetchMoreResult:o.data,variables:n.variables});t.reportResult((0,r.Cl)((0,r.Cl)({},d),{networkStatus:c,loading:(0,a.bi)(c),data:p}),t.variables)}return t.maskResult(o)}).finally(function(){f&&!u.has(t.query)&&t.reobserveCacheFirst()})},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 o=e.updateQuery;o&&t.updateQuery(function(e,t){return o(e,(0,r.Cl)({subscriptionData:n},t))})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&o.V1.error(30,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,y.cc)(e,"canonizeResults","setOptions"),(0,y.S2)("setOptions",function(){!1!==globalThis.__DEV__&&o.V1.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,c.o)(this.options,e||{});m(this.options,t)},t.prototype.setVariables=function(e){var t=this;return(0,i.L)(this.variables,e)?this.observers.size?(0,y.lz)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),r=n.result,o=n.complete,i=e(r,{variables:this.variables,complete:!!o,previousData:r});i&&(t.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,o=t.initialFetchPolicy,i=void 0===o?r:o;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){var r=this._getOrCreateQuery();return r.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(r,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){(0,o.V1)(n,32),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.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){var n=this;void 0===t&&(t=this.variables);var o=(0,y.lz)("getLastError",function(){return n.getLastError()});return o&&this.last&&!(0,i.L)(t,this.last.variables)&&(o=void 0),this.last=(0,r.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,u.m)(e),variables:t},o?{error:o}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;
2var o=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,u=this.options.fetchPolicy,l=(0,c.o)(this.options,e||{}),f=o?l:m(this.options,l),d=this.transformDocument(f.query);this.lastQuery=d,o||(this.updatePolling(),!e||!e.variables||(0,i.L)(e.variables,s)||"standby"===f.fetchPolicy||f.fetchPolicy!==u&&"function"!=typeof f.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=w(f.fetchPolicy));var h=function(){n.concast===g&&(n.waitForOwnResult=!1)},v=f.variables&&(0,r.Cl)({},f.variables),y=this.fetch(f,t,d),g=y.concast,b=y.fromLink,S={next:function(e){(0,i.L)(n.variables,v)&&(h(),n.reportResult(e,v))},error:function(e){(0,i.L)(n.variables,v)&&((0,p.Mn)(e)||(e=new p.K4({networkError:e})),h(),n.reportError(e,v))}};return o||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=S),g.addObserver(S),g},t.prototype.reobserve=function(e,t){return(n=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),n;var n},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this.last;(0,y.lz)("resetLastResults",function(){return e.resetLastResults()});var o=this.subscribe.apply(this,t);return this.last=r,o},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this,r=(0,y.lz)("getLastError",function(){return n.getLastError()}),o=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||o)&&(0,l.w)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var n=this,o=(0,r.Cl)((0,r.Cl)({},(0,y.lz)("getLastResult",function(){return n.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(o,t),(0,l.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,r.Cl)((0,r.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){(this.cancelNotifyTimeout(),this.dirty)&&("cache-only"!=this.options.fetchPolicy&&"cache-and-network"!=this.options.fetchPolicy&&(0,a.bi)(this.queryInfo.networkStatus)||(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()));this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,n=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,r){return this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,r):t}}):this.reobserve()},t.inactiveOnCreation=new v.DX,t}(f.c);function S(e){!1!==globalThis.__DEV__&&o.V1.error(33,e.message,e.stack)}function O(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&o.V1.debug(34,e)}function w(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,d.r)(b)},5427:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(5608),o=n(5888),i=n(2307),a=n(2904),s=n(3777),c=n(8907);function u(e,t,n,i){var c=t.data,u=(0,r.Tt)(t,["data"]),f=n.data,d=(0,r.Tt)(n,["data"]);return(0,o.A)(u,d)&&l((0,s.Vn)(e).selectionSet,c,f,{fragmentMap:(0,a.JG)((0,s.zK)(e)),variables:i})}function l(e,t,n,r){if(t===n)return!0;var s=new Set;return e.selections.every(function(e){if(s.has(e))return!0;
2if(s.add(e),!(0,i.MS)(e,r.variables))return!0;if(f(e))return!0;if((0,c.dt)(e)){var u=(0,c.ue)(e),d=t&&t[u],p=n&&n[u],h=e.selectionSet;if(!h)return(0,o.A)(d,p);var v=Array.isArray(d),y=Array.isArray(p);if(v!==y)return!1;if(v&&y){var m=d.length;if(p.length!==m)return!1;for(var g=0;g<m;++g)if(!l(h,d[g],p[g],r))return!1;return!0}return l(h,d,p,r)}var b=(0,a.HQ)(e,r.fragmentMap);return b?!!f(b)||l(b.selectionSet,t,n,r):void 0})}function f(e){return!!e.directives&&e.directives.some(d)}function d(e){return"nonreactive"===e.name.value}},5950:function(e,t,n){"use strict";var r;function o(e){return!!e&&e<7}n.d(t,{bi:function(){return o},pT:function(){return r}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(r||(r={}))},3570:function(e,t,n){"use strict";n.d(t,{K$:function(){return i},K4:function(){return c},Mn:function(){return s},uR:function(){return a}});var r=n(5608),o=(n(7252),n(1777)),i=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[i])}function s(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(n){var i,a,s=n.graphQLErrors,c=n.protocolErrors,u=n.clientErrors,l=n.networkError,f=n.errorMessage,d=n.extraInfo,p=e.call(this,f)||this;return p.name="ApolloError",p.graphQLErrors=s||[],p.protocolErrors=c||[],p.clientErrors=u||[],p.networkError=l||null,p.message=f||(i=p,a=(0,r.fX)((0,r.fX)((0,r.fX)([],i.graphQLErrors,!0),i.clientErrors,!0),i.protocolErrors,!0),i.networkError&&a.push(i.networkError),a.map(function(e){return(0,o.U)(e)&&e.message||"Error message not found."}).join("\n")),p.extraInfo=d,p.cause=(0,r.fX)((0,r.fX)((0,r.fX)([l],s||[],!0),c||[],!0),u||[],!0).find(function(e){return!!e})||null,p.__proto__=t.prototype,p}return(0,r.C6)(t,e),t}(Error)},6174:function(e,t,n){"use strict";var r;n.d(t,{l:function(){return c}});var o=n(3146),i=n(1360),a=n(7252),s=i.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function c(){(0,a.V1)("createContext"in(r||(r=n.t(o,2))),69);var e=o.createContext[s];return e||(Object.defineProperty(o.createContext,s,{value:e=o.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},653:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(3146),o=n(7882);function i(e,t,n,i){void 0===i&&(i="Please remove this option.");var a=r.useRef(!1);!1!==globalThis.__DEV__&&t in e&&!a.current&&((0,o.cc)(e,t,n,i),a.current=!0)}},2991:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var r=n(7252),o=n(3146),i=n(6174);function a(e){var t=o.useContext((0,i.l)()),n=e||t.client;return(0,r.V1)(!!n,78),n}},571:function(e,t,n){"use strict";n.d(t,{Er:function(){return A},kk:function(){return M},t_:function(){return N},$X:function(){return L},IT:function(){return x},SX:function(){return R}});var r=n(5608),o=n(7252),i=n(3146),a=n.t(i,2),s=n(1360),c=!1,u=a.useSyncExternalStore||function(e,t,n){var r=t();!1===globalThis.__DEV__||c||r===t()||(c=!0,!1!==globalThis.__DEV__&&o.V1.error(91));var a=i.useState({inst:{value:r,getSnapshot:t}}),u=a[0].inst,f=a[1];return s.JR?i.useLayoutEffect(function(){Object.assign(u,{value:r,getSnapshot:t}),l(u)&&f({inst:u})},[e,r,t]):Object.assign(u,{value:r,getSnapshot:t}),i.useEffect(function(){return l(u)&&f({inst:u}),e(function(){l(u)&&f({inst:u})})},[e]),r};function l(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(r){return!0}}var f=n(5888),d=n(1507),p=n(6174),h=n(3570),v=n(9820),y=n(5950),m=n(3650),g=n(2991),b=n(492),S=n(3767),O=n(7236),w=Symbol.for("apollo.hook.wrappers");var E=n(653),_=n(7882),C=Object.prototype.hasOwnProperty;function T(){}var I=Symbol();function x(e,t){return void 0===t&&(t=Object.create(null)),(n="useQuery",r=k,o=(0,g.m)(t&&t.client),i=o.queryManager,a=i&&i[w],(s=a&&a[n])?s(r):r)(e,t);var n,r,o,i,a,s}function k(e,t){!1!==globalThis.__DEV__&&((0,E.h)(t,"canonizeResults","useQuery"),(0,E.h)(t,"partialRefetch","useQuery"),(0,E.h)(t,"defaultOptions","useQuery","Pass the options directly to the hook instead."),(0,E.h)(t,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),(0,E.h)(t,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var n=R(e,t),o=n.result,a=n.obsQueryFields;return i.useMemo(function(){return(0,r.Cl)((0,r.Cl)({},o),a)},[o,a])}function R(e,t){var n=(0,g.m)(t.client),a=i.useContext((0,p.l)()).renderPromises,s=!!a,c=n.disableNetworkFetches,l=!1!==t.ssr&&!t.skip,d=t.partialRefetch,h=A(n,e,t,s),b=function(e,t,n,o,a){function s(r){var i;return(0,m.D$)(t,m.KG.Query),{client:e,query:t,observable:o&&o.getSSRObservable(a())||v.U.inactiveOnCreation.withValue(!o,function(){return(0,_.lz)(["canonizeResults","partialRefetch"],function(){return e.watchQuery(N(void 0,e,n,a()))})}),resultData:{previousData:null===(i=null==r?void 0:r.resultData.current)||void 0===i?void 0:i.data}}}var c=i.useState(s),u=c[0],l=c[1];function f(e){var t,n;Object.assign(u.observable,((t={})[I]=e,t));var o=u.resultData;l((0,r.Cl)((0,r.Cl)({},u),{query:e.query,resultData:Object.assign(o,{previousData:(null===(n=o.current)||void 0===n?void 0:n.data)||o.previousData,current:void 0})}))}if(e!==u.client||t!==u.query){var d=s(u);return l(d),[d,f]}return[u,f]}(n,e,t,a,h),S=b[0],O=S.observable,w=S.resultData,E=b[1],x=h(O);!function(e,t,n,r,o){var i;t[I]&&!(0,f.L)(t[I],o)&&(t.reobserve(N(t,n,r,o)),e.previousData=(null===(i=e.current)||void 0===i?void 0:i.data)||e.previousData,e.current=void 0);t[I]=o}(w,O,n,t,x);var k=i.useMemo(function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&o.V1.warn(83),e.reobserve.a
2pply(e,t)},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)}}(O)},[O]);!function(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(O,a,l);var R=function(e,t,n,r,o,a,s,c,l){var d=i.useRef(l);i.useEffect(function(){d.current=l});var p=!c&&!a||!1!==r.ssr||r.skip?r.skip||"standby"===o.fetchPolicy?F:void 0:j,h=e.previousData,v=i.useMemo(function(){return p&&L(p,h,t,n)},[n,t,p,h]);return u(i.useCallback(function(r){if(c)return function(){};var o=function(){var o=e.current,i=t.getCurrentResult();o&&o.loading===i.loading&&o.networkStatus===i.networkStatus&&(0,f.L)(o.data,i.data)||D(i,e,t,n,s,r,d.current)},i=function(c){if(a.current.unsubscribe(),a.current=t.resubscribeAfterError(o,i),!C.call(c,"graphQLErrors"))throw c;var u=e.current;(!u||u&&u.loading||!(0,f.L)(c,u.error))&&D({data:u&&u.data,error:c,loading:!1,networkStatus:y.pT.error},e,t,n,s,r,d.current)},a={current:t.subscribe(o,i)};return function(){setTimeout(function(){return a.current.unsubscribe()})}},[a,c,t,e,s,n]),function(){return v||P(e,t,d.current,s,n)},function(){return v||P(e,t,d.current,s,n)})}(w,O,n,t,x,c,d,s,{onCompleted:t.onCompleted||T,onError:t.onError||T});return{result:R,obsQueryFields:k,observable:O,resultData:w,client:n,onQueryExecuted:E}}function A(e,t,n,o){void 0===n&&(n={});var i=n.skip,a=(n.ssr,n.onCompleted,n.onError,n.defaultOptions),s=(0,r.Tt)(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var r=Object.assign(s,{query:t});return!o||"network-only"!==r.fetchPolicy&&"cache-and-network"!==r.fetchPolicy||(r.fetchPolicy="cache-first"),r.variables||(r.variables={}),i?(r.initialFetchPolicy=r.initialFetchPolicy||r.fetchPolicy||M(a,e.defaultOptions),r.fetchPolicy="standby"):r.fetchPolicy||(r.fetchPolicy=(null==n?void 0:n.options.initialFetchPolicy)||M(a,e.defaultOptions)),r}}function N(e,t,n,r){var o=[],i=t.defaultOptions.watchQuery;return i&&o.push(i),n.defaultOptions&&o.push(n.defaultOptions),o.push((0,b.o)(e&&e.options,r)),o.reduce(d.l)}function D(e,t,n,i,a,s,c){var u=t.current;u&&u.data&&(t.previousData=u.data),!e.error&&(0,S.E)(e.errors)&&(e.error=new h.K4({graphQLErrors:e.errors})),t.current=L(function(e,t,n){if(e.partial&&n&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==t.options.fetchPolicy)return t.refetch(),(0,r.Cl)((0,r.Cl)({},e),{loading:!0,networkStatus:y.pT.refetch});return e}(e,n,a),t.previousData,n,i),s(),function(e,t,n){if(!e.loading){var r=function(e){return(0,S.E)(e.errors)?new h.K4({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then(function(){r?n.onError(r):e.data&&t!==e.networkStatus&&e.networkStatus===y.pT.ready&&n.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&o.V1.warn(e)})}}(e,null==u?void 0:u.networkStatus,c)}function P(e,t,n,r,o){return e.current||D(t.getCurrentResult(),e,t,o,r,function(){},n),e.current}function M(e,t){var n;return(null==e?void 0:e.fetchPolicy)||(null===(n=null==t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function L(e,t,n,o){var i=e.data,a=(e.partial,(0,r.Tt)(e,["data","partial"]));return(0,r.Cl)((0,r.Cl)({data:i},a),{client:o,observable:n,variables:n.variables,called:e!==j&&e!==F,previousData:t})}var j=(0,O.G)({loading:!0,data:void 0,error:void 0,networkStatus:y.pT.loading}),F=(0,O.G)({loading:!1,data:void 0,error:void 0,networkStatus:y.pT.ready})},3650:function(e,t,n){"use strict";n.d(t,{D$:function(){return d},KG:function(){return r}});var r,o,i=n(7252),a=n(5078),s=n(555),c=n(4114),u=n(7882);function l(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 f(e){(0,u.S2)("parser",function(){!1!==globalThis.__DEV__&&i.V1.warn(93)}),o||(o=new a.A(s.v.parser||1e3));var t,n,c=o.get(e);if(c)return c;(0,i.V1)(!!e&&!!e.kind,94,e);for(var l=[],f=[],d=[],p=[],h=0,v=e.definitions;h<v.length;h++){var y=v[h];if("FragmentDefinition"!==y.kind){if("OperationDefinition"===y.kind)switch(y.operation){case"query":f.push(y);break;case"mutation":d.push(y);break;case"subscription":p.push(y)}}else l.push(y)}(0,i.V1)(!l.length||f.length||d.length||p.length,95),(0,i.V1)(f.length+d.length+p.length<=1,96,e,f.length,p.length,d.length),n=f.length?r.Query:r.Mutation,f.length||d.length||(n=r.Subscription);var m=f.length?f:d.length?d:p;(0,i.V1)(1===m.length,97,e,m.length);var g=m[0];t=g.variableDefinitions||[];var b={name:g.name&&"Name"===g.name.kind?g.name.value:"data",type:n,variables:t};return o.set(e,b),b}function d(e,t){var n=(0,u.lz)("parser",f,[e]),r=l(t),o=l(n.type);(0,i.V1)(n.type===t,98,r,r,o)}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={})),f.resetCache=function(){o=void 0},!1!==globalThis.__DEV__&&(0,c.D_)("parser",function(){return o?o.size:0})},5078:function(e,t,n){"use strict";n.d(t,{A:function(){return s},V:function(){return c}});var r=n(1088),o=n(4019),i=new WeakSet;function a(e){e.size<=(e.max||-1)||i.has(e)||(i.add(e),setTimeout(function(){e.clean(),i.delete(e)},100))}var s=function(e,t){var n=new o.l(e,t);return n.set=function(e,t){var n=o.l.prototype.set.call(this,e,t);return a(this),n},n},c=function(e,t){var n=new r.C(e,t);return n.set=function(e,t){var n=r.C.prototype.set.call(this,e,t);return a(this),n},n}},4114:function(e,t,n){"use strict";n.d(t,{D_:function(){return a},cM:function(){return c},ep:function(){return s},tQ:function(){return u}});var r=n(5608),o=n(555),i={};function a(e,t){i[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,n,a,s;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,o.v[t]||n]})),sizes:(0,r.Cl)({print:null===(e=i.print)||void 0===e?void 0:e.call(i),parser:null===(t=i.parser)||void 0===t?void 0:t.call(i),canonicalStringify:null===(n=i.canonicalStringify)||void 0===n?void 0:n.call(i),links:v(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,c=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,r.Cl)((0,r.Cl)({},l.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function d(e){return null!=e}function p(e){return h(e).map(function(e){return{cache:e}})}function h(e){return e?(0,r.fX)((0,r.fX)([f(null==e?void 0:e.performWork)],h(null==e?void 0:e.left),
2!0),h(null==e?void 0:e.right),!0).filter(d):[]}function v(e){var t;return e?(0,r.fX)((0,r.fX)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],v(null==e?void 0:e.left),!0),v(null==e?void 0:e.right),!0).filter(d):[]}},555:function(e,t,n){"use strict";n.d(t,{v:function(){return a}});var r=n(5608),o=n(7252),i=Symbol.for("apollo.cacheSize"),a=(0,r.Cl)({},o.Sf[i])},3767:function(e,t,n){"use strict";n.d(t,{E:function(){return o},c:function(){return r}});var r=Array.isArray;function o(e){return Array.isArray(e)&&e.length>0}},1360:function(e,t,n){"use strict";n.d(t,{En:function(){return a},JR:function(){return f},Sw:function(){return u},et:function(){return i},ol:function(){return s},uJ:function(){return c}});var r=n(7252),o="ReactNative"==(0,r.no)(function(){return navigator.product}),i="function"==typeof WeakMap&&!(o&&!n.g.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,c=s&&Symbol.asyncIterator,u="function"==typeof(0,r.no)(function(){return window.document.createElement}),l=(0,r.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(u||o)&&!l},4214:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r,o=n(5078),i=n(555),a=n(4114),s=Object.assign(function(e){return JSON.stringify(e,c)},{reset:function(){r=new o.V(i.v.canonicalStringify||1e3)}});function c(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var o=Object.keys(t);if(o.every(u))return t;var i=JSON.stringify(o),a=r.get(i);if(!a){o.sort();var s=JSON.stringify(o);a=r.get(s)||o,r.set(i,a),r.set(s,a)}var c=Object.create(n);return a.forEach(function(e){c[e]=t[e]}),c}}return t}function u(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return r.size}),s.reset()},906:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=Object.prototype.toString;function o(e){return i(e)}function i(e,t){switch(r.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]=i(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var o=Object.create(Object.getPrototypeOf(e));return t.set(e,o),Object.keys(e).forEach(function(n){o[n]=i(e[n],t)}),o;default:return e}}},492:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var r=e[t];void 0!==r&&(n[t]=r)})}),n}n.d(t,{o:function(){return r}})},1461:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=new Map;function o(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},7236:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(1777);function o(e){var t=new Set([e]);return t.forEach(function(e){(0,r.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,r.U)(e[n])&&t.add(e[n])})}),e}function i(e){return!1!==globalThis.__DEV__&&o(e),e}},1507:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});var r=n(5608),o=n(492);function i(e,t){return(0,o.o)(e,t,t.variables&&{variables:(0,o.o)((0,r.Cl)((0,r.Cl)({},e&&e.variables),t.variables))})}},1777:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,{U:function(){return r}})},6563:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(1461);function o(e,t){void 0===t&&(t=0);var n=(0,r.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}},7882:function(e,t,n){"use strict";n.d(t,{S2:function(){return p},cc:function(){return d},lz:function(){return f}});var r,o=n(5608),i=n(7634),a=n(7252),s=Symbol.for("apollo.deprecations"),c=Symbol.for("apollo.deprecations.slot"),u=a.Sf,l=null!==(r=u[c])&&void 0!==r?r:u[c]=new i.DX;function f(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return l.withValue.apply(l,(0,o.fX)([Array.isArray(e)?e:[e]],t,!1))}function d(e,t,n,r){void 0===r&&(r="Please remove this option."),p(t,function(){t in e&&!1!==globalThis.__DEV__&&a.V1.warn(103,n,t,r)})}function p(e,t){(function(e){return u[s]||(l.getValue()||[]).includes(e)})(e)||t()}},3245:function(e,t,n){"use strict";var r=n(5924);t.A=(0,r.n)(function(){return globalThis})||(0,r.n)(function(){return window}
2)||(0,r.n)(function(){return self})||(0,r.n)(function(){return n.g})||(0,r.n)(function(){return r.n.constructor("return this")()})},7252:function(e,t,n){"use strict";n.d(t,{Sf:function(){return i.A},V1:function(){return r.V1},no:function(){return o.n},vA:function(){return r.vA}});var r=n(2035),o=n(5924),i=n(3245);globalThis.__DEV__},2035:function(e,t,n){"use strict";n.d(t,{V1:function(){return y},vA:function(){return m}});var r=n(5608),o="Invariant Violation",i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,s=function(e){function t(n){void 0===n&&(n=o);var r=e.call(this,"number"==typeof n?o+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=o,a(r,t.prototype),r}return(0,r.C6)(t,e),t}(Error);function c(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function f(e){return function(){if(u.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(c||(c={}));var d=n(3972),p=n(3245),h=n(6563);function v(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var o=t;(t=S(o))||(t=O(o,n),n=[])}e.apply(void 0,[t].concat(n))}}var y=Object.assign(function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||c(e,S(t,n)||O(t,n))},{debug:v(c.debug),log:v(c.log),warn:v(c.warn),error:v(c.error)});function m(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new s(S(e,t)||O(e,t))}var g=Symbol.for("ApolloErrorMessageHandler_"+d.r);function b(e){if("string"==typeof e)return e;try{return(0,h.p)(e,2).slice(0,1e3)}catch(i){return"<non-serializable>"}}function S(e,t){if(void 0===t&&(t=[]),e)return p.A[g]&&p.A[g](e,t.map(b))}function O(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d.r,message:e,args:t.map(b)})))}},5924:function(e,t,n){"use strict";function r(e){try{return e()}catch(t){}}n.d(t,{n:function(){return r}})},2307:function(e,t,n){"use strict";n.d(t,{MS:function(){return a},d8:function(){return s},f2:function(){return c},s7:function(){return u}});var r=n(7252),o=n(2455),i=n(424);function a(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,o=e.name.value;(0,r.V1)(n&&1===n.length,106,o);var i=n[0];(0,r.V1)(i.name&&"if"===i.name.value,107,o);var a=i.value;(0,r.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),108,o),t.push({directive:e,ifArgument:i})}});return t}(n).every(function(e){var n=e.directive,o=e.ifArgument,i=!1;return"Variable"===o.value.kind?(i=t&&t[o.value.name.value],(0,r.V1)(void 0!==i,105,n.name.value)):i=o.value.value,"skip"===n.name.value?!i:i})}function s(e,t,n){var r=new Set(e),o=r.size;return(0,i.YR)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.sP}}),n?!r.size:r.size<o}function c(e){return e&&s(["client","export"],e,!0)}function u(e){var t,n,i=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null===(n=i.arguments)||void 0===n?void 0:n.find(function(e){return"mode"===e.name.value});return!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&r.V1.warn(109):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&r.V1.warn(110):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&r.V1.warn(111,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value?"migrate":"unmask"}},2904:function(e,t,n){"use strict";n.d(t,{HQ:function(){return c},JG:function(){return s},ct:function(){return a},s6:function(){return u}});var r=n(5608),o=n(7252),i=n(424);function a(e,t){var n=t,i=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,o.vA)(112,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&i.push(e)}),void 0===n&&((0,o.V1)(1===i.length,113,i.length),n=i[0].name.value),(0,r.Cl)((0,r.Cl)({},e),{definitions:(0,r.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function c(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,o.V1)(r,114,n),r||null;default:return null}}function u(e){var t=!0;return(0,i.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return i.sP}}),t}},3777:function(e,t,n){"use strict";n.d(t,{AT:function(){return u},E4:function(){return l},Vn:function(){return f},Vu:function(){return a},n4:function(){return s},sw:function(){return i},wY:function(){return d},zK:function(){return c}});var r=n(7252),o=n(8907);function i(e){(0,r.V1)(e&&"Document"===e.kind,115);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r.vA)(116,e.kind);return e});return(0,r.V1)(t.length<=1,117,t.length),e}function a(e){return i(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function c(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return(0,r.V1)(t&&"query"===t.operation,118),t}function l(e){(0,r.V1)("Document"===e.kind,119),(0,r.V1)(e.definitions.length<=1,120);var t=e.definitions[0];return(0,r.V1)("FragmentDefinition"===t.kind,121),t}function f(e){var t;i(e);for(var n=0,o=e.definitions;n<o.length;n++){var a=o[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r.vA)(122)}function d(e){var t=Object.create(null),n=e&&e.variableDefinitions;
2return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,o.J)(t,e.variable.name,e.defaultValue)}),t}},8907:function(e,t,n){"use strict";n.d(t,{A_:function(){return c},D$:function(){return m},Ii:function(){return f},J:function(){return l},Kc:function(){return u},MB:function(){return v},WU:function(){return s},dt:function(){return g},kd:function(){return b},o5:function(){return h},ue:function(){return y}});var r=n(7252),o=n(1777),i=n(2904),a=n(4214);function s(e){return{__ref:String(e)}}function c(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,o.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,n,o){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 l(i,e.name,e.value,o)}),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(n)){var a=(o||{})[n.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map(function(e){var n={};return l(n,t,e,o),n[t.value]});else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw(0,r.vA)(123,t.value,n.kind);e[t.value]=null}}function f(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var o=r.name,i=r.value;return l(n[e.name.value],o,i,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,o=e.value;return l(r,n,o,t)})),h(e.name.value,r,n)}var d=["connection","include","skip","client","rest","export","nonreactive"],p=a.M,h=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var o={};return r.forEach(function(e){o[e]=t[e]}),"".concat(n.connection.key,"(").concat(p(o),")")}return n.connection.key}var i=e;if(t){var a=p(t);i+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===d.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?i+="@".concat(e,"(").concat(p(n[e]),")"):i+="@".concat(e))}),i},{setStringify:function(e){var t=p;return p=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r=e.name,o=e.value;return l(n,r,o,t)}),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e,t,n){for(var r,o=0,a=t.selections;o<a.length;o++){if(g(u=a[o])){if("__typename"===u.name.value)return e[y(u)]}else r?r.push(u):r=[u]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var s=0,c=r;s<c.length;s++){var u=c[s],l=m(e,(0,i.HQ)(u,n).selectionSet,n);if("string"==typeof l)return l}}function g(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},7613:function(e,t,n){"use strict";function r(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}n.d(t,{w:function(){return r}})},5892:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(6054),o=n(1360);function i(e){function t(t){Object.defineProperty(e,t,{value:r.c})}return o.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},3972:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r="3.14.1"},2474:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:function(){return r}})},7601:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}function i(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,o(r.key),r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{A:function(){return a}})},9140:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(1087);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},7502:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:function(){return r}})},1087:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:function(){return r}})},107:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:function(){return o}})},7556:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:function(){return a}});var o=n(1087);function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(i=function(){return!!e})()}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&(0,o.A)(a,n.prototype),a}(e,arguments,r(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,o.A)(n,e)},a(e)}},9125:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseContext:function(){return y},Link:function(){return H},Location:function(){return X},LocationContext:function(){return m},LocationProvider:function(){return $},Match:function(){return ee},Redirect:function(){return _},Router:function(){return se},ServerLocation:function(){return Z},createHistory:function(){return l},createMemorySource:function(){return f},globalHistory:function(){return p},insertParams:function(){return k},isRedirect:function(){return O},match:function(){return I},navigate:function(){return h},pick:function(){return T},redirectTo:function(){return w},resolve:function(){return x},shallowCompare:function(){return V},startsWith:function(){return C},useBaseContext:function(){return g},useLocation:function(){return ue},useLocationContext:function(){return b},useMatch:function(){return de},useNavigate:function(){return le},useParams:function(){return fe},validateRedirect:function(){return R}});
2var r=n.cw(function(e,t){e.exports=function(e,t,n,r,o,i,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,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,function(){return u[l++]}))).name="Invariant Violation"}throw c.framesToPop=1,c}}}),o=n(4041),i=n.t(o,2),a=n(9067);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,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}r();const u=e=>{const{search:t,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&r&&d&&(u=new URL(r).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:n,href:r,origin:o,protocol:i,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),o=!1,i=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){n.push(t);const o=()=>{r=u(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter(e=>e!==t)}},navigate(t,{state:a,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{a=s({},a,{key:Date.now()+""});try{o||c?e.history.replaceState(a,null,t):e.history.pushState(a,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=u(e),o=!0;const l=new Promise(e=>i=e);return n.forEach(e=>e({location:r,action:"PUSH"})),l}}},f=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],i=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState(e,t,n){const[a,s=""]=n.split("?");r++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(e)},replaceState(e,t,n){const[a,s=""]=n.split("?");o[r]={pathname:a,search:s},i[r]=e},go(e){const t=r+e;t<0||t>i.length-1||(r=t)}}}},d=!("undefined"==typeof window||!window.document||!window.document.createElement),p=l(d?window:f()),{navigate:h}=p;function v(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const y=v("Base",{baseuri:"/",basepath:"/"}),m=v("Location"),g=()=>o.useContext(y),b=()=>o.useContext(m);function S(e){this.uri=e}const O=e=>e instanceof S,w=e=>{throw new S(e)};function E(e){const{to:t,replace:n=!0,state:r,noThrow:i,baseuri:a}=e;o.useEffect(()=>{Promise.resolve().then(()=>{const o=x(t,a);h(k(o,e),{replace:n,state:r})})},[]);const s=x(t,a);return i||w(k(s,e)),null}const _=e=>{const t=b(),{baseuri:n}=g();return o.createElement(E,s({},t,{baseuri:n},e))};_.propTypes={from:a.string,to:a.string.isRequired};const C=(e,t)=>e.substr(0,t.length)===t,T=(e,t)=>{let n,o;const[i]=t.split("?"),a=L(i),s=""===a[0],c=M(e);for(let u=0,l=c.length;u<l;u++){let e=!1;const i=c[u].route;if(i.default){o={route:i,params:{},uri:t};continue}const l=L(i.path),f={},d=Math.max(a.length,l.length);let p=0;for(;p<d;p++){const t=l[p],n=a[p];if(D(t)){f[t.slice(1)||"*"]=a.slice(p).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const o=A.exec(t);if(o&&!s){const e=-1===F.indexOf(o[1]);r()(e,`<Router> dynamic segment "${o[1]}" is a reserved name. Please use a different name in path "${i.path}".`);const t=decodeURIComponent(n);f[o[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:i,params:f,uri:"/"+a.slice(0,p).join("/")};break}}return n||o||null},I=(e,t)=>T([{path:e}],t),x=(e,t)=>{if(C(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),i=L(n),a=L(o);if(""===i[0])return j(o,r);if(!C(i[0],".")){const e=a.concat(i).join("/");return j(("/"===o?"":"/")+e,r)}const s=a.concat(i),c=[];for(let u=0,l=s.length;u<l;u++){const e=s[u];".."===e?c.pop():"."!==e&&c.push(e)}return j("/"+c.join("/"),r)},k=(e,t)=>{const[n,r=""]=e.split("?");let o="/"+L(n).map(e=>{const n=A.exec(e);return n?t[n[1]]:e}).join("/");const{location:{search:i=""}={}}=t,a=i.split("?")[1]||"";return o=j(o,r,a),o},R=(e,t)=>{const n=e=>N(e);return L(e).filter(n).sort().join("/")===L(t).filter(n).sort().join("/")},A=/^:(.+)/,N=e=>A.test(e),D=e=>e&&"*"===e[0],P=(e,t)=>({route:e,score:e.default?0:L(e.path).reduce((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:N(t)?e+=2:D(t)?e-=5:e+=3,e),0),index:t}),M=e=>e.map(P).sort((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index),L=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),j=(e,...t)=>e+((t=t.filter(e=>e&&e.length>0))&&t.length>0?`?${t.join("&")}`:""),F=["uri","path"],V=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>t.hasOwnProperty(n)&&e[n]===t[n])},U=e=>e.replace(/(^\/+|\/+$)/g,""),q=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,q(e));if(r()(t.props.path||t.props.default||t.type===_,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),r()(!!(t.type!==_||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>.`),r()(!(t.type===_&&!R(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===_?t.props.from:t.props.path,i="/"===n?e:`${U(e)}/${U(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${U(i)}/*`:i}
2},B=["innerRef"],Q=["to","state","replace","getProps"],G=["key"];let{forwardRef:z}=i;void 0===z&&(z=e=>e);const W=()=>{},H=z((e,t)=>{let{innerRef:n}=e,r=c(e,B);const{baseuri:i}=g(),{location:a}=b(),{to:u,state:l,replace:f,getProps:d=W}=r,p=c(r,Q),v=x(u,i),y=encodeURI(v),m=a.pathname===y,S=C(a.pathname,y);return o.createElement("a",s({ref:t||n,"aria-current":m?"page":void 0},p,d({isCurrent:m,isPartiallyCurrent:S,href:v,location:a}),{href:v,onClick:e=>{if(p.onClick&&p.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&m){const e=c(s({},a.state),G);t=V(s({},l),e)}h(v,{state:l,replace:t})}}}))});H.displayName="Link",H.propTypes={to:a.string.isRequired};class K extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const Y=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function J({children:e}){const[t,n]=o.useState(),r=o.useRef(),i=o.useMemo(()=>({componentDidCatch:r,error:t,setError:n}),[t]);return o.createElement(Y.Provider,{value:i},o.createElement(K,{error:t,onError:(e,t)=>{n(e),null==r.current||r.current(e,t)}},e))}J.displayName="ReactUseErrorBoundaryContext";const $=function(e){var t,n;function r(t){return o.createElement(J,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}(({history:e=p,children:t})=>{const{location:n}=e,[r,i]=o.useState({location:n}),[a]=function(){const e=o.useContext(Y);e.componentDidCatch.current=void 0;const t=o.useCallback(()=>{e.setError(void 0)},[]);return[e.error,t]}();if(o.useEffect(()=>{e._onTransitionComplete()},[r.location]),o.useEffect(()=>{let t=!1;const n=e.listen(({location:e})=>{Promise.resolve().then(()=>{requestAnimationFrame(()=>{t||i({location:e})})})});return()=>{t=!0,n()}},[]),a){if(!O(a))throw a;h(a.uri,{replace:!0})}return o.createElement(m.Provider,{value:r},"function"==typeof t?t(r):t||null)}),X=({children:e})=>{const t=b();return t?e(t):o.createElement($,null,e)},Z=({url:e,children:t})=>{const n=e.indexOf("?");let r,i="";return n>-1?(r=e.substring(0,n),i=e.substring(n)):r=e,o.createElement(m.Provider,{value:{location:{pathname:r,search:i,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=g(),{location:r}=b(),o=x(e,n),i=I(o,r.pathname);return t({location:r,match:i?s({},i.params,{uri:i.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,i=c(e,te);return o.createElement(ie,s({},i,{component:r,uri:t,location:n}))};let oe=0;const ie=e=>{let{children:t,style:n,component:r="div",uri:i,location:a}=e,u=c(e,ne);const l=o.useRef(),f=o.useRef(!0),d=o.useRef(i),p=o.useRef(a.pathname),h=o.useRef(!1);o.useEffect(()=>(oe++,v(),()=>{oe--,0===oe&&(f.current=!0)}),[]),o.useEffect(()=>{let e=!1,t=!1;i!==d.current&&(d.current=i,e=!0),a.pathname!==p.current&&(p.current=a.pathname,t=!0),h.current=e||t&&a.pathname===i,h.current&&v()},[i,a]);const v=o.useCallback(()=>{var e;f.current?f.current=!1:(e=l.current,h.current&&e&&e.focus())},[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:l},u),t)},ae=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=g(),n=b();return o.createElement(ce,s({},t,n,e))};function ce(e){const{location:t,primary:n=!0,children:r,basepath:i,component:a="div"}=e,u=c(e,ae),l=o.Children.toArray(r).reduce((e,t)=>{const n=q(i)(t);return e.concat(n)},[]),{pathname:f}=t,d=T(l,f);if(d){const{params:e,uri:r,route:c,route:{value:l}}=d,f=c.default?i:c.path.replace(/\*$/,""),p=s({},e,{uri:r,location:t}),h=o.cloneElement(l,p,l.props.children?o.createElement(se,{location:t,primary:n},l.props.children):void 0),v=n?re:a,m=n?s({uri:r,location:t,component:a},u):u;return o.createElement(y.Provider,{value:{baseuri:r,basepath:f}},o.createElement(v,m,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")},fe=()=>{const e=g();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),n=I(e.basepath,t.pathname);return n?n.params:null},de=e=>
2{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=x(e,t.baseuri),o=I(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},1088:function(e,t,n){"use strict";function r(){}n.d(t,{C:function(){return o}});class o{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},4019:function(e,t,n){"use strict";function r(){}n.d(t,{l:function(){return c}});const o=r,i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}};class c{constructor(e=1/0,t=o){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new i(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);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.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},5888:function(e,t,n){"use strict";n.d(t,{L:function(){return s}});const{toString:r,hasOwnProperty:o}=Object.prototype,i=Function.prototype.toString,a=new Map;function s(e,t){try{return c(e,t)}finally{a.clear()}}function c(e,t){if(e===t)return!0;const n=r.call(e);if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(d(e,t))return!0;const n=u(e),r=u(t),i=n.length;if(i!==r.length)return!1;for(let e=0;e<i;++e)if(!o.call(t,n[e]))return!1;for(let o=0;o<i;++o){const r=n[o];if(!c(e[r],t[r]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(d(e,t))return!0;const r=e.entries(),o="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,i]=e.value;if(!t.has(n))return!1;if(o&&!c(i,t.get(n)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=i.
2call(e);return n===i.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,f)}}return!1}function u(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}t.A=s;const f="{ [native code] }";function d(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},4592:function(e,t,n){"use strict";n.d(t,{b:function(){return s}});const r=()=>Object.create(null),{forEach:o,slice:i}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(i.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],r=this.mapFor(n,!1),o=r&&r.get(n);o&&(t=o.removeArray(i.call(e,1)),o.data||o.weak||o.strong&&o.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},8850:function(e,t,n){"use strict";n.d(t,{N_:function(){return w},oo:function(){return E},Rr:function(){return c},Zf:function(){return g},Fe:function(){return p}});var r=n.cw(function(e,t){t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}}),o=n(9067),i=n(4041),a=n(9125);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 o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const i=t.indexOf("?");return-1!==i&&(n=t.slice(i),t=t.slice(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}r();const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>u.test(e))(e)},f=()=>"",d=()=>"";function p(e,t=f()){var n;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:d())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function v(e,t){const{pathname:n,search:o,hash:i}=c(e);return`${(0,r().T)(n,t)}${o}${i}`}const y=(e,t)=>"number"==typeof e?e:l(e)?h(e)?function(e){const t=p(e),n="always";return v(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,a.resolve)(e,t);return v(r,n)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function g(e){return p(e,d())}const b={activeClassName:o.string,activeStyle:o.object,partiallyActive:o.bool};function S(e){return i.createElement(a.Location,null,({location:t})=>i.createElement(O,s({},e,{_location:t})))}class O 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(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(y(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver(n=>
2{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:o,state:u,replace:f,_location:d}=e,p=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}(e,m),h=y(t,d.pathname);return l(h)?i.createElement(a.Link,s({to:h,state:u,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{o&&o(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const n=encodeURI(h)===d.pathname;"boolean"!=typeof f&&n&&(t=!0),window.___navigate(h,{state:u,replace:t})}return!0}},p)):i.createElement("a",s({href:h},p))}}O.propTypes=s({},b,{onClick:o.func,to:o.string.isRequired,replace:o.bool,state:o.object});const w=i.forwardRef((e,t)=>i.createElement(S,s({innerRef:t},e))),E=(e,t)=>{window.___navigate(y(e,window.location.pathname),t)}},9340:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return u}});var r=n(4041),o=n(9125);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}const a=new Map,s={get:e=>a.get(e)||[],set(e,t){const n=a.get(e)||[];n.push(t),a.set(e,n)},delete(e){a.delete(e)}},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 f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),d=new Set,p=new Map;function h(e){return r.createElement(o.Location,null,()=>r.createElement(v,e))}function v(e){const{src:t,strategy:n=u.postHydrate}=e||{},{pathname:a}=(0,o.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 o=m(e),c=g(e);return"undefined"==typeof window&&s.set(a,c),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:m(e)}}):i({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:o,onError:a}=e||{},s=t||n,c=["load","error"],l={load:o,error:a};if(s){for(const e of c)if(null!=l&&l[e]){var f;const t=p.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,v;n.push(null==l?void 0:l[e]),null!=t&&null!=(f=t[e])&&f.event?null==l||null==(h=l[e])||h.call(l,null==t||null==(v=t[e])?void 0:v.event):p.set(s,i({},t,{[e]:{callbacks:n}}))}if(d.has(s))return null}const y=m(e),b=g(e),O=document.createElement("script");t&&(O.id=t),O.dataset.strategy=r;for(const[i,u]of Object.entries(b))O.setAttribute(i,u);y&&(O.textContent=y),n&&(O.src=n);const w={};if(s){for(const e of c){const t=t=>S(t,s,e);O.addEventListener(e,t),w[`${e}Callback`]=t}d.add(s)}return document.body.appendChild(O),{script:O,loadCallback:w.loadCallback,errorCallback:w.errorCallback}}function m(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function g(e){const t={};for(const[n,r]of Object.entries(e))f.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function S(e,t,n){const r=p.get(t)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(e)}p.set(t,{[n]:{event:e}})}n.d(t,["collectedScriptsByPage",0,s,"scriptCache",0,d,"scriptCallbackCache",0,p])},3217:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{U:function(){return r}})},5198:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});const r=10,o=2;function i(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:a(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>
2o)return"[Array]";const n=Math.min(r,e.length),i=e.length-n,s=[];for(let r=0;r<n;++r)s.push(a(e[r],t));1===i?s.push("... 1 more item"):i>1&&s.push(`... ${i} more items`);return"["+s.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>o)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map(([e,n])=>e+": "+a(n,t));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},9762:function(e,t,n){"use strict";n.d(t,{Ll:function(){return s},aZ:function(){return r},cE:function(){return c},ou:function(){return o}});class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,n,r,o,i){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=o,this.value=i,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const i={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","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","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},a=new Set(Object.keys(i));function s(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&a.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={})),n.d(t,["aD",0,i])},7714:function(e,t,n){"use strict";n.d(t,{OC:function(){return o},yo:function(){return a}});var r=n(5881);function o(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let s=0;s<e.length;++s){var a;const t=e[s],c=i(t);c!==t.length&&(r=null!==(a=r)&&void 0!==a?a:s,o=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,o+1)}function i(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}function a(e,t){const n=e.replace(/"""/g,'\\"""'),o=n.split(/\r\n|[\n\r]/g),i=1===o.length,a=o.length>1&&o.slice(1).every(e=>0===e.length||(0,r.i0)(e.charCodeAt(0))),s=n.endsWith('\\"""'),c=e.endsWith('"')&&!s,u=e.endsWith("\\"),l=c||u,f=!(null!=t&&t.minimize)&&(!i||e.length>70||l||a||s);let d="";const p=i&&(0,r.i0)(e.charCodeAt(0));
2return(f&&!p||a)&&(d+="\n"),d+=n,(f||l)&&(d+="\n"),'"""'+d+'"""'}},5881:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function o(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return i(e)||95===e}function s(e){return i(e)||o(e)||95===e}n.d(t,{i0:function(){return r},un:function(){return a},xr:function(){return s},yp:function(){return o}})},2455:function(e,t,n){"use strict";var r;n.d(t,{b:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.DIRECTIVE_EXTENSION="DirectiveExtension",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",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(r||(r={}))},424:function(e,t,n){"use strict";n.d(t,{YR:function(){return c}});var r=n(3217),o=n(5198),i=n(9762),a=n(2455);const s=Object.freeze({});function c(e,t,n=i.aD){const c=new Map;for(const r of Object.values(a.b))c.set(r,u(t,r));let l,f,d,p=Array.isArray(e),h=[e],v=-1,y=[],m=e;const g=[],b=[];do{v++;const e=v===h.length,a=e&&0!==y.length;if(e){if(f=0===b.length?void 0:g[g.length-1],m=d,d=b.pop(),a)if(p){m=m.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(m.splice(r,1),e++):m[r]=n}}else{m={...m};for(const[e,t]of y)m[e]=t}v=l.index,h=l.keys,y=l.edits,p=l.inArray,l=l.prev}else if(d){if(f=p?v:h[v],m=d[f],null==m)continue;g.push(f)}let u;if(!Array.isArray(m)){var S,O;(0,i.Ll)(m)||(0,r.U)(!1,`Invalid AST Node: ${(0,o.N)(m)}.`);const n=e?null===(S=c.get(m.kind))||void 0===S?void 0:S.leave:null===(O=c.get(m.kind))||void 0===O?void 0:O.enter;if(u=null==n?void 0:n.call(t,m,f,d,g,b),u===s)break;if(!1===u){if(!e){g.pop();continue}}else if(void 0!==u&&(y.push([f,u]),!e)){if(!(0,i.Ll)(u)){g.pop();continue}m=u}}var w;if(void 0===u&&a&&y.push([f,m]),e)g.pop();else l={inArray:p,index:v,keys:h,edits:y,prev:l},p=Array.isArray(m),h=p?m:null!==(w=n[m.kind])&&void 0!==w?w:[],v=-1,y=[],d&&b.push(d),d=m}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}}n.d(t,["sP",0,s])},7634:function(e,t,n){"use strict";n.d(t,{DX:function(){return f},yN:function(){return L},LV:function(){return U}});var r=n(4592),o=n(1088);let i=null;const a={};let s=1;function c(e){try{return e()}catch(t){}}const u="@wry/context:Slot",l=c(()=>globalThis)||c(()=>n.g)||Object.create(null),f=l[u]||Array[u]||function(e){try{Object.defineProperty(l,u,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",s++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=i;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===a)break;return e!==i&&(i.slots[this.id]=t),!0}return i&&(i.slots[this.id]=a),!1}getValue(){if(this.hasValue())return i.slots[this.id]}withValue(e,t,n,r){const o={__proto__:null,[this.id]:e},a=i;i={parent:a,slots:o};try{return t.apply(r,n)}finally{i=a}}static bind(e){const t=i;return function(){const n=i;try{return i=t,e.apply(this,arguments)}finally{i=n}}}static noContext(e,t,n){if(!i)return e.apply(n,t);{const r=i;try{return i=null,e.apply(n,t)}finally{i=r}}}}),{bind:d,noContext:p}=f;const h=new f;const{hasOwnProperty:v}=Object.prototype,y=Array.from||function(e){const t=[];
2return e.forEach(e=>t.push(e)),t};function m(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const g=[];function b(e,t){if(!e)throw new Error(t||"assertion failure")}function S(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function O(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function w(e){return e.slice(0)}class E{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++E.count}peek(){if(1===this.value.length&&!T(this))return _(this),this.value[0]}recompute(e){return b(!this.recomputing,"already recomputing"),_(this),T(this)?function(e,t){D(e),h.withValue(e,C,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{m(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,T(e))return;x(e)}(e);return O(e.value)}(this,e):O(this.value)}setDirty(){this.dirty||(this.dirty=!0,I(this),m(this))}dispose(){this.setDirty(),D(this),k(this,(e,t)=>{e.setDirty(),P(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=g.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(y(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),g.push(this.deps),this.deps=null)}}function _(e){const t=h.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?R(t,e):A(t,e),t}function C(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&1===e.value.length&&(r=w(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!S(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(o){}}catch(i){e.value[1]=i}e.recomputing=!1}function T(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function I(e){k(e,R)}function x(e){k(e,A)}function k(e,t){const n=e.parents.size;if(n){const r=y(e.parents);for(let o=0;o<n;++o)t(r[o],e)}}function R(e,t){b(e.childValues.has(t)),b(T(t));const n=!T(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=g.pop()||new Set;e.dirtyChildren.add(t),n&&I(e)}function A(e,t){b(e.childValues.has(t)),b(!T(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,w(t.value)):S(n,t.value)||e.setDirty(),N(e,t),T(e)||x(e)}function N(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(g.length<100&&g.push(n),e.dirtyChildren=null))}function D(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{P(e,n)}),e.forgetDeps(),b(null===e.dirtyChildren)}function P(e,t){t.parents.delete(e),e.childValues.delete(t),N(e,t)}E.count=0;const M={setDirty:!0,dispose:!0,forget:!0};function L(e){const t=new Map,n=e&&e.subscribe;function r(e){const r=h.getValue();if(r){let o=t.get(e);o||t.set(e,o=new Set),r.dependOn(o),"function"==typeof n&&(m(o),o.unsubscribe=n(e))}}return r.dirty=function(e,n){const r=t.get(e);if(r){const o=n&&v.call(M,n)?n:"setDirty";y(r).forEach(e=>e[o]()),t.delete(e),m(r)}},r}let j;function F(...e){return(j||(j=new r.b("function"==typeof WeakMap))).lookupArray(e)}const V=new Set;function U(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=F,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){const c="function"==typeof s?new s(t,e=>e.dispose()):s,u=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=c.get(t);o||(c.set(t,o=new E(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>c.delete(t));const s=o.recompute(Array.prototype.slice.call(arguments));return c.set(t,o),V.add(c),h.hasValue()||(V.forEach(e=>e.clean()),V.clear()),s};function l(e){const t=e&&c.get(e);t&&t.setDirty()}function f(e){const t=e&&c.get(e);if(t)return t.peek()}function d(e){return!!e&&c.delete(e)}return Object.defineProperty(u,"size",{get:()=>c.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:a,cache:c}),u.dirtyKey=l,u.dirty=function(){l(r.apply(null,arguments))},u.peekKey=f,u.peek=function(){return f(r.apply(null,arguments))},u.forgetKey=d,u.forget=function(){return d(r.apply(null,arguments))},u.makeCacheKey=r,u.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(u)}}
2,5608:function(e,t,n){"use strict";n.d(t,{C6:function(){return o},Cl:function(){return i},Tt:function(){return a},YH:function(){return c},fX:function(){return u},sH:function(){return s}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function s(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(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,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(c){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,r=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){i.label=s[1];break}if(6===s[0]&&i.label<o[1]){i.label=o[1],o=s;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(c){s=[6,c],r=0}finally{n=o=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,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create},6054:function(e,t,n){"use strict";function r(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 o(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 o(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 o(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,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 a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{c:function(){return _}});var s=function(){return"function"==typeof Symbol},c=function(e){return s()&&Boolean(Symbol[e])},u=function(e){return c(e)?Symbol[e]:"@@"+e};s()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),f=u("observable"),d=u("species");function p(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw new TypeError(n+" is not a function");return n}}function h(e){var t=e.constructor;
2return void 0!==t&&null===(t=t[d])&&(t=void 0),void 0!==t?t:_}function v(e){return e instanceof _}function y(e){y.log?y.log(e):setTimeout(function(){throw e})}function m(e){Promise.resolve().then(function(){try{e()}catch(t){y(t)}})}function g(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var n=p(t,"unsubscribe");n&&n.call(t)}}catch(r){y(r)}}function b(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function S(e,t,n){e._state="running";var r=e._observer;try{var o=p(r,t);switch(t){case"next":o&&o.call(r,n);break;case"error":if(b(e),!o)throw n;o.call(r,n);break;case"complete":b(e),o&&o.call(r)}}catch(i){y(i)}"closed"===e._state?g(e):"running"===e._state&&(e._state="ready")}function O(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 m(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(S(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)})):void S(e,t,n);e._queue.push({type:t,value:n})}}var w=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new E(this);try{this._cleanup=t.call(void 0,n)}catch(r){n.error(r)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(b(this),g(this))},a(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),E=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){O(this._subscription,"next",e)},t.error=function(e){O(this._subscription,"error",e)},t.complete=function(){O(this._subscription,"complete")},a(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),_=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 w(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"==typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(n){r(n),o.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),n()}})},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(h(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(h(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(r){return n.error(r)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=h(this),r=arguments.length>1,o=!1,i=arguments[1];return new n(function(n){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||r)try{i=e(i,t)}catch(s){return n.error(s)}else i=t},error:function(e){n.error(e)},complete:function(){if(!o&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(i),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=h(this);return new o(function(t){var r,i=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===n.length?(r=void 0,t.complete()):e(o.from(n[i++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var n=h(this);return new n(function(r){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return r.error(s)}var i=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){r.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&r.complete()}return function(){o.forEach(function(e){return e.unsubscribe()}),i.unsubscribe()}})},t[f]=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 o=p(t,f);if(o){var i=o.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return v(i)&&i.constructor===n?i:new n(function(e){return i.subscribe(e)})}if(c("iterator")&&(o=p(t,l)))return new n(function(e){m(function(){if(!e.closed){for(var n,i=r(o.call(t));!(n=i()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){m(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){m(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},a(e,null,[{key:d,get:function(){return this}}]),e}();s()&&Object.defineProperty(_,Symbol("extensions"),{value:{symbol:f,hostReportError:y},configurable:!0})}},function(e){e.O(0,[869,593,737,903,340],function(){return e(5106)});e.O()}]); 3//# sourceMappingURL=app-af45f8454863cb6bb159.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.