1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[735],{9361:function(e,t){"use strict";t.Z=function(e,t,n){t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n;return e}},6010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}t.Z=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}},1230:function(e,t,n){"use strict";var r=n(655),i=n(785),o=new Map,s=new Map,a=!0,c=!1;function u(e){return e.replace(/[\s,]+/g," ").trim()}function l(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=u((c=e.loc).source.body.substring(c.start,c.end)),o=s.get(r);o&&!o.has(i)?a&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||s.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e);var c})),(0,r.__assign)((0,r.__assign)({},e),{definitions:n})}function d(e){var t=u(e);if(!o.has(t)){var n=(0,i.Qc)(e,{experimentalFragmentVariables:c,allowLegacyFragmentVariables:c});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");o.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}(l(n)))}return o.get(t)}function f(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]})),d(r)}var p,h=f,v=function(){o.clear(),s.clear()},m=function(){a=!1},y=function(){c=!0},g=function(){c=!1};(p=f||(f={})).gql=h,p.resetCaches=v,p.disableFragmentWarnings=m,p.enableExperimentalFragmentVariables=y,p.disableExperimentalFragmentVariables=g,f.default=f,t.ZP=f},1210:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=function(e,t,n,r){return!1};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9361).Z,i=n(4941).Z,o=n(3929).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,n=e.sizes,a=e.unoptimized,c=void 0!==a&&a,v=e.priority,m=void 0!==v&&v,x=e.loading,I=e.lazyRoot,_=void 0===I?null:I,A=e.lazyBoundary,w=e.className,S=e.quality,D=e.width,C=e.height,L=e.style,R=e.objectFit,M=e.objectPosition,F=e.onLoadingComplete,P=e.placeholder,j=void 0===P?"empty":P,U=e.blurDataURL,B=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),V=l.useContext(h.ImageConfigContext),q=l.useMemo((function(){var e=y||V||f.imageConfigDefault,t=o(e.deviceSizes).concat(o(e.imageSizes)).sort((function(e,t){return e-t})),n=e.deviceSizes.sort((function(e,t){return e-t}));return s({},e,{allSizes:t,deviceSizes:n})}),[V]),z=B,G=n?"responsive":"intrinsic";"layout"in z&&(z.layout&&(G=z.layout),delete z.layout);var K=b;if("loader"in z){if(z.loader){var $=z.loader;K=function(e){e.config;var t=u(e,["config"]);return $(t)}}delete z.loader}var Y="";if(function(e){return"object"===typeof e&&(N(e)||function(e){return void 0!==e.src}(e))}(t)){var Q=N(t)?t.default:t;if(!Q.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(Q)));
1if(U=U||Q.blurDataURL,Y=Q.src,(!G||"fill"!==G)&&(C=C||Q.height,D=D||Q.width,!Q.height||!Q.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(Q)))}var X=!m&&("lazy"===x||"undefined"===typeof x);((t="string"===typeof t?t:Y).startsWith("data:")||t.startsWith("blob:"))&&(c=!0,X=!1);g.has(t)&&(X=!1);q.unoptimized&&(c=!0);var Z,J=i(l.useState(!1),2),W=J[0],H=J[1],ee=i(p.useIntersection({rootRef:_,rootMargin:A||"200px",disabled:!X}),3),te=ee[0],ne=ee[1],re=ee[2],ie=!X||ne,oe={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},se={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ae=!1,ce={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:R,objectPosition:M},ue=T(D),le=T(C),de=T(S);0;var fe=Object.assign({},L,ce),pe="blur"!==j||W?{}:{backgroundSize:R||"cover",backgroundPosition:M||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(U,'")')};if("fill"===G)oe.display="block",oe.position="absolute",oe.top=0,oe.left=0,oe.bottom=0,oe.right=0;else if("undefined"!==typeof ue&&"undefined"!==typeof le){var he=le/ue,ve=isNaN(he)?"100%":"".concat(100*he,"%");"responsive"===G?(oe.display="block",oe.position="relative",ae=!0,se.paddingTop=ve):"intrinsic"===G?(oe.display="inline-block",oe.position="relative",oe.maxWidth="100%",ae=!0,se.maxWidth="100%",Z="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(ue,"%27%20height=%27").concat(le,"%27/%3e")):"fixed"===G&&(oe.display="inline-block",oe.position="relative",oe.width=ue,oe.height=le)}else 0;var me={src:E,srcSet:void 0,sizes:void 0};ie&&(me=k({config:q,src:t,unoptimized:c,layout:G,width:ue,quality:de,sizes:n,loader:K}));var ye=t;0;var ge,Ee="imagesrcset",xe="imagesizes";Ee="imageSrcSet",xe="imageSizes";var Ne=(r(ge={},Ee,me.srcSet),r(ge,xe,me.sizes),r(ge,"crossOrigin",z.crossOrigin),ge),ke=l.default.useLayoutEffect,Te=l.useRef(F),be=l.useRef(t);l.useEffect((function(){Te.current=F}),[F]),ke((function(){be.current!==t&&(re(),be.current=t)}),[re,t]);var Ie=s({isLazy:X,imgAttributes:me,heightInt:le,widthInt:ue,qualityInt:de,layout:G,className:w,imgStyle:fe,blurStyle:pe,loading:x,config:q,unoptimized:c,placeholder:j,loader:K,srcString:ye,onLoadingCompleteRef:Te,setBlurComplete:H,setIntersection:te,isVisible:ie,noscriptSizes:n},z);return l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{style:oe},ae?l.default.createElement("span",{style:se},Z?l.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:Z}):null):null,l.default.createElement(O,Object.assign({},Ie))),m?l.default.createElement(d.default,null,l.default.createElement("link",Object.assign({key:"__nimg-"+me.src+me.srcSet+me.sizes,rel:"preload",as:"image",href:me.srcSet?void 0:me.src},Ne))):null)};var s=n(6495).Z,a=n(2648).Z,c=n(1598).Z,u=n(7273).Z,l=c(n(7294)),d=a(n(5443)),f=n(9309),p=n(7190),h=n(9977),v=(n(3794),n(2392));function m(e){return"/"===e[0]?e.slice(1):e}var y={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!0},g=new Set,E=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var x=new Map([["default",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality;return n.endsWith(".svg")&&!t.dangerouslyAllowSVG?n:"".concat(v.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(n),"&w=").concat(r,"&q=").concat(i||75)}],["imgix",function(e){var t=e.config,n=e.src,r=e.width,i=e.quality,o=new URL("".concat(t.path).concat(m(n))),s=o.searchParams;return s.set("auto",s.getAll("auto").join(",")||"format"),s.set("fit",s.get("fit")||"max"),s.set("w",s.get("w")||r.toString()),i&&s.set("q",i.toString()),o.href}],["cloudinary",function(e){var t=e.config,n=e.src,r=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(r).concat(m(n))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(m(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function N(e){return void 0!==e.default}function k(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,s=e.width,a=e.quality,c=e.sizes,u=e.loader;if(r)return{src:n,srcSet:void 0,sizes:void 0};var l=function(e,t,n,r){var i=e.deviceSizes,s=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var a,c=/(^|\s)(1?\d?\d)vw/g,u=[];a=c.exec(r);a)u.push(parseInt(a[2]));if(u.length){var l,d=.01*(l=Math).min.apply(l,o(u));return{widths:s.filter((function(e){return e>=i[0]*d})),kind:"w"}}return{widths:s,kind:"w"}}return"number"!==typeof t||"fill"===n||"responsive"===n?{widths:i,kind:"w"}:{widths:o(new Set([t,2*t].map((function(e){return s.find((function(t){return t>=e}))||s[s.length-1]})))),kind:"x"}}(t,s,i,c),d=l.widths,f=l.kind,p=d.length-1;return{sizes:c||"w"!==f?c:"100vw",srcSet:d.map((function(e,r){return"".concat(u({config:t,src:n,quality:a,width:e})," ").concat("w"===f?e:r+1).concat(f)})).join(", "),src:u({config:t,src:n,quality:a,width:d[p]})}}function T(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function b(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=x.get(n);if(r)return r(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(f.VALID_LOADERS.join(", "),". Received: ").concat(n))}function I(e,t,n,r,i,o){e&&e.src!==E&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(g.add(t),"blur"===r&&o(!0),null==i?void 0:i.current)){var n=e.naturalWi
1dth,s=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:s})}})))}var O=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,i=e.layout,o=e.className,a=e.imgStyle,c=e.blurStyle,d=e.isLazy,f=e.placeholder,p=e.loading,h=e.srcString,v=e.config,m=e.unoptimized,y=e.loader,g=e.onLoadingCompleteRef,E=e.setBlurComplete,x=e.setIntersection,N=e.onLoad,T=e.onError,b=(e.isVisible,e.noscriptSizes),O=u(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return p=d?"lazy":p,l.default.createElement(l.default.Fragment,null,l.default.createElement("img",Object.assign({},O,t,{decoding:"async","data-nimg":i,className:o,style:s({},a,c),ref:l.useCallback((function(e){x(e),(null==e?void 0:e.complete)&&I(e,h,0,f,g,E)}),[x,h,i,f,g,E]),onLoad:function(e){I(e.currentTarget,h,0,f,g,E),N&&N(e)},onError:function(e){"blur"===f&&E(!0),T&&T(e)}})),(d||"blur"===f)&&l.default.createElement("noscript",null,l.default.createElement("img",Object.assign({},O,k({config:v,src:h,unoptimized:m,layout:i,width:n,quality:r,sizes:b,loader:y}),{decoding:"async","data-nimg":i,style:a,className:o,loading:p}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8418:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;n(5753).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(2648).Z,o=n(7273).Z,s=i(n(7294)),a=n(6273),c=n(2725),u=n(3462),l=n(1018),d=n(7190),f=n(1210),p=n(8684),h={};function v(e,t,n,r){if(e&&a.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch((function(e){0}));var i=r&&"undefined"!==typeof r.locale?r.locale:e&&e.locale;h[t+"%"+n+(i?"%"+i:"")]=!0}}var m=s.default.forwardRef((function(e,t){var n,i=e.href,m=e.as,y=e.children,g=e.prefetch,E=e.passHref,x=e.replace,N=e.shallow,k=e.scroll,T=e.locale,b=e.onClick,I=e.onMouseEnter,O=e.onTouchStart,_=e.legacyBehavior,A=void 0===_?!0!==Boolean(!1):_,w=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=y,!A||"string"!==typeof n&&"number"!==typeof n||(n=s.default.createElement("a",null,n));var S=!1!==g,D=s.default.useContext(u.RouterContext),C=s.default.useContext(l.AppRouterContext);C&&(D=C);var L,R=s.default.useMemo((function(){var e=r(a.resolveHref(D,i,!0),2),t=e[0],n=e[1];return{href:t,as:m?a.resolveHref(D,m):n||t}}),[D,i,m]),M=R.href,F=R.as,P=s.default.useRef(M),j=s.default.useRef(F);A&&(L=s.default.Children.only(n));var U=A?L&&"object"===typeof L&&L.ref:t,B=r(d.useIntersection({rootMargin:"200px"}),3),V=B[0],q=B[1],z=B[2],G=s.default.useCallback((function(e){j.current===F&&P.current===M||(z(),j.current=F,P.current=M),V(e),U&&("function"===typeof U?U(e):"object"===typeof U&&(U.current=e))}),[F,U,M,z,V]);s.default.useEffect((function(){var e=q&&S&&a.isLocalURL(M),t="undefined"!==typeof T?T:D&&D.locale,n=h[M+"%"+F+(t?"%"+t:"")];e&&!n&&v(D,M,F,{locale:t})}),[F,M,q,T,S,D]);var K={ref:G,onClick:function(e){A||"function"!==typeof b||b(e),A&&L.props&&"function"===typeof L.props.onClick&&L.props.onClick(e),e.defaultPrevented||function(e,t,n,r,i,o,c,u,l,d){if("A"!==e.currentTarget.nodeName.toUpperCase()||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&a.isLocalURL(n)){e.preventDefault();var f=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:c}):t[i?"replace":"push"](n,{forceOptimisticNavigation:!d})};l?s.default.startTransition(f):f()}}(e,D,M,F,x,N,k,T,Boolean(C),S)},onMouseEnter:function(e){A||"function"!==typeof I||I(e),A&&L.props&&"function"===typeof L.props.onMouseEnter&&L.props.onMouseEnter(e),!S&&C||a.isLocalURL(M)&&v(D,M,F,{priority:!0})},onTouchStart:function(e){A||"function"!==typeof O||O(e),A&&L.props&&"function"===typeof L.props.onTouchStart&&L.props.onTouchStart(e),!S&&C||a.isLocalURL(M)&&v(D,M,F,{priority:!0})}};if(!A||E||"a"===L.type&&!("href"in L.props)){var $="undefined"!==typeof T?T:D&&D.locale,Y=D&&D.isLocaleDomain&&f.getDomainLocale(F,$,D.locales,D.domainLocales);K.href=Y||p.addBasePath(c.addLocale(F,$,D&&D.defaultLocale))}return A?s.default.cloneElement(L,K):s.default.createElement("a",Object.assign({},w,K),n)}));t.default=m,("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4941).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.useIntersection=function(e){var t=e.rootRef,n=e.rootMargin,u=e.disabled||!s,l=r(i.useState(!1),2),d=l[0],f=l[1],p=r(i.useState(null),2),h=p[0],v=p[1];i.useEffect((function(){if(s){if(u||d)return;if(h&&h.tagName){var e=function(e,t,n){var r=function(e){var t,n={root:e.root||null,margin:e.rootMargin||""},r=c.find((function(e){return e.root===n.root&&e.margin===n.margin}));if(r&&(t=a.get(r)))return t;var i=new Map,o=new IntersectionObserver((function(e){e.forEach((function(e){var t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return t={id:n,observer:o,elements:i},c.push(n),a.set(n,t),t}(n),i=r.id,o=r.observer,s=r.elements;return s.set(e,t),o.observe(e),function(){if(s.delete(e),o.unobserve(e),0===s.size){o.disconnect(),a.delete(i);var t=c.findIndex((function(e){return e.root===i.root&&e.margin===i.margin}));t>-1&&c.splice(t,1)}}}(h,(function(e){return e&&f(e)}),{root:null==t?void 0:t.current,rootMargin:n});return e}}else if(!d){var r=o.requestIdleCallback((function(){return f(!0)}));return function(){return o.cancelIdleCallback(r)}}}),[h,u,n,t,d]);var m=i.useCallback((function(){f(!1)}),[]);return[v,d,m]};var i=n(7294),o=n(9311),s="function"===typeof IntersectionObserver,a=new Map,c=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var r=(0,n(2648).Z)(n(7294)),i=r.default.createContext(null);t.AppRouterContext=i;var o=r.default.createContext(null);t.LayoutRouterContext=o;var s=r.default.createContext(null);t.GlobalLayoutRouterContext=s;var a=r.default.createContext(null);t.TemplateContext=a},5675:function(e,t,n){e.exports=n(8045)},1664:function(e,t,n){e.exports=n(8418)},358:function(e,t,n){"use strict";n.d(t,{zt:function(){return v},m8:function(){return m},Db:function(){return x},aM:function(){return k}});var r=n(6997),i=n(5932),o=n(7294),s=()=>{},a=s;function c(e){var t=[e];return t.tag=0,t}function u(e){return t=>n=>{var r=!1;t((t=>{if(r);else if(0===t)r=!0,n(0);else if(0===t.tag){var i=t[0];n(c((e=>{1===e&&(r=!0),i(e)})))}else e(t[0]),n(t)}))}}function l(e){return t=>n=>{var r=a,i=!1;t((t=>{i||(0===t?(i=!0,n(0)):0===t.tag?(r=t[0],n(t)):e(t[0])?n(t):(i=!0,n(0),r(1)))}))}}function d(e){return t=>{var n=a,r=!1;return t((t=>{0===t?r=!0:0===t.tag?(n=t[0])(0):r||(e(t[0]),n(0))})),{unsubscribe(){r||(r=!0,n(1))}}}}function f(e){return new Promise((t=>{var n,r=a;e((e=>{0===e?t(n):0===e.tag?(r=e[0])(0):(n=e[0],r(0))}))}))}var p=(0,r.eI)({url:"/graphql"}),h=(0,o.createContext)(p),v=h.Provider;h.Consumer;h.displayName="UrqlContext";var m=()=>(0,o.useContext)(h),y={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},g=(e,t)=>{var n={...e,...t,data:void 0!==t.data||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((e,t)=>{if("object"!=typeof e||"object"!=typeof t)return 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})(e,n)?n:e},E=(e,t)=>{for(var n=0,r=t.length;n<r;n++)if(e[n]!==t[n])return!0;return!1};function x(e){var t=(0,o.useRef)(!0),n=m(),[r,s]=(0,o.useState)(y),a=(0,o.useCallback)(((r,o)=>(s({...y,fetching:!0}),f(n.executeMutation((0,i.f)(e,r),o||{})).then((e=>(t.current&&s({fetching:!1,stale:!!e.stale,data:e.data,error:e.error,extensions:e.extensions,operation:e.operation}),e))))),[n,e,s]);return(0,o.useEffect)((()=>(t.current=!0,()=>{t.current=!1})),[]),[r,a]}function N(e,t){var n=(0,o.useRef)(void 0);return(0,o.useMemo)((()=>{var r=(0,i.f)(e,t);return void 0!==n.current&&n.current.key===r.key?n.current:(n.current=r,r)}),[e,t])}function k(e){var t=m(),n=(e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&d((e=>
1{"teardown"===e.kind&&t.has(e.key)&&(t.delete(e.key),n.delete(e.key))}))(e.operations$),e._react={get:e=>n.get(e),set(e,r){t.delete(e),n.set(e,r)},dispose(e){t.add(e)}}}return e._react})(t),r=((e,t)=>e.suspense&&(!t||!1!==t.suspense))(t,e.context),i=N(e.query,e.variables),s=(0,o.useMemo)((()=>{if(e.pause)return null;var o=t.executeQuery(i,{requestPolicy:e.requestPolicy,...e.context});return r?u((e=>{n.set(i.key,e)}))(o):o}),[n,t,i,r,e.pause,e.requestPolicy,e.context]),a=(0,o.useCallback)(((e,t)=>{if(!e)return{fetching:!1};var r=n.get(i.key);if(r){if(t&&null!=r&&"then"in r)throw r}else{var o,s=d((e=>{r=e,o&&o(r)}))(l((()=>t&&!o||!r))(e));if(null==r&&t){var a=new Promise((e=>{o=e}));throw n.set(i.key,a),a}s.unsubscribe()}return r||{fetching:!0}}),[n,i]),f=[t,i,e.requestPolicy,e.context,e.pause],[p,h]=(0,o.useState)((()=>[s,g(y,a(s,r)),f])),v=p[1];return s!==p[0]&&E(p[2],f)&&h([s,v=g(p[1],a(s,r)),f]),(0,o.useEffect)((()=>{var e=p[0],t=p[2][1],r=!1,i=e=>{r=!0,h((t=>{var n=g(t[1],e);return t[1]!==n?[t[0],n,t[2]]:t}))};if(e){var o=d(i)(function(e){return t=>n=>{var r=!1;t((t=>{if(r);else if(0===t)r=!0,n(0),e();else if(0===t.tag){var i=t[0];n(c((t=>{1===t?(r=!0,i(1),e()):i(t)})))}else n(t)}))}}((()=>{i({fetching:!1})}))(e));return r||i({fetching:!0}),()=>{n.dispose(t.key),o.unsubscribe()}}i({fetching:!1})}),[n,p[0],p[2][1]]),[v,(0,o.useCallback)((o=>{var s={requestPolicy:e.requestPolicy,...e.context,...o};h((e=>[r?u((e=>{n.set(i.key,e)}))(t.executeQuery(i,s)):t.executeQuery(i,s),e[1],f]))}),[t,n,i,r,a,e.requestPolicy,e.context])]}},6339:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{d:"M12 14l9-5-9-5-9 5 9 5z"}),r.createElement("path",{d:"M12 14l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14z"}),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 14l9-5-9-5-9 5 9 5zm0 0l6.16-3.422a12.083 12.083 0 01.665 6.479A11.952 11.952 0 0012 20.055a11.952 11.952 0 00-6.824-2.998 12.078 12.078 0 01.665-6.479L12 14zm-4 6v-7.5l4-2.222"}))}));t.Z=i},2435:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"}))}));t.Z=i},6430:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h7"}))}));t.Z=i},9065:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M4 12h16M4 18h16"}))}));t.Z=i},2484:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))}));t.Z=i},9743:function(e,t,n){"use strict";var r=n(7294);const i=r.forwardRef((function(e,t){return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:t},e),r.createElement("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"}))}));t.Z=i},943:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},3375:function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},828:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(3375);var i=n(1566);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||(0,r.Z)(e,t)||(0,i.Z)(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},7297:function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,{Z:function(){return r}})},9815:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(943);var i=n(3375);var o=n(1566);function s(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,i.Z)(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(943);function i(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},5932:function(e,t,n){"use strict";n.d(t,{C:function(){return u},b:function(){return A},c:function(){return w},d:function(){return S},e:function(){return R},f:function(){return k},g:function(){return b},h:function(){return v},k:function(){return N}});var r=n(6364),i=n(6918),o=n(785),s=n(7359),a=n(5266),c=e=>"string"==typeof e?new r.__(e):"object"==typeof e&&e.message?new r.__(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):e;class u extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(c),n=((e,t)=>{var n="";if(e)return`[Network] ${e.message}`;if(t)for(var r of t)n&&(n+="\n"),n+=`[GraphQL] ${r.message}`;return n})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}}var l=(e,t)=>{for(var n=0,r=0|t.length;n<r;n++)e=(e<<5)+e+t.charCodeAt(n);return 0|e},d=e=>l(5381,e)>>>0,f=new Set,p=new WeakMap,h=e=>{if(null===e||f.has(e))return"null";if("object"!=typeof e)return JSON.stringify(e)||"";if(e.toJSON)return h(e.toJSON());if(Array.isArray(e)){var t="[";for(var n of e)"["!==t&&(t+=","),t+=(n=h(n)).length>0?n:"null";return t+"]"}var r=Object.keys(e).sort();if(!r.length&&e.constructor&&e.constructor!==Object){var i=p.get(e)||Math.random().toString(36).slice(2);return p.set(e,i),`{"__key":"${i}"}`}f.add(e);var o="{";for(var s of r){var a=h(e[s]);a&&(o.length>1&&(o+=","),o+=h(s)+":"+a)}return f.delete(e),o+"}"},v=e=>(f.clear(),h(e)),m=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,y=/([\s,]|#[^\n\r]+)+/g,g=(e,t)=>t%2==0?e.replace(y," ").trim():e,E=e=>{var t=("string"!=typeof e?e.loc&&e.loc.source.body||(0,i.S)(e):e).split(m).map(g).join("");if("string"!=typeof e){var n="definitions"in e&&T(e);n&&(t=`# ${n}\n${t}`),e.loc||(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}})}return t},x=new Map,N=e=>{var t,n;return"string"==typeof e?(t=d(E(e)),n=x.get(t)||(0,o.Qc)(e,{noLocation:!0})):(t=e.__key||d(E(e)),n=x.get(t)||e),n.loc||E(n),n.__key=t,x.set(t,n),n},k=(e,t)=>{t||(t={});var n=N(e);return{key:l(n.__key,v(t))>>>0,query:n,variables:t}},T=e=>{for(var t of e.definitions)if(t.kind===s.h.OPERATION_DEFINITION&&t.name)return t.name.value},b=e=>{for(var t of e.definitions)if(t.kind===s.h.OPERATION_DEFINITION)return t.operation},I=(e,t,n)=>{if(!("data"in t)&&!("errors"in t)||"path"in t)throw new Error("No Content");return{operation:e,data:t.data,error:Array.isArray(t.errors)?new u({graphQLErrors:t.errors,response:n}):void 0,extensions:"object"==typeof t.extensions&&t.extensions||void 0,hasNext:!!t.hasNext}},O=(e,t,n)=>{var r={...e};if(r.hasNext=!!t.hasNext,!("path"in t))return"data"in t&&(r.data=t.data),r;Array.isArray(t.errors)&&(r.error=new u({graphQLErrors:r.error?[...r.error.graphQLErrors,...t.errors]:t.errors,response:n}));for(var i,o=r.data={...r.data},s=0;s<t.path.length;)o=o[i=t.path[s++]]=Array.isArray(o[i])?[...o[i]]:{...o[i]};return Object.assign(o,t.data),r},_=(e,t,n)=>({operation:e,data:void 0,error:new u({networkError:t,response:n}),extensions:void 0});function A(e){return{query:(0,i.S)(e.query),operationName:T(e.query),variables:e.variables||void 0,extensions:void 0}}var w=(e,t)=>{var n="query"===e.kind&&e.context.preferGetMethod;if(!n||!t)return e.context.url;
1var r=new URL(e.context.url),i=r.searchParams;t.operationName&&i.set("operationName",t.operationName),t.query&&i.set("query",t.query.replace(/#[^\n\r]+/g," ").trim()),t.variables&&i.set("variables",v(t.variables)),t.extensions&&i.set("extensions",v(t.extensions));var o=r.toString();return o.length>2047&&"force"!==n?(e.context.preferGetMethod=!1,e.context.url):o},S=(e,t)=>{var n="query"===e.kind&&!!e.context.preferGetMethod,r={accept:"application/graphql+json, application/json"};n||(r["content-type"]="application/json");var i=("function"==typeof e.context.fetchOptions?e.context.fetchOptions():e.context.fetchOptions)||{};if(i.headers)for(var o in i.headers)r[o.toLowerCase()]=i.headers[o];return{...i,body:!n&&t?JSON.stringify(t):void 0,method:n?"GET":"POST",headers:r}},D="undefined"!=typeof TextDecoder?new TextDecoder:null,C=/content-type:[^\r\n]*application\/json/i,L=/boundary="?([^=";]+)"?/i,R=(e,t,n)=>{var r="manual"===n.redirect?400:300,i=e.context.fetch;return(0,a.Sy)((({next:o,complete:s})=>{var a="undefined"!=typeof AbortController?new AbortController:null;a&&(n.signal=a.signal);var c,u=!1,l=!1,d=!1;return Promise.resolve().then((()=>
1{if(!l)return(i||fetch)(t,n)})).then((t=>{if(t)return d=(c=t).status<200||c.status>=r,((e,t,n)=>{var r=n.headers&&n.headers.get("Content-Type")||"";if(/text\//i.test(r))return n.text().then((r=>{e(_(t,new Error(r),n))}));if(!/multipart\/mixed/i.test(r))return n.text().then((r=>{e(I(t,JSON.parse(r),n))}));var i,o="---",s=r.match(L);s&&(o="--"+s[1]);var a=()=>{};if(n[Symbol.asyncIterator]){var c=n[Symbol.asyncIterator]();i=c.next.bind(c)}else{if(!("body"in n)||!n.body)throw new TypeError("Streaming requests unsupported");var l=n.body.getReader();a=()=>l.cancel(),i=()=>l.read()}var d="",f=!0,p=null,h=null;return i().then((function r(s){if(s.done)u=!0;else{var a="Buffer"===(x=s.value).constructor.name?x.toString():D.decode(x),c=a.indexOf(o);for(c>-1?c+=d.length:c=d.indexOf(o),d+=a;c>-1;){var l=d.slice(0,c),v=d.slice(c+o.length);if(f)f=!1;else{var m=l.indexOf("\r\n\r\n")+4,y=l.slice(0,m),g=l.slice(m,l.lastIndexOf("\r\n")),E=void 0;if(C.test(y))try{E=JSON.parse(g),p=h=h?O(h,E,n):I(t,E,n)}catch(e){}if("--"===v.slice(0,2)||E&&!E.hasNext){if(!h)return e(I(t,{},n));break}}c=(d=v).indexOf(o)}}var x;if(p&&(e(p),p=null),!s.done&&(!h||h.hasNext))return i().then(r)})).finally(a)})(o,e,c)})).then(s).catch((t=>{if(u)throw t;var n=_(e,d&&c.statusText?new Error(c.statusText):t,c);o(n),s()})),()=>{l=!0,a&&a.abort()}}))}},6997:function(e,t,n){"use strict";n.d(t,{$Y:function(){return x},B5:function(){return N},Ek:function(){return k},HG:function(){return y},eI:function(){return I},nZ:function(){return l},vx:function(){return p}});var r=n(7359),i=n(7304),o=n(5932),s=n(5266),a=(e,t)=>{if(Array.isArray(e))for(var n of e)a(n,t);else if("object"==typeof e&&null!==e)for(var r in e)"__typename"===r&&"string"==typeof e[r]?t.add(e[r]):a(e[r],t);return t},c=e=>{if(!e.selectionSet)return e;for(var t of e.selectionSet.selections)if(t.kind===r.h.FIELD&&"__typename"===t.name.value&&!t.alias)return e;return{...e,selectionSet:{...e.selectionSet,selections:[...e.selectionSet.selections,{kind:r.h.FIELD,name:{kind:r.h.NAME,value:"__typename"}}]}}},u=new Map,l=e=>{var t=(0,o.k)(e),n=u.get(t.__key);return n||(n=(0,i.Vn)(t,{Field:c,InlineFragment:c}),Object.defineProperty(n,"__key",{value:t.__key,enumerable:!1}),u.set(t.__key,n)),n},d=(e,t)=>{if(e&&"object"==typeof e){if(Array.isArray(e))return e.map((e=>d(e)));if(e&&"object"==typeof e&&(t||"__typename"in e)){var n={};for(var r in e)"__typename"===r?Object.defineProperty(n,"__typename",{enumerable:!1,value:e.__typename}):n[r]=d(e[r]);return n}return e}return e};function f(e){return e.toPromise=()=>new Promise((t=>{var n=(0,s.Ld)((e=>{e.stale||e.hasNext||Promise.resolve().then((()=>{n.unsubscribe(),t(e)}))}))(e)})),e}function p(e,t,n){return n||(n=t.context),{key:t.key,query:t.query,variables:t.variables,kind:e,context:n}}var h=(e,t)=>p(e.kind,e,{...e.context,meta:{...e.context.meta,...t}}),v=()=>{};var m=({kind:e})=>"mutation"!==e&&"query"!==e,y=({forward:e,client:t,dispatchDebug:n})=>{var r=new Map,i=new Map,o=e=>{var t=p(e.kind,e);return t.query=l(e.query),t},c=e=>{var{key:t,kind:n,context:{requestPolicy:i}}=e;return"query"===n&&"network-only"!==i&&("cache-only"===i||r.has(t))};return n=>{var u=(0,s.BN)(n),l=(0,s.UI)((e=>{var n=r.get(e.key),i={...n,operation:h(e,{cacheOutcome:n?"hit":"miss"})};return"cache-and-network"===e.context.requestPolicy&&(i.stale=!0,g(t,e)),i}))((0,s.hX)((e=>!m(e)&&c(e)))(u)),d=(0,s.bw)((e=>{var{operation:n}=e;if(n){var o=(e=>[...a(e,new Set)])(e.data).concat(n.context.additionalTypenames||[]);if("mutation"===e.operation.kind){for(var s=new Set,c=0;c<o.length;c++){var u=o[c],l=i.get(u);
1for(var d of(l||i.set(u,l=new Set),l.values()))s.add(d);l.clear()}for(var f of s.values())r.has(f)&&(n=r.get(f).operation,r.delete(f),g(t,n))}else if("query"===n.kind&&e.data){r.set(n.key,e);for(var p=0;p<o.length;p++){var h=o[p],v=i.get(h);v||i.set(h,v=new Set),v.add(n.key)}}}}))(e((0,s.hX)((e=>"query"!==e.kind||"cache-only"!==e.context.requestPolicy))((0,s.UI)((e=>h(e,{cacheOutcome:"miss"})))((0,s.TS)([(0,s.UI)(o)((0,s.hX)((e=>!m(e)&&!c(e)))(u)),(0,s.hX)((e=>m(e)))(u)])))));return(0,s.TS)([l,d])}},g=(e,t)=>e.reexecuteOperation(p(t.kind,t,{...t.context,requestPolicy:"network-only"})),E=new Set,x=(e={})=>{var t=!!e.staleWhileRevalidate,n=!!e.includeExtensions,r={},i=[],a=e=>{i.push(e.operation.key),1===i.length&&Promise.resolve().then((()=>{for(var e;e=i.shift();)r[e]=null}))},c=({client:i,forward:c})=>u=>{var l=e&&"boolean"==typeof e.isClient?!!e.isClient:!i.suspense,d=(0,s.BN)(u),f=c((0,s.hX)((e=>!r[e.key]||!!r[e.key].hasNext||"network-only"===e.context.requestPolicy))(d)),p=(0,s.UI)((e=>{var s=((e,t,n)=>({operation:e,data:t.data?JSON.parse(t.data):void 0,extensions:n&&t.extensions?JSON.parse(t.extensions):void 0,error:t.error?new o.C({networkError:t.error.networkError?new Error(t.error.networkError):void 0,graphQLErrors:t.error.graphQLErrors}):void 0,hasNext:t.hasNext}))(e,r[e.key],n);return t&&!E.has(e.key)&&(s.stale=!0,E.add(e.key),g(i,e)),s}))((0,s.hX)((e=>!!r[e.key]&&"network-only"!==e.context.requestPolicy))(d));return l?p=(0,s.bw)(a)(p):f=(0,s.bw)((e=>{var{operation:t}=e;if("mutation"!==t.kind){var i=(({hasNext:e,data:t,extensions:n,error:r},i)=>{var o={};return void 0!==t&&(o.data=JSON.stringify(t)),i&&void 0!==n&&(o.extensions=JSON.stringify(n)),e&&(o.hasNext=!0),r&&(o.error={graphQLErrors:r.graphQLErrors.map((e=>e.path||e.extensions?{message:e.message,path:e.path,extensions:e.extensions}:e.message))},r.networkError&&(o.error.networkError=""+r.networkError)),o})(e,n);r[t.key]=i}}))(f),(0,s.TS)([f,p])};return c.restoreData=e=>{for(var t in e)null!==r[t]&&(r[t]=e[t])},c.extractData=()=>{var e={};for(var t in r)null!=r[t]&&(e[t]=r[t]);return e},e&&e.initialState&&c.restoreData(e.initialState),c},N=({forward:e,dispatchDebug:t})=>{var n=new Set,r=e=>{var{key:t,kind:r}=e;if("teardown"===r||"mutation"===r)return n.delete(t),!0;var i=n.has(t);return n.add(t),!i},i=({operation:e,hasNext:t})=>{t||n.delete(e.key)};return t=>{var n=(0,s.hX)(r)(t);return(0,s.bw)(i)(e(n))}},k=({forward:e,dispatchDebug:t})=>t=>{var n=(0,s.BN)(t),r=(0,s.zg)((e=>{var{key:t}=e,r=(0,o.b)(e),i=(0,o.c)(e,r),a=(0,o.d)(e,r),c=(0,s.Rs)((0,s.hX)((e=>"teardown"===e.kind&&e.key===t))(n))((0,o.e)(e,i,a));return c}))((0,s.hX)((e=>"query"===e.kind||"mutation"===e.kind))(n)),i=e((0,s.hX)((e=>"query"!==e.kind&&"mutation"!==e.kind))(n));return(0,s.TS)([r,i])},T=({dispatchDebug:e})=>e=>(0,s.hX)((()=>!1))((0,s.bw)((e=>{e.kind}))(e)),b=(T({dispatchDebug:v}),[N,y,k]),I=function e(t){var n=0,r=new Map,i=new Map,a=[],c={url:t.url,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:!!t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},{source:u,next:l}=(0,s.nN)(),h=!1;function m(e){if(e&&l(e),!h){for(h=!0;h&&(e=a.shift());)l(e);h=!1}}var y=e=>{var n=(0,s.hX)((t=>t.operation.kind===e.kind&&t.operation.key===e.key&&(!t.operation.context._instance||t.operation.context._instance===e.context._instance)))(k);return t.maskTypename&&(n=(0,s.UI)((e=>({...e,data:d(e.data,!0)})))(n)),"mutation"===e.kind?(0,s.qn)(1)((0,s.Hr)((()=>l(e)))(n)):(0,s.BN)((0,s.ok)((()=>{r.delete(e.key),i.delete(e.key);for(var t=a.length-1;t>=0;t--)a[t].key===e.key&&a.splice(t,1);l(p("teardown",e,e.context))}))((0,s.Mq)((t=>{r.set(e.key,t)}))((0,s.wt)((t=>"query"!==e.kind||t.stale?(0,s._A)(t):(0,s.TS)([(0,s._A)(t),(0,s.UI)((()=>({...t,stale:!0})))((0,s.qn)(1)((0,s.hX)((t=>"query"===t.kind&&t.key===e.key&&"cache-only"!==t.context.requestPolicy))(u)))])))((0,s.Rs)((0,s.hX)((t=>"teardown"===t.kind&&t.key===e.key))(u))(n)))))},g=this instanceof e?this:Object.create(e.prototype),E=Object.assign(g,{suspense:!!t.suspense,operations$:u,reexecuteOperation(e){("mutation"===e.kind||i.has(e.key))&&(a.push(e),Promise.resolve().then(m))},createRequestOperation(e,t,r){r||(r={});(0,o.g)(t.query);return p(e,t,{_instance:"mutation"===e?n=n+1|0:void 0,...c,...r,requestPolicy:r.requestPolicy||c.requestPolicy,suspense:r.suspense||!1!==r.suspense&&E.suspense})},executeRequestOperation:e=>"mutation"===e.kind?y(e):(0,s.Sy)((t=>{var n=i.get(e.key);n||i.set(e.key,n=y(e));var o="cache-and-network"===e.context.requestPolicy||"network-only"===e.context.requestPolicy;return(0,s.Ld)(t.next)((0,s.ok)((()=>{h=!1,t.complete()}
1))((0,s.Hr)((()=>{var n=r.get(e.key);if("subscription"===e.kind)return m(e);o&&m(e),null!=n&&n===r.get(e.key)?t.next(o?{...n,stale:!0}:n):o||m(e)}))(n))).unsubscribe})),executeQuery(e,t){var n=E.createRequestOperation("query",e,t);return E.executeRequestOperation(n)},executeSubscription(e,t){var n=E.createRequestOperation("subscription",e,t);return E.executeRequestOperation(n)},executeMutation(e,t){var n=E.createRequestOperation("mutation",e,t);return E.executeRequestOperation(n)},query:(e,t,n)=>(n&&"boolean"==typeof n.suspense||(n={...n,suspense:!1}),f(E.executeQuery((0,o.f)(e,t),n))),readQuery(e,t,n){var r=null;return(0,s.Ld)((e=>{r=e}))(E.query(e,t,n)).unsubscribe(),r},subscription:(e,t,n)=>E.executeSubscription((0,o.f)(e,t),n),mutation:(e,t,n)=>f(E.executeMutation((0,o.f)(e,t),n))}),x=v,N=(e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight(((e,n)=>n({client:t,forward:e,dispatchDebug(e){}})),n))(void 0!==t.exchanges?t.exchanges:b),k=(0,s.BN)(N({client:E,dispatchDebug:x,forward:T({dispatchDebug:x})})(u));return(0,s.nY)(k),E}},5266:function(e,t,n){"use strict";n.d(t,{BN:function(){return v},Hr:function(){return h},Ld:function(){return T},Mq:function(){return p},Rs:function(){return g},Sy:function(){return N},TS:function(){return d},UI:function(){return u},_A:function(){return x},bw:function(){return p},hX:function(){return c},nN:function(){return k},nY:function(){return b},ok:function(){return f},qn:function(){return y},wt:function(){return m},zg:function(){return l}});var r=()=>{},i=r;function o(e){var t=[e];return t.tag=0,t}function s(e){var t=[e];return t.tag=1,t}var a=e=>e;function c(e){return t=>n=>{var r=i;t((t=>{0===t?n(0):0===t.tag?(r=t[0],n(t)):e(t[0])?n(t):r(0)}))}}function u(e){return t=>n=>t((t=>{0===t||0===t.tag?n(t):n(s(e(t[0])))}))}function l(e){return t=>n=>{var r=[],s=i,a=!1,c=!1;t((t=>{c||(0===t?(c=!0,r.length||n(0)):0===t.tag?s=t[0]:(a=!1,function(e){var t=i;e((e=>{if(0===e){if(r.length){var i=r.indexOf(t);i>-1&&(r=r.slice()).splice(i,1),r.length||(c?n(0):a||(a=!0,s(0)))}}else 0===e.tag?(r.push(t=e[0]),t(0)):r.length&&(n(e),t(0))}))}(e(t[0])),a||(a=!0,s(0))))})),n(o((e=>{if(1===e){c||(c=!0,s(1));for(var t=0,n=r,i=r.length;t<i;t++)n[t](1);r.length=0}else{c||a?a=!1:(a=!0,s(0));for(var o=0,u=r,l=r.length;o<l;o++)u[o](0)}})))}}function d(e){return function(e){return l(a)(e)}(E(e))}function f(e){return t=>n=>{var r=!1;t((t=>{if(r);else if(0===t)r=!0,n(0),e();else if(0===t.tag){var i=t[0];n(o((t=>{1===t?(r=!0,i(1),e()):i(t)})))}else n(t)}))}}function p(e){return t=>n=>{var r=!1;t((t=>{if(r);else if(0===t)r=!0,n(0);else if(0===t.tag){var i=t[0];n(o((e=>{1===e&&(r=!0),i(e)})))}else e(t[0]),n(t)}))}}function h(e){return t=>n=>t((t=>{0===t?n(0):0===t.tag?(n(t),e()):n(t)}))}function v(e){var t=[],n=i,r=!1;return i=>{t.push(i),1===t.length&&e((e=>{if(0===e){for(var i=0,o=t,s=t.length;i<s;i++)o[i](0);t.length=0}else if(0===e.tag)n=e[0];else{r=!1;for(var a=0,c=t,u=t.length;a<u;a++)c[a](e)}})),i(o((e=>{if(1===e){var o=t.indexOf(i);o>-1&&(t=t.slice()).splice(o,1),t.length||n(1)}else r||(r=!0,n(0))})))}}function m(e){return t=>n=>{var r=i,s=i,a=!1,c=!1,u=!1,l=!1;t((t=>{l||(0===t?(l=!0,u||n(0)):0===t.tag?r=t[0]:(u&&(s(1),s=i),a?a=!1:(a=!0,r(0)),function(e){u=!0,e((e=>{u&&(0===e?(u=!1,l?n(0):a||(a=!0,r(0))):0===e.tag?(c=!1,(s=e[0])(0)):(n(e),c?c=!1:s(0)))}))}(e(t[0]))))})),n(o((e=>{1===e?(l||(l=!0,r(1)),u&&(u=!1,s(1))):(l||a||(a=!0,r(0)),u&&!c&&(c=!0,s(0)))})))}}function y(e){return t=>n=>{var r=i,s=!1,a=0;t((t=>{s||(0===t?(s=!0,n(0)):0===t.tag?e<=0?(s=!0,n(0),t[0](1)):r=t[0]:a++<e?(n(t),!s&&a>=e&&(s=!0,n(0),r(1))):n(t))})),n(o((t=>{1!==t||s?0===t&&!s&&a<e&&r(0):(s=!0,r(1))})))}}function g(e){return t=>n=>{var r=i,s=i,a=!1;t((t=>{a||(0===t?(a=!0,s(1),n(0)):0===t.tag?(r=t[0],e((e=>{0===e||(0===e.tag?(s=e[0])(0):(a=!0,r(1),n(0)))}))):n(t))})),n(o((e=>{1!==e||a?a||r(0):(a=!0,r(1),s(1))})))}}var E=function(e){return e[Symbol.asyncIterator]?function(e){return t=>{var n,r=e[Symbol.asyncIterator](),i=!1,a=!1,c=!1;t(o((async e=>{if(1===e)i=!0,r.return&&r.return();else if(a)c=!0;else{for(c=a=!0;c&&!i;)if((n=await r.next()).done)i=!0,r.return&&await r.return(),t(0);else try{c=!1,t(s(n.value))}catch(e){if(!r.throw)throw e;(i=!!(await r.throw(e)).done)&&t(0)}a=!1}})))}}(e):t=>{var n,r=e[Symbol.iterator](),i=!1,a=!1,c=!1;t(o((e=>{if(1===e)i=!0,r.return&&r.return();else if(a)c=!0;else{for(c=a=!0;c&&!i;)if((n=r.next()).done)i=!0,r.return&&r.return(),t(0);else try{c=!1,t(s(n.value))}catch(e){if(!r.throw)throw e;(i=!!r.throw(e).done)&&t(0)}a=!1}})))}};function x(e){return t=>{var n=!1;t(o((r=>{1===r?n=!0:n||(n=!0,t(s(e)),t(0))})))}}function N(e){return t=>{var n=!1,r=e({next(e){n||t(s(e))},complete(){n||(n=!0,t(0))}});t(o((e=>{1!==e||n||(n=!0,r())})))}}function k(){var e,t;return{source:v(N((n=>(e=n.next,t=n.complete,r)))),next(t){e&&e(t)}
1,complete(){t&&t()}}}function T(e){return t=>{var n=i,r=!1;return t((t=>{0===t?r=!0:0===t.tag?(n=t[0])(0):r||(e(t[0]),n(0))})),{unsubscribe(){r||(r=!0,n(1))}}}}function b(e){T((e=>{}))(e)}},6364:function(e,t,n){"use strict";n.d(t,{__:function(){return u}});var r=n(8495),i=n(9551);const o=/\r\n|[\n\r]/g;function s(e,t){let n=0,r=1;for(const s of e.body.matchAll(o)){if("number"===typeof s.index||(0,i.k)(!1),s.index>=t)break;n=s.index+s[0].length,r+=1}return{line:r,column:t+1-n}}function a(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,a=1===t.line?n:0,u=t.column+a,l=`${e.name}:${s}:${u}\n`,d=r.split(/\r\n|[\n\r]/g),f=d[i];if(f.length>120){const e=Math.floor(u/80),t=u%80,n=[];for(let r=0;r<f.length;r+=80)n.push(f.slice(r,r+80));return l+c([[`${s} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+c([[s-1+" |",d[i-1]],[`${s} |`,f],["|","^".padStart(u)],[`${s+1} |`,d[i+1]]])}function c(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 u extends Error{constructor(e,...t){var n,i,o;const{nodes:a,source:c,positions:d,path:f,originalError:p,extensions:h}=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!==f&&void 0!==f?f:void 0,this.originalError=null!==p&&void 0!==p?p:void 0,this.nodes=l(Array.isArray(a)?a:a?[a]:void 0);const v=l(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==c&&void 0!==c?c:null===v||void 0===v||null===(i=v[0])||void 0===i?void 0:i.source,this.positions=null!==d&&void 0!==d?d:null===v||void 0===v?void 0:v.map((e=>e.start)),this.locations=d&&c?d.map((e=>s(c,e))):null===v||void 0===v?void 0:v.map((e=>s(e.source,e.start)));const m=(0,r.y)(null===p||void 0===p?void 0:p.extensions)?null===p||void 0===p?void 0:p.extensions:void 0;this.extensions=null!==(o=null!==h&&void 0!==h?h:m)&&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!==p&&void 0!==p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,u):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 n of this.nodes)n.loc&&(e+="\n\n"+a((t=n.loc).source,s(t.source,t.start)));else if(this.source&&this.locations)for(const n of this.locations)e+="\n\n"+a(this.source,n);var 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 l(e){return void 0===e||0===e.length?void 0:e}},7826:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},5821:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});function r(e){return i(e,[])}function i(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:i(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(10,e.length),r=e.length-n,o=[];for(let s=0;s<n;++s)o.push(i(e[s],t));1===r?o.push("... 1 more item"):r>1&&o.push(`... ${r} more items`);return"["+o.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+i(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},8306:function(e,t,n){"use strict";n.d(t,{n:function(){return r}});const r=function(e,t){return e instanceof t}},9551:function(e,t,n){"use strict";function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{k:function(){return r}})},8495:function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{y:function(){return r}})},2380:function(e,t,n){"use strict";n.d(t,{UG:function(){return a},WU:function(){return i},Ye:function(){return r},h8:function(){return o},ku:function(){return c}});
1class r{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class i{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function a(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&s.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},7392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return s},wv:function(){return i}});var r=n(8297);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;a<e.length;++a){var s;const t=e[a],c=o(t);c!==t.length&&(r=null!==(s=r)&&void 0!==s?s:a,i=a,0!==a&&c<n&&(n=c))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}function s(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,s=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.FD)(e.charCodeAt(0)))),a=n.endsWith('\\"""'),c=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=c||u,d=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||s||a);let f="";const p=o&&(0,r.FD)(e.charCodeAt(0));return(d&&!p||s)&&(f+="\n"),f+=n,(d||l)&&(f+="\n"),'"""'+f+'"""'}},8297:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return a},LQ:function(){return s},X1:function(){return i}})},9878:function(e,t,n){"use strict";var r;n.d(t,{B:function(){return r}}),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(r||(r={}))},7359:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return r}}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="Str
1ingValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(r||(r={}))},785:function(e,t,n){"use strict";n.d(t,{Qc:function(){return R}});var r=n(6364);function i(e,t,n){return new r.__(`Syntax Error: ${n}`,{source:e,positions:[t]})}var o,s=n(2380),a=n(9878),c=n(7359),u=n(7392),l=n(8297);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(o||(o={}));class d{constructor(e){const t=new s.WU(o.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!==o.EOF)do{if(e.next)e=e.next;else{const t=g(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===o.COMMENT);return e}}function f(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function p(e,t){return h(e.charCodeAt(t))&&v(e.charCodeAt(t+1))}function h(e){return e>=55296&&e<=56319}function v(e){return e>=56320&&e<=57343}function m(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return o.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function y(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new s.WU(t,n,r,o,a,i)}function g(e,t){const n=e.source.body,r=n.length;let s=t;for(;s<r;){const t=n.charCodeAt(s);switch(t){case 65279:case 9:case 32:case 44:++s;continue;case 10:++s,++e.line,e.lineStart=s;continue;case 13:10===n.charCodeAt(s+1)?s+=2:++s,++e.line,e.lineStart=s;continue;case 35:return E(e,s);case 33:return y(e,o.BANG,s,s+1);case 36:return y(e,o.DOLLAR,s,s+1);case 38:return y(e,o.AMP,s,s+1);case 40:return y(e,o.PAREN_L,s,s+1);case 41:return y(e,o.PAREN_R,s,s+1);case 46:if(46===n.charCodeAt(s+1)&&46===n.charCodeAt(s+2))return y(e,o.SPREAD,s,s+3);break;case 58:return y(e,o.COLON,s,s+1);case 61:return y(e,o.EQUALS,s,s+1);case 64:return y(e,o.AT,s,s+1);case 91:return y(e,o.BRACKET_L,s,s+1);case 93:return y(e,o.BRACKET_R,s,s+1);case 123:return y(e,o.BRACE_L,s,s+1);case 124:return y(e,o.PIPE,s,s+1);case 125:return y(e,o.BRACE_R,s,s+1);case 34:return 34===n.charCodeAt(s+1)&&34===n.charCodeAt(s+2)?A(e,s):k(e,s)}if((0,l.X1)(t)||45===t)return x(e,s,t);if((0,l.LQ)(t))return w(e,s);throw i(e.source,s,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":f(t)||p(n,s)?`Unexpected character: ${m(e,s)}.`:`Invalid character: ${m(e,s)}.`)}return y(e,o.EOF,r,r)}function E(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(f(e))++i;else{if(!p(n,i))break;i+=2}}return y(e,o.COMMENT,t,i,n.slice(t+1,i))}function x(e,t,n){const r=e.source.body;let s=t,a=n,c=!1;if(45===a&&(a=r.charCodeAt(++s)),48===a){if(a=r.charCodeAt(++s),(0,l.X1)(a))throw i(e.source,s,`Invalid number, unexpected digit after 0: ${m(e,s)}.`)}else s=N(e,s,a),a=r.charCodeAt(s);if(46===a&&(c=!0,a=r.charCodeAt(++s),s=N(e,s,a),a=r.charCodeAt(s)),69!==a&&101!==a||(c=!0,a=r.charCodeAt(++s),43!==a&&45!==a||(a=r.charCodeAt(++s)),s=N(e,s,a),a=r.charCodeAt(s)),46===a||(0,l.LQ)(a))throw i(e.source,s,`Invalid number, expected digit but got: ${m(e,s)}.`);return y(e,c?o.FLOAT:o.INT,t,s,r.slice(t,s))}function N(e,t,n){if(!(0,l.X1)(n))throw i(e.source,t,`Invalid number, expected digit but got: ${m(e,t)}.`);const r=e.source.body;let o=t+1;for(;(0,l.X1)(r.charCodeAt(o));)++o;return o}function k(e,t){const n=e.source.body,r=n.length;let s=t+1,a=s,c="";for(;s<r;){const r=n.charCodeAt(s);
vendor: 16,384 bytes, line 1
1if(34===r)return c+=n.slice(a,s),y(e,o.STRING,t,s+1,c);if(92!==r){if(10===r||13===r)break;if(f(r))++s;else{if(!p(n,s))throw i(e.source,s,`Invalid character within String: ${m(e,s)}.`);s+=2}}else{c+=n.slice(a,s);const t=117===n.charCodeAt(s+1)?123===n.charCodeAt(s+2)?T(e,s):b(e,s):_(e,s);c+=t.value,s+=t.size,a=s}}throw i(e.source,s,"Unterminated string.")}function T(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||!f(r))break;return{value:String.fromCodePoint(r),size:o}}if(r=r<<4|O(e),r<0)break}throw i(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function b(e,t){const n=e.source.body,r=I(n,t+2);if(f(r))return{value:String.fromCodePoint(r),size:6};if(h(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=I(n,t+8);if(v(e))return{value:String.fromCodePoint(r,e),size:12}}throw i(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function I(e,t){return O(e.charCodeAt(t))<<12|O(e.charCodeAt(t+1))<<8|O(e.charCodeAt(t+2))<<4|O(e.charCodeAt(t+3))}function O(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function _(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 i(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function A(e,t){const n=e.source.body,r=n.length;let s=e.lineStart,a=t+3,c=a,l="";const d=[];for(;a<r;){const r=n.charCodeAt(a);if(34===r&&34===n.charCodeAt(a+1)&&34===n.charCodeAt(a+2)){l+=n.slice(c,a),d.push(l);const r=y(e,o.BLOCK_STRING,t,a+3,(0,u.wv)(d).join("\n"));return e.line+=d.length-1,e.lineStart=s,r}if(92!==r||34!==n.charCodeAt(a+1)||34!==n.charCodeAt(a+2)||34!==n.charCodeAt(a+3))if(10!==r&&13!==r)if(f(r))++a;else{if(!p(n,a))throw i(e.source,a,`Invalid character within String: ${m(e,a)}.`);a+=2}else l+=n.slice(c,a),d.push(l),13===r&&10===n.charCodeAt(a+1)?a+=2:++a,l="",c=a,s=a;else l+=n.slice(c,a),c=a+1,a+=4}throw i(e.source,a,"Unterminated string.")}function w(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,l.HQ)(e))break;++i}return y(e,o.NAME,t,i,n.slice(t,i))}var S=n(7826),D=n(5821),C=n(8306);class L{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"===typeof e||(0,S.a)(!1,`Body must be a string. Received: ${(0,D.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,S.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,S.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function R(e,t){return new M(e,t).parseDocument()}class M{constructor(e,t={}){const n=function(e){return(0,C.n)(e,L)}(e)?e:new L(e);this._lexer=new d(n),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(o.NAME);return this.node(e,{kind:c.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:c.h.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===o.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw i(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(e,{kind:c.h.OPERATION_DEFINITION,operation:s.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(o.NAME)&&(n=this.parseName()),this.node(e,{kind:c.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(o.NAME);switch(e.value){case"query":return s.ku.QUERY;case"mutation":return s.ku.MUTATION;case"subscription":return s.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:c.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(e,{kind:c.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:c.h.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(o.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:c.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,t,o.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:c.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(o.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(o.NAME)?this.node(e,{kind:c.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:c.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:c.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:c.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case o.BRACKET_L:return this.parseList(e);case o.BRACE_L:return this.parseObject(e);case o.INT:return this.advanceLexer(),this.node(t,{kind:c.h.INT,value:t.value});case o.FLOAT:return this.advanceLexer(),this.node(t,{kind:c.h.FLOAT,value:t.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:c.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:c.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:c.h.NULL});default:return this.node(t,{kind:c.h.ENUM,value:t.value})}case o.DOLLAR:if(e){if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){const e=this._lexer.token.value;throw i(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:c.h.STRING,value:e.value,block:e.kind===o.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:c.h.LIST,values:this.any(o.BRACKET_L,(()=>this.parseValueLiteral(e)),o.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:c.h.OBJECT,fields:this.any(o.BRACE_L,(()=>this.parseObjectField(e)),o.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:c.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(o.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(o.AT),this.node(t,{kind:c.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(o.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(o.BRACKET_R),t=this.node(e,{kind:c.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(e,{kind:c.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:c.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.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(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(e,{kind:c.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(o.COLON);const n=this.parseNamedType();return this.node(e,{kind:c.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:c.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:c.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(o.COLON);const i=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:c.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:s})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(o.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(o.EQUALS)&&(i=this.parseConstValueLiteral());const s=this.parseConstDirectives();return this.node(e,{kind:c.h.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:s})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:c.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:c.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:c.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:c.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw i(this._lexer.source,this._lexer.token.start,`${F(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:c.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===o.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:c.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:c.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:c.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:c.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension
1(){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:c.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:c.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const s=this.parseDirectiveLocations();return this.node(e,{kind:c.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:s})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a.B,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new s.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw i(this._lexer.source,t.start,`Expected ${P(e)}, found ${F(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==o.NAME||t.value!==e)throw i(this._lexer.source,t.start,`Expected "${e}", found ${F(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===o.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return i(this._lexer.source,t.start,`Unexpected ${F(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==o.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw i(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function F(e){const t=e.value;return P(e.kind)+(null!=t?` "${t}"`:"")}function P(e){return function(e){return e===o.BANG||e===o.DOLLAR||e===o.AMP||e===o.PAREN_L||e===o.PAREN_R||e===o.SPREAD||e===o.COLON||e===o.EQUALS||e===o.AT||e===o.BRACKET_L||e===o.BRACKET_R||e===o.BRACE_L||e===o.PIPE||e===o.BRACE_R}(e)?`"${e}"`:e}},6918:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(7392);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}const s=["\\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 a=n(7304);function c(e){return(0,a.Vn)(e,u)}const u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=f("(",l(e.variableDefinitions,", "),")"),n=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+f(" = ",n)+f(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>d(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=f("",e,": ")+t;let s=o+f("(",l(n,", "),")");return s.length>80&&(s=o+f("(\n",p(l(n,"\n")),"\n)")),l([s,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+f(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",f("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${f("(",l(n,", "),")")} on ${t} ${f("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,r.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+f("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>f("",e,"\n")+l(["schema",l(t," "),d(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>f("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>f("",e,"\n")+l(["type",t,f("implements ",l(n," & ")),l(r," "),d(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>f("",e,"\n")+t+(h(n)?f("(\n",p(l(n,"\n")),"\n)"):f("(",l(n,", "),")"))+": "+r+f(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>f("",e,"\n")+l([t+": "+n,f("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>f("",e,"\n")+l(["interface",t,f("implements ",l(n," & ")),l(r," "),d(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>f("",e,"\n")+l(["union",t,l(n," "),f("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>f("",e,"\n")+l(["enum",t,l(n," "),d(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>f("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>f("",e,"\n")+l(["input",t,l(n," "),d(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>f("",e,"\n")+"directive @"+t+(h(n)?f("(\n",p(l(n,"\n")),"\n)"):f("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),d(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend type",e,f("implements ",l(t," & ")),l(n," "),d(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,f("implements ",l(t," & ")),l(n," "),d(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),f("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),d(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),d(n)]," ")}};function l(e,t=""){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function d(e){return f("{\n",p(l(e,"\n")),"\n}")}function f(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function p(e){return f(" ",e.replace(/\n/g,"\n "))}function h(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},7304:function(e,t,n){"use strict";n.d(t,{Vn:function(){return c},j1:function(){return u}});var r=n(7826),i=n(5821),o=n(2380),s=n(7359);const a=Object.freeze({});function c(e,t,n=o.h8){const c=new Map;for(const r of Object.values(s.h))c.set(r,l(t,r));let u,d,f,p=Array.isArray(e),h=[e],v=-1,m=[],y=e;const g=[],E=[];do{v++;const e=v===h.length,s=e&&0!==m.length;if(e){if(d=0===E.length?void 0:g[g.length-1],y=f,f=E.pop(),s)if(p){y=y.slice();let e=0;for(const[t,n]of m){const r=t-e;null===n?(y.splice(r,1),e++):y[r]=n}}else{y=Object.defineProperties({},Object.getOwnPropertyDescriptors(y));for(const[e,t]of m)y[e]=t}v=u.index,h=u.keys,m=u.edits,p=u.inArray,u=u.prev}else if(f){if(d=p?v:h[v],y=f[d],null===y||void 0===y)continue;g.push(d)}let l;if(!Array.isArray(y)){var x,N;(0,o.UG)(y)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(y)}.`);const n=e?null===(x=c.get(y.kind))||void 0===x?void 0:x.leave:null===(N=c.get(y.kind))||void 0===N?void 0:N.enter;if(l=null===n||void 0===n?void 0:n.call(t,y,d,f,g,E),l===a)break;if(!1===l){if(!e){g.pop();continue}}
1else if(void 0!==l&&(m.push([d,l]),!e)){if(!(0,o.UG)(l)){g.pop();continue}y=l}}var k;if(void 0===l&&s&&m.push([d,y]),e)g.pop();else u={inArray:p,index:v,keys:h,edits:m,prev:u},p=Array.isArray(y),h=p?y:null!==(k=n[y.kind])&&void 0!==k?k:[],v=-1,m=[],f&&E.push(f),f=y}while(void 0!==u);return 0!==m.length?m[m.length-1][1]:e}function u(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(s.h)){let i=!1;const o=new Array(e.length).fill(void 0),s=new Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){const{enter:n,leave:a}=l(e[t],r);i||(i=null!=n||null!=a),o[t]=n,s[t]=a}if(!i)continue;const c={enter(...n){const r=n[0];for(let s=0;s<e.length;s++)if(null===t[s]){var i;const c=null===(i=o[s])||void 0===i?void 0:i.apply(e[s],n);if(!1===c)t[s]=r;else if(c===a)t[s]=a;else if(void 0!==c)return c}},leave(...n){const r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;const r=null===(i=s[o])||void 0===i?void 0:i.apply(e[o],n);if(r===a)t[o]=a;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=c}return n}function l(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}}}}]);
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.