(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{9361:function(e,t){"use strict";t.Z=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},8875:function(e,t,n){var r,i,o; /*!
  Copyright (c) 2015 Jed Watson.
  Based on code that is Copyright 2013-2015, Facebook, Inc.
  All rights reserved.
*/ o={canUseDOM:i=!!("undefined"!=typeof window&&window.document&&window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!!(window.addEventListener||window.attachEvent),canUseViewport:i&&!!window.screen},void 0!==(r=(function(){return o}).call(t,n,t,e))&&(e.exports=r)},6840:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(532)}])},1210:function(e,t){"use strict";function n(e,t,n,r){return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.getDomainLocale=n,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===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,n,s=e.src,c=e.sizes,v=e.unoptimized,y=void 0!==v&&v,_=e.priority,x=void 0!==_&&_,k=e.loading,j=e.lazyRoot,C=e.lazyBoundary,I=e.className,N=e.quality,A=e.width,L=e.height,P=e.style,R=e.objectFit,D=e.objectPosition,M=e.onLoadingComplete,F=e.placeholder,q=void 0===F?"empty":F,V=e.blurDataURL,Q=u(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),z=l.useContext(p.ImageConfigContext),U=l.useMemo(function(){var e=m||z||d.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 a({},e,{allSizes:t,deviceSizes:n})},[z]),H=c?"responsive":"intrinsic";"layout"in Q&&(Q.layout&&(H=Q.layout),delete Q.layout);var B=T;if("loader"in Q){if(Q.loader){var W=Q.loader;B=function(e){e.config;var t=u(e,["config"]);return W(t)}}delete Q.loader}var J="";if(function(e){var t;return"object"==typeof e&&(w(e)||void 0!==e.src)}(s)){var Z=w(s)?s.default:s;if(!Z.src)throw 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(Z)));if(V=V||Z.blurDataURL,J=Z.src,(!H||"fill"!==H)&&(L=L||Z.height,A=A||Z.width,!Z.height||!Z.width))throw 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(Z)))}s="string"==typeof s?s:J;var Y=!x&&("lazy"===k||void 0===k);(s.startsWith("data:")||s.startsWith("blob:"))&&(y=!0,Y=!1),g.has(s)&&(Y=!1),U.unoptimized&&(y=!0);var G=i(l.useState(!1),2),K=G[0],$=G[1],X=i(h.useIntersection({rootRef:void 0===j?null:j,rootMargin:C||"200px",disabled:!Y}),3),ee=X[0],et=X[1],en=X[2],er=!Y||et,ei={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},eo={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},ea=!1,es=E(A),ec=E(L),eu=E(N),el=Object.assign({},P,{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:D}),ef="blur"!==q||K?{}:{backgroundSize:R||"cover",backgroundPosition:D||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(V,'")')};if("fill"===H)ei.display="block",ei.position="absolute",ei.top=0,ei.left=0,ei.bottom=0,ei.right=0;else if(void 0!==es&&void 0!==ec){var ed=ec/es,eh=isNaN(ed)?"100%":"".concat(100*ed,"%");"responsive"===H?(ei.display="block",ei.position="relative",ea=!0,eo.paddingTop=eh):"intrinsic"===H?(ei.display="inline-block",ei.position="relative",ei.maxWidth="100%",ea=!0,eo.maxWidth="100%",t="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(es,"%27%20height=%27").concat(ec,"%27/%3e")):"fixed"===H&&(ei.display="inline-block",ei.position="relative",ei.width=es,ei.height=ec)}var ep={src:b,srcSet:void 0,sizes:void 0};er&&(ep=O({config:U,src:s,unoptimized:y,layout:H,width:es,quality:eu,sizes:c,loader:B}));var ev=s,ey="imagesizes";ey="imageSizes";var em=(r(n={},"imageSrcSet",ep.srcSet),r(n,ey,ep.sizes),r(n,"crossOrigin",Q.crossOrigin),n),eg=l.default.useLayoutEffect,eb=l.useRef(M),e_=l.useRef(s);l.useEffect(function(){eb.current=M},[M]),eg(function(){e_.current!==s&&(en(),e_.current=s)},[en,s]);var ew=a({isLazy:Y,imgAttributes:ep,heightInt:ec,widthInt:es,qualityInt:eu,layout:H,className:I,imgStyle:el,blurStyle:ef,loading:k,config:U,unoptimized:y,placeholder:q,loader:B,srcString:ev,onLoadingCompleteRef:eb,setBlurComplete:$,setIntersection:ee,isVisible:er,noscriptSizes:c},Q);return l.default.createElement(l.default.Fragment,null,l.default.createElement("span",{style:ei},ea?l.default.createElement("span",{style:eo},t?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:t}):null):null,l.default.createElement(S,Object.assign({},ew))),x?l.default.createElement(f.default,null,l.default.createElement("link",Object.assign({key:"__nimg-"+ep.src+ep.srcSet+ep.sizes,rel:"preload",as:"image",href:ep.srcSet?void 0:ep.src},em))):null)};var a=n(6495).Z,s=n(2648).Z,c=n(1598).Z,u=n(7273).Z,l=c(n(7294)),f=s(n(5443)),d=n(9309),h=n(7190),p=n(9977);n(3794);var v=n(2392);function y(e){return"/"===e[0]?e.slice(1):e}var m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},g=new Set,b="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",_=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(y(n))),a=o.searchParams;return a.set("auto",a.getAll("auto").join(",")||"format"),a.set("fit",a.get("fit")||"max"),a.set("w",a.get("w")||r.toString()),i&&a.set("q",i.toString()),o.href}],["cloudinary",function(e){var t,n=e.config,r=e.src,i=e.width,o=["f_auto","c_limit","w_"+i,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(n.path).concat(o).concat(y(r))}],["akamai",function(e){var t=e.config,n=e.src,r=e.width;return"".concat(t.path).concat(y(n),"?imwidth=").concat(r)}],["custom",function(e){var t=e.src;throw Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}],]);function w(e){return void 0!==e.default}function O(e){var t=e.config,n=e.src,r=e.unoptimized,i=e.layout,a=e.width,s=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,a=e.allSizes;if(r&&("fill"===n||"responsive"===n)){for(var s=/(^|\s)(1?\d?\d)vw/g,c=[];u=s.exec(r);u)c.push(parseInt(u[2]));if(c.length){var u,l,f=.01*(l=Math).min.apply(l,o(c));return{widths:a.filter(function(e){return e>=i[0]*f}),kind:"w"}}return{widths:a,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 a.find(function(t){return t>=e})||a[a.length-1]}))),kind:"x"}}(t,a,i,c),f=l.widths,d=l.kind,h=f.length-1;return{sizes:c||"w"!==d?c:"100vw",srcSet:f.map(function(e,r){return"".concat(u({config:t,src:n,quality:s,width:e})," ").concat("w"===d?e:r+1).concat(d)}).join(", "),src:u({config:t,src:n,quality:s,width:f[h]})}}function E(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}function T(e){var t,n=(null==(t=e.config)?void 0:t.loader)||"default",r=_.get(n);if(r)return r(e);throw Error('Unknown "loader" found in "next.config.js". Expected: '.concat(d.VALID_LOADERS.join(", "),". Received: ").concat(n))}function x(e,t,n,r,i,o){e&&e.src!==b&&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.naturalWidth,a=e.naturalHeight;i.current({naturalWidth:n,naturalHeight:a})}}))}var S=function(e){var t=e.imgAttributes,n=(e.heightInt,e.widthInt),r=e.qualityInt,i=e.layout,o=e.className,s=e.imgStyle,c=e.blurStyle,f=e.isLazy,d=e.placeholder,h=e.loading,p=e.srcString,v=e.config,y=e.unoptimized,m=e.loader,g=e.onLoadingCompleteRef,b=e.setBlurComplete,_=e.setIntersection,w=e.onLoad,E=e.onError,T=(e.isVisible,e.noscriptSizes),S=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 h=f?"lazy":h,l.default.createElement(l.default.Fragment,null,l.default.createElement("img",Object.assign({},S,t,{decoding:"async","data-nimg":i,className:o,style:a({},s,c),ref:l.useCallback(function(e){_(e),(null==e?void 0:e.complete)&&x(e,p,i,d,g,b)},[_,p,i,d,g,b,]),onLoad:function(e){x(e.currentTarget,p,i,d,g,b),w&&w(e)},onError:function(e){"blur"===d&&b(!0),E&&E(e)}})),(f||"blur"===d)&&l.default.createElement("noscript",null,l.default.createElement("img",Object.assign({},S,O({config:v,src:p,unoptimized:y,layout:i,width:n,quality:r,sizes:T,loader:m}),{decoding:"async","data-nimg":i,style:s,className:o,loading:h}))))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===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,a=i(n(7294)),s=n(6273),c=n(2725),u=n(3462),l=n(1018),f=n(7190),d=n(1210),h=n(8684),p={};function v(e,t,n,r){if(e&&s.isLocalURL(t)){Promise.resolve(e.prefetch(t,n,r)).catch(function(e){});var i=r&&void 0!==r.locale?r.locale:e&&e.locale;p[t+"%"+n+(i?"%"+i:"")]=!0}}var y=a.default.forwardRef(function(e,t){var n,i,y=e.href,m=e.as,g=e.children,b=e.prefetch,_=e.passHref,w=e.replace,O=e.shallow,E=e.scroll,T=e.locale,x=e.onClick,S=e.onMouseEnter,k=e.onTouchStart,j=e.legacyBehavior,C=void 0===j?!0!==Boolean(!1):j,I=o(e,["href","as","children","prefetch","passHref","replace","shallow","scroll","locale","onClick","onMouseEnter","onTouchStart","legacyBehavior"]);n=g,C&&("string"==typeof n||"number"==typeof n)&&(n=a.default.createElement("a",null,n));var N=!1!==b,A=a.default.useContext(u.RouterContext),L=a.default.useContext(l.AppRouterContext);L&&(A=L);var P=a.default.useMemo(function(){var e=r(s.resolveHref(A,y,!0),2),t=e[0],n=e[1];return{href:t,as:m?s.resolveHref(A,m):n||t}},[A,y,m]),R=P.href,D=P.as,M=a.default.useRef(R),F=a.default.useRef(D);C&&(i=a.default.Children.only(n));var q=C?i&&"object"==typeof i&&i.ref:t,V=r(f.useIntersection({rootMargin:"200px"}),3),Q=V[0],z=V[1],U=V[2],H=a.default.useCallback(function(e){(F.current!==D||M.current!==R)&&(U(),F.current=D,M.current=R),Q(e),q&&("function"==typeof q?q(e):"object"==typeof q&&(q.current=e))},[D,q,R,U,Q]);a.default.useEffect(function(){var e=z&&N&&s.isLocalURL(R),t=void 0!==T?T:A&&A.locale,n=p[R+"%"+D+(t?"%"+t:"")];e&&!n&&v(A,R,D,{locale:t})},[D,R,z,T,N,A]);var B={ref:H,onClick:function(e){C||"function"!=typeof x||x(e),C&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e),e.defaultPrevented||function(e,t,n,r,i,o,c,u,l,f){if("A"!==e.currentTarget.nodeName.toUpperCase()||(!(h=(d=e).currentTarget.target)||"_self"===h)&&!d.metaKey&&!d.ctrlKey&&!d.shiftKey&&!d.altKey&&(!d.nativeEvent||2!==d.nativeEvent.which)&&s.isLocalURL(n)){e.preventDefault();var d,h,p=function(){"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:u,scroll:c}):t[i?"replace":"push"](n,{forceOptimisticNavigation:!f})};l?a.default.startTransition(p):p()}}(e,A,R,D,w,O,E,T,Boolean(L),N)},onMouseEnter:function(e){C||"function"!=typeof S||S(e),C&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),!(!N&&L)&&s.isLocalURL(R)&&v(A,R,D,{priority:!0})},onTouchStart:function(e){C||"function"!=typeof k||k(e),C&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),!(!N&&L)&&s.isLocalURL(R)&&v(A,R,D,{priority:!0})}};if(!C||_||"a"===i.type&&!("href"in i.props)){var W=void 0!==T?T:A&&A.locale,J=A&&A.isLocaleDomain&&d.getDomainLocale(D,W,A.locales,A.domainLocales);B.href=J||h.addBasePath(c.addLocale(D,W,A&&A.defaultLocale))}return C?a.default.cloneElement(i,B):a.default.createElement("a",Object.assign({},I,B),n)});t.default=y,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{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,n=e.rootRef,u=e.rootMargin,l=e.disabled||!a,f=r(i.useState(!1),2),d=f[0],h=f[1],p=r(i.useState(null),2),v=p[0],y=p[1];return i.useEffect(function(){if(a){if(!l&&!d&&v&&v.tagName){var e,t,r,i,f,p,y;return t=function(e){return e&&h(e)},f=(i=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=s.get(r)))return t;var i=new Map;return t={id:n,observer: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),elements:i},c.push(n),s.set(n,t),t}(r={root:null==n?void 0:n.current,rootMargin:u})).id,p=i.observer,(y=i.elements).set(v,t),p.observe(v),function(){if(y.delete(v),p.unobserve(v),0===y.size){p.disconnect(),s.delete(f);var e=c.findIndex(function(e){return e.root===f.root&&e.margin===f.margin});e>-1&&c.splice(e,1)}}}}else if(!d){var m=o.requestIdleCallback(function(){return h(!0)});return function(){return o.cancelIdleCallback(m)}}},[v,l,u,n,d]),[y,d,i.useCallback(function(){h(!1)},[])]};var i=n(7294),o=n(9311),a="function"==typeof IntersectionObserver,s=new Map,c=[];("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===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 a=r.default.createContext(null);t.GlobalLayoutRouterContext=a;var s=r.default.createContext(null);t.TemplateContext=s},8151:function(e,t,n){"use strict";var r,i,o,a,s,c,u,l,f,d,h,p,v,y,m,g,b,_,w,O;n.d(t,{s:function(){return r}}),(i=r||(r={})).SITE_NAME="ユアクラウド会計事務所",i.SITE_URL="https://ur-cloud.jp",i.REVALIDATE_SEC=1800,(o=i.Company||(i.Company={})).TEL="03-4595-0165",o.POSTAL_CODE="100-0005",o.ADDRESS1="東京都千代田区丸の内1-6-5",o.ADDRESS2="丸の内北口ビル9階 WeWork",o.BUSINESS_HOURS="09:00 - 18:00",(s=(a=i.Link||(i.Link={})).Home||(a.Home={})).TITLE="ホーム",s.PATH="/",(c=a.Price||(a.Price={})).TITLE="料金・サービス",c.TITLE_EN="price / service",c.PATH="/price-and-service",(u=a.TaxAdvisor||(a.TaxAdvisor={})).TITLE="税務顧問",u.TITLE_EN="tax advisor",u.PATH="/tax-advisor",(l=a.FiscalPeriod||(a.FiscalPeriod={})).TITLE="決算・確定申告",l.TITLE_EN="fiscal period",l.PATH="/fiscal-period",(f=a.FAQ||(a.FAQ={})).TITLE="よくある質問",f.TITLE_EN="faq",f.PATH="/faq",(d=a.Seminar||(a.Seminar={})).TITLE="セミナー",d.TITLE_EN="seminar",d.PATH="/seminar",(h=a.Contact||(a.Contact={})).TITLE="お問い合わせ",h.TITLE_EN="contact",h.PATH="/contact",(p=a.Estimate||(a.Estimate={})).TITLE="見積依頼",p.TITLE_EN="estimate",p.PATH="/estimate",(v=a.Office||(a.Office={})).TITLE="事務所紹介",v.TITLE_EN="office",v.PATH="/office",(y=a.Privacy||(a.Privacy={})).TITLE="プライバシーポリシー",y.TITLE_EN="privacy policy",y.PATH="/privacy-policy",(m=a.commercial||(a.commercial={})).TITLE="特定商法に基づく表記",m.TITLE_EN="commercial law",m.PATH="/commercial-law",(g=a.Flow||(a.Flow={})).TITLE="サービスの流れ",g.TITLE_EN="flow",g.PATH="/flow",(b=a.Column||(a.Column={})).TITLE="コラム",b.TITLE_EN="column",b.PATH="/column",(_=a.Staff||(a.Staff={})).TITLE="スタッフ紹介",_.TITLE_EN="staff",_.PATH="/staff",(w=a.Recruit||(a.Recruit={})).TITLE="採用情報",w.URL="https://urcareer.jp/client/detail/5",(O=a.UrMedia||(a.UrMedia={})).TITLE="ユアメディア",O.URL="https://media.urcareer.jp"},532:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i$}});var r,i,o,a,s,c,u,l=n(1799),f=n(5893);n(1720);var d=n(7582),h="Invariant Violation",p=Object.setPrototypeOf,v=void 0===p?function(e,t){return e.__proto__=t,e}:p,y=function(e){function t(n){void 0===n&&(n=h);var r=e.call(this,"number"==typeof n?h+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=h,v(r,t.prototype),r}return(0,d.__extends)(t,e),t}(Error);function m(e,t){if(!e)throw new y(t)}var g=["debug","log","warn","error","silent"],b=g.indexOf("log");function _(e){return function(){if(g.indexOf(e)>=b)return(console[e]||console.log).apply(console,arguments)}}(nl=m||(m={})).debug=_("debug"),nl.log=_("log"),nl.warn=_("warn"),nl.error=_("error");var w="3.11.8";function O(e){try{return e()}catch(t){}}var E=O(function(){return globalThis})||O(function(){return window})||O(function(){return self})||O(function(){return global})||O(function(){return O.constructor("return this")()}),T=new Map;function x(e){var t=T.get(e)||1;return T.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function S(e,t){void 0===t&&(t=0);var n=x("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}function k(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"==typeof t){var i=t;(t=A(i))||(t=L(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var j=Object.assign(function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||m(e,A(t,n)||L(t,n))},{debug:k(m.debug),log:k(m.log),warn:k(m.warn),error:k(m.error)});function C(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new y(A(e,t)||L(e,t))}var I=Symbol.for("ApolloErrorMessageHandler_"+w);function N(e){if("string"==typeof e)return e;try{return S(e,2).slice(0,1e3)}catch(t){return"<non-serializable>"}}function A(e,t){if(void 0===t&&(t=[]),e)return E[I]&&E[I](e,t.map(N))}function L(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:w,message:e,args:t.map(N)})))}var P=n(3914),R=n.t(P,2),D="ReactNative"==O(function(){return navigator.product}),M="function"==typeof WeakMap&&!(D&&!global.HermesInternal),F="function"==typeof WeakSet,q="function"==typeof Symbol&&"function"==typeof Symbol.for,V=q&&Symbol.asyncIterator;O(function(){return window.document.createElement}),O(function(){return navigator.userAgent.indexOf("jsdom")>=0});var Q=q?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__",z=function(e){var t,n=e.client,r=e.children,i=(j("createContext"in R,46),(t=P.createContext[Q])||(Object.defineProperty(P.createContext,Q,{value:t=P.createContext({}),enumerable:!1,writable:!1,configurable:!0}),t.displayName="ApolloContext"),t),o=P.useContext(i),a=P.useMemo(function(){return(0,d.__assign)((0,d.__assign)({},o),{client:n||o.client})},[o,n]);return j(a.client,47),P.createElement(i.Provider,{value:a},r)},U=n(4304),H=n(1664),B=n.n(H),W=n(9577),J=n.n(W),Z=n(8151),Y=function(){return(0,f.jsxs)("div",{className:J().container,children:[(0,f.jsxs)("div",{className:J().titles,children:[(0,f.jsx)("h5",{className:J().titleJA,children:"お問い合わせ"}),(0,f.jsx)("p",{className:J().titleEN,children:"contact"})]}),(0,f.jsxs)("div",{className:J().links,children:[(0,f.jsx)(B(),{href:Z.s.Link.Contact.PATH,children:(0,f.jsxs)("a",{className:J().link,children:[(0,f.jsx)("p",{className:J().label,children:Z.s.Link.Contact.TITLE}),(0,f.jsx)("p",{className:J().desc,children:"資料請求やメールでのお問い合わせ"}),(0,f.jsx)("svg",{width:"43",height:"11",viewBox:"0 0 43 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:J().arrowRight,children:(0,f.jsx)("path",{d:"M0 9.33229H40L29.1651 1",stroke:"black",strokeOpacity:"0.8",strokeWidth:"1.75417"})})]})}),(0,f.jsx)(B(),{href:Z.s.Link.Estimate.PATH,children:(0,f.jsxs)("a",{className:J().link,children:[(0,f.jsx)("p",{className:J().label,children:Z.s.Link.Estimate.TITLE}),(0,f.jsx)("p",{className:J().desc,children:"見積依頼はこちら"}),(0,f.jsx)("svg",{width:"43",height:"11",viewBox:"0 0 43 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:J().arrowRight,children:(0,f.jsx)("path",{d:"M0 9.33229H40L29.1651 1",stroke:"black",strokeOpacity:"0.8",strokeWidth:"1.75417"})})]})})]})]})},G=n(7294),K=n(4080),$=n.n(K),X=function(){var e=(0,G.useRef)(null);(0,G.useEffect)(function(){e.current=window.sessionStorage,e.current.getItem("isCTAClosed")&&i()});var t=(0,G.useState)(!1),n=t[0],r=t[1],i=function(){r(!0),e.current.setItem("isCTAClosed","true")};return n?null:(0,f.jsxs)("div",{className:$().container,children:[(0,f.jsx)("div",{className:$().closeButtonWrap,children:(0,f.jsx)("button",{type:"button",className:$().closeButton,onClick:i})}),(0,f.jsx)("p",{className:$().titleEN,children:"contact"}),(0,f.jsx)("p",{className:$().titleJA,children:"お問い合わせ"}),(0,f.jsxs)("p",{className:$().desc,children:["資料請求・メールでのお問い合わせ、",(0,f.jsx)("br",{}),Z.s.Link.Estimate.TITLE,"はこちらからお願いいたします"]}),(0,f.jsx)(B(),{href:Z.s.Link.Contact.PATH,children:(0,f.jsx)("a",{className:$().contact,children:Z.s.Link.Contact.TITLE})}),(0,f.jsx)(B(),{href:Z.s.Link.Estimate.PATH,children:(0,f.jsx)("a",{className:$().apply,children:Z.s.Link.Estimate.TITLE})})]})},ee=n(5675),et=n.n(ee),en=n(1186),er=n.n(en),ei=n(8155),eo=n.n(ei),ea=function(e){var t=e.href,n=e.text;return(0,f.jsx)(B(),{href:void 0===t?"":t,children:(0,f.jsxs)("a",{className:eo().externalLink,target:"_blank",rel:"noopener noreferrer",children:[(0,f.jsxs)("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("path",{d:"M11.8125 5.91162V2.63037H8.53125",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M7.875 6.56787L11.8125 2.63037",strokeLinecap:"round",strokeLinejoin:"round"}),(0,f.jsx)("path",{d:"M10.0625 8.31787V11.8179C10.0625 11.9339 10.0164 12.0452 9.93436 12.1272C9.85231 12.2093 9.74103 12.2554 9.625 12.2554H2.625C2.50897 12.2554 2.39769 12.2093 2.31564 12.1272C2.23359 12.0452 2.1875 11.9339 2.1875 11.8179V4.81787C2.1875 4.70184 2.23359 4.59056 2.31564 4.50851C2.39769 4.42646 2.50897 4.38037 2.625 4.38037H6.125",strokeLinecap:"round",strokeLinejoin:"round"})]}),void 0===n?"外部リンク":n]})})},es=n(1163),ec=n(7875),eu=n.n(ec),el=function(e){var t=e.href,n=e.type,r="/"===(0,es.useRouter)().pathname,i=eu()[void 0===n?"blackLeft":n];return(0,f.jsx)(B(),{href:void 0===t?"/":t,children:(0,f.jsxs)("a",{className:i,children:[(0,f.jsxs)("div",{className:eu().header,children:[(0,f.jsxs)("svg",{width:"64",height:"42",viewBox:"0 0 64 42",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("path",{d:"M6.62803 28.5558V18.2671C2.74812 19.7997 0 23.5751 0 28.0001C0 33.7873 4.69052 38.4769 10.4776 38.4769H12.2146C8.86772 36.4378 6.62803 32.7534 6.62803 28.5558Z",fill:"#50A1FF"}),(0,f.jsx)("path",{d:"M6.54666 6.55298C6.54666 5.30494 7.55839 4.29321 8.80643 4.29321C10.0545 4.29321 11.0662 5.30494 11.0662 6.55298C11.0662 7.80101 10.0545 8.81274 8.80643 8.81274C7.55839 8.81274 6.54666 7.80101 6.54666 6.55298Z",fill:"#50A1FF"}),(0,f.jsx)("path",{d:"M48.5711 28.6536C48.5711 32.787 46.3976 36.4219 43.1338 38.477C41.3469 39.602 39.2336 40.2542 36.9704 40.2542C34.7073 40.2542 32.5938 39.602 30.8069 38.477H29.1326C31.2835 40.1966 34.0088 41.2265 36.9704 41.2265C43.9032 41.2265 49.5435 35.5863 49.5435 28.6536H48.5711Z",fill:"#50A1FF"}),(0,f.jsx)("path",{d:"M26.9398 36.2268C26.1658 37.1043 25.2625 37.8654 24.2585 38.4769H29.1315C28.3111 37.821 27.5742 37.0647 26.9398 36.2268Z",fill:"#50A1FF"}),(0,f.jsx)("path",{d:"M27.5724 35.4465C27.3731 35.716 27.1618 35.9758 26.9407 36.2266C27.5749 37.0647 28.3119 37.821 29.1323 38.4769L30.8067 38.4768C29.5446 37.6822 28.4458 36.6514 27.5724 35.4465Z",fill:"#50A1FF"}),(0,f.jsx)("path",{d:"M53.5233 17.5237C52.7159 17.5237 51.9324 17.6246 51.1748 17.798C51.3333 16.9246 51.4284 16.0297 51.4284 15.1115C51.4284 6.76658 44.663 0 36.3171 0C30.0344 0 24.6483 3.83772 22.3698 9.29428C21.0498 8.55366 19.5257 8.12626 17.9046 8.12626C15.2371 8.12626 12.8365 9.26933 11.1649 11.0919V28.556C11.1649 32.455 14.337 35.6271 18.236 35.6271C22.1351 35.6271 25.3073 32.455 25.3073 28.556H25.3528C25.388 22.2037 30.5507 17.0436 36.9038 17.0127V21.5503C33.0312 21.5811 29.8897 24.7407 29.8897 28.6207H29.8437C29.8436 28.6317 29.8432 28.6426 29.8432 28.6536H29.9058C29.9058 32.5482 33.0743 35.7169 36.969 35.7169C40.8637 35.7169 44.0323 32.5482 44.0323 28.6536H48.5697C48.5697 32.7871 46.3962 36.422 43.1324 38.4771H53.5233C59.3097 38.4771 64 33.7875 64 28.0002C64 22.2137 59.3097 17.5237 53.5233 17.5237ZM46.6997 25.256C45.4517 25.256 44.4399 24.2443 44.4399 22.9962C44.4399 21.7483 45.4517 20.7365 46.6997 20.7365C47.9477 20.7365 48.9592 21.7483 48.9592 22.9962C48.9592 24.2443 47.9477 25.256 46.6997 25.256Z",fill:"#50A1FF"}),(0,f.jsx)("path",{d:"M25.9765 38.4656H24.2583C22.5014 39.5359 20.4395 40.153 18.2362 40.153C16.0329 40.153 13.9709 39.5359 12.214 38.4656H10.4948C12.631 40.1381 15.319 41.1367 18.2362 41.1367C21.1533 41.1367 23.8407 40.1381 25.9765 38.4656Z",fill:"#50A1FF"})]}),(0,f.jsx)("p",{className:eu().desc,children:"クラウド会計専門の会計事務所"})]}),r?(0,f.jsx)("h1",{className:eu().title,children:Z.s.SITE_NAME}):(0,f.jsx)("p",{className:eu().title,children:Z.s.SITE_NAME})]})})},ef={src:"/_next/static/media/cloudfocus_logo.3a382887.svg",height:116,width:180},ed={src:"/_next/static/media/cloudpartners_hr_logo.bc26e0f9.svg",height:563,width:795},eh={src:"/_next/static/media/cloudpartners_logo.f12f9116.svg",height:112,width:200},ep=function(){return(0,f.jsx)("footer",{className:er().footer,children:(0,f.jsxs)("div",{className:er().inner,children:[(0,f.jsxs)("div",{className:er().content,children:[(0,f.jsx)("nav",{className:er().nav,children:(0,f.jsxs)("ul",{children:[(0,f.jsxs)("li",{className:er().navItem,children:[(0,f.jsx)("h5",{children:Z.s.Link.Price.TITLE}),(0,f.jsxs)("ul",{children:[(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:"".concat(Z.s.Link.Price.PATH).concat(Z.s.Link.TaxAdvisor.PATH),children:(0,f.jsx)("a",{children:Z.s.Link.TaxAdvisor.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:"".concat(Z.s.Link.Price.PATH).concat(Z.s.Link.FiscalPeriod.PATH),children:(0,f.jsx)("a",{children:Z.s.Link.FiscalPeriod.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.FAQ.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.FAQ.TITLE})})})]})]}),(0,f.jsxs)("li",{className:er().navItem,children:[(0,f.jsx)("h5",{children:Z.s.Link.Flow.TITLE}),(0,f.jsxs)("ul",{children:[(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:"".concat(Z.s.Link.Flow.PATH,"#before"),children:(0,f.jsx)("a",{children:"ご契約まで"})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:"".concat(Z.s.Link.Flow.PATH,"#after"),children:(0,f.jsx)("a",{children:"ご契約後"})})})]})]}),(0,f.jsxs)("li",{className:er().navItem,children:[(0,f.jsx)("h5",{children:"会計税務情報"}),(0,f.jsxs)("ul",{children:[(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Column.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.Column.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Seminar.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.Seminar.TITLE})})})]})]}),(0,f.jsxs)("li",{className:er().navItem,children:[(0,f.jsx)("h5",{children:"事務所情報"}),(0,f.jsxs)("ul",{children:[(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Office.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.Office.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Staff.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.Staff.TITLE})})})]})]})]})}),(0,f.jsxs)("div",{className:er().contact,children:[(0,f.jsx)(el,{href:"/",type:"blackLeftFooter"}),(0,f.jsxs)("p",{className:er().address,children:["〒",Z.s.Company.POSTAL_CODE,(0,f.jsx)("br",{}),Z.s.Company.ADDRESS1,(0,f.jsx)("br",{}),Z.s.Company.ADDRESS2]}),(0,f.jsxs)("p",{className:er().tel,children:["平日",Z.s.Company.BUSINESS_HOURS,(0,f.jsx)("br",{}),"TEL.",Z.s.Company.TEL]}),(0,f.jsxs)("div",{className:er().affiliatedCompanies,children:[(0,f.jsx)("a",{href:"https://www.cloudpartners-hr.jp",target:"_blank",rel:"noreferrer",children:(0,f.jsx)(et(),{src:ed,alt:"社会保険労務士法人クラウドパートナーズ",width:53.7,height:38})}),(0,f.jsx)("a",{href:"https://www.cloudpartners.jp",target:"_blank",rel:"noreferrer",children:(0,f.jsx)(et(),{src:eh,alt:"株式会社クラウドパートナーズ",width:"69",height:"38"})}),(0,f.jsx)("a",{children:(0,f.jsx)(et(),{src:ef,alt:"税理士法人クラウドパートナーズ",width:"38",height:"38"})})]}),(0,f.jsx)(B(),{href:Z.s.Link.Privacy.PATH,children:(0,f.jsx)("a",{className:er().mobilePrivacy,children:Z.s.Link.Privacy.TITLE})})]})]}),(0,f.jsxs)("div",{className:er().footerCopy,children:[(0,f.jsxs)("div",{className:er().links,children:[(0,f.jsx)(B(),{href:Z.s.Link.Privacy.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.Privacy.TITLE})}),(0,f.jsx)(B(),{href:Z.s.Link.commercial.PATH,children:(0,f.jsx)("a",{children:Z.s.Link.commercial.TITLE})}),(0,f.jsx)(ea,{href:Z.s.Link.Recruit.URL,text:Z.s.Link.Recruit.TITLE}),(0,f.jsx)(ea,{href:Z.s.Link.UrMedia.URL,text:Z.s.Link.UrMedia.TITLE})]}),(0,f.jsxs)("small",{children:["\xa9 ",new Date().getFullYear()," ",Z.s.SITE_NAME]})]})]})})},ev=n(9396),ey=n(3253),em=n.n(ey),eg=n(5790),eb=n.n(eg),e_=function(){(0,G.useEffect)(function(){var e=document.getElementById("root")?"root":"__next";em().setAppElement("#".concat(e))});var e="/"===(0,es.useRouter)().pathname,t=(0,G.useState)(!1),n=t[0],r=t[1],i=function(){r(!0)},o=function(){},a=function(){r(!1)};return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("button",{onClick:i,"aria-label":"メニューを開く",className:"".concat(e?eb().openButtonHome:eb().openButtonSub," ").concat(n?eb().isOpen:"")}),(0,f.jsx)(em(),{isOpen:n,onAfterOpen:o,onRequestClose:a,overlayClassName:eb().overlay,className:{base:eb().modal,afterOpen:eb().afterOpen,beforeClose:eb().beforeClose},closeTimeoutMS:900,children:(0,f.jsxs)("div",{className:eb().inner,children:[(0,f.jsx)("div",{className:eb().header,children:(0,f.jsx)(el,{type:"whiteRightHeader"})}),(0,f.jsx)("nav",{className:eb().nav,children:(0,f.jsxs)("ul",{className:eb().navList,children:[(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Price.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.Price.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Flow.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.Flow.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Column.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.Column.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Seminar.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.Seminar.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Office.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.Office.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Staff.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.Staff.TITLE})})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.FAQ.PATH,children:(0,f.jsx)("a",{onClick:a,children:Z.s.Link.FAQ.TITLE})})})]})}),(0,f.jsxs)("div",{className:eb().ctaButtons,children:[(0,f.jsx)(B(),{href:Z.s.Link.Contact.PATH,children:(0,f.jsx)("a",{onClick:a,className:eb().contact,children:Z.s.Link.Contact.TITLE})}),(0,f.jsx)(B(),{href:Z.s.Link.Estimate.PATH,children:(0,f.jsx)("a",{onClick:a,className:eb().apply,children:Z.s.Link.Estimate.TITLE})})]}),(0,f.jsxs)("div",{className:eb().tel,children:[(0,f.jsxs)("p",{children:["平日",Z.s.Company.BUSINESS_HOURS]}),(0,f.jsxs)("a",{href:"tel:".concat(Z.s.Company.TEL),children:[(0,f.jsx)("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M3.81833 7.14083C5.13833 9.735 7.265 11.8525 9.85917 13.1817L11.8758 11.165C12.1233 10.9175 12.49 10.835 12.8108 10.945C13.8375 11.2842 14.9467 11.4675 16.0833 11.4675C16.5875 11.4675 17 11.88 17 12.3842V15.5833C17 16.0875 16.5875 16.5 16.0833 16.5C7.47583 16.5 0.5 9.52417 0.5 0.916667C0.5 0.4125 0.9125 0 1.41667 0L4.625 0C5.12917 0 5.54167 0.4125 5.54167 0.916667C5.54167 2.0625 5.725 3.1625 6.06417 4.18917C6.165 4.51 6.09167 4.8675 5.835 5.12417L3.81833 7.14083Z",fill:"white"})}),Z.s.Company.TEL]})]}),(0,f.jsxs)("div",{className:eb().externalLinks,children:[(0,f.jsx)(ea,{href:Z.s.Link.Recruit.URL,text:Z.s.Link.Recruit.TITLE}),(0,f.jsx)(ea,{href:Z.s.Link.UrMedia.URL,text:Z.s.Link.UrMedia.TITLE})]}),(0,f.jsx)("button",{onClick:a,className:eb().closeButton})]})})]})},ew=n(201),eO=n.n(ew),eE=function(){var e=(0,es.useRouter)().pathname,t="/"===e,n={price:RegExp(Z.s.Link.Price.PATH).test(e)?eO().active:"",flow:RegExp(Z.s.Link.Flow.PATH).test(e)?eO().active:"",column:RegExp(Z.s.Link.Column.PATH).test(e)?eO().active:"",staff:RegExp(Z.s.Link.Staff.PATH).test(e)?eO().active:"",seminar:RegExp(Z.s.Link.Seminar.PATH).test(e)?eO().active:"",office:RegExp(Z.s.Link.Office.PATH).test(e)?eO().active:""};return(0,f.jsx)("header",{className:"".concat(eO().header," ").concat(t?eO().isHome:eO().isSub),children:(0,f.jsxs)("div",{className:eO().inner,children:[(0,f.jsxs)("div",{className:eO().links,children:[(0,f.jsx)(ea,{href:Z.s.Link.Recruit.URL,text:Z.s.Link.Recruit.TITLE}),(0,f.jsxs)("div",{className:eO().buttons,children:[(0,f.jsx)(B(),{href:Z.s.Link.Contact.PATH,children:(0,f.jsx)("a",{className:eO().contact,children:Z.s.Link.Contact.TITLE})}),(0,f.jsx)(B(),{href:Z.s.Link.Estimate.PATH,children:(0,f.jsx)("a",{className:eO().apply,children:Z.s.Link.Estimate.TITLE})})]})]}),(0,f.jsxs)("div",{className:eO().content,children:[(0,f.jsx)(el,{type:t?"whiteRightHeader":"blackRightHeader"}),(0,f.jsx)("nav",{className:eO().globalNav,children:(0,f.jsxs)("ul",{children:[(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Price.PATH,children:(0,f.jsxs)("a",(0,ev.Z)((0,l.Z)({className:n.price},n.price&&{"aria-current":"page"}),{children:[Z.s.Link.Price.TITLE,(0,f.jsx)("span",{children:Z.s.Link.Price.TITLE_EN})]}))})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Flow.PATH,children:(0,f.jsxs)("a",(0,ev.Z)((0,l.Z)({className:n.flow},n.flow&&{"aria-current":"page"}),{children:[Z.s.Link.Flow.TITLE,(0,f.jsx)("span",{children:Z.s.Link.Flow.TITLE_EN})]}))})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Column.PATH,children:(0,f.jsxs)("a",(0,ev.Z)((0,l.Z)({className:n.column},n.column&&{"aria-current":"page"}),{children:[Z.s.Link.Column.TITLE,(0,f.jsx)("span",{children:Z.s.Link.Column.TITLE_EN})]}))})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Staff.PATH,children:(0,f.jsxs)("a",(0,ev.Z)((0,l.Z)({className:n.staff},n.staff&&{"aria-current":"page"}),{children:[Z.s.Link.Staff.TITLE,(0,f.jsx)("span",{children:Z.s.Link.Staff.TITLE_EN})]}))})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Seminar.PATH,children:(0,f.jsxs)("a",(0,ev.Z)((0,l.Z)({className:n.seminar},n.seminar&&{"aria-current":"page"}),{children:[Z.s.Link.Seminar.TITLE,(0,f.jsx)("span",{children:Z.s.Link.Seminar.TITLE_EN})]}))})}),(0,f.jsx)("li",{children:(0,f.jsx)(B(),{href:Z.s.Link.Office.PATH,children:(0,f.jsxs)("a",(0,ev.Z)((0,l.Z)({className:n.office},n.office&&{"aria-current":"page"}),{children:[Z.s.Link.Office.TITLE,(0,f.jsx)("span",{children:Z.s.Link.Office.TITLE_EN})]}))})})]})}),(0,f.jsxs)("div",{className:eO().tel,children:[(0,f.jsxs)("p",{children:["平日",Z.s.Company.BUSINESS_HOURS]}),(0,f.jsxs)("a",{href:"tel:".concat(Z.s.Company.TEL),children:[(0,f.jsx)("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M3.81833 7.14083C5.13833 9.735 7.265 11.8525 9.85917 13.1817L11.8758 11.165C12.1233 10.9175 12.49 10.835 12.8108 10.945C13.8375 11.2842 14.9467 11.4675 16.0833 11.4675C16.5875 11.4675 17 11.88 17 12.3842V15.5833C17 16.0875 16.5875 16.5 16.0833 16.5C7.47583 16.5 0.5 9.52417 0.5 0.916667C0.5 0.4125 0.9125 0 1.41667 0L4.625 0C5.12917 0 5.54167 0.4125 5.54167 0.916667C5.54167 2.0625 5.725 3.1625 6.06417 4.18917C6.165 4.51 6.09167 4.8675 5.835 5.12417L3.81833 7.14083Z",fill:"inherit"})}),Z.s.Company.TEL]})]}),(0,f.jsx)(e_,{})]})]})})},eT=function(e){var t=e.children;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(eE,{}),(0,f.jsx)("main",{children:t}),(0,f.jsx)(Y,{}),(0,f.jsx)(X,{}),(0,f.jsx)(ep,{})]})};function ex(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 eS(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 ek(e,t,n){return t&&eS(e.prototype,t),n&&eS(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var ej=function(){return"function"==typeof Symbol},eC=function(e){return ej()&&Boolean(Symbol[e])},eI=function(e){return eC(e)?Symbol[e]:"@@"+e};ej()&&!eC("observable")&&(Symbol.observable=Symbol("observable"));var eN=eI("iterator"),eA=eI("observable"),eL=eI("species");function eP(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function eR(e){var t=e.constructor;return void 0!==t&&null===(t=t[eL])&&(t=void 0),void 0!==t?t:eH}function eD(e){eD.log?eD.log(e):setTimeout(function(){throw e})}function eM(e){Promise.resolve().then(function(){try{e()}catch(t){eD(t)}})}function eF(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var n=eP(t,"unsubscribe");n&&n.call(t)}}catch(r){eD(r)}}}function eq(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function eV(e,t,n){e._state="running";var r=e._observer;try{var i=eP(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(eq(e),i)i.call(r,n);else throw n;break;case"complete":eq(e),i&&i.call(r)}}catch(o){eD(o)}"closed"===e._state?eF(e):"running"===e._state&&(e._state="ready")}function eQ(e,t,n){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:n});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],eM(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(eV(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)});return}eV(e,t,n)}}var ez=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new eU(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&&(eq(this),eF(this))},ek(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),eU=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){eQ(this._subscription,"next",e)},t.error=function(e){eQ(this._subscription,"error",e)},t.complete=function(){eQ(this._subscription,"complete")},ek(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),eH=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw 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 ez(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e){r(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),n()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(n){r(n),o.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(eR(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 TypeError(e+" is not a function");return new(eR(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 TypeError(e+" is not a function");var n=eR(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n(function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(s){return n.error(s)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=eR(this);return new i(function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=eR(this);return new n(function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(o){return r.error(o)}var s=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(s);e>=0&&i.splice(e,1),a()}});i.push(s)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[eA]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var r=eP(t,eA);if(r){var i,o=r.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof eH&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(eC("iterator")&&(r=eP(t,eN)))return new n(function(e){eM(function(){if(!e.closed){for(var n,i=function(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){if("string"==typeof e)return ex(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ex(e,t)}}(e))){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(r.call(t));!(n=i()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){eM(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){eM(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},ek(e,null,[{key:eL,get:function(){return this}}]),e}();function eB(e){return null!==e&&"object"==typeof e}function eW(e,t){var n=t,r=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw C(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&r.push(e)}),void 0===n&&(j(1===r.length,75,r.length),n=r[0].name.value),(0,d.__assign)((0,d.__assign)({},e),{definitions:(0,d.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}},]}}],e.definitions,!0)})}function eJ(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function eZ(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 j(r,76,n),r||null;default:return null}}function eY(){}ej()&&Object.defineProperty(eH,Symbol("extensions"),{value:{symbol:eA,hostReportError:eD},configurable:!0});let eG="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},eK="undefined"!=typeof WeakMap?WeakMap:Map,e$="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:eY,unregister:eY}};class eX{constructor(e=1/0,t=eY){this.max=e,this.dispose=t,this.map=new eK,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let n=e.next().value;if(!n)break;this.unfinalizedNodes.delete(n);let r=n.key;delete n.key,n.keyRef=new eG(r),this.registry.register(r,n,n)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new e$(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:n,newer:r}=t;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}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--;let 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){let 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))}}function e0(){}class e1{constructor(e=1/0,t=e0){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){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:n,newer:r}=t;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}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){let 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)}}var e2=new WeakSet;function e3(e){!(e.size<=(e.max||-1))&&(e2.has(e)||(e2.add(e),setTimeout(function(){e.clean(),e2.delete(e)},100)))}var e5=function(e,t){var n=new eX(e,t);return n.set=function(e,t){var n=eX.prototype.set.call(this,e,t);return e3(this),n},n},e7=function(e,t){var n=new e1(e,t);return n.set=function(e,t){var n=e1.prototype.set.call(this,e,t);return e3(this),n},n},e4=Symbol.for("apollo.cacheSize"),e6=(0,d.__assign)({},E[e4]),e8={},e9=!1!==globalThis.__DEV__?function(){var e,t,n,r,i;if(!(!1!==globalThis.__DEV__))throw 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,e6[t]||n,]})),sizes:(0,d.__assign)({print:null===(e=e8.print)||void 0===e?void 0:e.call(e8),parser:null===(t=e8.parser)||void 0===t?void 0:t.call(e8),canonicalStringify:null===(n=e8.canonicalStringify)||void 0===n?void 0:n.call(e8),links:function e(t){var n;return t?(0,d.__spreadArray)((0,d.__spreadArray)([null===(n=null==t?void 0:t.getMemoryInternals)||void 0===n?void 0:n.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(ti):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:to(this.queryManager.documentTransform)}},null===(i=(r=this.cache).getMemoryInternals)||void 0===i?void 0:i.call(r))}}:void 0,te=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,d.__assign)((0,d.__assign)({},tn.apply(this)),{addTypenameDocumentTransform:to(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:tr(this.storeReader.executeSelectionSet),executeSubSelectedArray:tr(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:tr(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:tr(null==e?void 0:e.findFragmentSpreads),lookup:tr(null==e?void 0:e.lookup),transform:tr(null==e?void 0:e.transform)}})}:void 0,tt=!1!==globalThis.__DEV__?tn:void 0;function tn(){return{cache:{fragmentQueryDocuments:tr(this.getFragmentDoc)}}}function tr(e){var t;return e&&"dirtyKey"in e?e.size:void 0}function ti(e){return null!=e}function to(e){return(function e(t){return t?(0,d.__spreadArray)((0,d.__spreadArray)([tr(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(ti):[]})(e).map(function(e){return{cache:e}})}var ta=Object.assign(function(e){return JSON.stringify(e,ts)},{reset:function(){o=new e7(e6.canonicalStringify||1e3)}});function ts(e,t){if(t&&"object"==typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(tc))return t;var i=JSON.stringify(r),a=o.get(i);if(!a){r.sort();var s=JSON.stringify(r);a=o.get(s)||r,o.set(i,a),o.set(s,a)}var c=Object.create(n);return a.forEach(function(e){c[e]=t[e]}),c}}return t}function tc(e,t,n){return 0===t||n[t-1]<=e}function tu(e){return{__ref:String(e)}}function tl(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function tf(e,t,n,r){var i,o;if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===(s=n).kind||"StringValue"===(c=n).kind)e[t.value]=n.value;else if("ObjectValue"===(u=n).kind){var a={};n.fields.map(function(e){return tf(a,e.name,e.value,r)}),e[t.value]=a}else if("Variable"===(l=n).kind){var s,c,u,l,f,d,h,p=(r||{})[n.name.value];e[t.value]=p}else if("ListValue"===(f=n).kind)e[t.value]=n.values.map(function(e){var n={};return tf(n,t,e,r),n[t.value]});else if("EnumValue"===(d=n).kind)e[t.value]=n.value;else if("NullValue"===(h=n).kind)e[t.value]=null;else throw C(85,t.value,n.kind)}!1!==globalThis.__DEV__&&(nf="canonicalStringify",nd=function(){return o.size},e8[nf]=nd),ta.reset();var td=["connection","include","skip","client","rest","export","nonreactive",],th=ta,tp=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(e){i[e]=t[e]}),"".concat(n.connection.key,"(").concat(th(i),")")}var o=e;if(t){var a=th(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===td.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(th(n[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=th;return th=e,t}});function tv(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){var r;return tf(n,e.name,e.value,t)}),n}return null}function ty(e){return e.alias?e.alias.value:e.name.value}function tm(e,t,n){for(var r,i=0,o=t.selections;i<o.length;i++){var a=o[i];if(tg(a)){if("__typename"===a.name.value)return e[ty(a)]}else r?r.push(a):r=[a]}if("string"==typeof e.__typename)return e.__typename;if(r)for(var s=0,c=r;s<c.length;s++){var a=c[s],u=tm(e,eZ(a,n).selectionSet,n);if("string"==typeof u)return u}}function tg(e){return"Field"===e.kind}function tb(e){j(e&&"Document"===e.kind,77);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw C(78,e.kind);return e});return j(t.length<=1,79,t.length),e}function t_(e){return tb(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function tw(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function tO(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function tE(e){var t=t_(e);return j(t&&"query"===t.operation,80),t}function tT(e){tb(e);for(var t,n=0,r=e.definitions;n<r.length;n++){var i=r[n];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw C(84)}function tx(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach(function(e){e.defaultValue&&tf(t,e.variable.name,e.defaultValue)}),t}function tS(e,t){return t?t(e):eH.of()}function tk(e){return"function"==typeof e?new tC(e):e}function tj(e){return e.request.length<=1}var tC=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return eH.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(tk).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var i,o=tk(n),a=tk(r||new e(tS));return Object.assign(new e(tj(o)&&tj(a)?function(e){return t(e)?o.request(e)||eH.of():a.request(e)||eH.of()}:function(e,n){return t(e)?o.request(e,n)||eH.of():a.request(e,n)||eH.of()}),{left:o,right:a})},e.execute=function(e,t){var n,r,i,o,a,s;return e.request((i=t.context,(r={variables:(n=function(e){for(var t=["query","operationName","variables","extensions","context",],n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];if(0>t.indexOf(i))throw C(44,i)}return e}(t)).variables||{},extensions:n.extensions||{},operationName:n.operationName,query:n.query}).operationName||(r.operationName="string"!=typeof r.query?tw(r.query)||void 0:""),a=(0,d.__assign)({},i),s=function(){return(0,d.__assign)({},a)},Object.defineProperty(r,"setContext",{enumerable:!1,value:function(e){a="function"==typeof e?(0,d.__assign)((0,d.__assign)({},a),e(a)):(0,d.__assign)((0,d.__assign)({},a),e)}}),Object.defineProperty(r,"getContext",{enumerable:!1,value:s}),r))||eH.of()},e.concat=function(t,n){var r,i=tk(t);if(tj(i))return!1!==globalThis.__DEV__&&j.warn(36,i),i;var o=tk(n);return Object.assign(new e(tj(o)?function(e){return i.request(e,function(e){return o.request(e)||eH.of()})||eH.of()}:function(e,t){return i.request(e,function(e){return o.request(e,t)||eH.of()})||eH.of()}),{left:i,right:o})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(tS)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw C(37)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),tI=tC.execute;function tN(e,t){let n=Boolean(e);if(!n)throw Error(t)}function tA(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){var r;if(null===t)return"null";if(n.includes(t))return"[Circular]";let i=[...n,t];if(r=t,"function"==typeof r.toJSON){let o=t.toJSON();if(o!==t)return"string"==typeof o?o:e(o,i)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";let r=Math.min(10,t.length),i=t.length-r,o=[];for(let a=0;a<r;++a)o.push(e(t[a],n));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,i);return function(t,n){let r=Object.entries(t);if(0===r.length)return"{}";if(n.length>2)return"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let n=e.constructor.name;if("string"==typeof n&&""!==n)return n}return t}(t)+"]";let i=r.map(([t,r])=>t+": "+e(r,n));return"{ "+i.join(", ")+" }"}(t,i)}(t,n);default:return String(t)}}(e,[])}let tL={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"]},tP=new Set(Object.keys(tL));function tR(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&tP.has(t)}(nh=a||(a={})).QUERY="query",nh.MUTATION="mutation",nh.SUBSCRIPTION="subscription",(np=s||(s={})).NAME="Name",np.DOCUMENT="Document",np.OPERATION_DEFINITION="OperationDefinition",np.VARIABLE_DEFINITION="VariableDefinition",np.SELECTION_SET="SelectionSet",np.FIELD="Field",np.ARGUMENT="Argument",np.FRAGMENT_SPREAD="FragmentSpread",np.INLINE_FRAGMENT="InlineFragment",np.FRAGMENT_DEFINITION="FragmentDefinition",np.VARIABLE="Variable",np.INT="IntValue",np.FLOAT="FloatValue",np.STRING="StringValue",np.BOOLEAN="BooleanValue",np.NULL="NullValue",np.ENUM="EnumValue",np.LIST="ListValue",np.OBJECT="ObjectValue",np.OBJECT_FIELD="ObjectField",np.DIRECTIVE="Directive",np.NAMED_TYPE="NamedType",np.LIST_TYPE="ListType",np.NON_NULL_TYPE="NonNullType",np.SCHEMA_DEFINITION="SchemaDefinition",np.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",np.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",np.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",np.FIELD_DEFINITION="FieldDefinition",np.INPUT_VALUE_DEFINITION="InputValueDefinition",np.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",np.UNION_TYPE_DEFINITION="UnionTypeDefinition",np.ENUM_TYPE_DEFINITION="EnumTypeDefinition",np.ENUM_VALUE_DEFINITION="EnumValueDefinition",np.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",np.DIRECTIVE_DEFINITION="DirectiveDefinition",np.SCHEMA_EXTENSION="SchemaExtension",np.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",np.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",np.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",np.UNION_TYPE_EXTENSION="UnionTypeExtension",np.ENUM_TYPE_EXTENSION="EnumTypeExtension",np.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension";let tD=Object.freeze({});function tM(e,t,n=tL){let r=new Map;for(let i of Object.values(s))r.set(i,tF(t,i));let o,a=Array.isArray(e),c=[e],u=-1,l=[],f=e,d,h,p=[],v=[];do{var y,m,g;u++;let b=u===c.length,_=b&&0!==l.length;if(b){if(d=0===v.length?void 0:p[p.length-1],f=h,h=v.pop(),_){if(a){f=f.slice();let w=0;for(let[O,E]of l){let T=O-w;null===E?(f.splice(T,1),w++):f[T]=E}}else for(let[x,S]of(f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f)),l))f[x]=S}u=o.index,c=o.keys,l=o.edits,a=o.inArray,o=o.prev}else if(h){if(null===(f=h[d=a?u:c[u]])||void 0===f)continue;p.push(d)}let k;if(!Array.isArray(f)){tR(f)||tN(!1,`Invalid AST Node: ${tA(f)}.`);let j=b?null===(y=r.get(f.kind))||void 0===y?void 0:y.leave:null===(m=r.get(f.kind))||void 0===m?void 0:m.enter;if((k=null==j?void 0:j.call(t,f,d,h,p,v))===tD)break;if(!1===k){if(!b){p.pop();continue}}else if(void 0!==k&&(l.push([d,k]),!b)){if(tR(k))f=k;else{p.pop();continue}}}void 0===k&&_&&l.push([d,f]),b?p.pop():(o={inArray:a,index:u,keys:c,edits:l,prev:o},c=(a=Array.isArray(f))?f:null!==(g=n[f.kind])&&void 0!==g?g:[],u=-1,l=[],h&&v.push(h),h=f)}while(void 0!==o);return 0!==l.length?l[l.length-1][1]:e}function tF(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function tq(e,t){var n,r,i=e.directives;return!i||!i.length||(n=i,r=[],n&&n.length&&n.forEach(function(e){var t,n;if("skip"===(n=e.name.value)||"include"===n){var i=e.arguments,o=e.name.value;j(i&&1===i.length,71,o);var a=i[0];j(a.name&&"if"===a.name.value,72,o);var s=a.value;j(s&&("Variable"===s.kind||"BooleanValue"===s.kind),73,o),r.push({directive:e,ifArgument:a})}}),r).every(function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?j(void 0!==(i=t&&t[r.value.name.value]),70,n.name.value):i=r.value.value,"skip"===n.name.value?!i:i})}function tV(e,t,n){var r=new Set(e),i=r.size;return tM(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return tD}}),n?!r.size:r.size<i}var tQ=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=C(40,t,i.message);throw r.parseError=i,r}return n},tz=function(e,t){var n=e.getContext().uri;return n||("function"==typeof t?t(e):t||"/graphql")};function tU(e){var t={next:function(){return e.read()}};return V&&(t[Symbol.asyncIterator]=function(){return this}),t}var tH=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},tB=Symbol();function tW(e){return e.hasOwnProperty("graphQLErrors")}var tJ=function(e){var t=(0,d.__spreadArray)((0,d.__spreadArray)((0,d.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return eB(e)&&e.message||"Error message not found."}).join("\n")},tZ=function(e){function t(n){var r=n.graphQLErrors,i=n.protocolErrors,o=n.clientErrors,a=n.networkError,s=n.errorMessage,c=n.extraInfo,u=e.call(this,s)||this;return u.name="ApolloError",u.graphQLErrors=r||[],u.protocolErrors=i||[],u.clientErrors=o||[],u.networkError=a||null,u.message=s||tJ(u),u.extraInfo=c,u.cause=(0,d.__spreadArray)((0,d.__spreadArray)((0,d.__spreadArray)([a],r||[],!0),i||[],!0),o||[],!0).find(function(e){return!!e})||null,u.__proto__=t.prototype,u}return(0,d.__extends)(t,e),t}(Error),tY=Array.isArray;function tG(e){return Array.isArray(e)&&e.length>0}var tK=Object.prototype.hasOwnProperty;function t$(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return tX(e)}function tX(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new t1,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var t0=function(e,t,n){return this.merge(e[n],t[n])},t1=function(){function e(e){void 0===e&&(e=t0),this.reconciler=e,this.isObject=eB,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return eB(t)&&eB(e)?(Object.keys(t).forEach(function(i){if(tK.call(e,i)){var o=e[i];if(t[i]!==o){var a=n.reconciler.apply(n,(0,d.__spreadArray)([e,t,i],r,!1));a!==o&&((e=n.shallowCopyForMerge(e))[i]=a)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return eB(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,d.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function t2(e){return"incremental"in e}function t3(e){return eB(e)&&"payload"in e}function t5(e,t){var n=e,r=new t1;return t2(t)&&tG(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}n=r.merge(n,t)}),n}var t7=Object.prototype.hasOwnProperty;function t4(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}function t6(e,t){e.status>=300&&tH(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 t8=function(e){if(!e&&"undefined"==typeof fetch)throw C(38)};function t9(e){return 9===e||32===e}let ne=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function nt(e){return nn[e.charCodeAt(0)]}let nn=["\\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",],nr={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ni(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=na("(",ni(e.variableDefinitions,", "),")"),n=ni([e.operation,ni([e.name,t]),ni(e.directives," "),]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+na(" = ",n)+na(" ",ni(r," "))},SelectionSet:{leave:({selections:e})=>no(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=na("",e,": ")+t,a=o+na("(",ni(n,", "),")");return a.length>80&&(a=o+na("(\n",ns(ni(n,"\n")),"\n)")),ni([a,ni(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+na(" ",ni(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>ni(["...",na("on ",e),ni(t," "),n,]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${na("(",ni(n,", "),")")} on ${t} ${na("",ni(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave({value:e,block:t}){var n;return t?function(e,t){let n=e.replace(/"""/g,'\\"""'),r=n.split(/\r\n|[\n\r]/g),i=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||t9(e.charCodeAt(0))),a=n.endsWith('\\"""'),s=e.endsWith('"')&&!a,c=e.endsWith("\\"),u=s||c,l=!(null!=t&&t.minimize)&&(!i||e.length>70||u||o||a),f="",d=i&&t9(e.charCodeAt(0));return(l&&!d||o)&&(f+="\n"),f+=n,(l||u)&&(f+="\n"),'"""'+f+'"""'}(e):`"${e.replace(ne,nt)}"`}},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ni(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ni(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+na("(",ni(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>na("",e,"\n")+ni(["schema",ni(t," "),no(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>na("",e,"\n")+ni(["scalar",t,ni(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>na("",e,"\n")+ni(["type",t,na("implements ",ni(n," & ")),ni(r," "),no(i),]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>na("",e,"\n")+t+(nc(n)?na("(\n",ns(ni(n,"\n")),"\n)"):na("(",ni(n,", "),")"))+": "+r+na(" ",ni(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>na("",e,"\n")+ni([t+": "+n,na("= ",r),ni(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>na("",e,"\n")+ni(["interface",t,na("implements ",ni(n," & ")),ni(r," "),no(i),]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>na("",e,"\n")+ni(["union",t,ni(n," "),na("= ",ni(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>na("",e,"\n")+ni(["enum",t,ni(n," "),no(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>na("",e,"\n")+ni([t,ni(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>na("",e,"\n")+ni(["input",t,ni(n," "),no(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>na("",e,"\n")+"directive @"+t+(nc(n)?na("(\n",ns(ni(n,"\n")),"\n)"):na("(",ni(n,", "),")"))+(r?" repeatable":"")+" on "+ni(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ni(["extend schema",ni(e," "),no(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ni(["extend scalar",e,ni(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ni(["extend type",e,na("implements ",ni(t," & ")),ni(n," "),no(r),]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>ni(["extend interface",e,na("implements ",ni(t," & ")),ni(n," "),no(r),]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>ni(["extend union",e,ni(t," "),na("= ",ni(n," | ")),]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>ni(["extend enum",e,ni(t," "),no(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>ni(["extend input",e,ni(t," "),no(n)]," ")}};function ni(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function no(e){return na("{\n",ns(ni(e,"\n")),"\n}")}function na(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function ns(e){return na("  ",e.replace(/\n/g,"\n  "))}function nc(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var nu=Object.assign(function(e){var t,n=c.get(e);return!n&&(n=tM(t=e,nr),c.set(e,n)),n},{reset:function(){c=new e5(e6.print||2e3)}});nu.reset(),!1!==globalThis.__DEV__&&(nv="print",ny=function(){return c?c.size:0},e8[nv]=ny);var nl,nf,nd,nh,np,nv,ny,nm={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},ng=function(e,t){return t(e)};function nb(e){return new eH(function(t){t.error(e)})}var n_={kind:s.FIELD,name:{kind:s.NAME,value:"__typename"}};function nw(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 nO(e,t){tb(t);for(var n=nw(""),r=nw(""),i=function(e){for(var t=0,i=void 0;t<e.length&&(i=e[t]);++t)if(!tY(i)){if(i.kind===s.OPERATION_DEFINITION)return n(i.name&&i.name.value);if(i.kind===s.FRAGMENT_DEFINITION)return r(i.name.value)}return!1!==globalThis.__DEV__&&j.error(86),null},o=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===s.OPERATION_DEFINITION&&++o;var c,u,l,f=(u=new Map,l=new Map,e.forEach(function(e){e&&(e.name?u.set(e.name,e):e.test&&l.set(e.test,e))}),function(e){var t=u.get(e.name.value);return!t&&l.size&&l.forEach(function(n,r){r(e)&&(t=n)}),t}),h=function(e){return tG(e)&&e.map(f).some(function(e){return e&&e.remove})},p=new Map,v=!1,y={enter:function(e){if(h(e.directives))return v=!0,null}},m=tM(t,{Field:y,InlineFragment:y,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,o){var a=i(o);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,o){if(h(e.directives))return v=!0,null;var a=i(o);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){p.set(JSON.stringify(r),e)},leave:function(e,t,n,i){return e===p.get(JSON.stringify(i))?e:o>0&&e.selectionSet.selections.every(function(e){return e.kind===s.FIELD&&"__typename"===e.name.value})?(r(e.name.value).removed=!0,v=!0,null):void 0}},Directive:{leave:function(e){if(f(e))return v=!0,null}}});if(!v)return t;var g=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){g(r(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},b=new Set;m.definitions.forEach(function(e){e.kind===s.OPERATION_DEFINITION?g(n(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){b.add(e)}):e.kind!==s.FRAGMENT_DEFINITION||0!==o||r(e.name.value).removed||b.add(e.name.value)}),b.forEach(function(e){g(r(e)).fragmentSpreads.forEach(function(e){b.add(e)})});var _,w,O,E=function(e){return!!(!b.has(e)||r(e).removed)},T={enter:function(e){if(E(e.name.value))return null}};return _=tM(m,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=g(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,d.__assign)((0,d.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,n){return!t||t.selectionSet.selections.every(function(t){return t.kind===s.FRAGMENT_SPREAD&&e(n[t.name.value],n)})}(t_(_)||(j("Document"===_.kind,81),j(_.definitions.length<=1,82),j("FragmentDefinition"===(O=_.definitions[0]).kind,83),O),eJ(tO(_)))?_:null}var nE=Object.assign(function(e){return tM(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==s.OPERATION_DEFINITION){var r=e.selections;if(!(!r||r.some(function(e){return tg(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){if(!(tg(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,d.__assign)((0,d.__assign)({},e),{selections:(0,d.__spreadArray)((0,d.__spreadArray)([],r,!0),[n_],!1)})}}}}})},{added:function(e){return e===n_}});function nT(e){return tb(e),nO([{test:function(e){return"client"===e.name.value},remove:!0},],e)}var nx=O(function(){return fetch}),nS=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,i=e.print,o=void 0===i?ng:i,a=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,l=void 0!==u&&u,f=(0,d.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&t8(r||nx);var h={http:{includeExtensions:a,preserveHeaderCase:s},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new tC(function(e){var t,i=tz(e,n),a=e.getContext(),s={};if(a.clientAwareness){var u=a.clientAwareness,f=u.name,p=u.version;f&&(s["apollographql-client-name"]=f),p&&(s["apollographql-client-version"]=p)}var v=(0,d.__assign)((0,d.__assign)({},s),a.headers),y={http:a.http,options:a.fetchOptions,credentials:a.credentials,headers:v};if(tV(["client"],e.query)){var m=nT(e.query);if(!m)return nb(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=m}var g=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i={},o={};n.forEach(function(e){i=(0,d.__assign)((0,d.__assign)((0,d.__assign)({},i),e.options),{headers:(0,d.__assign)((0,d.__assign)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,d.__assign)((0,d.__assign)({},o),e.http)}),i.headers&&(i.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 i={};return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,c=e.variables,u=e.query,l={operationName:a,variables:c};return o.includeExtensions&&(l.extensions=s),o.includeQuery&&(l.query=t(u,nu)),{options:i,body:l}}(e,o,nm,h,y),b=g.options,_=g.body;_.variables&&!l&&(_.variables=(w=_.variables,E=e.query,T=(0,d.__assign)({},w),x=new Set(Object.keys(w)),tM(E,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&x.delete(e.name.value)}}),x.forEach(function(e){delete T[e]}),T)),b.signal||"undefined"==typeof AbortController||(t=new AbortController,b.signal=t.signal);var w,E,T,x,S,k=function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation},C="OperationDefinition"===(S=tT(e.query)).kind&&"subscription"===S.operation,I=tV(["defer"],e.query);if(c&&!e.query.definitions.some(k)&&(b.method="GET"),I||C){b.headers=b.headers||{};var N="multipart/mixed;";C&&I&&!1!==globalThis.__DEV__&&j.warn(39),C?N+="boundary=graphql;subscriptionSpec=1.0,application/json":I&&(N+="deferSpec=20220824,application/json"),b.headers.accept=N}if("GET"===b.method){var A=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=tQ(t.variables,"Variables map")}catch(o){return{parseError:o}}r("variables",i)}if(t.extensions){var a=void 0;try{a=tQ(t.extensions,"Extensions map")}catch(s){return{parseError:s}}r("extensions",a)}var c="",u=e,l=e.indexOf("#");-1!==l&&(c=e.substr(l),u=e.substr(0,l));var f=-1===u.indexOf("?")?"?":"&";return{newURI:u+f+n.join("&")+c}}(i,_),L=A.newURI,P=A.parseError;if(P)return nb(P);i=L}else try{b.body=tQ(_,"Payload")}catch(R){return nb(R)}return new eH(function(n){var o=r||O(function(){return fetch})||nx,a=n.next.bind(n);return o(i,b).then(function(t){e.setContext({response:t});var n,r,i,o=null===(i=t.headers)||void 0===i?void 0:i.get("content-type");if(null!==o&&/^multipart\/mixed/i.test(o))return function(e,t){return(0,d.__awaiter)(this,void 0,void 0,function(){var n,r,i,o,a,s,c,u,l,f,h,p,v,y,m,g,b,_,w,O,E,T,x,S;return(0,d.__generator)(this,function(b){switch(b.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),r=null===(S=e.headers)||void 0===S?void 0:S.get("content-type"),i="boundary=",o=(null==r?void 0:r.includes(i))?null==r?void 0:r.substring((null==r?void 0:r.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",c=function(e){var t,n,r,i,o,a,s,c,u,l,f,d,h=e;if(e.body&&(h=e.body),t=h,V&&t[Symbol.asyncIterator])return i=(n=h)[Symbol.asyncIterator](),(r={next:function(){return i.next()}})[Symbol.asyncIterator]=function(){return this},r;if((o=h).getReader)return tU(h.getReader());if((a=h).stream)return tU(h.stream().getReader());if((s=h).arrayBuffer)return c=h.arrayBuffer(),u=!1,l={next:function(){return u?Promise.resolve({value:void 0,done:!0}):(u=!0,new Promise(function(e,t){c.then(function(t){e({value:t,done:!1})}).catch(t)}))}},V&&(l[Symbol.asyncIterator]=function(){return this}),l;if((f=h).pipe)return function(e){var t=null,n=null,r=!1,i=[],o=[];function a(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){n=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){r=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise(function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])})}};return V&&(u[Symbol.asyncIterator]=function(){return this}),u}(h);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),u=!0,b.label=1;case 1:if(!u)return[3,3];return[4,c.next()];case 2:for(f=(l=b.sent()).value,h=l.done,p="string"==typeof f?f:n.decode(f),v=s.length-a.length+1,u=!h,s+=p,y=s.indexOf(a,v);y>-1;){if(m=void 0,m=(T=[s.slice(0,y),s.slice(y+a.length),])[0],s=T[1],g=m.indexOf("\r\n\r\n"),(_=t4(m.slice(0,g))["content-type"])&&-1===_.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(w=m.slice(g)){if(Object.keys(O=t6(e,w)).length>1||"data"in O||"incremental"in O||"errors"in O||"payload"in O){if(t3(O)){if(E={},"payload"in O){if(1===Object.keys(O).length&&null===O.payload)return[2];E=(0,d.__assign)({},O.payload)}"errors"in O&&(E=(0,d.__assign)((0,d.__assign)({},E),{extensions:(0,d.__assign)((0,d.__assign)({},"extensions"in E?E.extensions:null),((x={})[tB]=O.errors,x))})),t(E)}else t(O)}else if(1===Object.keys(O).length&&"hasNext"in O&&!O.hasNext)return[2]}y=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,a);return(n=t,n.text().then(function(e){return t6(n,e)}).then(function(t){return Array.isArray(t)||t7.call(t,"data")||t7.call(t,"errors")||tH(n,t,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),t})).then(a)}).then(function(){t=void 0,n.complete()}).catch(function(e){var r,i;t=void 0,e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e)}),function(){t&&t.abort()}})})},nk=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,nS(t).request)||this;return n.options=t,n}return(0,d.__extends)(t,e),t}(tC);let{toString:nj,hasOwnProperty:nC}=Object.prototype,nI=Function.prototype.toString,nN=new Map;function nA(e,t){try{return function e(t,n){if(t===n)return!0;let r=nj.call(t),i=nj.call(n);if(r!==i)return!1;switch(r){case"[object Array]":if(t.length!==n.length)break;case"[object Object]":{if(nD(t,n))return!0;let o=nL(t),a=nL(n),s=o.length;if(s!==a.length)return!1;for(let c=0;c<s;++c)if(!nC.call(n,o[c]))return!1;for(let u=0;u<s;++u){let l=o[u];if(!e(t[l],n[l]))return!1}return!0}case"[object Error]":return t.name===n.name&&t.message===n.message;case"[object Number]":if(t!=t)return n!=n;case"[object Boolean]":case"[object Date]":return+t==+n;case"[object RegExp]":case"[object String]":return t==`${n}`;case"[object Map]":case"[object Set]":{if(t.size!==n.size)return!1;if(nD(t,n))return!0;let f=t.entries(),d="[object Map]"===r;for(;;){let h=f.next();if(h.done)break;let[p,v]=h.value;if(!n.has(p)||d&&!e(v,n.get(p)))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]":t=new Uint8Array(t),n=new Uint8Array(n);case"[object DataView]":{let y=t.byteLength;if(y===n.byteLength)for(;y--&&t[y]===n[y];);return -1===y}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let m=nI.call(t);if(m!==nI.call(n))return!1;return!function(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(m,nR)}}return!1}(e,t)}finally{nN.clear()}}function nL(e){return Object.keys(e).filter(nP,e)}function nP(e){return void 0!==this[e]}let nR="{ [native code] }";function nD(e,t){let n=nN.get(e);if(n){if(n.has(t))return!0}else nN.set(e,n=new Set);return n.add(t),!1}let nM=()=>Object.create(null),{forEach:nF,slice:nq}=Array.prototype,{hasOwnProperty:nV}=Object.prototype;class nQ{constructor(e=!0,t=nM){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return nF.call(e,e=>t=t.getChildTrie(e)),nV.call(t,"data")?t.data:t.data=this.makeData(nq.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let i=t.mapFor(e[n],!1);t=i&&i.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);!i||(t=i.removeArray(nq.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new nQ(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)}}let nz=()=>Object.create(null),{forEach:nU,slice:nH}=Array.prototype,{hasOwnProperty:nB}=Object.prototype;class nW{constructor(e=!0,t=nz){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return nU.call(e,e=>t=t.getChildTrie(e)),nB.call(t,"data")?t.data:t.data=this.makeData(nH.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){let i=this.weakness&&nJ(e[n])?t.weak:t.strong;t=i&&i.get(e[n])}return t&&t.data}getChildTrie(e){let t=this.weakness&&nJ(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=t.get(e);return n||t.set(e,n=new nW(this.weakness,this.makeData)),n}}function nJ(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}let nZ=null,nY={},nG=1;function nK(e){try{return e()}catch(t){}}let n$="@wry/context:Slot",nX=nK(()=>globalThis)||nK(()=>global)||Object.create(null),n0=nX[n$]||Array[n$]||function(e){try{Object.defineProperty(nX,n$,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",nG++,Date.now(),Math.random().toString(36).slice(2),].join(":")}hasValue(){for(let e=nZ;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===nY)break;return e!==nZ&&(nZ.slots[this.id]=t),!0}return nZ&&(nZ.slots[this.id]=nY),!1}getValue(){if(this.hasValue())return nZ.slots[this.id]}withValue(e,t,n,r){let i={__proto__:null,[this.id]:e},o=nZ;nZ={parent:o,slots:i};try{return t.apply(r,n)}finally{nZ=o}}static bind(e){let t=nZ;return function(){let n=nZ;try{return nZ=t,e.apply(this,arguments)}finally{nZ=n}}}static noContext(e,t,n){if(!nZ)return e.apply(n,t);{let r=nZ;try{return nZ=null,e.apply(n,t)}finally{nZ=r}}}}),{bind:n1,noContext:n2}=n0,n3=new n0,{hasOwnProperty:n5}=Object.prototype,n7=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function n4(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let n6=[];function n8(e,t){if(!e)throw Error(t||"assertion failure")}function n9(e,t){let n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function re(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function rt(e){return e.slice(0)}class rn{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,++rn.count}peek(){if(1===this.value.length&&!ro(this))return rr(this),this.value[0]}recompute(e){var t,n,r;return n8(!this.recomputing,"already recomputing"),rr(this),ro(this)?(t=this,n=e,rd(t),n3.withValue(t,ri,[t,n]),function(e,t){if("function"==typeof e.subscribe)try{n4(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(t,n)&&(r=t,r.dirty=!1,ro(r)||rs(r)),re(t.value)):re(this.value)}setDirty(){this.dirty||(this.dirty=!0,ra(this),n4(this))}dispose(){this.setDirty(),rd(this),rc(this,(e,t)=>{e.setDirty(),rh(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=n6.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(n7(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),n6.push(this.deps),this.deps=null)}}function rr(e){let t=n3.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),ro(e)?ru(t,e):rl(t,e),t}function ri(e,t){e.recomputing=!0;let{normalizeResult:n}=e,r;n&&1===e.value.length&&(r=rt(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!n9(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(i){}}catch(o){e.value[1]=o}e.recomputing=!1}function ro(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function ra(e){rc(e,ru)}function rs(e){rc(e,rl)}function rc(e,t){let n=e.parents.size;if(n){let r=n7(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function ru(e,t){n8(e.childValues.has(t)),n8(ro(t));let n=!ro(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=n6.pop()||new Set;e.dirtyChildren.add(t),n&&ra(e)}function rl(e,t){n8(e.childValues.has(t)),n8(!ro(t));let n=e.childValues.get(t);0===n.length?e.childValues.set(t,rt(t.value)):n9(n,t.value)||e.setDirty(),rf(e,t),!ro(e)&&rs(e)}function rf(e,t){let n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(n6.length<100&&n6.push(n),e.dirtyChildren=null))}function rd(e){e.childValues.size>0&&e.childValues.forEach((t,n)=>{rh(e,n)}),e.forgetDeps(),n8(null===e.dirtyChildren)}function rh(e,t){t.parents.delete(e),e.childValues.delete(t),rf(e,t)}rn.count=0;let rp={setDirty:!0,dispose:!0,forget:!0};function rv(e){let t=new Map,n=e&&e.subscribe;function r(e){let r=n3.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"==typeof n&&(n4(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){let r=t.get(e);if(r){let i=n&&n5.call(rp,n)?n:"setDirty";n7(r).forEach(e=>e[i]()),t.delete(e),n4(r)}},r}let ry;function rm(...e){let t=ry||(ry=new nW("function"==typeof WeakMap));return t.lookupArray(e)}let rg=new Set;function rb(e,{max:t=65536,keyArgs:n,makeCacheKey:r=rm,normalizeResult:i,subscribe:o,cache:a=e1}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,c=function(){let t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new rn(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let c=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),rg.add(s),n3.hasValue()||(rg.forEach(e=>e.clean()),rg.clear()),c};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function l(e){let t=e&&s.get(e);if(t)return t.peek()}function f(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:o,cache:s}),c.dirtyKey=u,c.dirty=function(){u(r.apply(null,arguments))},c.peekKey=l,c.peek=function(){return l(r.apply(null,arguments))},c.forgetKey=f,c.forget=function(){return f(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}function r_(e){return e}var rw=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=F?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(r_,{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 nQ(M);this.performWork=rb(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return j(Array.isArray(r),69),n.lookupArray(r)},max:e6["documentTransform.cache"],cache:eX})}},e.prototype.performWork=function(e){return tb(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 rO(e,t,n){return new eH(function(r){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(n){if(e){var o=function(){return r.closed?0:e(n)};i=i.then(o,o).then(function(e){return r.next(e)},function(e){return r.error(e)})}else r[t](n)}}var a={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then(function(){return r.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function rE(e){var t=rT(e);return tG(t)}function rT(e){var t=tG(e.errors)?e.errors.slice(0):[];return t2(e)&&tG(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}function rx(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}function rS(e){function t(t){Object.defineProperty(e,t,{value:eH})}return q&&Symbol.species&&t(Symbol.species),t("@@species"),e}function rk(e){return e&&"function"==typeof e.then}var rj,rC=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),rx(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),rx(n.observers,"error",e))},complete:function(){var e=n.sub,t=n.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?rk(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)},n.handlers.error):n.sub=r.subscribe(n.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),rx(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 eH(t)]),rk(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,d.__extends)(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;n.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}(eH);function rI(e){return!!e&&e<7}function rN(){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}rS(rC),(rj=u||(u={}))[rj.loading=1]="loading",rj[rj.setVariables=2]="setVariables",rj[rj.fetchMore=3]="fetchMore",rj[rj.refetch=4]="refetch",rj[rj.poll=6]="poll",rj[rj.ready=7]="ready",rj[rj.error=8]="error";var rA=Object.prototype.toString;function rL(e,t){switch(rA.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]=rL(e,t)}),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach(function(n){r[n]=rL(e[n],t)}),r;default:return e}}function rP(e,t,n,r){var i=t.data,o=(0,d.__rest)(t,["data"]),a=n.data;return nA(o,(0,d.__rest)(n,["data"]))&&function e(t,n,r,i){if(n===r)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!tq(t,i.variables)||rR(t)))return!0;if(tg(t)){var a=ty(t),s=n&&n[a],c=r&&r[a],u=t.selectionSet;if(!u)return nA(s,c);var l=Array.isArray(s),f=Array.isArray(c);if(l!==f)return!1;if(l&&f){var d=s.length;if(c.length!==d)return!1;for(var h=0;h<d;++h)if(!e(u,s[h],c[h],i))return!1;return!0}return e(u,s,c,i)}var p=eZ(t,i.fragmentMap);if(p)return!!rR(p)||e(p.selectionSet,n,r,i)})}(tT(e).selectionSet,i,a,{fragmentMap:eJ(tO(e)),variables:r})}function rR(e){return!!e.directives&&e.directives.some(rD)}function rD(e){return"nonreactive"===e.name.value}var rM=Object.assign,rF=Object.hasOwnProperty,rq=function(e){function t(t){var n=t.queryManager,r=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=rQ)}catch(n){}var r=!o.observers.size;o.observers.add(e);var i=o.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=r,o.queryManager=n,o.waitForOwnResult=rU(i.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o);var a=n.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,c=void 0===s?"cache-first":s,u=i.fetchPolicy,l=void 0===u?c:u,f=i.initialFetchPolicy;o.options=(0,d.__assign)((0,d.__assign)({},i),{initialFetchPolicy:void 0===f?"standby"===l?c:l:f,fetchPolicy:l}),o.queryId=r.queryId||n.generateQueryId();var h=t_(o.query);return o.queryName=h&&h.name&&h.name.value,o}return(0,d.__extends)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:n},i=e.subscribe(r)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||u.ready,r=(0,d.__assign)((0,d.__assign)({},t),{loading:rI(n),networkStatus:n}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(rU(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(r.data=a.result),nA(r.data,{})&&(r.data=void 0),a.complete?(delete r.partial,a.complete&&r.networkStatus===u.loading&&("cache-first"===o||"cache-only"===o)&&(r.networkStatus=u.ready,r.loading=!1)):r.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||r.loading||r.data||r.error||rz(a.missing)}return e&&this.updateLastResult(r),r},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!rP(this.query,this.last.result,e,this.variables):!nA(this.last.result,e))||t&&!nA(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||nA(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},r=this.options.fetchPolicy;if("cache-and-network"===r?n.fetchPolicy=r:"no-cache"===r?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&rF.call(e,"variables")){var i=tE(this.query),o=i.variableDefinitions;o&&o.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||j.warn(20,e,(null===(t=i.name)||void 0===t?void 0:t.value)||i)}return e&&!nA(this.options.variables,e)&&(n.variables=this.options.variables=(0,d.__assign)((0,d.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,u.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,d.__assign)((0,d.__assign)({},e.query?e:(0,d.__assign)((0,d.__assign)((0,d.__assign)((0,d.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,d.__assign)((0,d.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var r=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var i=this.queryInfo,o=i.networkStatus;i.networkStatus=u.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var a=new Set,s=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||j(s,21),this.queryManager.fetchQuery(r,n,u.fetchMore).then(function(l){if(t.queryManager.removeQuery(r),i.networkStatus===u.fetchMore&&(i.networkStatus=o),c)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:l.data,variables:n.variables})}):r.writeQuery({query:n.query,variables:n.variables,data:l.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var f=t.getLast("result"),h=s(f.data,{fetchMoreResult:l.data,variables:n.variables});t.reportResult((0,d.__assign)((0,d.__assign)({},f),{data:h}),t.variables)}return l}).finally(function(){c&&!a.has(t.query)&&rV(t)})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery(function(e,t){return r(e,{subscriptionData:n,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&j.error(22,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=rN(this.options,e||{});rM(this.options,t)},t.prototype.setVariables=function(e){return nA(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},u.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(!n||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==n){j(n,23),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&(rI(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"},u.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n,r=this.getLastError();return r&&this.last&&!nA(t,this.last.variables)&&(r=void 0),this.last=(0,d.__assign)({result:this.queryManager.assumeImmutableResults?e:rL(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var r=t===u.refetch||t===u.fetchMore||t===u.poll,i=this.options.variables,o=this.options.fetchPolicy,a=rN(this.options,e||{}),s=r?a:rM(this.options,a),c=this.transformDocument(s.query);this.lastQuery=c,!r&&(this.updatePolling(),e&&e.variables&&!nA(e.variables,i)&&"standby"!==s.fetchPolicy&&(s.fetchPolicy===o||"function"==typeof s.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=u.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=rU(s.fetchPolicy));var l=function(){n.concast===p&&(n.waitForOwnResult=!1)},f=s.variables&&(0,d.__assign)({},s.variables),h=this.fetch(s,t,c),p=h.concast,v=h.fromLink,y={next:function(e){nA(n.variables,f)&&(l(),n.reportResult(e,f))},error:function(e){nA(n.variables,f)&&(tW(e)||(e=new tZ({networkError:e})),l(),n.reportError(e,f))}};return r||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=y),p.addObserver(y),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&rx(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,d.__assign)((0,d.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:u.error,loading:!1});this.updateLastResult(n,t),rx(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}(eH);function rV(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function rQ(e){!1!==globalThis.__DEV__&&j.error(24,e.message,e.stack)}function rz(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&j.debug(25,e)}function rU(e){return"network-only"===e||"no-cache"===e||"standby"===e}rS(rq);var rH=new(M?WeakMap:Map);function rB(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return rH.set(e,(rH.get(e)+1)%1e15),n.apply(this,arguments)})}function rW(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var rJ=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;rH.has(n)||(rH.set(n,0),rB(n,"evict"),rB(n,"modify"),rB(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||u.loading;return this.variables&&this.networkStatus!==u.loading&&!nA(this.variables,e.variables)&&(t=u.setVariables),nA(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){rW(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&nA(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,r=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||nA(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return n.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():rV(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;rW(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(rI(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var r=(0,d.__assign)((0,d.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&nA(r,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=r))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===rH.get(this.cache)&&nA(t,n.variables)&&nA(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o=new t1,a=tG(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&tG(e.incremental)){var s=t5(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(rZ(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:rH.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(n.variables),s=o.diff(a);!i.stopped&&nA(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=u.ready},e.prototype.markError=function(e){return this.networkStatus=u.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function rZ(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!rE(e);return!r&&n&&e.data&&(r=!0),r}var rY=Object.prototype.hasOwnProperty,rG=Object.create(null),rK=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new e5(e6["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new nQ(!1);var n=new rw(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;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(C(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,d.__awaiter)(this,arguments,void 0,function(e){var t,n,r,i,o,a,s,c=e.mutation,u=e.variables,l=e.optimisticResponse,f=e.updateQueries,h=e.refetchQueries,p=void 0===h?[]:h,v=e.awaitRefetchQueries,y=void 0!==v&&v,m=e.update,g=e.onQueryUpdated,b=e.fetchPolicy,_=void 0===b?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":b,w=e.errorPolicy,O=void 0===w?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":w,E=e.keepRootFields,T=e.context;return(0,d.__generator)(this,function(e){switch(e.label){case 0:if(j(c,27),j("network-only"===_||"no-cache"===_,28),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),n=this.getDocumentInfo(c).hasClientExports,u=this.getVariables(c,u),!n)return[3,2];return[4,this.localState.addExportedVariables(c,u,T)];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}),i=l&&this.markMutationOptimistic(l,{mutationId:t,document:c,variables:u,fetchPolicy:_,errorPolicy:O,context:T,updateQueries:f,update:m,keepRootFields:E}),this.broadcastQueries(),o=this,[2,new Promise(function(e,n){return rO(o.getObservableFromLink(c,(0,d.__assign)((0,d.__assign)({},T),{optimisticResponse:i?l:void 0}),u,{},!1),function(e){if(rE(e)&&"none"===O)throw new tZ({graphQLErrors:rT(e)});r&&(r.loading=!1,r.error=null);var n=(0,d.__assign)({},e);return"function"==typeof p&&(p=p(n)),"ignore"===O&&rE(n)&&delete n.errors,o.markMutationResult({mutationId:t,result:n,document:c,variables:u,fetchPolicy:_,errorPolicy:O,context:T,update:m,updateQueries:f,awaitRefetchQueries:y,refetchQueries:p,removeOptimistic:i?t:void 0,onQueryUpdated:g,keepRootFields:E})}).subscribe({next:function(t){o.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){r&&(r.loading=!1,r.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),n(e instanceof tZ?e:new tZ({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var r=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&rZ(r,e.errorPolicy)){if(t2(r)||i.push({result:r.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),t2(r)&&tG(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=t5(a.result,r)),void 0!==s&&(r.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&rY.call(c,s)){var u=c[s],l=n.queries.get(o),f=l.document,d=l.variables,h=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),p=h.result;if(h.complete&&p){var v=u(p,{mutationResult:r,queryName:f&&tw(f)||void 0,queryVariables:d});v&&i.push({result:v,dataId:"ROOT_QUERY",query:f,variables:d})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a,s,c=e.update,u=(a=r,!t2(a)&&(!("hasNext"in a)||!("data"in a))||t2(r)&&!r.hasNext);if(c){if(!o){var l=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(r=(0,d.__assign)((0,d.__assign)({},r),{data:l.result}))&&delete r.incremental,"hasNext"in r&&delete r.hasNext)}u&&c(t,r,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||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:rG}):e;return r!==rG&&(this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,d.__assign)((0,d.__assign)({},t),{result:{data:r}}),e)}catch(i){!1!==globalThis.__DEV__&&j.error(i)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n,r={hasClientExports:e&&tV(["client","export"],e,!0),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:tV(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:nO([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},],e),defaultVars:tx(t_(e)),asQuery:(0,d.__assign)((0,d.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,d.__assign)((0,d.__assign)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,d.__assign)((0,d.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,d.__assign)((0,d.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new rJ(this),r=new rq({queryManager:this,queryInfo:n,options:e});return r.lastQuery=t,this.queries.set(r.queryId,n),n.init({document:t,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),j(e.query,29),j("Document"===e.query.kind,30),j(!e.returnPartialData,31),j(!e.pollInterval,32),this.fetchQuery(t,(0,d.__assign)((0,d.__assign)({},e),{query:this.transform(e.query)})).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(C(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=u.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,r=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)r.set(e,!1);else{var n;eB(e)&&"Document"===e.kind&&Array.isArray(e.definitions)?r.set(t.transform(e),!1):eB(e)&&e.query&&i.add(e)}}),this.queries.forEach(function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e){n.set(i,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&r.has(s)||a&&r.has(a))&&(n.set(i,o),s&&r.set(s,!0),a&&r.set(a,!0))}}),i.size&&i.forEach(function(e){var r=x("legacyOneTimeQuery"),i=t.getQuery(r).init({document:e.query,variables:e.variables}),o=new rq({queryManager:t,queryInfo:i,options:(0,d.__assign)((0,d.__assign)({},e),{fetchPolicy:"network-only"})});j(o.queryId===r),i.setObservableQuery(o),n.set(r,o)}),!1!==globalThis.__DEV__&&r.size&&r.forEach(function(e,t){e||!1===globalThis.__DEV__||j.warn("string"==typeof t?34:35,t)}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(r,i){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;n=this.transform(n),a=this.getVariables(n,a);var f=function(e){return t.getObservableFromLink(n,c,e,l).map(function(i){"no-cache"!==r&&(rZ(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a,s=rE(i),c=!!i.extensions&&Array.isArray(i.extensions[tB]);if(s||c){var u={};if(s&&(u.graphQLErrors=i.errors),c&&(u.protocolErrors=i.extensions[tB]),"none"===o||c)throw new tZ(u)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(n).hasClientExports){var d=this.localState.addExportedVariables(n,a,c).then(f);return new eH(function(e){var t=null;return d.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,r,i){var o,a,s=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(e),u=c.serverQuery,l=c.clientQuery;if(u){var f=this.inFlightLinkObservables,h=this.link,p={query:u,variables:n,operationName:tw(u)||void 0,context:this.prepareContext((0,d.__assign)((0,d.__assign)({},t),{forceFetch:!i})),extensions:r};if(t=p.context,i){var v=nu(u),y=ta(n),m=f.lookup(v,y);if(!(a=m.observable)){var g=new rC([tI(h,p),]);a=m.observable=g,g.beforeNext(function(){f.remove(v,y)})}}else a=new rC([tI(h,p),])}else a=new rC([eH.of({data:{}})]),t=this.prepareContext(t);return l&&(a=rO(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(),i=this.cache.transformForLink(n.query);return rO(this.getObservableFromLink(i,n.context,n.variables),function(o){var a=rT(o),s=a.length>0,c=n.errorPolicy;if(r>=e.lastRequestId){if(s&&"none"===c)throw e.markError(new tZ({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var l={data:o.data,loading:!1,networkStatus:u.ready};return s&&"none"===c&&(l.data=void 0),s&&"ignore"!==c&&(l.errors=a,l.networkStatus=u.error),l},function(t){var n=tW(t)?t:new tZ({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var i,o,a=this;void 0===n&&(n=u.loading),void 0===r&&(r=t.query);var s=this.getVariables(r,t.variables),c=this.getQuery(e),l=this.defaultOptions.watchQuery,f=t.fetchPolicy,d=void 0===f?l&&l.fetchPolicy||"cache-first":f,h=t.errorPolicy,p=void 0===h?l&&l.errorPolicy||"none":h,v=t.returnPartialData,y=t.notifyOnNetworkStatusChange,m=t.context,g=Object.assign({},t,{query:r,variables:s,fetchPolicy:d,errorPolicy:p,returnPartialData:void 0!==v&&v,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===m?{}:m}),b=function(e){g.variables=e;var r=a.fetchQueryByPolicy(c,g,n);return"standby"!==g.fetchPolicy&&r.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),r},_=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){_(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(g.query).hasClientExports)i=new rC(this.localState.addExportedVariables(g.query,g.variables,g.context).then(b).then(function(e){return e.sources})),o=!0;else{var w=b(g.variables);o=w.fromLink,i=new rC(w.sources)}return i.promise.then(_,_),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?x("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach(function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof rJ&&e.watcher.observableQuery;if(r){if(c){u.delete(r.queryId);var i=c(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==c&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach(function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=c(i,a,o)}c&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:n});var v=function(){return e.getDiff()},y=function(t,n){void 0===n&&(n=e.networkStatus||u.loading);var a=t.result;!1===globalThis.__DEV__||l||nA(a,{})||rz(t.missing);var s=function(e){return eH.of((0,d.__assign)({data:e,loading:rI(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&r.getDocumentInfo(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:a},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===c&&n===u.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},m="no-cache"===a?0:n===u.refetch&&"merge"!==s?1:2,g=function(){return r.getResultsFromLink(e,m,{query:i,variables:o,context:f,fetchPolicy:a,errorPolicy:c})},b=h&&"number"==typeof p&&p!==n&&rI(n);switch(a){default:case"cache-first":var _=v();if(_.complete)return{fromLink:!1,sources:[y(_,e.markReady())]};if(l||b)return{fromLink:!0,sources:[y(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-and-network":var _=v();if(_.complete||l||b)return{fromLink:!0,sources:[y(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[y(v(),e.markReady())]};case"network-only":if(b)return{fromLink:!0,sources:[y(v()),g()]};return{fromLink:!0,sources:[g()]};case"no-cache":if(b)return{fromLink:!0,sources:[y(e.getDiff()),g()]};return{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new rJ(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,d.__assign)((0,d.__assign)((0,d.__assign)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function r$(e){return e.kind===s.FIELD||e.kind===s.FRAGMENT_SPREAD||e.kind===s.INLINE_FRAGMENT}var rX=new n0,r0=new WeakMap;function r1(e){var t=r0.get(e);return t||r0.set(e,t={vars:new Set,dep:rv()}),t}function r2(e){r1(e).vars.forEach(function(t){return t.forgetCache(e)})}function r3(e){var t=new Set,n=new Set,r=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){var t;r1(e).dep.dirty(r),(t=e).broadcastWatches&&t.broadcastWatches()});var a=Array.from(n);n.clear(),a.forEach(function(t){return t(e)})}}else{var s=rX.getValue();s&&(i(s),r1(s).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),r1(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}var r5=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=t$(t.resolvers,e)}):this.resolvers=t$(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,d.__awaiter)(this,arguments,void 0,function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,d.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,a).then(function(e){return(0,d.__assign)((0,d.__assign)({},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 tV(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return nT(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,d.__assign)((0,d.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,d.__awaiter)(this,arguments,void 0,function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,d.__generator)(this,function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,d.__assign)((0,d.__assign)({},t),e.exportedVariables)})]:[2,(0,d.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return tM(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 tD}}}),t},e.prototype.buildRootValueFromCache=function(e,t){var n;return this.cache.diff({query:(n=e,"query"===tT(n).operation?n:tM(n,{OperationDefinition:{enter:function(e){return(0,d.__assign)((0,d.__assign)({},e),{operation:"query"})}}})),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,d.__awaiter)(this,arguments,void 0,function(e,t,n,r,i,o){var a,s,c,u,l,f,h,p,v,y,m;return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,d.__generator)(this,function(g){return a=tT(e),s=tO(e),c=eJ(s),u=this.collectSelectionsToResolve(a,c),f=(l=a.operation)?l.charAt(0).toUpperCase()+l.slice(1):"Query",h=this,p=h.cache,v=h.client,y={fragmentMap:c,context:(0,d.__assign)((0,d.__assign)({},n),{cache:p,client:v}),variables:r,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},m=!1,[2,this.resolveSelectionSet(a.selectionSet,m,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,r){return(0,d.__awaiter)(this,void 0,void 0,function(){var i,o,a,s,c,u=this;return(0,d.__generator)(this,function(l){return i=r.fragmentMap,o=r.context,a=r.variables,s=[n],c=function(e){return(0,d.__awaiter)(u,void 0,void 0,function(){var c,u;return(0,d.__generator)(this,function(l){var f;return(t||r.selectionsToResolve.has(e))&&tq(e,a)?tg(e)?[2,this.resolveField(e,t,n,r).then(function(t){var n;void 0!==t&&s.push(((n={})[ty(e)]=t,n))})]:("InlineFragment"===e.kind?c=e:j(c=i[e.name.value],18,e.name.value),c&&c.typeCondition&&(u=c.typeCondition.name.value,r.fragmentMatcher(n,u,o))?[2,this.resolveSelectionSet(c.selectionSet,t,n,r).then(function(e){s.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return tX(s)})]})})},e.prototype.resolveField=function(e,t,n,r){return(0,d.__awaiter)(this,void 0,void 0,function(){var i,o,a,s,c,u,l,f,h,p=this;return(0,d.__generator)(this,function(d){return n?(i=r.variables,o=e.name.value,a=ty(e),s=o!==a,u=Promise.resolve(c=n[a]||n[o]),(!r.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(l=n.__typename||r.defaultOperationType,(f=this.resolvers&&this.resolvers[l])&&(h=f[s?o:a])&&(u=Promise.resolve(rX.withValue(this.cache,h,[n,tv(e,i),r.context,{field:e,fragmentMap:r.fragmentMap},])))),[2,u.then(function(n){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||null==n)return n;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(n)?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 i=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(i){if(!r.has(i)){var o=new Set;r.set(i,o),tM(i,{Directive:function(e,t,r,i,a){"client"===e.name.value&&a.forEach(function(e){n(e)&&r$(e)&&o.add(e)})},FragmentSpread:function(r,i,a,s,c){var u=t[r.name.value];j(u,19,r.name.value);var l=e(u);l.size>0&&(c.forEach(function(e){n(e)&&r$(e)&&o.add(e)}),o.add(r),l.forEach(function(e){o.add(e)}))}})}return r.get(i)}(e)},e}();function r7(e,t){return rN(e,t,t.variables&&{variables:rN((0,d.__assign)((0,d.__assign)({},e&&e.variables),t.variables))})}var r4=!1,r6=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw C(15);var n=e.uri,r=e.credentials,i=e.headers,o=e.cache,a=e.documentTransform,s=e.ssrMode,c=void 0!==s&&s,u=e.ssrForceFetchDelay,l=void 0===u?0:u,f=e.connectToDevTools,h=e.queryDeduplication,p=void 0===h||h,v=e.defaultOptions,y=e.defaultContext,m=e.assumeImmutableResults,g=void 0===m?o.assumeImmutableResults:m,b=e.resolvers,_=e.typeDefs,O=e.fragmentMatcher,E=e.name,T=e.version,x=e.devtools,S=e.link;S||(S=n?new nk({uri:n,credentials:r,headers:i}):tC.empty()),this.link=S,this.cache=o,this.disableNetworkFetches=c||l>0,this.queryDeduplication=p,this.defaultOptions=v||Object.create(null),this.typeDefs=_,this.devtoolsConfig=(0,d.__assign)((0,d.__assign)({},x),{enabled:(null==x?void 0:x.enabled)||f}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),l&&setTimeout(function(){return t.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=w,this.localState=new r5({cache:o,client:this,resolvers:b,fragmentMatcher:O}),this.queryManager=new rK({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:y,documentTransform:a,queryDeduplication:p,ssrMode:c,clientAwareness:{name:E,version:T},localState:this.localState,assumeImmutableResults:g,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!r4&&!1!==globalThis.__DEV__&&(r4=!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__&&j.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=r7(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,d.__assign)((0,d.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=r7(this.defaultOptions.query,e)),j("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,d.__assign)((0,d.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=r7(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},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 tI(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach(function(e,t){n.push(t),r.push(e)});var i=Promise.all(r);return i.queries=n,i.results=r,i.catch(function(e){!1!==globalThis.__DEV__&&j.debug(17,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(r6.prototype.getMemoryInternals=e9);var r8=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=rb(eW,{max:e6["cache.fragmentQueryDocuments"]||1e3,cache:eX})}return 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){return void 0===t&&(t=!!e.optimistic),this.read((0,d.__assign)((0,d.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,r=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=(0,d.__rest)(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(r,i),u=(0,d.__assign)((0,d.__assign)({},s),{returnPartialData:!0,id:void 0===o||"string"==typeof o?o:this.identify(o),query:c,optimistic:void 0===a||a});return new eH(function(e){return n.watch((0,d.__assign)((0,d.__assign)({},u),{immediate:!0,callback:function(n){if(!(t&&rP(c,{data:null==t?void 0:t.result},{data:n.result}))){var r={data:n.result,complete:!!n.complete};n.missing&&(r.missing=tX(n.missing.map(function(e){return e.missing}))),t=n,e.next(r)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,d.__assign)((0,d.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,r=(0,d.__rest)(e,["id","data"]);return this.write(Object.assign(r,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,r=e.fragment,i=e.fragmentName,o=(0,d.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(r,i),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var r=n.readQuery(e),i=t(r);return null==i?r:(n.writeQuery((0,d.__assign)((0,d.__assign)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var r=n.readFragment(e),i=t(r);return null==i?r:(n.writeFragment((0,d.__assign)((0,d.__assign)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(r8.prototype.getMemoryInternals=tt);var r9=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,d.__extends)(t,e),t}(Error);function ie(e){if(!1!==globalThis.__DEV__){var t,n;(n=new Set([e])).forEach(function(e){eB(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(t){eB(e[t])&&n.add(e[t])})})}return e}var it=Object.prototype.hasOwnProperty;function ir(e){return null==e}function ii(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=ir(r)?ir(i)?void 0:{_id:i}:{id:r}),ir(r)&&!ir(i)&&(r=i),!ir(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var io={dataIdFromObject:ii,addTypename:!0,resultCaching:!0,canonizeResults:!1};function ia(e){var t=e.canonizeResults;return void 0===t?io.canonizeResults:t}var is=/^[_a-z][_0-9a-z]*/i;function ic(e){var t=e.match(is);return t?t[0]:e}function iu(e,t,n){return!!eB(t)&&(tY(t)?t.every(function(t){return iu(e,t,n)}):e.selections.every(function(e){if(tg(e)&&tq(e,n)){var r=ty(e);return it.call(t,r)&&(!e.selectionSet||iu(e.selectionSet,t[r],n))}return!0}))}function il(e){return eB(e)&&!tl(e)&&!tY(e)}function id(e,t){var n=eJ(tO(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var ih=Object.create(null),ip=function(){return ih},iv=Object.create(null),iy=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 ie(tl(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return tl(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return tu(e);if(tl(e))return e;var r=n.policies.identify(e)[0];if(r){var i=tu(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,d.__assign)({},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),it.call(this.data,e)){var n=this.data[e];if(n&&it.call(n,t))return n[t]}return"__typename"===t&&it.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof i_?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),it.call(this.data,e))?this.data[e]:this instanceof i_?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;tl(e)&&(e=e.__ref),tl(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){j("string"==typeof n,1);var a=new t1(iO).merge(i,o);if(this.data[n]=a,a!==i&&(delete this.refs[n],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=ic(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||r instanceof i_||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),o=!1,a=!0,s={DELETE:ih,INVALIDATE:iv,isReference:tl,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||tu(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(c){var u=ic(c),l=r[c];if(void 0!==l){var f="function"==typeof t?t:t[c]||t[u];if(f){var h=f===ip?ih:f(ie(l),(0,d.__assign)((0,d.__assign)({},s),{fieldName:u,storeFieldName:c,storage:n.getStorage(e,c)}));if(h===iv)n.group.dirty(e,c);else if(h===ih&&(h=void 0),h!==l&&(i[c]=h,o=!0,l=h,!1!==globalThis.__DEV__)){var p=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&j.warn(2,e),!0};if(tl(h))p(h);else if(Array.isArray(h))for(var v=!1,y=void 0,m=0,g=h;m<g.length;m++){var b=g[m];if(tl(b)){if(v=!0,p(b))break}else"object"==typeof b&&b&&n.policies.identify(b)[0]&&(y=b);if(v&&void 0!==y){!1!==globalThis.__DEV__&&j.warn(3,y);break}}}}void 0!==l&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof i_?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=ip,r):ip)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(it.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof i_&&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){it.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&&it.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,d.__rest)(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 i_?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){it.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var i=this;i instanceof i_;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!it.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){tl(e)&&(t[e.__ref]=!0),eB(e)&&Object.keys(e).forEach(function(t){var n=e[t];eB(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),im=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?rv():null,this.keyMaker=new nQ(M)},e.prototype.depend=function(e,t){if(this.d){this.d(ig(e,t));var n=ic(t);n!==t&&this.d(ig(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(ig(e,t),"__exists"===t?"forget":"setDirty")},e}();function ig(e,t){return t+"#"+e}function ib(e,t){iE(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=t.seed,o=e.call(this,n,new im(void 0===r||r))||this;return o.stump=new iw(o),o.storageTrie=new nQ(M),i&&o.replace(i),o}return(0,d.__extends)(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}(r=iy||(iy={})),r.Root=i;var i_=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,d.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach(function(n){nA(r[n],i[n])||t.group.dirty(e,n)}):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,d.__assign)((0,d.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return it.call(this.data,t)?(0,d.__assign)((0,d.__assign)({},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}(iy),iw=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new im(t.group.caching,t.group))||this}return(0,d.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(i_);function iO(e,t,n){var r=e[n],i=t[n];return nA(r,i)?r:i}function iE(e){return!!(e instanceof iy&&e.group.caching)}var iT=function(){function e(){this.known=new(F?WeakSet:Set),this.pool=new nQ(M),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return eB(e)&&this.known.has(e)},e.prototype.pass=function(e){if(eB(e)){var t,n=eB(e)?tY(e)?e.slice(0):(0,d.__assign)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(n,e),n}return e},e.prototype.admit=function(e){var t=this;if(eB(e)){var n=this.passes.get(e);if(n)return n;var r=Object.getPrototypeOf(e);switch(r){case Array.prototype:if(this.known.has(e))break;var i=e.map(this.admit,this),o=this.pool.lookupArray(i);return o.array||(this.known.add(o.array=i),!1!==globalThis.__DEV__&&Object.freeze(i)),o.array;case null:case Object.prototype:if(this.known.has(e))break;var a=Object.getPrototypeOf(e),s=[a],c=this.sortedKeys(e);s.push(c.json);var u=s.length;c.sorted.forEach(function(n){s.push(t.admit(e[n]))});var o=this.pool.lookupArray(s);if(!o.object){var l=o.object=Object.create(a);this.known.add(l),c.sorted.forEach(function(e,t){l[e]=s[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return o.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 ix(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults,]}var iS=function(){function e(e){var t=this;this.knownResults=new(M?WeakMap:Map),this.config=rN(e,{addTypename:!1!==e.addTypename,canonizeResults:ia(e)}),this.canon=e.canon||new iT,this.executeSelectionSet=rb(function(e){var n,r=e.context.canonizeResults,i=ix(e);i[3]=!r;var o=(n=t.executeSelectionSet).peek.apply(n,i);return o?r?(0,d.__assign)((0,d.__assign)({},o),{result:t.canon.admit(o.result)}):o:(ib(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||e6["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:ix,makeCacheKey:function(e,t,n,r){if(iE(n.store))return n.store.makeCacheKey(e,tl(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=rb(function(e){return ib(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||e6["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(iE(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new iT},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,r=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,s=e.canonizeResults,c=void 0===s?this.config.canonizeResults:s,u=this.config.cache.policies;o=(0,d.__assign)((0,d.__assign)({},tx(tE(r))),o);var l=tu(void 0===i?"ROOT_QUERY":i),f=this.executeSelectionSet({selectionSet:tT(r).selectionSet,objectOrReference:l,enclosingRef:l,context:(0,d.__assign)({store:n,query:r,policies:u,variables:o,varString:ta(o),canonizeResults:c},id(r,this.config.fragments))});if(f.missing&&(t=[new r9(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(t){return t}}(f.missing),f.missing,r,o),],!(void 0===a||a)))throw t[0];return{result:f.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if(iE(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if(tl(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var c=a.variables,u=a.policies,l=a.store.getFieldValue(i,"__typename"),f=[],d=new t1;function h(e,n){var r;return e.missing&&(t=d.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof l&&!u.rootIdsByTypename[l]&&f.push({__typename:l});var p=new Set(r.selections);p.forEach(function(e){var r,v;if(tq(e,c)){if(tg(e)){var y=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),m=ty(e);void 0===y?nE.added(e)||(t=d.merge(t,((r={})[m]="Can't find field '".concat(e.name.value,"' on ").concat(tl(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),r))):tY(y)?y.length>0&&(y=h(n.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:a}),m)):e.selectionSet?null!=y&&(y=h(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:tl(y)?y:o,context:a}),m)):a.canonizeResults&&(y=n.canon.pass(y)),void 0!==y&&f.push(((v={})[m]=y,v))}else{var g=eZ(e,a.lookupFragment);if(!g&&e.kind===s.FRAGMENT_SPREAD)throw C(9,e.name.value);g&&u.fragmentMatches(g,l)&&g.selectionSet.selections.forEach(p.add,p)}}});var v={result:tX(f),missing:t},y=a.canonizeResults?this.canon.admit(v):ie(v);return y.result&&this.knownResults.set(y.result,r),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new t1;function c(e,n){var r;return e.missing&&(t=s.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:tY(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:a}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:tl(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){if(eB(n)){var i,o;j(!tl(n),10,tl(n)?e.get(n.__ref,"__typename"):n&&n.__typename,t.name.value),Object.values(n).forEach(r.add,r)}})}}(a.store,r,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),ik=Object.create(null);function ij(e){var t=JSON.stringify(e);return ik[t]||(ik[t]=Object.create(null))}function iC(e){var t=ij(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},i=n.keyObject=iN(e,function(e){var i=iL(n.storeObject,e,r);return void 0===i&&t!==n.storeObject&&it.call(t,e[0])&&(i=iL(t,e,iA)),j(void 0!==i,4,e.join("."),t),i});return"".concat(n.typename,":").concat(JSON.stringify(i))})}function iI(e){var t=ij(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=JSON.stringify(iN(e,function(e){var n=e[0],o=n.charAt(0);if("@"===o){if(r&&tG(r.directives)){var a=n.slice(1),s=r.directives.find(function(e){return e.name.value===a}),c=s&&tv(s,i);return c&&iL(c,e.slice(1))}return}if("$"===o){var u=n.slice(1);if(i&&it.call(i,u)){var l=e.slice(0);return l[0]=u,iL(i,l)}return}if(t)return iL(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function iN(e,t){var n=new t1;return(function e(t){var n=ij(t);if(!n.paths){var r=n.paths=[],i=[];t.forEach(function(n,o){tY(n)?(e(n).forEach(function(e){return r.push(i.concat(e))}),i.length=0):(i.push(n),tY(t[o+1])||(r.push(i.slice(0)),i.length=0))})}return n.paths})(e).reduce(function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e},Object.create(null))}function iA(e,t){return e[t]}function iL(e,t,n){return n=n||iA,function e(t){return eB(t)?tY(t)?t.map(e):iN(Object.keys(t).sort(),function(e){return iL(t,e)}):t}(t.reduce(function e(t,r){return tY(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function iP(e){return void 0!==e.args?e.args:e.field?tv(e.field,e.variables):null}var iR=function(){},iD=function(e,t){return t.fieldName},iM=function(e,t,n){return(0,n.mergeObjects)(e,t)},iF=function(e,t){return t},iq=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,d.__assign)({dataIdFromObject:ii},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,i=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=t&&t.storeObject||e,s=(0,d.__assign)((0,d.__assign)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=iQ(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var l=u((0,d.__assign)((0,d.__assign)({},e),a),s);if(tY(l))u=iC(l);else{r=l;break}}return r=r?String(r):void 0,s.keyObject?[r,s.keyObject]:[r]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(n){var r=e[n],i=r.queryType,o=r.mutationType,a=r.subscriptionType,s=(0,d.__rest)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),o&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),it.call(t.toBeAdded,n)?t.toBeAdded[n].push(s):t.toBeAdded[n]=[s]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?iM:!1===t?iF:e.merge}a(r,t.merge),r.keyFn=!1===i?iR:tY(i)?iC(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach(function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;r.keyFn=!1===s?iD:tY(s)?iI(s):"function"==typeof s?s:r.keyFn,"function"==typeof c&&(r.read=c),a(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||iD)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&(j(!r||r===e,5,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(is);r&&r[0]===e||t.fuzzySubtypes.set(e,RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!it.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,i){if(n.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return r.add(e)})}})),r&&r.size&&r.forEach(function(e){var r=t.getTypePolicy(e),i=r.fields;Object.assign(n,(0,d.__rest)(r,["fields"])),Object.assign(n.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},u=!!(n&&this.fuzzySubtypes.size),l=!1,f=0;f<s.length;++f){var d=s[f];if(d.has(o))return a.has(o)||(l&&!1!==globalThis.__DEV__&&j.warn(6,t,o),a.add(o)),!0;d.forEach(c),u&&f===s.length-1&&iu(e.selectionSet,n,r)&&(u=!1,l=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&c(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n,r,i,o,a=e.typename,s=e.fieldName,c=this.getFieldPolicy(a,s,!1),u=c&&c.keyFn;if(u&&a)for(var l={typename:a,fieldName:s,field:e.field||null,variables:e.variables},f=iP(e);u;){var d=u(f,l);if(tY(d))u=iI(d);else{o=d||s;break}}return void 0===o&&(o=e.field?(t=e.field,n=e.variables,r=null,t.directives&&(r={},t.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(t){var i=t.name,o=t.value;return tf(r[e.name.value],i,o,n)})})),i=null,t.arguments&&t.arguments.length&&(i={},t.arguments.forEach(function(e){var t;return tf(i,e.name,e.value,n)})),tp(t.name.value,i,r)):tp(s,iP(e))),!1===o?s:s===ic(o)?o:s+":"+o},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),o=ic(i),a=t.store.getFieldValue(n,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=iV(this,n,e,t,t.store.getStorage(tl(n)?n.__ref:n,i));return rX.withValue(this.cache,c,[a,u,])}return a}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===iM?iz(r.store)(e,t):s===iF?t:(r.overwrite&&(e=void 0),s(e,t,iV(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function iV(e,t,n,r,i){var o=e.getStoreFieldName(n),a=ic(o),s=n.variables||r.variables,c=r.store,u=c.toReference,l=c.canRead;return{args:iP(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:tl,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(iQ(arguments,t,s),r)},mergeObjects:iz(r.store)}}function iQ(e,t,n){var r,i=e[0],o=e[1],a=e.length;return"string"==typeof i?r={fieldName:i,from:a>1?o:t}:(r=(0,d.__assign)({},i),it.call(r,"from")||(r.from=t)),!1!==globalThis.__DEV__&&void 0===r.from&&!1!==globalThis.__DEV__&&j.warn(7,S(Array.from(e))),void 0===r.variables&&(r.variables=n),r}function iz(e){return function(t,n){if(tY(t)||tY(n))throw C(8);if(eB(t)&&eB(n)){var r=e.getFieldValue(t,"__typename"),i=e.getFieldValue(n,"__typename");if(r&&i&&r!==i)return n;if(tl(t)&&il(n))return e.merge(t.__ref,n),t;if(il(t)&&tl(n))return e.merge(t,n.__ref),n;if(il(t)&&il(n))return(0,d.__assign)((0,d.__assign)({},t),n)}return n}}function iU(e,t,n){var r="".concat(t).concat(n),i=e.flavors.get(r);return i||e.flavors.set(r,i=e.clientOnly===t&&e.deferred===n?e:(0,d.__assign)((0,d.__assign)({},e),{clientOnly:t,deferred:n})),i}var iH=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,r=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,c=t_(r),u=new t1;a=(0,d.__assign)((0,d.__assign)({},tx(c)),a);var l=(0,d.__assign)((0,d.__assign)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:a,varString:ta(a)},id(r,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),f=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!tl(f))throw C(11,i);return l.incomingById.forEach(function(t,r){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=tu(r);if(o&&o.map.size){var c=n.applyMerges(o,s,i,l);if(tl(c))return;i=c}if(!1!==globalThis.__DEV__&&!l.overwrite){var u=Object.create(null);a.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});var f=function(e){var t=o&&o.map.get(e);return Boolean(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){var t;!0===u[ic(e)]&&!f(e)&&function(e,t,n,r){var i=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||tl(o)||nA(o,a)||Object.keys(o).every(function(e){return void 0!==r.getFieldValue(a,e)}))){var s=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),c=ic(n),u="".concat(s,".").concat(c);if(!iY.has(u)){iY.add(u);var l=[];tY(o)||tY(a)||[o,a].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)}),!1!==globalThis.__DEV__&&j.warn(14,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,d.__assign)({},o),(0,d.__assign)({},a))}}}}(s,i,e,l.store)})}e.merge(r,i)}),e.retain(f.__ref),f},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=n&&s.rootTypenamesById[n]||tm(r,i,o.fragmentMap)||n&&o.store.get(n,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=iQ(arguments,c,o.variables);if(tl(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var n=s.readField((0,d.__assign)((0,d.__assign)({},e),{from:t.storeObject}),o);if(void 0!==n)return n}}return s.readField(e,o)},f=new Set;this.flattenFields(i,r,o,u).forEach(function(e,n){var i,o=r[ty(n)];if(f.add(n),void 0!==o){var d=s.getStoreFieldName({typename:u,fieldName:n.name.value,field:n,variables:e.variables}),h=iW(a,d),p=t.processFieldValue(o,n,n.selectionSet?iU(e,!1,!1):e,h),v=void 0;n.selectionSet&&(tl(p)||il(p))&&(v=l("__typename",p));var y=s.getMergeFunction(u,n.name.value,v);y?h.info={field:n,typename:u,merge:y}:iZ(a,d),c=e.merge(c,((i={})[d]=p,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||nE.added(n)||s.getReadFunction(u,n.name.value)||!1===globalThis.__DEV__||j.error(12,ty(n),r)});try{var h=s.identify(r,{typename:u,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:c,readField:l}),p=h[0],v=h[1];n=n||p,v&&(c=o.merge(c,v))}catch(y){if(!n)throw y}if("string"==typeof n){var m=tu(n),g=o.written[n]||(o.written[n]=[]);if(g.indexOf(i)>=0||(g.push(i),this.reader&&this.reader.isFresh(r,m,i,o)))return m;var b=o.incomingById.get(n);return b?(b.storeObject=o.merge(b.storeObject,c),b.mergeTree=function e(t,n){if(t===n||!n||iJ(n))return t;if(!t||iJ(t))return n;var r=t.info&&n.info?(0,d.__assign)((0,d.__assign)({},t.info),n.info):t.info||n.info,i=t.map.size&&n.map.size,o=i?new Map:t.map.size?t.map:n.map,a={info:r,map:o};if(i){var s=new Set(n.map.keys());t.map.forEach(function(t,r){a.map.set(r,e(t,n.map.get(r))),s.delete(r)}),s.forEach(function(r){a.map.set(r,e(n.map.get(r),t.map.get(r)))})}return a}(b.mergeTree,a),f.forEach(function(e){return b.fieldNodeSet.add(e)})):o.incomingById.set(n,{storeObject:c,mergeTree:iJ(a)?void 0:a,fieldNodeSet:f}),m}return c},e.prototype.processFieldValue=function(e,t,n,r){var i,o=this;return t.selectionSet&&null!==e?tY(e)?e.map(function(e,i){var a=o.processFieldValue(e,t,n,iW(r,i));return iZ(r,i),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?rL(i=e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=tm(t,e,n.fragmentMap));var i=new Map,o=this.cache.policies,a=new nQ(!1);return function e(c,u){var l=a.lookup(c,u.clientOnly,u.deferred);l.visited||(l.visited=!0,c.selections.forEach(function(a){if(tq(a,n.variables)){var c=u.clientOnly,l=u.deferred;if(!(c&&l)&&tG(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var r=tv(e,n.variables);r&&!1===r.if||(l=!0)}}),tg(a)){var f=i.get(a);f&&(c=c&&f.clientOnly,l=l&&f.deferred),i.set(a,iU(n,c,l))}else{var d=eZ(a,n.lookupFragment);if(!d&&a.kind===s.FRAGMENT_SPREAD)throw C(13,a.name.value);d&&o.fragmentMatches(d,r,t,n.variables)&&e(d.selectionSet,iU(n,c,l))}}}))}(e,n),i},e.prototype.applyMerges=function(e,t,n,r,i){var o=this;if(e.map.size&&!tl(n)){var a,s,c=!tY(n)&&(tl(t)||il(t))?t:void 0,u=n;c&&!i&&(i=[tl(c)?c.__ref:c]);var l=function(e,t){return tY(e)?"number"==typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=l(c,t),a=l(u,t);if(void 0!==a){i&&i.push(t);var f=o.applyMerges(e,n,a,r,i);f!==a&&(s=s||new Map).set(t,f),i&&j(i.pop()===t)}}),s&&(n=tY(u)?u.slice(0):(0,d.__assign)({},u),s.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(a=r.store).getStorage.apply(a,i)):n},e}(),iB=[];function iW(e,t){var n=e.map;return n.has(t)||n.set(t,iB.pop()||{map:new Map}),n.get(t)}function iJ(e){return!e||!(e.info||e.map.size)}function iZ(e,t){var n=e.map,r=n.get(t);r&&iJ(r)&&(iB.push(r),n.delete(t))}var iY=new Set,iG=function(e){function t(t){void 0===t&&(t={});var n,r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new rw(nE),r.assumeImmutableResults=!0,r.makeVar=r3,r.txCount=0,r.config=rN(io,n=t),r.addTypename=!!r.config.addTypename,r.policies=new iq({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,d.__extends)(t,e),t.prototype.init=function(){var e=this.data=new iy.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new iH(this,this.storeReader=new iS({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:ia(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=rb(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize||e6["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(iE(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,ta({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,d.__assign)((0,d.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(n){if(n instanceof r9)return null;throw n}},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(it.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,d.__assign)((0,d.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){r1(e).vars.forEach(function(t){return t.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&r2(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){ta.reset(),nu.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(tl(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&j.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(it.call(e,"id"))return!1;e=(0,d.__assign)((0,d.__assign)({},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(),ta.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),r2(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,r=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var i=n.data,o=n.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=r(n)}finally{--n.txCount,n.data=i,n.optimisticData=o}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,d.__assign)((0,d.__assign)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,d.__assign)((0,d.__assign)({},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.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&nA(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(r8);!1!==globalThis.__DEV__&&(iG.prototype.getMemoryInternals=te);var iK=new r6({uri:"https://api.ur-cloud.jp/graphql",cache:new iG({addTypename:!1}),defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",errorPolicy:"ignore"},query:{fetchPolicy:"network-only",errorPolicy:"all"}}}),i$=function(e){var t=e.Component,n=e.pageProps;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(U.Wi,{trackPageViews:!0}),(0,f.jsx)(z,{client:iK,children:(0,f.jsx)(eT,{children:(0,f.jsx)(t,(0,l.Z)({},n))})})]})}},9577:function(e){e.exports={container:"CTA_container__iJ92X",titles:"CTA_titles__b7Z8H",titleJA:"CTA_titleJA__13we4",titleEN:"CTA_titleEN__l8nCC",links:"CTA_links__IG7pU",link:"CTA_link__2Ob4N",arrowRight:"CTA_arrowRight__MEAYX",label:"CTA_label__f__fo",desc:"CTA_desc__P7diZ"}},8155:function(e){e.exports={externalLink:"ExternalLink_externalLink__rObL4"}},4080:function(e){e.exports={container:"FixedCTA_container__Jq_MG",closeButtonWrap:"FixedCTA_closeButtonWrap__X_BYJ",closeButton:"FixedCTA_closeButton__sjlAV",titleEN:"FixedCTA_titleEN__kSTf8",titleJA:"FixedCTA_titleJA__hOLOH",desc:"FixedCTA_desc__WxYCO",apply:"FixedCTA_apply__n_ygb",contact:"FixedCTA_contact__o2m2z"}},1186:function(e){e.exports={footer:"Footer_footer__oaUOW",inner:"Footer_inner__moEx0",content:"Footer_content__YkcsC",nav:"Footer_nav__Upk_r",navItem:"Footer_navItem__oo_3I",contact:"Footer_contact__QAhMp",tel:"Footer_tel__7djwv",address:"Footer_address__JmcWv",affiliatedCompanies:"Footer_affiliatedCompanies__qMTRV",mobilePrivacy:"Footer_mobilePrivacy__spDR8",footerCopy:"Footer_footerCopy__qfdbL",links:"Footer_links__P_15J"}},201:function(e){e.exports={header:"Header_header__R_kkv",isHome:"Header_isHome__VKusc",isSub:"Header_isSub__7ZqNi",inner:"Header_inner__Y1C6G",links:"Header_links__Y2Z7h",buttons:"Header_buttons__RHMiA",apply:"Header_apply__VlkoC",contact:"Header_contact__WALZr",content:"Header_content__CVWkX",tel:"Header_tel__eVsg2",globalNav:"Header_globalNav__M2KBQ",active:"Header_active__v_gD5"}},7875:function(e){e.exports={blackLeft:"Logo_blackLeft__JXzyO",blackLeftFooter:"Logo_blackLeftFooter__YC5VU",blackRightHeader:"Logo_blackRightHeader__PAQTR",whiteRightHeader:"Logo_whiteRightHeader__h3c9j",header:"Logo_header__DOw_z",title:"Logo_title__BTgyA",desc:"Logo_desc__PV91_"}},5790:function(e){e.exports={overlay:"MobileModal_overlay__hjTnx",closeButton:"MobileModal_closeButton__1IiYE",modal:"MobileModal_modal__5HNnM",open:"MobileModal_open___qDny",afterOpen:"MobileModal_afterOpen__Oipjh",whenOpenBefore:"MobileModal_whenOpenBefore__qS9x_",whenOpenAfter:"MobileModal_whenOpenAfter__J1AJE",beforeClose:"MobileModal_beforeClose__ZhCQl",close:"MobileModal_close__SzwYB",whenCloseBefore:"MobileModal_whenCloseBefore__6bVws",whenCloseAfter:"MobileModal_whenCloseAfter__K_rOm",header:"MobileModal_header__sd_4K",inner:"MobileModal_inner__ONyHN",ctaButtons:"MobileModal_ctaButtons__l10FU",contact:"MobileModal_contact__ymlPr",apply:"MobileModal_apply__fZ7z2",tel:"MobileModal_tel___Qxqm",externalLinks:"MobileModal_externalLinks__ZnOe8",nav:"MobileModal_nav__VmarW",navList:"MobileModal_navList__rlr9E",openButtonSub:"MobileModal_openButtonSub__wbixH",openButtonHome:"MobileModal_openButtonHome__6lL_3",isOpen:"MobileModal_isOpen__Fsglu"}},1720:function(){},5675:function(e,t,n){e.exports=n(8045)},1664:function(e,t,n){e.exports=n(8418)},1163:function(e,t,n){e.exports=n(387)},4298:function(e,t,n){e.exports=n(699)},1462:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let r=n(7582),i=r.__importDefault(n(7294)),o=r.__importDefault(n(4298)),a=n(8816);t.GoogleAnalytics=function({debugMode:e=!1,gaMeasurementId:t,gtagUrl:n="https://www.googletagmanager.com/gtag/js",strategy:r="afterInteractive",defaultConsent:s="granted",trackPageViews:c,nonce:u}){let l="UA-79466192-1";return((0,a.usePageViews)({gaMeasurementId:l,ignoreHashChange:"object"==typeof c&&(null==c?void 0:c.ignoreHashChange),disabled:!c}),l)?i.default.createElement(i.default.Fragment,null,i.default.createElement(o.default,{src:`${n}?id=${l}`,strategy:r}),i.default.createElement(o.default,{id:"nextjs-google-analytics",nonce:u},`
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());
            ${"denied"===s?`gtag('consent', 'default', {
              'ad_storage': 'denied',
              'analytics_storage': 'denied',
              'ad_user_data': 'denied',
              'ad_personalization': 'denied'
            });`:""}
            gtag('config', '${l}', {
              page_path: window.location.pathname,
              ${e?`debug_mode: ${e},`:""}
            });
          `)):null}},7270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;var r=n(1462);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return r.GoogleAnalytics}})},8816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePageViews=t.usePagesViews=void 0;var r=n(7015);Object.defineProperty(t,"usePagesViews",{enumerable:!0,get:function(){return r.usePagesViews}});var i=n(9412);Object.defineProperty(t,"usePageViews",{enumerable:!0,get:function(){return i.usePageViews}})},9412:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePageViews=void 0;let r=n(7294),i=n(1163),o=n(8396);t.usePageViews=function({gaMeasurementId:e,ignoreHashChange:t,disabled:n}={}){(0,r.useEffect)(()=>{if(n)return;let e=e=>{(0,o.pageView)({path:e.toString()},"UA-79466192-1")};return i.Router.events.on("routeChangeComplete",e),t||i.Router.events.on("hashChangeComplete",e),()=>{i.Router.events.off("routeChangeComplete",e),t||i.Router.events.off("hashChangeComplete",e)}},[i.Router.events,e,t])}},7015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.usePagesViews=void 0;let r=n(9412);t.usePagesViews=function(e){console.warn("Nextjs Google Analytics: The 'usePagesViews' hook is deprecated. Please use 'usePageViews' hook instead. https://github.com/MauricioRobayo/nextjs-google-analytics#readme"),(0,r.usePageViews)(e)}},4304:function(e,t,n){"use strict";t.Wi=void 0;var r=n(7270);Object.defineProperty(t,"Wi",{enumerable:!0,get:function(){return r.GoogleAnalytics}}),n(8816),n(8396)},5146:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.consent=void 0,t.consent=function({arg:e,params:t}){window.gtag&&window.gtag("consent",e,t)}},9633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.event=void 0;let r=n(7582);t.event=function(e,t={}){var{category:n,label:i,value:o,nonInteraction:a,userId:s}=t,c=r.__rest(t,["category","label","value","nonInteraction","userId"]);if(!window.gtag)return;let u=Object.assign({},c);void 0!==n&&(u.event_category=n),void 0!==i&&(u.event_label=i),void 0!==o&&(u.value=o),void 0!==a&&(u.non_interaction=a),void 0!==s&&(u.user_id=s),window.gtag("event",e,u)}},8396:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.consent=t.event=t.pageView=void 0;var r=n(3371);Object.defineProperty(t,"pageView",{enumerable:!0,get:function(){return r.pageView}});var i=n(9633);Object.defineProperty(t,"event",{enumerable:!0,get:function(){return i.event}});var o=n(5146);Object.defineProperty(t,"consent",{enumerable:!0,get:function(){return o.consent}})},3371:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pageView=void 0,t.pageView=function({title:e,location:t,path:n,sendPageView:r,userId:i}={},o){let a="UA-79466192-1";if(!a||!window.gtag)return;let s={};void 0!==e&&(s.page_title=e),void 0!==t&&(s.page_location=t),void 0!==n&&(s.page_path=n),void 0!==r&&(s.send_page_view=r),void 0!==i&&(s.user_id=i),window.gtag("config",a,s)}},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6871:function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function i(e){this.setState((function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}).bind(this))}function o(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t,n=e.prototype;if(!n||!n.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof n.getSnapshotBeforeUpdate)return e;var a=null,s=null,c=null;if("function"==typeof n.componentWillMount?a="componentWillMount":"function"==typeof n.UNSAFE_componentWillMount&&(a="UNSAFE_componentWillMount"),"function"==typeof n.componentWillReceiveProps?s="componentWillReceiveProps":"function"==typeof n.UNSAFE_componentWillReceiveProps&&(s="UNSAFE_componentWillReceiveProps"),"function"==typeof n.componentWillUpdate?c="componentWillUpdate":"function"==typeof n.UNSAFE_componentWillUpdate&&(c="UNSAFE_componentWillUpdate"),null!==a||null!==s||null!==c){throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+(null!==c?"\n  "+c:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(n.componentWillMount=r,n.componentWillReceiveProps=i),"function"==typeof n.getSnapshotBeforeUpdate){if("function"!=typeof n.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");n.componentWillUpdate=o;var u=n.componentDidUpdate;n.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:function(){return a}}),r.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},9983:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r,i=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}}(),a=n(7294),s=g(a),c=n(3935),u=g(c),l=n(5697),f=g(l),d=n(8747),h=g(d),p=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(7149)),v=n(1112),y=g(v),m=n(6871);function g(e){return e&&e.__esModule?e:{default:e}}function b(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var _=t.portalClassName="ReactModalPortal",w=t.bodyOpenClassName="ReactModal__Body--open",O=v.canUseDOM&&void 0!==u.default.createPortal,E=function(e){return document.createElement(e)},T=function(){return O?u.default.createPortal:u.default.unstable_renderSubtreeIntoContainer},x=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,n,r,o=arguments.length,a=Array(o),c=0;c<o;c++)a[c]=arguments[c];return n=r=b(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.removePortal=function(){O||u.default.unmountComponentAtNode(r.node);var e,t=(e=r.props.parentSelector)();t&&t.contains(r.node)?t.removeChild(r.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.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var n=T()(r,s.default.createElement(h.default,i({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(n)},b(r,n)}return!function(e,t){if("function"!=typeof t&&null!==t)throw 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(){if(v.canUseDOM){var e;O||(this.node=E("div")),this.node.className=this.props.portalClassName,(e=this.props.parentSelector)().appendChild(this.node),O||this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(e){var t,n,r;return{prevParent:(t=e.parentSelector)(),nextParent:(n=this.props.parentSelector)()}}},{key:"componentDidUpdate",value:function(e,t,n){if(v.canUseDOM){var r=this.props,i=r.isOpen,o=r.portalClassName;e.portalClassName!==o&&(this.node.className=o);var a=n.prevParent,s=n.nextParent;s!==a&&(a.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||i)&&(O||this.renderPortal(this.props))}}},{key:"componentWillUnmount",value:function(){if(v.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 v.canUseDOM&&O?(!this.node&&O&&(this.node=E("div")),T()(s.default.createElement(h.default,i({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){p.setElement(e)}}]),t}(a.Component);x.propTypes={isOpen:f.default.bool.isRequired,style:f.default.shape({content:f.default.object,overlay:f.default.object}),portalClassName:f.default.string,bodyOpenClassName:f.default.string,htmlOpenClassName:f.default.string,className:f.default.oneOfType([f.default.string,f.default.shape({base:f.default.string.isRequired,afterOpen:f.default.string.isRequired,beforeClose:f.default.string.isRequired})]),overlayClassName:f.default.oneOfType([f.default.string,f.default.shape({base:f.default.string.isRequired,afterOpen:f.default.string.isRequired,beforeClose:f.default.string.isRequired})]),appElement:f.default.oneOfType([f.default.instanceOf(y.default),f.default.instanceOf(v.SafeHTMLCollection),f.default.instanceOf(v.SafeNodeList),f.default.arrayOf(f.default.instanceOf(y.default))]),onAfterOpen:f.default.func,onRequestClose:f.default.func,closeTimeoutMS:f.default.number,ariaHideApp:f.default.bool,shouldFocusAfterRender:f.default.bool,shouldCloseOnOverlayClick:f.default.bool,shouldReturnFocusAfterClose:f.default.bool,preventScroll:f.default.bool,parentSelector:f.default.func,aria:f.default.object,data:f.default.object,role:f.default.string,contentLabel:f.default.string,shouldCloseOnEsc:f.default.bool,overlayRef:f.default.func,contentRef:f.default.func,id:f.default.string,overlayElement:f.default.func,contentElement:f.default.func},x.defaultProps={isOpen:!1,portalClassName:_,bodyOpenClassName:w,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 s.default.createElement("div",e,t)},contentElement:function(e,t){return s.default.createElement("div",e,t)}},x.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,m.polyfill)(x),t.default=x},8747: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},i="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},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}}(),a=n(7294),s=n(5697),c=O(s),u=n(9685),l=w(u),f=n(8338),d=O(f),h=n(7149),p=w(h),v=n(2409),y=w(v),m=n(1112),g=O(m),b=n(9623),_=O(b);function w(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 O(e){return e&&e.__esModule?e:{default:e}}n(5063);var E={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},T=0,x=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(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,i=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,s=a&&a().ownerDocument||document;o&&y.remove(s.body,o),i&&y.remove(s.getElementsByTagName("html")[0],i),r&&T>0&&0==(T-=1)&&p.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),_.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.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){var t,r;("Tab"===e.code||9===e.keyCode)&&(0,d.default)(n.content,e),n.props.shouldCloseOnEsc&&("Escape"===e.code||27===e.keyCode)&&(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=(void 0===t?"undefined":i(t))==="object"?t:{base:E[e],afterOpen:E[e]+"--after-open",beforeClose:E[e]+"--before-close"},o=r.base;return n.state.afterOpen&&(o=o+" "+r.afterOpen),n.state.beforeClose&&(o=o+" "+r.beforeClose),"string"==typeof t&&t?o+" "+t:o},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 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(){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,i=e.bodyOpenClassName,o=e.parentSelector,a=o&&o().ownerDocument||document;i&&y.add(a.body,i),r&&y.add(a.getElementsByTagName("html")[0],r),n&&(T+=1,p.hide(t)),_.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,i=e.overlayClassName,o=e.defaultStyles,a=e.children,s=n?{}:o.content,c=i?{}:o.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",i),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);x.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},x.propTypes={isOpen:c.default.bool.isRequired,defaultStyles:c.default.shape({content:c.default.object,overlay:c.default.object}),style:c.default.shape({content:c.default.object,overlay:c.default.object}),className:c.default.oneOfType([c.default.string,c.default.object]),overlayClassName:c.default.oneOfType([c.default.string,c.default.object]),parentSelector:c.default.func,bodyOpenClassName:c.default.string,htmlOpenClassName:c.default.string,ariaHideApp:c.default.bool,appElement:c.default.oneOfType([c.default.instanceOf(g.default),c.default.instanceOf(m.SafeHTMLCollection),c.default.instanceOf(m.SafeNodeList),c.default.arrayOf(c.default.instanceOf(g.default))]),onAfterOpen:c.default.func,onAfterClose:c.default.func,onRequestClose:c.default.func,closeTimeoutMS:c.default.number,shouldFocusAfterRender:c.default.bool,shouldCloseOnOverlayClick:c.default.bool,shouldReturnFocusAfterClose:c.default.bool,preventScroll:c.default.bool,role:c.default.string,contentLabel:c.default.string,aria:c.default.object,data:c.default.object,children:c.default.node,shouldCloseOnEsc:c.default.bool,overlayRef:c.default.func,contentRef:c.default.func,id:c.default.string,overlayElement:c.default.func,contentElement:c.default.func,testId:c.default.string},t.default=x,e.exports=t.default},7149: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(){},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 i,o=u(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.setAttribute("aria-hidden","true")}catch(a){n=!0,r=a}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var i,o=u(e)[Symbol.iterator]();!(t=(i=o.next()).done);t=!0)i.value.removeAttribute("aria-hidden")}catch(a){n=!0,r=a}finally{try{!t&&o.return&&o.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){s=null};var r,i,o=(r=n(2473),r&&r.__esModule?r:{default:r}),a=n(1112),s=null;function c(e,t){if(!e||!e.length)throw 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,o.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}`."),[])}},5063:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,s],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}a=s=null,c=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(c.length);for(var e=[a,s],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,i,o=(r=n(9623),r&&r.__esModule?r:{default:r}),a=void 0,s=void 0,c=[];function u(){0!==c.length&&c[c.length-1].focusContent()}o.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))})},2409: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)i(e,n[t]);var o=document.body;for(var a in r)i(o,r[a]);n={},r={}},t.log=function(){};var n={},r={};function i(e,t){e.classList.remove(t)}var o=function(e,t,n){n.forEach(function(n){var r,i;(r=t)[n]||(r[n]=0),r[n]+=1,e.add(n)})},a=function(e,t,n){n.forEach(function(n){var r,i;(r=t)[n]&&(r[n]-=1),0===t[n]&&e.remove(n)})};t.add=function(e,t){return o(e.classList,"html"==e.nodeName.toLowerCase()?n:r,t.split(" "))},t.remove=function(e,t){return a(e.classList,"html"==e.nodeName.toLowerCase()?n:r,t.split(" "))}},9685:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){},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{0!==a.length&&(t=a.pop()).focus({preventScroll:e});return}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,i,o=(r=n(7845),r&&r.__esModule?r:{default:r}),a=[],s=null,c=!1;function u(){c=!0}function l(){c&&(c=!1,s&&setTimeout(function(){!s.contains(document.activeElement)&&((0,o.default)(s)[0]||s).focus()},0))}},9623: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 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},1112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,i,o,a=(r=n(8875),r&&r.__esModule?r:{default:r}).default,s=a.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=a.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=a.canUseDOM?window.NodeList:{},t.canUseDOM=a.canUseDOM,t.default=s},8338:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(!n.length){t.preventDefault();return}var r=void 0,i=t.shiftKey,a=n[0],s=n[n.length-1],c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===c){if(!i)return;r=s}if(s!==c||i||(r=a),a===c&&i&&(r=s),r){t.preventDefault(),r.focus();return}var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var l=n.indexOf(c);if(l>-1&&(l+=i?-1:1),void 0===(r=n[l])){t.preventDefault(),(r=i?s:a).focus();return}t.preventDefault(),r.focus()}};var r,i,o=(r=n(7845),r&&r.__esModule?r:{default:r});e.exports=t.default},7845:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])},[]).filter(i)};var n=/input|select|textarea|button|object|iframe/;function r(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var n,r,i=window.getComputedStyle(e),o=i.getPropertyValue("display");return t?"contents"!==o&&("visible"!==i.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0):"none"===o}catch(a){return console.warn("Failed to inspect element style"),!1}}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var i,o,a,s=isNaN(t);return(s||t>=0)&&(o=!s,a=e.nodeName.toLowerCase(),(n.test(a)&&!e.disabled||"a"===a&&e.href||o)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),r(t))return!1;t=t.parentNode}return!0}(e))}e.exports=t.default},3253:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o=(r=n(9983),r&&r.__esModule?r:{default:r});t.default=o.default,e.exports=t.default},3914:function(e,t,n){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,n(7294))},2473:function(e){"use strict";var t=function(){};e.exports=t},1799:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),i.forEach(function(t){r(e,t,n[t])})}return e}n.d(t,{Z:function(){return i}})},9396:function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n.d(t,{Z:function(){return r}})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6840),t(387)}),_N_E=e.O()}]);