@unchainedshop/admin-ui 4.0.27 → 4.0.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/403/index.html +2 -2
- package/out/404/index.html +2 -2
- package/out/404.html +2 -2
- package/out/423/index.html +2 -2
- package/out/500/index.html +2 -2
- package/out/_next/static/83CcY8aSCK8GRMT7IuAfm/_buildManifest.js +1 -0
- package/out/_next/static/chunks/{1563-cd220da1d5f6b5e0.js → 1563-48df709f22bfa4eb.js} +1 -1
- package/out/_next/static/chunks/{3217-3b0c9aceb00418c9.js → 3217-48ab5d56829c192d.js} +1 -1
- package/out/_next/static/chunks/{4061-888b49c70e2cdf71.js → 4061-f787a419cf540548.js} +1 -1
- package/out/_next/static/chunks/4119-1c0aab3b3525adb2.js +1 -0
- package/out/_next/static/chunks/{4525-86034f630f0177cd.js → 4525-09202ae5a257d3bf.js} +1 -1
- package/out/_next/static/chunks/464-0b8e505ecc861e1e.js +1 -0
- package/out/_next/static/chunks/{4775-e5793c1224497e64.js → 4775-d74903f9cdeef675.js} +1 -1
- package/out/_next/static/chunks/{6002-e64ef83ae08fcf14.js → 6002-81d0963d0f694326.js} +1 -1
- package/out/_next/static/chunks/{6558-40e7ae2915495c8b.js → 6558-65213dbd1caac489.js} +1 -1
- package/out/_next/static/chunks/7209-a4794948163312ec.js +1 -0
- package/out/_next/static/chunks/{7427-7554d5f4b2d0cf6b.js → 7427-0f400a405111a599.js} +1 -1
- package/out/_next/static/chunks/{8419-adebed399ec61bf6.js → 8419-d15231cf95e255d6.js} +1 -1
- package/out/_next/static/chunks/9246-b4f934a7a7c3f390.js +1 -0
- package/out/_next/static/chunks/pages/_app-31508b280919d5a5.js +16 -0
- package/out/_next/static/chunks/pages/assortments/{new-d1dd80441000f6fc.js → new-219ede9f156cee4c.js} +1 -1
- package/out/_next/static/chunks/pages/copilot-b6713d156d2afbea.js +1 -0
- package/out/_next/static/chunks/pages/filters/{new-81a4f5017e556e6e.js → new-7ddf97d099aee881.js} +1 -1
- package/out/_next/static/chunks/pages/index-822460aa0d6dd50e.js +1 -0
- package/out/_next/static/chunks/pages/{orders-d88074e4d9780841.js → orders-81e0aa09d5989453.js} +1 -1
- package/out/_next/static/chunks/pages/products/{new-bdf7379bd1f74969.js → new-d6d79e69c9818e4e.js} +1 -1
- package/out/_next/static/chunks/pages/users/{new-cc43a48e6506f557.js → new-a3185a7cf12187ad.js} +1 -1
- package/out/_next/static/css/c862a5f46d4ec6ef.css +1 -0
- package/out/_offline/index.html +2 -2
- package/out/account/forgot-password/index.html +2 -2
- package/out/account/index.html +2 -2
- package/out/assortments/AssortmentDetailPage/index.html +2 -2
- package/out/assortments/index.html +2 -2
- package/out/assortments/new/index.html +2 -2
- package/out/copilot/index.html +2 -2
- package/out/country/CountryDetailPage/index.html +2 -2
- package/out/country/index.html +2 -2
- package/out/country/new/index.html +2 -2
- package/out/currency/CurrencyDetailPage/index.html +2 -2
- package/out/currency/index.html +2 -2
- package/out/currency/new/index.html +2 -2
- package/out/delivery-provider/DeliveryProviderDetailPage/index.html +2 -2
- package/out/delivery-provider/index.html +2 -2
- package/out/delivery-provider/new/index.html +2 -2
- package/out/enrollments/EnrollmentDetailPage/index.html +2 -2
- package/out/enrollments/index.html +2 -2
- package/out/events/EventDetailPage/index.html +2 -2
- package/out/events/index.html +2 -2
- package/out/external/index.html +2 -2
- package/out/filters/FilterDetailPage/index.html +2 -2
- package/out/filters/index.html +2 -2
- package/out/filters/new/index.html +2 -2
- package/out/index.html +2 -2
- package/out/install/index.html +2 -2
- package/out/language/LanguageDetailPage/index.html +2 -2
- package/out/language/index.html +2 -2
- package/out/language/new/index.html +2 -2
- package/out/log-in/index.html +2 -2
- package/out/orders/OrderDetailPage/index.html +2 -2
- package/out/orders/index.html +2 -2
- package/out/payment-provider/PaymentProviderDetailPage/index.html +2 -2
- package/out/payment-provider/index.html +2 -2
- package/out/payment-provider/new/index.html +2 -2
- package/out/products/ProductDetailPage/index.html +2 -2
- package/out/products/index.html +2 -2
- package/out/products/new/index.html +2 -2
- package/out/quotations/QuotationDetailPage/index.html +2 -2
- package/out/quotations/index.html +2 -2
- package/out/reset-password/index.html +2 -2
- package/out/sign-up/index.html +2 -2
- package/out/styleguide/index.html +2 -2
- package/out/tokens/TokenDetailPage/index.html +2 -2
- package/out/tokens/index.html +2 -2
- package/out/users/UserDetailPage/index.html +2 -2
- package/out/users/index.html +2 -2
- package/out/users/new/index.html +2 -2
- package/out/verify-email/index.html +2 -2
- package/out/warehousing-provider/WarehousingProviderDetailPage/index.html +2 -2
- package/out/warehousing-provider/index.html +2 -2
- package/out/warehousing-provider/new/index.html +2 -2
- package/out/works/WorkDetailPage/index.html +2 -2
- package/out/works/index.html +2 -2
- package/out/works/management/index.html +2 -2
- package/package.json +16 -16
- package/dist/types.d.ts +0 -6
- package/dist/types.js +0 -2
- package/out/_next/static/JWizVx7hWfiX8XO6LUQum/_buildManifest.js +0 -1
- package/out/_next/static/chunks/2220-4905da881951e55a.js +0 -1
- package/out/_next/static/chunks/4119-f431891138ff8f57.js +0 -1
- package/out/_next/static/chunks/7209-f37182611e233834.js +0 -1
- package/out/_next/static/chunks/9246-c8805d4f9565ce91.js +0 -1
- package/out/_next/static/chunks/pages/_app-b4176039f71f6ef7.js +0 -16
- package/out/_next/static/chunks/pages/copilot-e47ade66274f8fae.js +0 -1
- package/out/_next/static/chunks/pages/index-034cd33b487975cf.js +0 -1
- package/out/_next/static/css/841046a3cd84a65a.css +0 -1
- /package/out/_next/static/{JWizVx7hWfiX8XO6LUQum → 83CcY8aSCK8GRMT7IuAfm}/_ssgManifest.js +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{92:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(4374)}])},1650:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=r(72687),i=r(63732),o=r(37876),a=i._(r(14232)),s=n._(r(98477)),l=n._(r(5679)),u=r(34906),c=r(17539),d=r(8677);r(96079);let f=r(99948),h=n._(r(85210)),p=r(5553),g={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:!0};function m(e,t,r,n,i,o,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function _(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:u,className:c,style:d,fetchPriority:f,placeholder:h,loading:g,unoptimized:y,fill:v,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:E,setShowAltText:k,sizesInput:T,onLoad:S,onError:x,...A}=e,I=(0,a.useCallback)(e=>{e&&(x&&(e.src=e.src),e.complete&&m(e,h,b,w,E,y,T))},[r,h,b,w,E,x,y,T]),D=(0,p.useMergedRef)(t,I);return(0,o.jsx)("img",{...A,..._(f),loading:g,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:D,onLoad:e=>{m(e.currentTarget,h,b,w,E,y,T)},onError:e=>{k(!0),"empty"!==h&&E(!0),x&&x(e)}})});function v(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,..._(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(f.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{var e;let t=g||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),o=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:o}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let m=(0,a.useRef)(l);(0,a.useEffect)(()=>{m.current=l},[l]);let[_,b]=(0,a.useState)(!1),[w,E]=(0,a.useState)(!1),{props:k,meta:T}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:_,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...k,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:p,onLoadingCompleteRef:m,setBlurComplete:b,setShowAltText:E,sizesInput:e.sizes,ref:t}),T.priority?(0,o.jsx)(v,{isAppRouter:!r,imgAttributes:k}):null]})});("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)},4007:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedLocales=void 0,t.supportedLocales=["af","af-NA","agq","ak","am","ar","ar-AE","ar-BH","ar-DJ","ar-DZ","ar-EG","ar-EH","ar-ER","ar-IL","ar-IQ","ar-JO","ar-KM","ar-KW","ar-LB","ar-LY","ar-MA","ar-MR","ar-OM","ar-PS","ar-QA","ar-SA","ar-SD","ar-SO","ar-SS","ar-SY","ar-TD","ar-TN","ar-YE","as","asa","ast","az","az-Cyrl","az-Latn","bas","be","be-tarask","bem","bez","bg","bm","bn","bn-IN","bo","bo-IN","br","brx","bs","bs-Cyrl","bs-Latn","ca","ca-AD","ca-ES-valencia","ca-FR","ca-IT","ccp","ccp-IN","ce","ceb","cgg","chr","ckb","ckb-IR","cs","cy","da","da-GL","dav","de","de-AT","de-BE","de-CH","de-IT","de-LI","de-LU","dje","doi","dsb","dua","dyo","dz","ebu","ee","ee-TG","el","el-CY","en","en-001","en-150","en-AE","en-AG","en-AI","en-AS","en-AT","en-AU","en-BB","en-BE","en-BI","en-BM","en-BS","en-BW","en-BZ","en-CA","en-CC","en-CH","en-CK","en-CM","en-CX","en-CY","en-DE","en-DG","en-DK","en-DM","en-ER","en-FI","en-FJ","en-FK","en-FM","en-GB","en-GD","en-GG","en-GH","en-GI","en-GM","en-GU","en-GY","en-HK","en-IE","en-IL","en-IM","en-IN","en-IO","en-JE","en-JM","en-KE","en-KI","en-KN","en-KY","en-LC","en-LR","en-LS","en-MG","en-MH","en-MO","en-MP","en-MS","en-MT","en-MU","en-MW","en-MY","en-NA","en-NF","en-NG","en-NL","en-NR","en-NU","en-NZ","en-PG","en-PH","en-PK","en-PN","en-PR","en-PW","en-RW","en-SB","en-SC","en-SD","en-SE","en-SG","en-SH","en-SI","en-SL","en-SS","en-SX","en-SZ","en-TC","en-TK","en-TO","en-TT","en-TV","en-TZ","en-UG","en-UM","en-VC","en-VG","en-VI","en-VU","en-WS","en-ZA","en-ZM","en-ZW","eo","es","es-419","es-AR","es-BO","es-BR","es-BZ","es-CL","es-CO","es-CR","es-CU","es-DO","es-EA","es-EC","es-GQ","es-GT","es-HN","es-IC","es-MX","es-NI","es-PA","es-PE","es-PH","es-PR","es-PY","es-SV","es-US","es-UY","es-VE","et","eu","ewo","fa","fa-AF","ff","ff-Adlm","ff-Adlm-BF","ff-Adlm-CM","ff-Adlm-GH","ff-Adlm-GM","ff-Adlm-GW","ff-Adlm-LR","ff-Adlm-MR","ff-Adlm-NE","ff-Adlm-NG","ff-Adlm-SL","ff-Adlm-SN","ff-Latn","ff-Latn-BF","ff-Latn-CM","ff-Latn-GH","ff-Latn-GM","ff-Latn-GN","ff-Latn-GW","ff-Latn-LR","ff-Latn-MR","ff-Latn-NE","ff-Latn-NG","ff-Latn-SL","fi","fil","fo","fo-DK","fr","fr-BE","fr-BF","fr-BI","fr-BJ","fr-BL","fr-CA","fr-CD","fr-CF","fr-CG","fr-CH","fr-CI","fr-CM","fr-DJ","fr-DZ","fr-GA","fr-GF","fr-GN","fr-GP","fr-GQ","fr-HT","fr-KM","fr-LU","fr-MA","fr-MC","fr-MF","fr-MG","fr-ML","fr-MQ","fr-MR","fr-MU","fr-NC","fr-NE","fr-PF","fr-PM","fr-RE","fr-RW","fr-SC","fr-SN","fr-SY","fr-TD","fr-TG","fr-TN","fr-VU","fr-WF","fr-YT","fur","fy","ga","ga-GB","gd","gl","gsw","gsw-FR","gsw-LI","gu","guz","gv","ha","ha-GH","ha-NE","haw","he","hi","hr","hr-BA","hsb","hu","hy","ia","id","ig","ii","is","it","it-CH","it-SM","it-VA","ja","jgo","jmc","jv","ka","kab","kam","kde","kea","kgp","khq","ki","kk","kkj","kl","kln","km","kn","ko","ko-KP","kok","ks","ks-Arab","ksb","ksf","ksh","ku","kw","ky","lag","lb","lg","lkt","ln","ln-AO","ln-CF","ln-CG","lo","lrc","lrc-IQ","lt","lu","luo","luy","lv","mai","mas","mas-TZ","mer","mfe","mg","mgh","mgo","mi","mk","ml","mn","mni","mni-Beng","mr","ms","ms-BN","ms-ID","ms-SG","mt","mua","my","mzn","naq","nb","nb-SJ","nd","nds","nds-NL","ne","ne-IN","nl","nl-AW","nl-BE","nl-BQ","nl-CW","nl-SR","nl-SX","nmg","nn","nnh","no","nus","nyn","om","om-KE","or","os","os-RU","pa","pa-Arab","pa-Guru","pcm","pl","ps","ps-PK","pt","pt-AO","pt-CH","pt-CV","pt-GQ","pt-GW","pt-LU","pt-MO","pt-MZ","pt-PT","pt-ST","pt-TL","qu","qu-BO","qu-EC","rm","rn","ro","ro-MD","rof","ru","ru-BY","ru-KG","ru-KZ","ru-MD","ru-UA","rw","rwk","sa","sah","saq","sat","sat-Olck","sbp","sc","sd","sd-Arab","sd-Deva","se","se-FI","se-SE","seh","ses","sg","shi","shi-Latn","shi-Tfng","si","sk","sl","smn","sn","so","so-DJ","so-ET","so-KE","sq","sq-MK","sq-XK","sr","sr-Cyrl","sr-Cyrl-BA","sr-Cyrl-ME","sr-Cyrl-XK","sr-Latn","sr-Latn-BA","sr-Latn-ME","sr-Latn-XK","su","su-Latn","sv","sv-AX","sv-FI","sw","sw-CD","sw-KE","sw-UG","ta","ta-LK","ta-MY","ta-SG","te","teo","teo-KE","tg","th","ti","ti-ER","tk","to","tr","tr-CY","tt","twq","tzm","ug","uk","und","ur","ur-IN","uz","uz-Arab","uz-Cyrl","uz-Latn","vai","vai-Latn","vai-Vaii","vi","vun","wae","wo","xh","xog","yav","yi","yo","yo-BJ","yrl","yrl-CO","yrl-VE","yue","yue-Hans","yue-Hant","zgh","zh","zh-Hans","zh-Hans-HK","zh-Hans-MO","zh-Hans-SG","zh-Hant","zh-Hant-HK","zh-Hant-MO","zu"]},4239:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,D:()=>a});var n=r(37876),i=r(14232),o=r(6014);let a=(0,i.createContext)(void 0),s=e=>{let{children:t}=e,[r,s]=(0,o.A)("theme","light");(0,i.useEffect)(()=>{"dark"!==localStorage.theme&&("theme"in localStorage||!window.matchMedia("(prefers-color-scheme: dark)").matches)?document.getElementsByTagName("html")[0].classList.remove("dark"):document.getElementsByTagName("html")[0].classList.add("dark")},[]),(0,i.useEffect)(()=>{"dark"===r?(document.getElementsByTagName("html")[0].classList.add("dark"),localStorage.theme="dark"):(document.getElementsByTagName("html")[0].classList.remove("dark"),localStorage.theme="light")},[r]);let l=(0,i.useMemo)(()=>[r,s],[r]);return(0,n.jsx)(a.Provider,{value:l,children:t})}},4301:(e,t,r)=>{"use strict";r.d(t,{N9:()=>N,oR:()=>T});var n=r(14232);let i=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n};!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}(`:root{--toastify-color-light: #fff;--toastify-color-dark: #121212;--toastify-color-info: #3498db;--toastify-color-success: #07bc0c;--toastify-color-warning: #f1c40f;--toastify-color-error: hsl(6, 78%, 57%);--toastify-color-transparent: rgba(255, 255, 255, .7);--toastify-icon-color-info: var(--toastify-color-info);--toastify-icon-color-success: var(--toastify-color-success);--toastify-icon-color-warning: var(--toastify-color-warning);--toastify-icon-color-error: var(--toastify-color-error);--toastify-container-width: fit-content;--toastify-toast-width: 320px;--toastify-toast-offset: 16px;--toastify-toast-top: max(var(--toastify-toast-offset), env(safe-area-inset-top));--toastify-toast-right: max(var(--toastify-toast-offset), env(safe-area-inset-right));--toastify-toast-left: max(var(--toastify-toast-offset), env(safe-area-inset-left));--toastify-toast-bottom: max(var(--toastify-toast-offset), env(safe-area-inset-bottom));--toastify-toast-background: #fff;--toastify-toast-padding: 14px;--toastify-toast-min-height: 64px;--toastify-toast-max-height: 800px;--toastify-toast-bd-radius: 6px;--toastify-toast-shadow: 0px 4px 12px rgba(0, 0, 0, .1);--toastify-font-family: sans-serif;--toastify-z-index: 9999;--toastify-text-color-light: #757575;--toastify-text-color-dark: #fff;--toastify-text-color-info: #fff;--toastify-text-color-success: #fff;--toastify-text-color-warning: #fff;--toastify-text-color-error: #fff;--toastify-spinner-color: #616161;--toastify-spinner-color-empty-area: #e0e0e0;--toastify-color-progress-light: linear-gradient(to right, #4cd964, #5ac8fa, #007aff, #34aadc, #5856d6, #ff2d55);--toastify-color-progress-dark: #bb86fc;--toastify-color-progress-info: var(--toastify-color-info);--toastify-color-progress-success: var(--toastify-color-success);--toastify-color-progress-warning: var(--toastify-color-warning);--toastify-color-progress-error: var(--toastify-color-error);--toastify-color-progress-bgo: .2}.Toastify__toast-container{z-index:var(--toastify-z-index);-webkit-transform:translate3d(0,0,var(--toastify-z-index));position:fixed;width:var(--toastify-container-width);box-sizing:border-box;color:#fff;display:flex;flex-direction:column}.Toastify__toast-container--top-left{top:var(--toastify-toast-top);left:var(--toastify-toast-left)}.Toastify__toast-container--top-center{top:var(--toastify-toast-top);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--top-right{top:var(--toastify-toast-top);right:var(--toastify-toast-right);align-items:end}.Toastify__toast-container--bottom-left{bottom:var(--toastify-toast-bottom);left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{bottom:var(--toastify-toast-bottom);left:50%;transform:translate(-50%);align-items:center}.Toastify__toast-container--bottom-right{bottom:var(--toastify-toast-bottom);right:var(--toastify-toast-right);align-items:end}.Toastify__toast{--y: 0;position:relative;touch-action:none;width:var(--toastify-toast-width);min-height:var(--toastify-toast-min-height);box-sizing:border-box;margin-bottom:1rem;padding:var(--toastify-toast-padding);border-radius:var(--toastify-toast-bd-radius);box-shadow:var(--toastify-toast-shadow);max-height:var(--toastify-toast-max-height);font-family:var(--toastify-font-family);z-index:0;display:flex;flex:1 auto;align-items:center;word-break:break-word}@media only screen and (max-width: 480px){.Toastify__toast-container{width:100vw;left:env(safe-area-inset-left);margin:0}.Toastify__toast-container--top-left,.Toastify__toast-container--top-center,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translate(0)}.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translate(0)}.Toastify__toast-container--rtl{right:env(safe-area-inset-right);left:initial}.Toastify__toast{--toastify-toast-width: 100%;margin-bottom:0;border-radius:0}}.Toastify__toast-container[data-stacked=true]{width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;width:100%;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s}.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body,.Toastify__toast--stacked[data-collapsed] .Toastify__close-button{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{content:"";position:absolute;left:0;right:0;height:calc(var(--g) * 1px);bottom:100%}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{content:"";position:absolute;left:0;right:0;bottom:0;height:100%;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{margin-inline-end:10px;width:22px;flex-shrink:0;display:flex}.Toastify--animate{animation-fill-mode:both;animation-duration:.5s}.Toastify--animate-icon{animation-fill-mode:both;animation-duration:.3s}.Toastify__toast-theme--dark{background:var(--toastify-color-dark);color:var(--toastify-text-color-dark)}.Toastify__toast-theme--light,.Toastify__toast-theme--colored.Toastify__toast--default{background:var(--toastify-color-light);color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{color:var(--toastify-text-color-info);background:var(--toastify-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{color:var(--toastify-text-color-success);background:var(--toastify-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{color:var(--toastify-text-color-warning);background:var(--toastify-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{color:var(--toastify-text-color-error);background:var(--toastify-color-error)}.Toastify__progress-bar-theme--light{background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error{background:var(--toastify-color-transparent)}.Toastify__close-button{color:#fff;position:absolute;top:6px;right:6px;background:transparent;outline:none;border:none;padding:0;cursor:pointer;opacity:.7;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:unset}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:hover,.Toastify__close-button:focus{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:100%;z-index:1;opacity:.7;transform-origin:left}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{right:0;left:initial;transform-origin:right;border-bottom-left-radius:initial}.Toastify__progress-bar--wrp{position:absolute;overflow:hidden;bottom:0;left:0;width:100%;height:5px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:var(--toastify-toast-bd-radius)}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{opacity:var(--toastify-color-progress-bgo);width:100%;height:100%}.Toastify__spinner{width:20px;height:20px;box-sizing:border-box;border:2px solid;border-radius:100%;border-color:var(--toastify-spinner-color-empty-area);border-right-color:var(--toastify-spinner-color);animation:Toastify__spin .65s linear infinite}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--top-left,.Toastify__bounce-enter--bottom-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--top-right,.Toastify__bounce-enter--bottom-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--top-left,.Toastify__bounce-exit--bottom-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--top-right,.Toastify__bounce-exit--bottom-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{transform:perspective(400px) rotateX(90deg);animation-timing-function:ease-in;opacity:0}40%{transform:perspective(400px) rotateX(-20deg);animation-timing-function:ease-in}60%{transform:perspective(400px) rotateX(10deg);opacity:1}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg);opacity:1}to{transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg);opacity:0}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(110%,var(--y),0)}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(-110%,var(--y),0)}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,500px,0)}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{visibility:hidden;transform:translate3d(0,-500px,0)}}.Toastify__slide-enter--top-left,.Toastify__slide-enter--bottom-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--top-right,.Toastify__slide-enter--bottom-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--top-left,.Toastify__slide-exit--bottom-left{animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-right,.Toastify__slide-exit--bottom-right{animation-name:Toastify__slideOutRight;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--top-center{animation-name:Toastify__slideOutUp;animation-timing-function:ease-in;animation-duration:.3s}.Toastify__slide-exit--bottom-center{animation-name:Toastify__slideOutDown;animation-timing-function:ease-in;animation-duration:.3s}@keyframes Toastify__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
2
|
-
`);var o=e=>"number"==typeof e&&!isNaN(e),a=e=>"string"==typeof e||"function"==typeof e?e:null,s=e=>(0,n.isValidElement)(e)||"string"==typeof e||"function"==typeof e||o(e);function l({enter:e,exit:t,appendPosition:r=!1,collapse:i=!0,collapseDuration:o=300}){return function({children:a,position:s,preventExitTransition:l,done:u,nodeRef:c,isIn:d,playToast:f}){let h=r?`${e}--${s}`:e,p=r?`${t}--${s}`:t,g=(0,n.useRef)(0);return(0,n.useLayoutEffect)(()=>{let e=c.current,t=h.split(" "),r=n=>{n.target===c.current&&(f(),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===g.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,n.useEffect)(()=>{let e=c.current,t=()=>{e.removeEventListener("animationend",t),i?function(e,t,r=300){let{scrollHeight:n,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=n+"px",i.transition=`all ${r}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,r)})})}(e,u,o):u()};d||(l?t():(g.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[d]),n.createElement(n.Fragment,null,a)}}function u(e,t){return{content:c(e.content,e.props),containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,reason:e.removalReason,status:t}}function c(e,t,r=!1){return(0,n.isValidElement)(e)&&"string"!=typeof e.type?(0,n.cloneElement)(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:r}):"function"==typeof e?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:r}):e}function d({delay:e,isRunning:t,closeToast:r,type:o="default",hide:a,className:s,controlledProgress:l,progress:u,rtl:c,isIn:d,theme:f}){let h=a||l&&0===u,p={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};l&&(p.transform=`scaleX(${u})`);let g=i("Toastify__progress-bar",l?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${f}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":c}),m="function"==typeof s?s({rtl:c,type:o,defaultClassName:g}):i(g,s);return n.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":h},n.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${f} Toastify__progress-bar--${o}`}),n.createElement("div",{role:"progressbar","aria-hidden":h?"true":"false","aria-label":"notification timer",className:m,style:p,...{[l&&u>=1?"onTransitionEnd":"onAnimationEnd"]:l&&u<1?null:()=>{d&&r()}}}))}var f=1,h=()=>`${f++}`,p=new Map,g=[],m=new Set,_=e=>m.forEach(t=>t(e));function y(e,t){var r;if(t)return!!(null!=(r=p.get(t))&&r.isToastActive(e));let n=!1;return p.forEach(t=>{t.isToastActive(e)&&(n=!0)}),n}function v(e,t){s(e)&&(p.size>0||g.push({content:e,options:t}),p.forEach(r=>{r.buildToast(e,t)}))}function b(e,t){p.forEach(r=>{null!=t&&null!=t&&t.containerId&&(null==t?void 0:t.containerId)!==r.id||r.toggle(e,null==t?void 0:t.id)})}function w(e,t){return v(e,t),t.toastId}function E(e,t){var r;return{...t,type:t&&t.type||e,toastId:(r=t)&&("string"==typeof r.toastId||o(r.toastId))?r.toastId:h()}}function k(e){return(t,r)=>w(t,E(e,r))}function T(e,t){return w(e,E("default",t))}T.loading=(e,t)=>w(e,E("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),T.promise=function(e,{pending:t,error:r,success:n},i){let o;t&&(o="string"==typeof t?T.loading(t,i):T.loading(t.render,{...i,...t}));let a={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},s=(e,t,r)=>{if(null==t)return void T.dismiss(o);let n={type:e,...a,...i,data:r},s="string"==typeof t?{render:t}:t;return o?T.update(o,{...n,...s}):T(s.render,{...n,...s}),r},l="function"==typeof e?e():e;return l.then(e=>s("success",n,e)).catch(e=>s("error",r,e)),l},T.success=k("success"),T.info=k("info"),T.error=k("error"),T.warning=k("warning"),T.warn=T.warning,T.dark=(e,t)=>w(e,E("default",{theme:"dark",...t})),T.dismiss=function(e){!function(e){let t;if(!(p.size>0)){g=g.filter(t=>null!=e&&t.options.toastId!==e);return}if(null==e||"string"==typeof(t=e)||o(t))p.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=p.get(e.containerId);t?t.removeToast(e.id):p.forEach(t=>{t.removeToast(e.id)})}}(e)},T.clearWaitingQueue=(e={})=>{p.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},T.isActive=y,T.update=(e,t={})=>{let r=((e,{containerId:t})=>{var r;return null==(r=p.get(t||1))?void 0:r.toasts.get(e)})(e,t);if(r){let{props:n,content:i}=r,o={delay:100,...n,...t,toastId:t.toastId||e,updateId:h()};o.toastId!==e&&(o.staleId=e);let a=o.render||i;delete o.render,w(a,o)}},T.done=e=>{T.update(e,{progress:1})},T.onChange=function(e){return m.add(e),()=>{m.delete(e)}},T.play=e=>b(!0,e),T.pause=e=>b(!1,e);var S="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,x=({theme:e,type:t,isLoading:r,...i})=>n.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===e?"currentColor":`var(--toastify-icon-color-${t})`,...i}),A={info:function(e){return n.createElement(x,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return n.createElement(x,{...e},n.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return n.createElement(x,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return n.createElement(x,{...e},n.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return n.createElement("div",{className:"Toastify__spinner"})}},I=e=>{let{isRunning:t,preventExitTransition:r,toastRef:o,eventHandlers:a,playToast:s}=function(e){var t,r;let[i,o]=(0,n.useState)(!1),[a,s]=(0,n.useState)(!1),l=(0,n.useRef)(null),u=(0,n.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:c,pauseOnHover:d,closeToast:f,onClick:h,closeOnClick:g}=e;function m(){o(!0)}function _(){o(!1)}function y(t){let r=l.current;if(u.canDrag&&r){u.didMove=!0,i&&_(),"x"===e.draggableDirection?u.delta=t.clientX-u.start:u.delta=t.clientY-u.start,u.start!==t.clientX&&(u.canCloseOnClick=!1);let n="x"===e.draggableDirection?`${u.delta}px, var(--y)`:`0, calc(${u.delta}px + var(--y))`;r.style.transform=`translate3d(${n},0)`,r.style.opacity=`${1-Math.abs(u.delta/u.removalDistance)}`}}function v(){document.removeEventListener("pointermove",y),document.removeEventListener("pointerup",v);let t=l.current;if(u.canDrag&&u.didMove&&t){if(u.canDrag=!1,Math.abs(u.delta)>u.removalDistance){s(!0),e.closeToast(!0),e.collapseAll();return}t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}t={id:e.toastId,containerId:e.containerId,fn:o},null==(r=p.get(t.containerId||1))||r.setToggle(t.id,t.fn),(0,n.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||_(),window.addEventListener("focus",m),window.addEventListener("blur",_),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",_)}},[e.pauseOnFocusLoss]);let b={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){u.didMove=!1,document.addEventListener("pointermove",y),document.addEventListener("pointerup",v);let r=l.current;u.canCloseOnClick=!0,u.canDrag=!0,r.style.transition="none","x"===e.draggableDirection?(u.start=t.clientX,u.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(u.start=t.clientY,u.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:r,bottom:n,left:i,right:o}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=i&&t.clientX<=o&&t.clientY>=r&&t.clientY<=n?_():m()}};return c&&d&&(b.onMouseEnter=_,e.stacked||(b.onMouseLeave=m)),g&&(b.onClick=e=>{h&&h(e),u.canCloseOnClick&&f(!0)}),{playToast:m,pauseToast:_,isRunning:i,preventExitTransition:a,toastRef:l,eventHandlers:b}}(e),{closeButton:l,children:u,autoClose:f,onClick:h,type:g,hideProgressBar:m,closeToast:_,transition:y,position:v,className:b,style:w,progressClassName:E,updateId:k,role:T,progress:S,rtl:x,toastId:I,deleteToast:D,isIn:C,isLoading:O,closeOnClick:N,theme:P,ariaLabel:L}=e,M=i("Toastify__toast",`Toastify__toast-theme--${P}`,`Toastify__toast--${g}`,{"Toastify__toast--rtl":x},{"Toastify__toast--close-on-click":N}),R="function"==typeof b?b({rtl:x,position:v,type:g,defaultClassName:M}):i(M,b),F=function({theme:e,type:t,isLoading:r,icon:i}){let o=null,a={theme:e,type:t};return!1===i||("function"==typeof i?o=i({...a,isLoading:r}):(0,n.isValidElement)(i)?o=(0,n.cloneElement)(i,a):r?o=A.spinner():t in A&&(o=A[t](a))),o}(e),j=!!S||!f,B={closeToast:_,type:g,theme:P},U=null;return!1===l||(U="function"==typeof l?l(B):(0,n.isValidElement)(l)?(0,n.cloneElement)(l,B):function({closeToast:e,theme:t,ariaLabel:r="close"}){return n.createElement("button",{className:`Toastify__close-button Toastify__close-button--${t}`,type:"button",onClick:t=>{t.stopPropagation(),e(!0)},"aria-label":r},n.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(B)),n.createElement(y,{isIn:C,done:D,position:v,preventExitTransition:r,nodeRef:o,playToast:s},n.createElement("div",{id:I,tabIndex:0,onClick:h,"data-in":C,className:R,...a,style:w,ref:o,...C&&{role:T,"aria-label":L}},null!=F&&n.createElement("div",{className:i("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!O})},F),c(u,e,!t),U,!e.customProgressBar&&n.createElement(d,{...k&&!j?{key:`p-${k}`}:{},rtl:x,theme:P,delay:f,isRunning:t,isIn:C,closeToast:_,hide:m,type:g,className:E,controlledProgress:j,progress:S||0})))},D=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),C=l(D("bounce",!0));l(D("slide",!0)),l(D("zoom")),l(D("flip"));var O={position:"top-right",transition:C,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light","aria-label":"Notifications Alt+T",hotKeys:e=>e.altKey&&"KeyT"===e.code};function N(e){let t={...O,...e},r=e.stacked,[l,c]=(0,n.useState)(!0),d=(0,n.useRef)(null),{getToastToRender:f,isToastActive:h,count:m}=function(e){var t;let r,{subscribe:i,getSnapshot:l,setProps:c}=(0,n.useRef)((r=e.containerId||1,{subscribe(t){let n,i,l,c,d,f,h,m,y,b,w,E=(n=1,i=0,l=[],c=[],d=e,f=new Map,h=new Set,m=()=>{c=Array.from(f.values()),h.forEach(e=>e())},y=e=>{var t,r;null==(r=null==(t=e.props)?void 0:t.onClose)||r.call(t,e.removalReason),e.isActive=!1},b=e=>{if(null==e)f.forEach(y);else{let t=f.get(e);t&&y(t)}m()},w=e=>{var t,r;let{toastId:n,updateId:i}=e.props,o=null==i;e.staleId&&f.delete(e.staleId),e.isActive=!0,f.set(n,e),m(),_(u(e,o?"added":"updated")),o&&(null==(r=(t=e.props).onOpen)||r.call(t))},{id:r,props:d,observe:e=>(h.add(e),()=>h.delete(e)),toggle:(e,t)=>{f.forEach(r=>{var n;(null==t||t===r.props.toastId)&&(null==(n=r.toggle)||n.call(r,e))})},removeToast:b,toasts:f,clearQueue:()=>{i-=l.length,l=[]},buildToast:(e,t)=>{let c,h;if((({containerId:e,toastId:t,updateId:n})=>{let i=f.has(t)&&null==n;return(e?e!==r:1!==r)||i})(t))return;let{toastId:p,updateId:g,data:y,staleId:v,delay:E}=t,k=null==g;k&&i++;let T={...d,style:d.toastStyle,key:n++,...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!=t)),toastId:p,updateId:g,data:y,isIn:!1,className:a(t.className||d.toastClassName),progressClassName:a(t.progressClassName||d.progressClassName),autoClose:!t.isLoading&&(c=t.autoClose,h=d.autoClose,!1===c||o(c)&&c>0?c:h),closeToast(e){f.get(p).removalReason=e,b(p)},deleteToast(){let e=f.get(p);if(null!=e){if(_(u(e,"removed")),f.delete(p),--i<0&&(i=0),l.length>0)return void w(l.shift());m()}}};T.closeButton=d.closeButton,!1===t.closeButton||s(t.closeButton)?T.closeButton=t.closeButton:!0===t.closeButton&&(T.closeButton=!s(d.closeButton)||d.closeButton);let S={content:e,props:T,staleId:v};d.limit&&d.limit>0&&i>d.limit&&k?l.push(S):o(E)?setTimeout(()=>{w(S)},E):w(S)},setProps(e){d=e},setToggle:(e,t)=>{let r=f.get(e);r&&(r.toggle=t)},isToastActive:e=>{var t;return null==(t=f.get(e))?void 0:t.isActive},getSnapshot:()=>c});p.set(r,E);let k=E.observe(t);return g.forEach(e=>v(e.content,e.options)),g=[],()=>{k(),p.delete(r)}},setProps(e){var t;null==(t=p.get(r))||t.setProps(e)},getSnapshot(){var e;return null==(e=p.get(r))?void 0:e.getSnapshot()}})).current;c(e);let d=null==(t=(0,n.useSyncExternalStore)(i,l,l))?void 0:t.slice();return{getToastToRender:function(t){if(!d)return[];let r=new Map;return e.newestOnTop&&d.reverse(),d.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},isToastActive:y,count:null==d?void 0:d.length}}(t),{className:b,style:w,rtl:E,containerId:k,hotKeys:x}=t;function A(){r&&(c(!0),T.play())}return S(()=>{var e;if(r){let r=d.current.querySelectorAll('[data-in="true"]'),n=null==(e=t.position)?void 0:e.includes("top"),i=0,o=0;Array.from(r).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed=`${l}`),e.dataset.pos||(e.dataset.pos=n?"top":"bot");let r=i*(l?.2:1)+(l?0:12*t);e.style.setProperty("--y",`${n?r:-1*r}px`),e.style.setProperty("--g","12"),e.style.setProperty("--s",`${1-(l?o:0)}`),i+=e.offsetHeight,o+=.025})}},[l,m,r]),(0,n.useEffect)(()=>{function e(e){var t;let r=d.current;x(e)&&(null==(t=r.querySelector('[tabIndex="0"]'))||t.focus(),c(!1),T.pause()),"Escape"===e.key&&(document.activeElement===r||null!=r&&r.contains(document.activeElement))&&(c(!0),T.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[x]),n.createElement("section",{ref:d,className:"Toastify",id:k,onMouseEnter:()=>{r&&(c(!1),T.pause())},onMouseLeave:A,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},f((e,t)=>{var o;let s,l=t.length?{...w}:{...w,pointerEvents:"none"};return n.createElement("div",{tabIndex:-1,className:(o=e,s=i("Toastify__toast-container",`Toastify__toast-container--${o}`,{"Toastify__toast-container--rtl":E}),"function"==typeof b?b({position:o,rtl:E,defaultClassName:s}):i(s,a(b))),"data-stacked":r,style:l,key:`c-${e}`},t.map(({content:e,props:t})=>n.createElement(I,{...t,stacked:r,collapseAll:A,isIn:h(t.toastId,t.containerId),key:`t-${t.key}`},e)))}))}},4361:(e,t,r)=>{e.exports=r(90472)},4374:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>tP});var n,i=r(37876),o=r(4902),a=r(17318),s=r(60427),l=r(94852),u=function(e){var t=e.client,r=e.children,n=(0,l.l)(),i=s.useContext(n),u=s.useMemo(function(){return(0,o.__assign)((0,o.__assign)({},i),{client:t||i.client})},[i,t]);return(0,a.V1)(u.client,55),s.createElement(n.Provider,{value:u},r)},c=r(4361),d=r.n(c),f=r(89099),h=r(4301),p=r(14232),g=r(65901);r(51955);let m=JSON.parse('{"EW1jgi":"default_input_name","access_restricted":"Access Restricted","account":"Account","account_deleted":"Account deleted successfully","account_notice":"This information will be displayed publicly so be careful what you share.","account_status":"Account status","actions_column_header":"Actions","activate":"Activate","activate_assortment_description":"Will be visible on search","activate_button":"Activate","activate_header_conformation":"Are you sure you want to this subscription?","activate_header_title":"Activate subscription.","activated":"Activated","active":"Active","activities":"Activities","adapter":"Adapter","add":"Add","add_assortment":"Add Assortment","add_country":"Add Country","add_currency":"Add Currency","add_delivery_provider":"Add Delivery Provider","add_email":"Add email","add_filter":"Add Filter","add_filter_option":"Add option","add_language":"Add Language","add_option":"Add option","add_payment_provider":"Add Payment Provider","add_price_row":"Add Price Row","add_product":"Add Product","add_product_media_tool_definition":"Add media to product","add_review":"Add Review","add_tag":"Add tag","add_user":"Add User","add_variation":"Add variation","add_variation_option":"Add option","add_warehousing_provider":"Add Warehousing Provider","add_web3_address":"Add address","add_web_auth":"Add WebAuth","add_work":"Add Work","address":"Address","address2":"Address 2","address_line_1":"Address line 1 (Street, House no)","address_line_2":"Address line 2","address_notice":"This information will be displayed publicly so be careful what you share.","all":"All","allocate_work":"Allocate Work","already_got_a_user":"Already got a user?","apply":"Apply","are_you_sure":"Are you sure?","assign_product_needs_variations":"Please configure all variation options before assigning a product.","assigned_product_column_header":"Assigned Product","assigned_products":"Assigned Products","assignment_matrix_help":"Each row represents a unique combination of your product variations. Assign a specific product to each combination to create a complete product catalog.","assignments":"Assignments","assortment":"Assortment","assortment_activated":"Assortment activated successfully","assortment_added":"Assortment added successfully!","assortment_base":"Base","assortment_changed_to_leaf":"Assortment changed to leaf","assortment_changed_to_root":"Assortment changed to root","assortment_config_description":"Organize products into categories","assortment_deactivated":"Assortment deactivated successfully","assortment_deleted_success":"Deleted successfully","assortment_filter_deleted":"Assortment filter deleted successfully","assortment_filter_form_description":"<ul> <li>Assign filters that will be applied for the assortment </li> </ul>","assortment_filter_list_description":"<ul> <li>All filters that are applied when searching for this assortment </li> <li> Drag and drop list items to sort filters order </li> </ul>","assortment_filters_form_header":"Filters","assortment_filters_header":"Assortment filters","assortment_link":"Link deleted successfully","assortment_link_form_description":"<ul> <li>Assign assortment that are direct child of this assortment </li> </ul>","assortment_link_form_header":"Child assortments","assortment_link_list_description":"<ul> <li>All assortments found on the assortment relation tree</li> <li> Drag and drop list items to sort assortment links </li> <li> Parents are assortments found in the ancestors tree on any level </li> <li> Descendants are assortments found in the children tree on any level </li> </ul>","assortment_links_header":"Assortment links","assortment_made_base":"Assortment changed to base","assortment_management_tool_definition":"\\"Manage product categories\\"","assortment_media":"Assortment Media","assortment_media_deleted":"Media deleted successfully","assortment_media_upload":"Media uploaded successfully","assortment_product_form_description":"<ul> <li>Products that belong to this assortment </li> </ul>","assortment_product_form_header":"Products","assortment_product_list_description":"<ul> <li>All products that belong to this assortment</li> <li> Drag and drop list items to sort products order </li> </ul>","assortment_products_header":"Assortment product","assortment_search_results":"Assortment Search Results","assortment_text_form_description":"<ul> <li><strong>Slug:</strong> The unique part of your category URL (e.g., \'electronics\' or \'summer-collection\'). Keep it short and descriptive.</li> <li><strong>Localization:</strong> Switch languages using the dropdown at the top left to translate content for different markets.</li> <li><strong>Description:</strong> Supports Markdown and HTML formatting. Use double backslash (\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\) for line breaks.</li> <li><strong>Category Organization:</strong> Use clear, descriptive titles that help customers navigate your product catalog. Think about how customers would search for this category.</li> <li><strong>SEO Tip:</strong> Well-written category descriptions help search engines understand your product organization and improve discoverability.</li> </ul>","assortments":"Assortments","assortments_count_header":"{count} Assortments","assortments_header":"1 Assortment","assortments_page_title":"{count, plural, one {# Assortment} other {# Assortments}}","avatar":"Avatar","average_order_value":"Average order value","back_to_home":"Back to Home","base":"Base","baseUnit":"Base Unit","base_country":"Base","base_language":"Base","billing_address":"Billing address","billing_interval_unit":"Billing interval unit","billing_unit":"Billing Unit","birthday":"Birthday","brand":"Brand","browser":"Browser","bundle":"Bundle product","bundle_item_added":"Bundle product added successfully","bundle_item_deleted":"Bundle item deleted successfully","bundle_product_definition":"<h3>Bundle</h3> <p>As the name suggest this product type enables you to create a collection/bundle of products as one and set the price accordingly. This type of product is useful if you have christmas package for example. </p>","bundled_items":"Bundled items","cancel":"Cancel","cart":"Cart","cart_created":"Warenkorb erstellt","categories_count":"Assortments","chain-id":"Chain ID {chainId}","chain-token-id":"Chain Token ID","change":"Change","change_language":"Change language","change_password":"Change password","chat_disabled_message":"Copilot chat is currently disabled in this shop. Please check your engine configuration","chat_disabled_title":"Chat is Disabled","chat_error_retry_message":"An error occurred while processing your request, please reload the conversation and submit something shorter.","check_work_queue_details":"Check Work Queue for Details","child_assortment":"Sub-Assortment","children":"Children:","children_count":"{count} children","city":"City","clear_history":"Clear History","close":"Close","close_sidebar":"Close sidebar","code":"Code","collapse_navigation":"Collapse navigation","commerce":"Commerce","commerce_setup":"Commerce Setup","commerce_setup_description":"Payment and delivery configuration for transactions","company":"Company","complete_shop_setup":"Complete Your Shop Setup","complete_system_setup":"Complete Setup","component_loading_error":"Component loading error. Please refresh the page.","configurable_product_definition":"<h3>Configurable</h3> <p>Configurable Product is used to organize varieties of a product. A product might have a variation in color, size or other distinct property in that case you can use a configurable product type to organize all the variation under one category and outline-solid there difference. </p>","configuration":"Configuration","configuration_invalid":"Invalid configuration","configuration_status":"Configuration status","configuration_valid":"Valid configuration","configuration_valid_description":"All configuration parameters are correctly set and validated.","confirm_order":"Confirm order","confirm_order_alert_button":"Confirm","confirm_order_alert_header":"Confirm order?","confirm_order_alert_message":"This will mark order as confirmed","confirm_password":"Confirm password","confirmed":"CONFIRMED","connection_status":"No Connection","connection_to_server_error":"Currently not connected to unchained engine, please check your connection to server and try again.","contact":"Contact","contact_admin_help":"Contact system administrator for further information.","content_setup":"Content Setup","content_setup_description":"Products and categories to start selling","continue":"Continue","continue_to_app":"Continue to App","continue_with_sso":"Login with SSO","contract-address-label":"Contract Address","contract-standard":"Contract standard","contract_address":"Contract Address","copied":"Copied","copilot":"Copilot","copilot-into-message":"Hello! Please introduce yourself and explain what you can help me with in managing my Unchained Commerce store. Be friendly and informative about your current capabilities.","copilot_welcome_description":"Your AI assistant is ready to help you manage your Unchained Commerce store.","copilot_welcome_title":"Welcome to Unchained Copilot","copy_to_clipboard":"Copy to clipboard","countries":"Countries","countries_config_description":"Configure countries and assign default currencies","countries_page_title":"{count, plural, one {# Country} other {# Countries}}","country":"Country","country_added":"Country added successfully!","country_code":"Country code","country_count_header":"{count} Countries","country_currency":"Currency","country_deleted":"Country deleted successfully","country_exists":"Country with the same ISO code already exists","country_header":"1 Country","country_updated":"Country updated successfully!","create_admin_account":"Create Administrator","create_filter":"Create Filter","create_new_account":"Create new account?","create_product_tool_definition":"Create a new product","create_provider":"Create provider","created":"Created","created_colon":"Created:","currencies":"Currencies","currencies_page_title":"{count, plural, one {# Currency} other {# Currencies}}","currency":"Currency","currency_added":"Currency added successfully!","currency_config_description":"Set up currencies for pricing and payments","currency_contract_address_description":"Contract address is optional and represents address of the 40 character long deployed token contract on the ethereum network.","currency_count_header":"{count} Currencies","currency_deleted":"Currency deleted successfully","currency_exists":"Currency with the same ISO code already exists","currency_header":"1 Currency","currency_updated":"Currency updated successfully!","current_password":"Current password","customer_reviews":"Customer Reviews","customers_count":"Customers","dashboard":"Dashboard","data":"Data","date":"Date","deactivate":"Deactivate","deactivate_assortment_description":"Will not be visible on search","deactivated":"Deactivated","decimals":"decimals","default_currency":"Default currency","default_system_locale":"Default Locale","delete":"Delete","delete_account":"Delete account","delete_account_confirmation":"This action might cause inconsistencies with other data that relates to it","delete_assortment":"Delete Assortment","delete_assortment_confirmation":"This action might cause inconsistencies with other data that relates to it and it is nonreversible. Are you sure you want to delete this assortment?","delete_assortment_filter_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language?","delete_assortment_link":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language?","delete_assortment_media":"Delete media","delete_assortment_media_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this currency?","delete_assortment_warning":"This action will permanently delete this assortment and all associated data. Are you sure you want to continue?","delete_bundle_item":"Delete item","delete_bundle_item_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this bundle item?","delete_country":"Delete country","delete_country_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this country?","delete_currency":"Delete currency","delete_currency_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this currency?","delete_delivery_provider":"Delete delivery provider","delete_delivery_provider_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this delivery provider?","delete_email":"Delete email","delete_email_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this email?","delete_filter":"Delete filter","delete_filter_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter?","delete_filter_option":"Delete option","delete_filter_option_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this filter option?","delete_language":"Delete language","delete_language_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this language?","delete_link":"Delete link","delete_order":"Delete order","delete_order_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this order?","delete_paymentProvider_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this Payment provider?","delete_payment_provider":"Delete payment provider","delete_payment_provider_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this payment provider?","delete_product":"Delete Product","delete_product_assignment":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this assignment?","delete_product_confirmation":"This action might cause inconsistencies with other data that relates to it and it is nonreversible. Are you sure you want to delete this product?","delete_product_media":"Delete media","delete_product_media_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this media?","delete_product_tool_definition":"Delete product OLD123","delete_product_variation":"Delete variation","delete_product_variation_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this variation?","delete_product_warning":"This action will permanently delete this product and all associated data. Are you sure you want to continue?","delete_review":"Delete review","delete_review_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this review?","delete_user":"Delete User","delete_user_account":"Delete user","delete_user_account_confirmation":"This action might cause inconsistencies with other data that relates to it","delete_user_warning":"This action will permanently delete this user and all associated data. Are you sure you want to continue?","delete_variation_assignment":"Delete assignment","delete_variation_option":"Delete option","delete_variation_option_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this option?","delete_warehousing_provider":"Delete warehousing Provider","delete_warehousing_provider_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this warehousing provider?","delete_web3_address":"Delete address?","delete_web3_address_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this address?","delete_web_auth_credential":"Are you sure you want to unlink this device from your account?","delete_work":"Delete work","delete_work_confirmation":"This action might cause inconsistencies with other data that relates to it. Are you sure you want to delete this work?","deleted":"Deleted","deleted_status":"Deleted","deleted_text":"Deleted","delivered":"Delivered","delivery":"Delivery","deliveryProviders_deleted":"DeliveryProviders deleted successfully","delivery_address":"Delivery address","delivery_processing":"Shipping & Delivery","delivery_processing_config_description":"Delivery methods are already configured","delivery_provider":"Delivery Provider","delivery_provider_deleted":"Delivery provider deleted successfully","delivery_provider_title":"Delivery provider {id}","delivery_providers":"Delivery providers","delivery_status":"Status","description":"Description","discount":"Discount","discount_amount":"Discount Amount","discount_information":"Discounts","discounts":"Discounts","displayName":"Display Name","display_as_graph":"Display as Graph","display_name":"Display name","dont_have_account":"Don\'t have an account yet?","draft":"Draft","draft_product_description":"Product will not be discoverable and can not be orderose","duration":"Duration","edit":"Edit","edit_tags":"Edit tags","editor":"Editor","email":"Email","email_added":"Email added successfully!","email_address":"Email Address","email_address_not_exist":"Provided email does not exist","email_addresses":"Email addresses","email_already_exists_error":"Email already exists","email_deleted":"email {id} deleted successfully","email_exists_error":"Email already exists","email_verification_error":"Verification Error","email_verification_failed":"Email verification failed","email_verified_default":"All","email_verified_false":"unverified","email_verified_label":"E-Mail verified","email_verified_successfully":"Email Verified","email_verified_true":"verified","end":"End","end_date":"End Date","engine_version":"Engine version","enrollment":"enrollment","enrollment_count_header":"{count} Enrollments","enrollment_detail":"Enrollment Detail","enrollment_detail_title":"Enrollment {id}","enrollment_error":"Failed sending email, please try again","enrollment_header":"1 Enrollment","enrollment_number":"Enrollment number","enrollment_page_title":"{count, plural, one {# Enrollment} other {# Enrollments}}","enrollment_success":"Email sent to the user successfully","enrollment_success_message":"Subscription activation email sent","enrollment_updated_successfully":"Enrollment saved successfully","enrollments":"Enrollments","enter_tag":"Enter tag...","error":"Error","error-loading-image-alt":"Error loading image","error-something-went-wrong":"Unable to complete the task successfully please try again","error_403":"403 Unauthorized","error_404":"404 Error","error_423":"423 Locked","error_500":"500 Error","error_commerce_quantity_null_required":"{label} should have one price with null /empty max quantity","error_contract_address":"Invalid contract address","error_country_code":"Invalid country code","error_currency_code":"Invalid currency code","error_date_after":"{label} must be after {dateToCompare}.","error_date_before":"{label} must be before {dateToCompare}.","error_email":"{label} must be a valid email address","error_invalid_date":"{label} is not a valid date","error_language_code":"Invalid language code","error_loading_media":"Error loading media:","error_number_not_int":"Invalid value please provide integer value","error_phone_number_invalid":"Invalid phone number","error_required":"{label} is a required field","error_same_product_prices":"{label} can not be equal for a price with the same country and currency","error_server":"{details}","error_tag_required":"{label} you must provide at least one tag","error_text_area_required":"{label} is required","essential_setup":"Essential Setup","essential_setup_description":"Core settings required for your shop to function","event":"Events","event_count_header":"{count} Events","event_detail":"Event Detail","event_detail_title":"Event {id}","event_header":"1 Event","event_page_title":"{count, plural, one {# Event} other {# Events}}","expand_navigation":"Expand navigation","expired":"Expired","expires":"Expires","export":"Export","exporting":"Exporting...","extended-fields":"Extended","extensions":"Extensions","fail_reorder":"Reordering failed, Try again!","fail_upload":"Media upload failed","failed_tool_response":"Failed to parse tool result.","female":"Female","filer_options":"Filter options","filter":"Filter","filter_activated":"Filter activated!","filter_by_creation_date":"Filter by creation date","filter_by_type":"Filter by type","filter_count_header":"{count} Filters","filter_created":"Filter created successfully!","filter_deactivated":"Filter deactivated!","filter_deleted":"Filter deleted successfully","filter_detail":"Filter Detail","filter_detail_title":"Filter {id}","filter_header":"1 Filter","filter_key":"Key","filter_key_already_exists":"Filter key already exists, please provide unique key","filter_option_added_success":"Filter option added successfully","filter_option_title":"Title","filter_option_value":"Value","filter_page_title":"{count, plural, one {# Filter} other {# Filters}}","filter_text_form_description":"<ul> <li>You can change the language of filter using the dropdown found at top left corner</li> </ul>","filter_type":"Filter Type","filtered_results":"Filtered results","filters":"Filters","finished":"Finished","first_name":"First name","forget_password":"Forgot your password?","forgot_password_header_description":"Enter your email address below and we\'ll send you a link to reset your password!","from":"From","from_last_month":"from last month","fulfilled":"FULFILLED","fullName":"FullName","full_name":"Full name","gender":"Gender","general_text":"Text","general_tool_definition":"\\"Help me with {toolName}\\"","generate_image_tool_definition":"Generate a hero banner image","get_product_tool_definition":"Get details for product ABC123","go_back":"Go Back","go_back_home":"Go back home","go_to_login":"Go to Login","goodbye_simple":"Goodbye!","goodbye_user":"See you later, {name}!","gross_price":"Gross","guest":"Guest","header_conformation":"This action is nonreversible, are you sure you want to change it to base?","header_title":"Assortment base change.","height":"Height (Millimeter)","hide_available_tools":"Hide Available Tools","home":"Home","id":"ID","image-not-found":"Image not found","image_not_available":"Image not available","import":"Import","import_results":"Import Results","importing":"Importing...","in_active":"In-Active","in_cart":"In cart","in_valid":"InValid","inactive":"In-Active","include_drafts":"Include drafts","include_inactive":"Include inactive","include_leaf":"Include leafs","initial":"Initial","input":"Input","install":"Install","interface":"Interface","internal_server_error":"500 Internal Server Error","internal_server_error_message":"Sorry, something went wrong on our end. We are working to fix this.","invalid_credential_error":"Invalid credential, please try again","invalid_signature_length":"Invalid signature","invalid_url":"Invalid page url","invalidate-token":"Invalidate","invalidated":"Invalidated","invoice":"INVOICE","ip":"IP Address","iso_code":"ISO code","item_quantity":"Quantity:","items_created":"{count} items created","items_failed":"{count} {entityName} failed to import","items_imported":"{count} {entityName} imported successfully ({created} created, {updated} updated)","items_purchased":"Items purchased","key":"Key","label":"Label","labels":"Labels","language":"Language","language_added":"Language added successfully!","language_config_description":"Configure languages for content localization","language_count_header":"{count} Languages","language_deleted":"Language deleted successfully","language_exists":"Language with the same ISO code already exists","language_header":"1 Language","language_page_title":"{count, plural, one {# Language} other {# Languages}}","language_updated":"Language updated successfully!","languages":"Languages","last_Name":"Last name","last_login":"Last Login:","last_updated":"Last Updated:","leaf":"Leaf","leaf_assortment_description":"Can be assigned as a child of another assortment","length_millimeter":"Length (Millimeter)","link_reorder":"Link reorder successfully","linked_assortment":"Linked assortment","links":"Links","list_product_tool_definition":"Show me all draft products","load-more-reviews":"Load reviews","load_more":"Load more","loading":"Loading ...","loading_media":"Loading media...","log_in":"Log in","log_out":"Log out","login_date_range":"Login Date Range","login_header":"Log in to your account","make-proposal-header":"Make quotation proposal","make_leaf":"Make leaf","make_root":"Make root","male":"Male","manage":"Manage","mark_as_base":"Mark as Base","mark_as_delivered":"Mark as delivered","mark_as_delivered_message":"This will change the order delivery status to delivered","mark_as_delivered_question":"Mark as delivered ?","mark_as_paid":"Mark as Paid","mark_as_paid_question":"This will change the order payment status to Paid.","mark_as_paid_question_header":"Mark as paid?","max_quantity":"Max Quantity","media":"Media","media_add_tool_definition":"\\"Add media files\\"","media_management_tool_definition":"\\"Manage media files\\"","media_remover_tool_definition":"\\"Remove media files\\"","media_subtitle":"Subtitle:","media_title":"Title:","media_updated":"Media updated","message":"Message","method":"Method","mobile_phone":"Mobile phone","name":"Name","net_price":"Net","new_assortment_header":"New Assortment","new_country_header":"New country","new_currency_header":"New currency","new_delivery_provider":"New delivery provider","new_filter_header":"New filter","new_language_header":"New language","new_password":"New password","new_payment_provider_header":"New payment provider","new_product_header":"New product","new_user_header":"New user","new_warehousing_provider_header":"New warehousing provider","next":"Next","no_assortments_found":"No assortments found matching your criteria","no_data_message":"<p>No <span> {message} available</span> </p>","no_internet_access":"You aren\'t connected to a working internet connection.","no_order_products_description":"Once you receive your first orders, your top-selling products will appear here.","no_orders_description":"Once you receive your first orders, your sales analytics and top-selling products will appear here.","no_orders_title":"No orders yet","no_payload":"Payload","no_result_found":"No result found","no_tag":"No Tag","no_variations_configured":"No variations configured yet. Please add variations and their options in the Variations tab first.","non_taxable":"Non-Taxable","not-applicable":"N/A","not_access_message":"Sorry, the page you are trying to access has restricted access.","not_base":"Mark as Base","not_found_message":"Sorry, we couldn\'t find the page you\'re looking for.","not_published":"Not published","offline_help_message":"Please check your connection and try again.","offline_mode":"You\'re Offline","ok":"Ok","open":"OPEN","open_sidebar":"Open sidebar","option":"Option","options":"Options","or_drag_and_drop":"or drag and drop","or_manually_enter_address":"Or enter address manually","order":"Order","order__marked_delivered":"Order marked as delivered successfully","order_confirmed_success":"Order confirmed successfully","order_count_header":"{count} Orders","order_date":"Order date","order_deleted":"Order deleted successfully","order_header":"1 Order","order_id":"Order","order_number":"Order #","order_page_title":"{count, plural, one {# Order} other {# Orders}}","order_paid":"Order payed successfully","order_payment_fees":"Fees","order_placed":"Order placed","order_reject_success":"Order rejected successfully","order_total":"Order total","orders":"Orders","original_work_id":"Original Work Id","overall_progress":"Overall Progress","page_not_found":"Page Not Found","paginated-data":"<p> Showing <span>{from}</span> to <span>{to}</span> of <span>{total}</span> results </p>","paid":"Paid","password":"Password","password_change_failed":"Password change failed, try again later","password_changed_success":"Password changed successfully.","password_identical":"Provided new password identical to previous password","password_insecure":"Password is invalid, maybe too insecure","password_mismatch":"Password fields don\'t match","password_success":"Password changed successfully.","pay":"Mark paid","payload":"Payload","payment":"Payment","payment_credentials":"Payment credentials","payment_detail_title":"Payment provider {id}","payment_processing":"Payment Processing","payment_processing_config_description":"Invoice payment provider is already configured","payment_provider":"Payment provider","payment_provider_deleted":"Payment provider deleted successfully","payment_providers":"Payment providers","pending":"PENDING","periods":"Periods","permission_missing":"You don\'t have the required permission","photo":"Photo","plan_product_definition":"<h3>Plan</h3> <p>Plan product is use when you have a product that is offered per subscription base. Since for this type of product the payment is usually recurring, you can adjust the interval of payment calculation. </p>","postal_code":"Postal/ZIP code","preferred":"Preferred","preview":"preview","previous":"Previous","price":"Price","price_range":"Price Range","priority":"Priority","process-quotation-submit":"Mark as processed","product":"Product","product-image":"Product image","product-scaffolded-success":"Product scaffolded successfully","product_added":"Product added successfully!","product_assignments_explanation_text":"Product assignments allow you to link specific products to each unique combination of variation options. For example, if you have a t-shirt with \'Size\' and \'Color\' variations, you can assign different product SKUs to each combination like \'Large + Red\' or \'Small + Blue\'. This is useful for managing inventory, pricing, and product details for each specific variant.","product_assignments_explanation_title":"About Product Assignments","product_commerce_info":"One price list should have a max quantity field empty and no price should have the same max quantity along with currency and country specified","product_creation_failed":"Product creation failed","product_delete_blocked_action":"Please unlink it before trying to delete it.","product_delete_blocked_header":"Remove links before deleting","product_delete_blocked_intro":"This product is linked to the following product types:","product_deleted":"Product deleted successfully","product_deleted_notice":"This product has been deleted and is no longer active. Some actions may be restricted.","product_deleted_success":"Deleted successfully","product_drafted":"Drafted successfully","product_import.validation.invalid_type":"Invalid product type: {type}","product_import.validation.title_required":"Title is required","product_load_error":"Failed to load product","product_media":"Product Media","product_media_deleted":"Media deleted successfully","product_media_upload":"Media uploaded successfully","product_page_title":"{count, plural, one {# Product} other {# Products}}","product_publish_error":"Failed to publish product","product_published":"Published successfully","product_quantity":"Quantity","product_review_added":"Review added successfully!","product_review_updated":"Review updated successfully!","product_subscription_form_description":"<ul><li> Information that will be used to calculate price of a subscription based product </li> <li>The price specified in commerce section will be used when calculating fees on each interval. </li> <li>Price will not be included for the specified trial period </li> </ul>","product_text_form_description":"<ul> <li><strong>Slug:</strong> The unique part of your product URL (e.g., \'my-awesome-product\'). Keep it short and descriptive.</li> <li><strong>Localization:</strong> Switch languages using the dropdown at the top left to translate content for different markets.</li> <li><strong>Description:</strong> Supports Markdown and HTML formatting. Use double backslash (\\\\\\\\\\\\\\\\) for line breaks.</li> <li><strong>Labels:</strong> Eye-catching badges that appear on your product (e.g., \'New Arrival\', \'50% Off\', \'Limited Edition\'). Perfect for promotions and highlighting special features. Each language can have unique labels.</li> <li><strong>Key Difference:</strong> Labels are customer-facing promotional badges, while Tags are internal keywords for organization and filtering.</li> </ul>","product_title":"Product","product_type":"Product type","product_unpublish_error":"Failed to unpublish product","product_variation_added":"Product variation added successfully","product_variation_deleted":"Variation deleted successfully","product_variation_key_help":"Unique identifier used internally (e.g., \\"color\\", \\"size\\"). Use lowercase without spaces.","product_variation_option_deleted":"Variation option deleted successfully","product_variation_title_help":"The display name customers will see (e.g., \\"Color\\", \\"Size\\", \\"Material\\")","product_variations_explanation":"Variations allow customers to choose different options for your product (like color, size, material). Each variation can have multiple options that customers can select from.","product_variations_explanation_title":"About Product Variations","products":"Products","products_config_description":"Create your first products","products_count":"Products","products_count_header":"{count} Products","products_data_unavailable":"Product data unavailable","products_found":"{count} products found","products_header":"1 Product","products_not_found":"No {status} products found in these results","profile":"Profile","profile_notice":"This information will be displayed publicly so be careful what you share.","profile_updated":"Profile updated successfully!","provider_created_success":"Provider created successfully!","publish_product_description":"Product will be searchable and is available for orders","publish_product_tool_definition":"Publish product XYZ456","published":"Published","quantity":"Quantity","quotation":"quotation","quotation-context-input-label":"Quotation context","quotation-quoted-successfully":"Quoted successfully","quotation-rejection-successfully":"Quotation rejected successfully","quotation-verified-successfully":"Quotation verified successfully","quotation_count_header":"{count} Quotations","quotation_detail":"Quotation Detail","quotation_detail_title":"Quotation {id}","quotation_header":"1 Quotation","quotation_number":"Quotation number","quotation_page_title":"{count, plural, one {# Quotation} other {# Quotations}}","quotation_updated":"Quotation updated successfuly","quotations":"Quotations","recent_reviews":"Recent reviews","region":"Region","region_Code":"Region","register-with-web3":"Register","reject-quotation-quotation":"Reject quotation?","reject-quotation-submit":"Reject","reject_order":"Reject order","reject_order_alert_button":"Reject","reject_order_alert_header":"Reject order?","rejected":"REJECTED","remove_product_media_tool_definition":"Remove product media","reorder_original":"Reorder to original location","report-submit":"Submit","request_new_reset_link":"Request New Reset Link","request_new_verification":"Request New Verification","requested":"Requested","required-role-not-satisfied":"Current account does not have access, please log in with an account that has the required role.","required_steps_note":"Required for basic shop functionality","reset_link_sent":"Password reset link sent to {email}","reset_password":"Reset Password","reset_password_header_description":"Enter your new password and make sure you don\'t forget it this time.","reset_token_error":"Reset Token Error","reset_token_expired":"Token link invalid or has expired","reset_token_invalid_warning":"The reset token is either invalid or expired.","resolved_country":"Resolved country","resolved_language":"Resolved language","rest_password":"Reset password","result":"Result","retries":"Retries","retry":"Retry","retry-work":"Retry","review":"Review","review_data":"Review data","review_deleted":"Review deleted successfully","review_placeholder":"Share your thoughts about this product...","review_summary":"<div> Based on <cta> {total} </cta> reviews</div>","reviews":"Reviews","role_updated":"Role updated successfully!","roles":"Roles","root":"Root","root_assortment":"Root","root_assortment_description":"Can not be assigned as a child of another assortment","root_assortments_count":"{count} root assortments found","root_description":"This makes the assortment a top level category","root_node":"Root node","save":"Save","saved":"Saved","say_hi_get_to_know_me":"Say Hi and Get To Know Me","scaffold_product":"Scaffold","scheduled":"Scheduled","search":"Search","search_product":"Search product","select_language":"Select Language","select_options_toggle":"Change {type} status","select_role":"Select role","select_tab":"Select a tab","select_type":"Select type","select_valid_csv_error":"Please select a valid CSV file.","send__enrollment_email_button":"Send enrollment Email","send_activation_email_confirm":"Are you sure you want to send email?","send_activation_email_header":"Send Email.","send_button":"Send","send_email_button":"Send Email","send_reset_link":"Send reset link","send_verification_mail":"Send verification mail","sequence":"Display Order","set_password":"Set password","setup_complete":"Complete","setup_now":"Setup Now","shipping":"Shipping","shipping_method":"SHIPPING","shop_info":"Shop Info","shop_info_tool_definition":"Show shop configuration","shop_setup_complete":"Shop Setup Complete!","shop_setup_complete_description":"Congratulations! Your shop is fully configured and ready to accept orders.","shop_setup_description":"Follow these steps to configure your shop and start selling.","shortcuts":"Shortcuts","show_all_products":"Show all products","show_available_tools":"Show Available Tools","show_carts":"Show carts","show_error_details":"Show error details","show_full_response":"Show full response","show_guests":"Show Guests","show_inactive":"Show Inactive","show_less":"Show less","sign_address_header":"Sign address","sign_up":"Sign up","sign_up_header":"Create new account","signature_hash":"Signature hash","signature_not_match_error":"Signature does not match","simple_product_definition":"<h3>Simple</h3> <p>Simple product is the most commonly used type of product type. It accepts configuration values for price, dimension and warehousing. Most e-commerce product needs are satisfied by this type </p>","sku":"Sku","slug":"Slug","star_reviews":"Star reviews","start":"Start","start_date":"Start date","started":"Started","status":"Status","submit":"Submit","subscription":"Subscription","subscription_message":"Subscription","subscription_product_type_not_valid":"Status of the product does not allow this operation","subscriptions":"Subscriptions","subtitle":"Subtitle","subtotal":"Subtotal","success_message":"Subscription successfully activated.","supply":"Supply","system":"System settings","system_information":"System Information","table_actions_menu":"Actions menu","tags":"Tags","tags_updated":"Tags updated successfully","tax":"Tax","taxable":"Taxable","terminate_enrollment":"Terminate Enrollment","terminate_enrollment_confirmation":"Are you sure you want to terminate this subscription?","terminate_enrollment_error":"Failed when sending subscription activation email, please try again","terminate_enrollment_success":"Subscription terminated successfully","terminate_subscription":"Terminate subscription","text":"Text","texts":"Texts","thank_you_for_verifying":"Thank you for verifying your email address.","tiered_pricing":"Tiered Pricing","time":"Time","title":"Title","title_not_found":"Title not found","to":"To","token":"Token","token-id":"Token ID {chainTokenId}","token-id-label":"Token ID","token-supply":"Supply","token_count_header":"{count} Tokens","token_header":"1 Token","token_invalid_expired":"Token Invalid/Expired","token_invalidation_date":"Invalidated","token_page_title":"{count, plural, one {# Token} other {# Tokens}}","token_updated":"Token update successfully!","tokenized_product_text_form_description":"<b>Contract standards </b> <ol> <dt><b> ERC721 </b></dt> <dd> Buying multiple Products leads to multiple Tokens (make sure to set the tokenId to 0 to make it auto generate new id\'s) </dd> <dt> <b> ERC1155 </b></dt> <dd> Buying multiple Products leads to a new token with balance 3 of token with tokenId assigned </dd> <dt> <b> Contract address </b></dt> <dd> Address of a token on a given network </dd> </ol>","tokens":"Tokens","tool_fetch_failed_error":"Failed to fetch available tools","tool_response":"Tool Response","top_selling_products":"Top selling products","total":"Total","total_orders":"Total orders","total_records":"{total} records found","total_sales":"Total sales","trial":"Trial","trial_interval_unit":"Trial interval unit","trial_unit":"Trial Unit","try_again":"Try Again","type":"Type","type_colon":"Type:","unauthorized_page":"Access Forbidden","unchained_logo":"Unchained Logo","unpublish_product_tool_definition":"Unpublish the winter collection","untitled_assortment":"Untitled Assortment","unverified":"Unverified","update":"Update","update_configuration":"Update configuration","update_country":"Update Country","update_currency":"Update Currency","update_delivery_configuration":"Update delivery provider","update_filter":"Update filter","update_language":"Update Language","update_payment_provider_header":"Update payment provider","update_profile":"Update profile / address","update_review":"Update Review","update_role":"Update role","update_token":"Update token","update_warehousing_provider_header":"Update warehousing provider","updated":"Updated","upload":"Upload","upload_file":"Upload a file","usage_calculation_type":"Usage calculation type","use-another-account":"Use Another Account","use_another_verification_token":"Please resend another verification email and try again.","use_authenticator":"Use authenticator","use_latest_reset_link":"Please use the latest reset link sent to your email or request a new one.","use_latest_verification_link":"Please use the latest verification link sent to your email.","user":"User","user-activities":"Activity","user_avatar":"User avatar","user_count_header":"{count} Users","user_deleted":"User deleted successfully","user_detail_title":"User {id}","user_header":"1 User","user_page_title":"{count, plural, one {# User} other {# Users}}","user_password_not_set":"User password not set","user_profile_created":"User profile created successfully!","username":"Username","username_exists_error":"Username is taken please provide another","username_or_email":"Username/Email","username_or_email_taken":"Username taken, Please provided different username","username_updated":"Username updated successfully!","users":"Users","users_setting_list_header":"User settings","valid":"Valid","value":"Value","variation_id":"Variation ID","variation_option":"Variation option","variation_option_added":"Variation option added successfully!","variation_option_title_help":"Display name customers see (e.g., \\"Red\\", \\"Large\\", \\"Cotton\\")","variation_option_updated":"Variation option updated successfully!","variation_option_value_help":"Internal identifier (e.g., \\"red\\", \\"large\\", \\"cotton\\")","variation_options_explanation":"Add individual choices for this variation (e.g., \\"Red\\", \\"Blue\\", \\"Green\\" for a Color variation)","variations":"Variations","vat_suspect":"Vat Suspect","vendor":"Vendor","verification_failed":"verification failed","verification_failed_status":"Verification Failed","verification_sent_error":"Error occurred while sending verification email, please try again","verification_sent_success":"Verification email sent successfully","verification_successful":"Verification Successful","verification_token_expired":"Verification token expired","verification_web3_address":"Verify","verified":"Verified","verify-quotation-quotation":"Verify quotation?","verify-quotation-submit":"Verify","verify_email_token_invalid_error":"The email verification token is either invalid or expired.","version":"Version","wallet-address":"Wallet {walletAddress}","warehouse_detail_title":"Warehouse {id}","warehousing":"Warehousing","warehousing_provider":"Warehousing provider","warehousing_provider_deleted":"Warehousing provider deleted successfully","warning":"Warning!","web3_address":"Web3 Address","web3_address_added":"Address added successfully!","web3_address_deleted":"Address deleted successfully","web3_address_signature_instruction":"<p>Copy the following nonce <b> ({nonce})</b> and past the signature on the space provided below </p>","web3_address_verify_link":"<p> Go to <a> etherscan </a> to verify address </p>","web3_addresses":"Web3 addresses","web3_verified_success":"Address verified successfully!","web_auth_credential_removed":"Credential removed successfully","web_auth_icon":"Auth icon","web_auth_username_required":"A username is required to use WebAuthn","web_authentication":"Web Authentication","weight_gram":"Weight (Gram)","welcome_user":"Welcome back, {name}!","width":"Width (Millimeter)","with_children":"With Children","work_added_success":"Work added successfully!","work_allocated_success":"Allocate work successfully!","work_count_header":"{count} Work Items","work_created":"Created","work_deleted":"Work deleted successfully","work_detail":"Work Detail","work_detail_title":"Work {id}","work_finished":"Finished","work_header":"1 Work Item","work_management_setting_list_header":"Work Management Settings","work_original":"Original Work","work_page_title":"{count, plural, one {# Work Item} other {# Work Items}}","work_priority":"Priority","work_queue":"Work queue","work_queue_header":"Work queue","work_queue_problem_detected":"Problems detected in the Work Queue","work_retries":"Retries","work_scheduled":"Scheduled","work_started":"Started","work_status":"Work Status","work_type":"Work type","work_type_header":"Type","worker":"Worker","worker_dynamic":"{worker}","write_review":"Write a Review"}'),_={en:m,de:JSON.parse('{"EW1jgi":"Standard-Eingabename","access_restricted":"Zugriff beschr\xe4nkt","account":"Konto","account_deleted":"Konto erfolgreich gel\xf6scht","account_notice":"Diese Informationen werden \xf6ffentlich angezeigt, seien Sie also vorsichtig, was Sie weitergeben.","account_status":"Kontostatus","actions_column_header":"Aktionen","activate":"Aktivieren","activate_assortment_description":"Wird bei der Suche sichtbar sein","activate_button":"Aktivieren","activate_header_conformation":"Sind Sie sicher, dass Sie dieses Abonnement abschliessen m\xf6chten?","activate_header_title":"Aktivieren Sie das Abonnement.","activated":"Aktiviert","active":"Aktiv","activities":"Aktivit\xe4ten","adapter":"Adapter","add":"Hinzuf\xfcgen","add_assortment":"Sortiment hinzuf\xfcgen","add_country":"Land hinzuf\xfcgen","add_currency":"W\xe4hrung hinzuf\xfcgen","add_delivery_provider":"Lieferdienst hinzuf\xfcgen","add_email":"E-Mail hinzuf\xfcgen","add_filter":"Filter hinzuf\xfcgen","add_filter_option":"Option hinzuf\xfcgen","add_language":"Sprache hinzuf\xfcgen","add_option":"Option hinzuf\xfcgen","add_payment_provider":"Zahlungsanbieter hinzuf\xfcgen","add_price_row":"Preiszeile hinzuf\xfcgen","add_product":"Produkt hinzuf\xfcgen","add_product_media_tool_definition":"Medien zum Produkt hinzuf\xfcgen","add_review":"Bewertung hinzuf\xfcgen","add_tag":"Tag hinzuf\xfcgen","add_user":"Benutzer hinzuf\xfcgen","add_variation":"Variation hinzuf\xfcgen","add_variation_option":"Option hinzuf\xfcgen","add_warehousing_provider":"Lageranbieter hinzuf\xfcgen","add_web3_address":"Web3-Adresse hinzuf\xfcgen","add_web_auth":"Web-Authentifizierung hinzuf\xfcgen","add_work":"Arbeit hinzuf\xfcgen","address":"Adresse","address2":"Adresse 2","address_line_1":"Adresse Zeile 1 (Strasse & Hausnummer)","address_line_2":"Adresse Zeile 2","address_notice":"Diese Informationen werden \xf6ffentlich angezeigt, seien Sie also vorsichtig, was Sie weitergeben.","all":"Alle","allocate_work":"Arbeit zuweisen","already_got_a_user":"Haben Sie bereits einen Benutzer?","apply":"Anwenden","are_you_sure":"Sind Sie sicher?","assign_product_needs_variations":"Bitte konfigurieren Sie alle Variationsoptionen, bevor Sie ein Produkt zuweisen.","assigned_product_column_header":"Zugewiesenes Produkt","assigned_products":"Zugewiesene Produkte","assignment_matrix_help":"Jede Zeile repr\xe4sentiert eine einzigartige Kombination Ihrer Produktvariationen. Weisen Sie ein spezifisches Produkt zu jeder Kombination zu, um einen vollst\xe4ndigen Produktkatalog zu erstellen.","assignments":"Zuweiseungen","assortment":"Sortiment","assortment_activated":"Sortiment erfolgreich aktiviert","assortment_added":"Sortiment erfolgreich hinzugef\xfcgt","assortment_base":"Hauptkategorie","assortment_changed_to_leaf":"Sortiment ge\xe4ndert","assortment_changed_to_root":"Sortiment auf Stamm umgestellt","assortment_config_description":"Produkte in Kategorien organisieren","assortment_deactivated":"Sortiment erfolgreich deaktiviert","assortment_deleted_success":"Sortiment erfolgreich gel\xf6scht","assortment_filter_deleted":"Sortimentsfilter erfolgreich gel\xf6scht","assortment_filter_form_description":"<ul> <li><strong>Suchfilter:</strong> F\xfcgen Sie Filter hinzu, die Kunden helfen, Produkte in dieser Kategorie einzugrenzen.</li> <li><strong>Filter-Priorit\xe4t:</strong> Die wichtigsten Filter sollten zuerst hinzugef\xfcgt werden - Kunden sehen diese oben in der Filterliste.</li> <li><strong>Kundenerfahrung:</strong> Gut gew\xe4hlte Filter erleichtern es Kunden, genau das zu finden, wonach sie in Ihrer Kategorie suchen.</li> </ul>","assortment_filter_list_description":"<ul> <li><strong>Aktive Filter:</strong> Zeigt alle Filter an, die derzeit auf diese Kategorie angewendet werden - Kunden verwenden diese, um Suchergebnisse einzugrenzen.</li> <li><strong>Filter neu ordnen:</strong> Ziehen Sie per Drag & Drop, um die Reihenfolge zu \xe4ndern - die wichtigsten Filter sollten zuerst in der Kundenoberfl\xe4che erscheinen.</li> <li><strong>Filter-Performance:</strong> \xdcberlegen Sie, welche Filter Kunden am h\xe4ufigsten verwenden und positionieren Sie diese prominent.</li> </ul>","assortment_filters_form_header":"Filter","assortment_filters_header":"Sortimentsfilter","assortment_link":"Link erfolgreich gel\xf6scht","assortment_link_form_description":"<ul> <li><strong>Kategorie-Hierarchie:</strong> Erstellen Sie Unterkategorien durch Hinzuf\xfcgen von Unter-Sortimenten (z.B. \'Elektronik\' → \'Smartphones\', \'Laptops\').</li> <li><strong>Navigationsstruktur:</strong> Bauen Sie einen logischen Kategorienbaum auf, der der Denkweise Ihrer Kunden \xfcber Ihre Produkte entspricht.</li> <li><strong>Anzeigereihenfolge:</strong> \xdcberlegen Sie die Reihenfolge, in der Unterkategorien in Navigationsmen\xfcs erscheinen sollen.</li> <li><strong>Best Practice:</strong> Halten Sie Ihre Kategoriehierarchie 2-3 Ebenen tief f\xfcr optimale Benutzererfahrung.</li> </ul>","assortment_link_form_header":"Kinder-Sortimente","assortment_link_list_description":"<ul> <li><strong>Kategorie-Beziehungen:</strong> Zeigt die vollst\xe4ndige Hierarchie mit \xfcbergeordneten Kategorien oberhalb und untergeordneten Kategorien unterhalb dieses Sortiments.</li> <li><strong>Struktur reorganisieren:</strong> Ziehen Sie per Drag & Drop, um zu \xe4ndern, wie Unterkategorien in Navigationsmen\xfcs erscheinen.</li> <li><strong>Eltern:</strong> Kategorien, zu denen dieses Sortiment geh\xf6rt - hilft Kunden, im Kategorienbaum nach oben zu navigieren.</li> <li><strong>Nachkommen:</strong> Alle Unterkategorien und deren Kinder - zeigt den vollst\xe4ndigen Umfang dieses Kategorienzweigs.</li> </ul>","assortment_links_header":"Sortiment Links","assortment_made_base":"Sortiment als Hauptkategorie festgelegt","assortment_management_tool_definition":"Produktkategorien verwalten","assortment_media":"Sortiment Medien","assortment_media_deleted":"Medien erfolgreich gel\xf6scht","assortment_media_upload":"Medien erfolgreich hochgeladen","assortment_product_form_description":"<ul> <li><strong>Kategorie-Produkte:</strong> F\xfcgen Sie Produkte hinzu, die logisch in diese Kategorie geh\xf6ren.</li> <li><strong>Produktauswahl:</strong> Erw\xe4gen Sie, Bestseller oder neue Artikel zu platzieren, die Kunden ansprechen, die diese Kategorie durchsuchen.</li> <li><strong>Strategische Platzierung:</strong> Produkte k\xf6nnen zu mehreren Kategorien geh\xf6ren, denken Sie also dar\xfcber nach, wo jedes Produkt f\xfcr Kunden am sinnvollsten ist.</li> <li><strong>Merchandising-Tipp:</strong> W\xe4hlen Sie Produkte aus, die Kunden zu Ihren profitabelsten oder beliebtesten Artikeln f\xfchren.</li> </ul>","assortment_product_form_header":"Produkte","assortment_product_list_description":"<ul> <li><strong>Kategorie-Inhalte:</strong> Alle Produkte, die derzeit dieser Kategorie zugewiesen sind - das ist, was Kunden beim Durchsuchen sehen werden.</li> <li><strong>Produkt-Merchandising:</strong> Ziehen Sie per Drag & Drop, um die Anzeigereihenfolge zu optimieren - platzieren Sie Bestseller, neue Artikel oder hochrentable Artikel zuerst.</li> <li><strong>Kategorie\xfcbergreifende Produkte:</strong> Produkte k\xf6nnen in mehreren Kategorien erscheinen und helfen Kunden, sie \xfcber verschiedene Browsing-Pfade zu entdecken.</li> </ul>","assortment_products_header":"Sortiment Produkt","assortment_search_results":"Suchergebnisse f\xfcr Sortimente","assortment_text_form_description":"<ul> <li><strong>Slug:</strong> Der eindeutige Teil Ihrer Kategorie-URL (z.B. \'elektronik\' oder \'sommer-kollektion\'). Halten Sie ihn kurz und beschreibend.</li> <li><strong>Lokalisierung:</strong> Wechseln Sie die Sprache \xfcber das Sprach-Toggle unten links, um Inhalte f\xfcr verschiedene M\xe4rkte zu \xfcbersetzen.</li> <li><strong>Beschreibung:</strong> Unterst\xfctzt Markdown- und HTML-Formatierung. Verwenden Sie doppelte Backslashes (\\\\\\\\\\\\\\\\) f\xfcr Zeilenumbr\xfcche.</li> <li><strong>Kategorie-Organisation:</strong> Verwenden Sie klare, beschreibende Titel, die Kunden beim Navigieren in Ihrem Produktkatalog helfen. Denken Sie daran, wie Kunden nach dieser Kategorie suchen w\xfcrden.</li> <li><strong>SEO-Tipp:</strong> Gut geschriebene Kategoriebeschreibungen helfen Suchmaschinen, Ihre Produktorganisation zu verstehen und die Auffindbarkeit zu verbessern.</li> </ul>","assortments":"Sortimente","assortments_count_header":"{count} Sortimente","assortments_header":"1 Sortiment","assortments_page_title":"{count, plural, one {# Sortiment} other {# Sortimente}}","avatar":"Avatar","average_order_value":"Durchschnittlicher Bestellwert","back_to_home":"Zur\xfcck zur Startseite","base":"Hauptkategorie","baseUnit":"Basiseinheit","base_country":"Basis Land","base_language":"Basis Sprache","billing_address":"Rechnungsadresse","billing_interval_unit":"Einheit des Abrechnungsintervalls","billing_unit":"Fakturierungseinheit","birthday":"Geburtstag","brand":"Marke","browser":"Browser","bundle":"Geb\xfcndeltes Produkt","bundle_item_added":"Geb\xfcndeltes Produkt erfolgreich hinzugef\xfcgt","bundle_item_deleted":"Geb\xfcndeltes Produkt erfolgreich gel\xf6scht","bundle_product_definition":"<h3>B\xfcndel</h3> <p>Wie der Name schon sagt, erm\xf6glicht Ihnen dieser Produkttyp, eine Sammlung/ein B\xfcndel von Produkten als eines zu erstellen und den Preis entsprechend festzulegen. Dieser Produkttyp ist n\xfctzlich, wenn Sie beispielsweise ein Weihnachtspaket haben.</p>","bundled_items":"Geb\xfcndelte Artikel","cancel":"Abbrechen","cart":"Warenkorb","cart_created":"Warenkorb erstellt","categories_count":"Kategorien","chain-id":"Chain-ID","chain-token-id":"Chain-Token-ID","change":"\xc4ndern","change_language":"Sprache \xe4ndern","change_password":"Passwort \xe4ndern","chat_disabled_message":"Copilot-Chat ist derzeit in diesem Shop deaktiviert. Bitte \xfcberpr\xfcfen Sie Ihre Engine-Konfiguration","chat_disabled_title":"Chat ist deaktiviert","chat_error_retry_message":"Ein Fehler ist beim Verarbeiten Ihrer Anfrage aufgetreten. Bitte laden Sie die Unterhaltung neu und senden Sie etwas K\xfcrzeres.","check_work_queue_details":"Arbeitswarteschlange auf Details pr\xfcfen","child_assortment":"Sub-Sortiment","children":"Unterelemente","children_count":"{count} Kinder","city":"Stadt","clear_history":"Verlauf l\xf6schen","close":"Schliessen","close_sidebar":"Seitenleiste schliessen","code":"PLZ","collapse_navigation":"Navigation einklappen","commerce":"Commerce","commerce_setup":"Commerce-Einrichtung","commerce_setup_description":"Zahlungs- und Lieferkonfiguration f\xfcr Transaktionen","company":"Unternehmen","complete_shop_setup":"Shop-Einrichtung vervollst\xe4ndigen","component_loading_error":"Fehler beim Laden der Komponente. Bitte Seite neu laden.","configurable_product_definition":"<h3>Konfigurierbar</h3> <p>Das konfigurierbare Produkt wird verwendet, um Variationen eines Produkts zu organisieren. Ein Produkt kann Variationen in Farbe, Gr\xf6sse oder anderen besonderen Eigenschaften haben. In diesem Fall k\xf6nnen Sie einen konfigurierbaren Produkttyp verwenden, um alle Variationen unter einer Kategorie zu organisieren und ihre Unterschiede zu verdeutlichen.</p>","configuration":"Konfiguration","configuration_invalid":"Ung\xfcltige Konfiguration","configuration_status":"Konfigurationsstatus","configuration_valid":"G\xfcltige Konfiguration","configuration_valid_description":"Alle Konfigurationsparameter sind korrekt gesetzt und validiert.","confirm_order":"Bestellung best\xe4tigen","confirm_order_alert_button":"Best\xe4tigen","confirm_order_alert_header":"Bestellung best\xe4tigen?","confirm_order_alert_message":"Bestellung best\xe4tigen?","confirm_password":"Passwort best\xe4tigen","confirmed":"Best\xe4tigt","connection_status":"Verbindungsstatus","connection_to_server_error":"Verbindungsfehler zum Server","contact":"Kontakt","contact_admin_help":"Wenden Sie sich f\xfcr weitere Informationen an den Systemadministrator","content_setup":"Inhalts-Einrichtung","content_setup_description":"Produkte und Kategorien, um mit dem Verkauf zu beginnen","continue":"Fortfahren","continue_to_app":"Zur App fortfahren","continue_with_sso":"Mit SSO anmelden","contract-address-label":"Vertragsadresse","contract-standard":"Vertragsstandard","contract_address":"Vertragsadresse","copied":"Kopiert","copilot":"Copilot","copilot-into-message":"Hallo! Bitte stellen Sie sich vor und erkl\xe4ren Sie, wobei Sie mir bei der Verwaltung meines Unchained Commerce-Shops helfen k\xf6nnen. Seien Sie freundlich und informativ \xfcber Ihre aktuellen F\xe4higkeiten.","copilot_welcome_description":"Ihr KI-Assistent ist bereit, Ihnen bei der Verwaltung Ihres Unchained Commerce-Shops zu helfen.","copilot_welcome_title":"Willkommen bei Unchained Copilot","copy_to_clipboard":"In Zwischenablage kopieren","countries":"L\xe4nder","countries_config_description":"L\xe4nder konfigurieren und Standardw\xe4hrungen zuweisen","countries_page_title":"{count, plural, one {# Land} other {# L\xe4nder}}","country":"Land","country_added":"Land erfolgreich hinzugef\xfcgt!","country_code":"L\xe4ndercode","country_count_header":"{count} L\xe4nder","country_currency":"W\xe4hrung","country_deleted":"Land erfolgreich gel\xf6scht","country_exists":"Land mit demselben ISO-Code existiert bereits","country_header":"1 Land","country_updated":"Land erfolgreich aktualisiert!","create_admin_account":"Administrator erstellen","create_filter":"Filter erstellen","create_new_account":"Neues Konto erstellen?","create_product_tool_definition":"Neues Produkt erstellen","create_provider":"Anbieter erstellen","created":"Erstellt","created_colon":"Erstellt:","currencies":"W\xe4hrungen","currencies_page_title":"{count, plural, one {# W\xe4hrung} other {# W\xe4hrungen}}","currency":"W\xe4hrung","currency_added":"W\xe4hrung erfolgreich hinzugef\xfcgt!","currency_config_description":"W\xe4hrungen f\xfcr Preise und Zahlungen einrichten","currency_contract_address_description":"Die Vertragsadresse ist optional und stellt die Adresse des 40 Zeichen langen bereitgestellten Token-Vertrags im Ethereum-Netzwerk dar.","currency_count_header":"{count} W\xe4hrungen","currency_deleted":"W\xe4hrung erfolgreich gel\xf6scht","currency_exists":"W\xe4hrung mit demselben ISO-Code existiert bereits","currency_header":"1 W\xe4hrung","currency_updated":"W\xe4hrung erfolgreich aktualisiert!","current_password":"Aktuelles Passwort","customer_reviews":"Kundenbewertungen","customers_count":"Kunden","dashboard":"Dashboard","data":"Daten","date":"Datum","deactivate":"Deaktivieren","deactivate_assortment_description":"Wird in der Suche nicht sichtbar sein","deactivated":"Deaktiviert","decimals":"Dezimalstellen","default_currency":"Standardw\xe4hrung","default_system_locale":"Standard-Gebietsschema","delete":"L\xf6schen","delete_account":"Konto l\xf6schen","delete_account_confirmation":"Diese Aktion kann zu Inkonsistenzen mit anderen damit verbundenen Daten f\xfchren","delete_assortment":"Sortiment l\xf6schen","delete_assortment_confirmation":"M\xf6chten Sie dieses Sortiment wirklich l\xf6schen?","delete_assortment_filter_confirmation":"Sind Sie sicher, dass Sie diese Sprache l\xf6schen m\xf6chten?","delete_assortment_link":"Sind Sie sicher, dass Sie diese Sprache l\xf6schen m\xf6chten?","delete_assortment_media":"Medien l\xf6schen","delete_assortment_media_confirmation":"Sind Sie sicher, dass Sie dieses Bild l\xf6schen m\xf6chten?","delete_assortment_warning":"Diese Aktion l\xf6scht dieses Sortiment und alle zugeh\xf6rigen Daten dauerhaft. M\xf6chten Sie fortfahren?","delete_bundle_item":"Element l\xf6schen","delete_bundle_item_confirmation":"Sind Sie sicher, dass Sie dieses B\xfcndelelement l\xf6schen m\xf6chten?","delete_country":"Land l\xf6schen","delete_country_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie dieses Land l\xf6schen m\xf6chten?","delete_currency":"W\xe4hrung l\xf6schen","delete_currency_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie diese W\xe4hrung l\xf6schen m\xf6chten?","delete_delivery_provider":"Lieferung l\xf6schen","delete_delivery_provider_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie diesen Lieferung l\xf6schen m\xf6chten?","delete_email":"E-Mail l\xf6schen","delete_email_confirmation":"Sind Sie sicher, dass Sie diese E-Mail l\xf6schen m\xf6chten?","delete_filter":"Filter l\xf6schen","delete_filter_confirmation":"Sind Sie sicher, dass Sie diesen Filter l\xf6schen m\xf6chten?","delete_filter_option":"Option l\xf6schen","delete_filter_option_confirmation":"Sind Sie sicher, dass Sie diese Filteroption l\xf6schen m\xf6chten?","delete_language":"Sprache l\xf6schen","delete_language_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie diese Sprache l\xf6schen m\xf6chten?","delete_link":"Link l\xf6schen","delete_order":"Bestellung l\xf6schen","delete_order_confirmation":"Sind Sie sicher, dass Sie diese Bestellung l\xf6schen m\xf6chten?","delete_paymentProvider_confirmation":"Diese Aktion kann zu Inkonsistenzen mit anderen zugeh\xf6rigen Daten f\xfchren. M\xf6chten Sie diese Zahlungsintegration wirklich l\xf6schen?","delete_payment_provider":"Zahlungsintegration l\xf6schen","delete_payment_provider_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie diese Zahlungsintegration l\xf6schen m\xf6chten?","delete_product":"Produkt l\xf6schen","delete_product_assignment":"Sind Sie sicher, dass Sie diese Zuweisung l\xf6schen m\xf6chten?","delete_product_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen, und ist nicht umkehrbar. Sind Sie sicher, dass Sie dieses Produkt l\xf6schen m\xf6chten?","delete_product_media":"Medien l\xf6schen","delete_product_media_confirmation":"Sind Sie sicher, dass Sie diese Medien l\xf6schen m\xf6chten?","delete_product_tool_definition":"Produkt OLD123 l\xf6schen","delete_product_variation":"Variation l\xf6schen","delete_product_variation_confirmation":"Sind Sie sicher, dass Sie diese Variation l\xf6schen m\xf6chten?","delete_product_warning":"Diese Aktion l\xf6scht dieses Produkt und alle zugeh\xf6rigen Daten dauerhaft. M\xf6chten Sie fortfahren?","delete_review":"Bewertung l\xf6schen","delete_review_confirmation":"Sind Sie sicher, dass Sie diese Bewertung l\xf6schen m\xf6chten?","delete_user":"Benutzer l\xf6schen","delete_user_account":"Benutzerkonto l\xf6schen","delete_user_account_confirmation":"Diese Aktion kann zu Inkonsistenzen mit anderen damit verbundenen Daten f\xfchren","delete_user_warning":"Diese Aktion l\xf6scht diesen Benutzer und alle zugeh\xf6rigen Daten dauerhaft. M\xf6chten Sie fortfahren?","delete_variation_assignment":"Zuweisung l\xf6schen","delete_variation_option":"Option l\xf6schen","delete_variation_option_confirmation":"Sind Sie sicher, dass Sie diese Option l\xf6schen m\xf6chten?","delete_warehousing_provider":"Lagerintegration l\xf6schen","delete_warehousing_provider_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie diese Lagerintegration l\xf6schen m\xf6chten?","delete_web3_address":"Web3-Adresse l\xf6schen","delete_web3_address_confirmation":"M\xf6chten Sie diese Web3-Adresse wirklich l\xf6schen?","delete_web_auth_credential":"Web-Authentifizierung l\xf6schen","delete_work":"Arbeit l\xf6schen","delete_work_confirmation":"Diese Aktion k\xf6nnte Inkonsistenzen mit anderen Daten verursachen, die damit in Beziehung stehen. Sind Sie sicher, dass Sie diese Arbeit l\xf6schen m\xf6chten?","deleted":"Gel\xf6scht","deleted_status":"Gel\xf6scht","deleted_text":"Gel\xf6scht","delivered":"Geliefert","delivery":"Lieferung","deliveryProviders_deleted":"Lieferung erfolgreich gel\xf6scht","delivery_address":"Lieferadresse","delivery_processing":"Versand & Lieferung","delivery_processing_config_description":"Liefermethoden sind bereits konfiguriert","delivery_provider":"Lieferungsintegrationen","delivery_provider_deleted":"Lieferungsintegration erfolgreich gel\xf6scht","delivery_provider_title":"Lieferungsintegration","delivery_providers":"Lieferungsintegrationen","delivery_status":"Status","description":"Beschreibung","discount":"Rabatt","discount_amount":"Rabattbetrag","discount_information":"Rabatte","discounts":"Rabatte","displayName":"Anzeigename","display_as_graph":"Als Grafik anzeigen","display_name":"Anzeigename","dont_have_account":"Haben Sie noch kein Konto?","draft":"Entwurf","draft_product_description":"Produkt wird nicht auffindbar sein und kann nicht bestellt werden","duration":"Dauer","edit":"Bearbeiten","edit_tags":"Tags bearbeiten","editor":"Bearbeiten","email":"E-Mail","email_added":"E-Mail erfolgreich hinzugef\xfcgt!","email_address":"E-Mail-Adresse","email_address_not_exist":"Die angegebene E-Mail-Adresse existiert nicht","email_addresses":"E-Mail-Adressen","email_already_exists_error":"E-Mail existiert bereits","email_deleted":"E-Mail {id} erfolgreich gel\xf6scht","email_exists_error":"E-Mail existiert bereits","email_verification_error":"E-Mail-Verifizierungsfehler","email_verification_failed":"E-Mail-Verifizierung fehlgeschlagen","email_verified_default":"E-Mail-Verifizierung unbekannt","email_verified_false":"E-Mail nicht verifiziert","email_verified_label":"E-Mail verifiziert","email_verified_successfully":"E-Mail erfolgreich verifiziert","email_verified_true":"E-Mail verifiziert","end":"Ende","end_date":"Enddatum","engine_version":"Engine-Version","enrollment":"Anmeldung","enrollment_count_header":"{count} Anmeldungen","enrollment_detail":"Anmeldungsdetails","enrollment_detail_title":"Anmeldung Details","enrollment_error":"Anmeldungsfehler","enrollment_header":"1 Anmeldung","enrollment_number":"Anmeldungsnummer","enrollment_page_title":"{count, plural, one {# Anmeldung} other {# Anmeldungen}}","enrollment_success":"Anmeldung erfolgreich","enrollment_success_message":"Ihre Anmeldung war erfolgreich","enrollment_updated_successfully":"Anmeldung erfolgreich gespeichert","enrollments":"Abonnemente","enter_tag":"Tag eingeben...","error":"Fehler","error-loading-image-alt":"Fehler beim Laden des Bildes","error-something-went-wrong":"Etwas ist schief gelaufen","error_403":"403 nicht autorisiert","error_404":"404 Fehler","error_423":"423 Gesperrt","error_500":"Interner Serverfehler (500)","error_commerce_quantity_null_required":"{label} should have one price with null /empty max quantity","error_contract_address":"Ung\xfcltige Vertragsadresse","error_country_code":"Ung\xfcltiger L\xe4ndercode","error_currency_code":"Ung\xfcltiger W\xe4hrungscode","error_date_after":"{label} must be after {dateToCompare}.","error_date_before":"{label} must be before {dateToCompare}.","error_email":"{label} muss eine g\xfcltige E-Mail-Adresse sein","error_invalid_date":"{label} ist kein g\xfcltiges Datum","error_language_code":"Ung\xfcltiger Sprachcode","error_loading_media":"Fehler beim Laden der Medien:","error_number_not_int":"Ung\xfcltiger Wert, bitte geben Sie eine Ganzzahl ein","error_phone_number_invalid":"Ung\xfcltige Telefonnummer","error_required":"{label} ist ein Pflichtfeld","error_same_product_prices":"{label} darf nicht gleich sein f\xfcr einen Preis mit demselben Land und derselben W\xe4hrung","error_server":"{details}","error_tag_required":"{label} mindestens ein Tag erforderlich","error_text_area_required":"{label} ist ein Pflichtfeld","essential_setup":"Grundeinrichtung","essential_setup_description":"Kerneinstellungen, die f\xfcr das Funktionieren Ihres Shops erforderlich sind","event":"Events","event_count_header":"{count} Ereignisse","event_detail":"Event Details","event_detail_title":"Events Details","event_header":"1 Ereignis","event_page_title":"{count, plural, one {# Ereignis} other {# Ereignisse}}","expand_navigation":"Navigation ausklappen","expired":"Abgelaufen","expires":"L\xe4uft ab","export":"Exportieren","exporting":"Exportiere...","extended-fields":"Erweiterte Felder","extensions":"Erweiterungen","fail_reorder":"Neuordnung fehlgeschlagen, versuchen Sie es erneut!","fail_upload":"Medien-Upload fehlgeschlagen","failed_tool_response":"Tool-Ergebnis konnte nicht geparst werden.","female":"Weiblich","filer_options":"Filter-Optionen","filter":"Filter","filter_activated":"Filter aktiviert!","filter_by_creation_date":"Nach Erstellungsdatum filtern","filter_by_type":"Nach Typ filtern","filter_count_header":"{count} Filter","filter_created":"Filter erfolgreich erstellt!","filter_deactivated":"Filter deaktiviert!","filter_deleted":"Filter erfolgreich gel\xf6scht","filter_detail":"Filter Detail","filter_detail_title":"Filter Details","filter_header":"1 Filter","filter_key":"Key","filter_key_already_exists":"Filterschl\xfcssel existiert bereits","filter_option_added_success":"Filteroption erfolgreich hinzugef\xfcgt","filter_option_title":"Titel","filter_option_value":"Wert","filter_page_title":"{count, plural, one {# Filter} other {# Filter}}","filter_text_form_description":"<ul><li>Sie k\xf6nnen die Sprache des Filters \xfcber das Dropdown-Men\xfc in der oberen rechten Ecke \xe4ndern</li></ul>","filter_type":"Filtertyp","filtered_results":"Gefilterte Ergebnisse","filters":"Filter","finished":"Beendet","first_name":"Vorname","forget_password":"Passwort vergessen?","forgot_password_header_description":"Geben Sie unten Ihre E-Mail-Adresse ein und wir senden Ihnen einen Link zum Zur\xfccksetzen Ihres Passworts!","from":"Von","from_last_month":"vom letzten Monat","fulfilled":"Abgeschlossen","fullName":"Vollst\xe4ndiger Name","full_name":"Vollst\xe4ndiger Name","gender":"Geschlecht","general_text":"Text","general_tool_definition":"Hilf mir mit {toolName}","generate_image_tool_definition":"Bannerbild generieren","get_product_tool_definition":"Details f\xfcr Produkt ABC123 anzeigen","go_back":"Zur\xfcck","go_back_home":"Zur\xfcck zur Startseite","go_to_login":"Zur Anmeldung","goodbye_simple":"Auf Wiedersehen\\\\!","goodbye_user":"Auf Wiedersehen, {name}\\\\!","gross_price":"Brutto","guest":"Gast","header_conformation":"Diese Aktion ist nicht umkehrbar, sind Sie sicher, dass Sie es als Hauptkategorie festlegen m\xf6chten?","header_title":"Hauptkategorie festlegen.","height":"H\xf6he (Millimeter)","hide_available_tools":"Verf\xfcgbare Tools ausblenden","home":"Dashboard","id":"ID","image-not-found":"Bild nicht gefunden","image_not_available":"Bild nicht verf\xfcgbar","import":"Importieren","import_results":"Importergebnisse","importing":"Importiere...","in_active":"Inaktiv","in_cart":"Im Warenkorb","in_valid":"Ung\xfcltig","inactive":"Inaktiv","include_drafts":"Entw\xfcrfe einbeziehen","include_inactive":"Inaktive einbeziehen","include_leaf":"Unterkategorien einbeziehen","initial":"Anf\xe4nglich","input":"Eingabe","install":"Installieren","interface":"Schnittstelle","internal_server_error":"500 Interner Serverfehler.","internal_server_error_message":"Entschuldigung, es liegt nicht an Ihnen, sondern an uns. Wir arbeiten daran, dies zu beheben.","invalid_credential_error":"Ung\xfcltige Anmeldedaten, bitte versuchen Sie es erneut","invalid_signature_length":"Ung\xfcltige Signatur","invalid_url":"Ung\xfcltige URL","invalidate-token":"Ung\xfcltig machen","invalidated":"Ung\xfcltig gemacht","invoice":"Rechnung","ip":"IP-Adresse","iso_code":"ISO-Code","item_quantity":"Menge:","items_created":"{count} Elemente erstellt","items_failed":"{count} {entityName} konnten nicht importiert werden","items_imported":"{count} {entityName} erfolgreich importiert ({created} erstellt, {updated} aktualisiert)","items_purchased":"Bestellte Artikel","key":"Schl\xfcssel","label":"Bezeichnung","labels":"Bezeichnungen","language":"Sprache","language_added":"Sprache erfolgreich hinzugef\xfcgt!","language_config_description":"Sprachen f\xfcr Inhalts\xfcbersetzung konfigurieren","language_count_header":"{count} Sprachen","language_deleted":"Sprache erfolgreich gel\xf6scht","language_exists":"Sprache mit demselben ISO-Code existiert bereits","language_header":"Languages","language_page_title":"{count, plural, one {# Sprache} other {# Sprachen}}","language_updated":"Sprache erfolgreich aktualisiert!","languages":"Sprachen","last_Name":"Nachname","last_login":"Letzter Login:","last_updated":"Zuletzt aktualisiert:","leaf":"Unterkategorie","leaf_assortment_description":"Kann als Unterelement eines anderen Sortiments zugewiesen werden","length_millimeter":"L\xe4nge (Millimeter)","link_reorder":"Link erfolgreich neu geordnet","linked_assortment":"Verkn\xfcpftes Sortiment","links":"Links","list_product_tool_definition":"Zeige alle Entwurfsprodukte","load-more-reviews":"Bewertungen laden","load_more":"Mehr laden","loading":"L\xe4dt...","loading_media":"Medien werden geladen...","log_in":"Anmelden","log_out":"Abmelden","login_date_range":"Zuletzt angemeldet","login_header":"Anmelden zu Ihrem Konto","make-proposal-header":"Angebotserstellung","make_leaf":"Zu Blatt machen","make_root":"Zu Wurzel machen","male":"M\xe4nnlich","manage":"Verwalten","mark_as_base":"Als Hauptkategorie markieren","mark_as_delivered":"Als geliefert markieren","mark_as_delivered_message":"Dies \xe4ndert den Lieferstatus der Bestellung auf geliefert","mark_as_delivered_question":"Als geliefert markieren?","mark_as_paid":"Als bezahlt markieren","mark_as_paid_question":"Als bezahlt markieren?","mark_as_paid_question_header":"Als bezahlt markieren?","max_quantity":"Maximale Menge","media":"Medien","media_add_tool_definition":"Mediendateien hinzuf\xfcgen","media_management_tool_definition":"Mediendateien verwalten","media_remover_tool_definition":"Mediendateien entfernen","media_subtitle":"Subtitle:","media_title":"Title:","media_updated":"Medien aktualisiert","message":"Nachricht","method":"Methode","mobile_phone":"Mobiltelefon","name":"Name","net_price":"Nettopreis","new_assortment_header":"Neues Sortiment","new_country_header":"Neues Land","new_currency_header":"Neue W\xe4hrung","new_delivery_provider":"Neuer Lieferung","new_filter_header":"Neuer Filter","new_language_header":"Neue Sprache","new_password":"Neues Passwort","new_payment_provider_header":"Neue Zahlungsintegration","new_product_header":"Neues Produkt","new_user_header":"Neuer Benutzer","new_warehousing_provider_header":"Neue Lagerintegration","next":"Weiter","no_assortments_found":"Keine passenden Sortimente gefunden","no_data_message":"<p>Keine <span> {message} verf\xfcgbar</span> </p>","no_internet_access":"Keine Internetverbindung","no_order_products_description":"Sobald Sie Ihre ersten Bestellungen erhalten, erscheinen hier Ihre meistverkauften Produkte.","no_orders_description":"Sobald Sie Ihre ersten Bestellungen erhalten, erscheinen hier Ihre meistverkauften Produkte.","no_orders_title":"Noch keine Bestellungen","no_payload":"Payload","no_result_found":"Kein Ergebnis gefunden","no_tag":"Kein Tag","no_variations_configured":"Noch keine Variationen konfiguriert. Bitte f\xfcgen Sie zuerst Variationen und deren Optionen im Variationen-Tab hinzu.","non_taxable":"Nicht steuerpflichtig","not-applicable":"Nicht zutreffend","not_access_message":"Sie haben nicht die erforderliche Berechtigung, um auf diese Seite zuzugreifen.","not_base":"Als Hauptkategorie markieren","not_found_message":"Die Seite, die Sie suchen, wurde nicht gefunden.","not_published":"Nicht ver\xf6ffentlicht","offline_help_message":"Bitte \xfcberpr\xfcfen Sie Ihre Verbindung und versuchen Sie es erneut","offline_mode":"Sie sind offline","ok":"OK","open":"Offen","open_sidebar":"Seitenleiste \xf6ffnen","option":"Option","options":"Optionen","or_drag_and_drop":"oder per Drag & Drop","or_manually_enter_address":"Oder Adresse manuell eingeben","order":"Bestellung","order__marked_delivered":"Bestellung erfolgreich als geliefert markiert","order_confirmed_success":"Bestellung erfolgreich best\xe4tigt","order_count_header":"{count} Bestellungen","order_date":"Bestelldatum","order_deleted":"Bestellung erfolgreich gel\xf6scht","order_header":"1 Bestellung","order_id":"Bestellung","order_number":"Bestellung #","order_page_title":"{count, plural, one {# Bestellung} other {# Bestellungen}}","order_paid":"Bestellung erfolgreich bezahlt","order_payment_fees":"Bestellgeb\xfchren","order_placed":"Bestellung aufgegeben","order_reject_success":"Bestellung erfolgreich abgelehnt","order_total":"Bestellsumme","orders":"Bestellungen","original_work_id":"Original Arbeits-ID","overall_progress":"Gesamtfortschritt","page_not_found":"Page not found.","paginated-data":"<p> Zeige <span>{from}</span> bis <span>{to}</span> von <span>{total}</span> Ergebnissen </p>","paid":"Bezahlt","password":"Passwort","password_change_failed":"Password change failed, try again later","password_changed_success":"Passwort erfolgreich ge\xe4ndert.","password_identical":"Das angegebene neue Passwort ist identisch mit dem vorherigen Passwort","password_insecure":"Passwort ist ung\xfcltig, m\xf6glicherweise zu unsicher","password_mismatch":"Password fields don\'t match","password_success":"Passwort erfolgreich ge\xe4ndert.","pay":"Als bezahlt markieren","payload":"Payload","payment":"Zahlung","payment_credentials":"Zahlungsanmeldedaten","payment_detail_title":"Zahlungsintegration {id}","payment_processing":"Zahlungsabwicklung","payment_processing_config_description":"Rechnungs-Zahlungsanbieter ist bereits konfiguriert","payment_provider":"Zahlungsintegration","payment_provider_deleted":"Zahlungsintegration erfolgreich gel\xf6scht","payment_providers":"Zahlungsintegrationen","pending":"Ausstehend","periods":"Zeitr\xe4ume","permission_missing":"Berechtigung fehlt","photo":"Foto","plan_product_definition":"<h3>Abonnement</h3> <p>Das Abonnement-Produkt wird verwendet, wenn Sie ein Produkt auf Abonnementbasis anbieten. Da die Zahlung f\xfcr diesen Produkttyp normalerweise wiederkehrend ist, k\xf6nnen Sie das Intervall der Zahlungsberechnung anpassen.</p>","postal_code":"Postal/ZIP code","preferred":"Bevorzugt","preview":"Vorschau","previous":"Zur\xfcck","price":"Preis","price_range":"Preisspanne","priority":"Priorit\xe4t","process-quotation-submit":"Als verarbeitet markieren","product":"Product","product-image":"Produktbild","product-scaffolded-success":"Produkt erfolgreich ger\xfcstet","product_added":"Produkt erfolgreich hinzugef\xfcgt!","product_assignments_explanation_text":"Produktzuweisungen erm\xf6glichen es Ihnen, spezifische Produkte mit jeder einzigartigen Kombination von Variationsoptionen zu verkn\xfcpfen. Zum Beispiel, wenn Sie ein T-Shirt mit \'Gr\xf6sse\' und \'Farbe\' Variationen haben, k\xf6nnen Sie verschiedene Produkt-SKUs zu jeder Kombination wie \'Gross + Rot\' oder \'Klein + Blau\' zuweisen. Dies ist n\xfctzlich f\xfcr die Verwaltung von Lagerbestand, Preisgestaltung und Produktdetails f\xfcr jede spezifische Variante.","product_assignments_explanation_title":"\xdcber Produktzuweisungen","product_commerce_info":"Eine Preisliste sollte ein leeres Feld f\xfcr die maximale Menge haben und kein Preis sollte die gleiche maximale Menge zusammen mit der angegebenen W\xe4hrung und dem Land haben","product_creation_failed":"Produkterstellung fehlgeschlagen","product_delete_blocked_action":"Bitte trennen Sie die Verkn\xfcpfung, bevor Sie versuchen, es zu l\xf6schen.","product_delete_blocked_header":"Links vor dem L\xf6schen entfernen","product_delete_blocked_intro":"Dieses Produkt ist mit den folgenden Produkttypen verkn\xfcpft:","product_deleted":"Produkt erfolgreich gel\xf6scht","product_deleted_notice":"Dieses Produkt wurde gel\xf6scht und ist nicht mehr aktiv. Einige Aktionen sind m\xf6glicherweise eingeschr\xe4nkt.","product_deleted_success":"Produkt erfolgreich gel\xf6scht","product_drafted":"Erfolgreich als Entwurf gespeichert","product_import.validation.invalid_type":"Ung\xfcltiger Produkttyp: {type}","product_import.validation.title_required":"Titel ist erforderlich","product_load_error":"Produkt konnte nicht geladen werden","product_media":"Produktmedien","product_media_deleted":"Medien erfolgreich gel\xf6scht","product_media_upload":"Medien erfolgreich hochgeladen","product_page_title":"{count, plural, one {# Produkt} other {# Produkte}}","product_publish_error":"Produkt konnte nicht ver\xf6ffentlicht werden","product_published":"Erfolgreich ver\xf6ffentlicht","product_quantity":"Quantity","product_review_added":"Bewertung erfolgreich hinzugef\xfcgt!","product_review_updated":"Bewertung erfolgreich aktualisiert!","product_subscription_form_description":"<ul><li>Informationen, die zur Berechnung des Preises eines abonnementbasierten Produkts verwendet werden</li><li>Der im Commerce-Bereich angegebene Preis wird zur Berechnung der Geb\xfchren f\xfcr jedes Intervall verwendet.</li><li>Der Preis wird w\xe4hrend des angegebenen Testzeitraums nicht berechnet</li></ul>","product_text_form_description":"<ul> <li><strong>Slug:</strong> Der einzigartige Teil Ihrer Produkt-URL (z.B. \'mein-tolles-produkt\'). Halten Sie ihn kurz und aussagekr\xe4ftig.</li> <li><strong>Lokalisierung:</strong> Wechseln Sie die Sprachen \xfcber das Sprach-Toggle unten links, um Inhalte f\xfcr verschiedene M\xe4rkte zu \xfcbersetzen.</li> <li><strong>Beschreibung:</strong> Unterst\xfctzt Markdown- und HTML-Formatierung. Verwenden Sie doppelte Backslashes (\\\\\\\\) f\xfcr Zeilenumbr\xfcche.</li> <li><strong>Labels:</strong> Auff\xe4llige Badges, die auf Ihrem Produkt erscheinen (z.B. \'Neuheit\', \'50% Rabatt\', \'Limitierte Auflage\'). Perfekt f\xfcr Aktionen und besondere Merkmale. Jede Sprache kann einzigartige Labels haben.</li> <li><strong>Wichtiger Unterschied:</strong> Labels sind kundenorientierte Werbe-Badges, w\xe4hrend Tags interne Schl\xfcsselw\xf6rter f\xfcr Organisation und Filterung sind.</li> </ul>","product_title":"Product","product_type":"Produkttyp","product_unpublish_error":"Produkt konnte nicht zur\xfcckgezogen werden","product_variation_added":"Produktvariation erfolgreich hinzugef\xfcgt","product_variation_deleted":"Variation erfolgreich gel\xf6scht","product_variation_key_help":"Eindeutige Kennung f\xfcr interne Verwendung (z.B. \\"farbe\\", \\"groesse\\"). Verwenden Sie Kleinbuchstaben ohne Leerzeichen.","product_variation_option_deleted":"Variationsoption erfolgreich gel\xf6scht","product_variation_title_help":"Der Anzeigename, den Kunden sehen werden (z.B. \\"Farbe\\", \\"Gr\xf6sse\\", \\"Material\\")","product_variations_explanation":"Variationen erm\xf6glichen es Kunden, verschiedene Optionen f\xfcr Ihr Produkt zu w\xe4hlen (wie Farbe, Gr\xf6sse, Material). Jede Variation kann mehrere Optionen haben, aus denen Kunden w\xe4hlen k\xf6nnen.","product_variations_explanation_title":"\xdcber Produktvariationen","products":"Produkte","products_config_description":"Erstellen Sie Ihre ersten Produkte","products_count":"Produkte","products_count_header":"{count} Produkte","products_data_unavailable":"Produktdaten nicht verf\xfcgbar","products_found":"{count} Produkte gefunden","products_header":"1 Produkt","products_not_found":"Keine {status} Produkte in diesen Ergebnissen gefunden","profile":"Profil","profile_notice":"Diese Informationen werden \xf6ffentlich angezeigt, seien Sie also vorsichtig, was Sie weitergeben.","profile_updated":"Profil erfolgreich aktualisiert!","provider_created_success":"Anbieter erfolgreich erstellt!","publish_product_description":"Produkt wird sichtbar sein und kann bestellt werden","publish_product_tool_definition":"Produkt XYZ456 ver\xf6ffentlichen","published":"Ver\xf6ffentlicht","quantity":"Quantity","quotation":"quotation","quotation-context-input-label":"Angebotskontext","quotation-quoted-successfully":"Erfolgreich angeboten","quotation-rejection-successfully":"Angebot erfolgreich abgelehnt","quotation-verified-successfully":"Angebot erfolgreich verifiziert","quotation_count_header":"{count} Angebote","quotation_detail":"Angebotsdetails","quotation_detail_title":"Angebot Details","quotation_header":"1 Angebot","quotation_number":"Quotation number","quotation_page_title":"{count, plural, one {# Angebot} other {# Angebote}}","quotation_updated":"Angebot erfolgreich aktualisiert","quotations":"Angebotsanfragen","recent_reviews":"Neueste Bewertungen","region":"Region","region_Code":"Region","register-with-web3":"Registrieren","reject-quotation-quotation":"Angebot ablehnen?","reject-quotation-submit":"Ablehnen","reject_order":"Reject order","reject_order_alert_button":"Reject","reject_order_alert_header":"Reject order?","rejected":"Abgelehnt","remove_product_media_tool_definition":"Produktmedien entfernen","reorder_original":"An urspr\xfcngliche Position zur\xfcckordern","report-submit":"Absenden","request_new_reset_link":"Neuen Reset-Link anfordern","request_new_verification":"Neue Verifizierung anfordern","requested":"Angefordert","required-role-not-satisfied":"Das aktuelle Konto hat keinen Zugang, bitte melden Sie sich mit einem Konto an, das die erforderliche Rolle hat. Wenden Sie sich f\xfcr weitere Informationen an den Systemadministrator","required_steps_note":"Erforderlich f\xfcr grundlegende Shop-Funktionalit\xe4t","reset_link_sent":"Password reset link sent to {email}","reset_password":"Passwort zur\xfccksetzen","reset_password_header_description":"Gib dein neues Passwort ein und stelle sicher, dass du es diesmal nicht vergisst.","reset_token_error":"Reset-Token-Fehler","reset_token_expired":"Das Reset-Token ist abgelaufen.","reset_token_invalid_warning":"Das Reset-Token ist entweder ung\xfcltig oder abgelaufen. Bitte verwenden Sie den letzten Reset-Link aus Ihrer E-Mail oder starten Sie den Vorgang erneut unter {link}","resolved_country":"Aufgel\xf6stes Land","resolved_language":"Aufgel\xf6ste Sprache","rest_password":"Passwort zur\xfccksetzen","result":"Result","retries":"Retries","retry":"Wiederholen","retry-work":"Wiederholen","review":"Bewertung","review_data":"Bewertungsdaten","review_deleted":"Bewertung {reviewId} erfolgreich gel\xf6scht","review_placeholder":"Teilen Sie Ihre Meinung zu diesem Produkt...","review_summary":"<div> Basiert auf <cta> {total} </cta> Bewertungen</div>","reviews":"Bewertungen","role_updated":"Rolle erfolgreich aktualisiert!","roles":"Roles","root":"Root","root_assortment":"Root","root_assortment_description":"Kann nicht als Unterkategorie eines anderen Sortiments zugewiesen werden","root_assortments_count":"{count} Hauptsortimente gefunden","root_description":"Dies macht das Sortiment zu einer Kategorie der obersten Ebene","root_node":"Root node","save":"Speichern","saved":"Gespeichert","say_hi_get_to_know_me":"Sagen Sie Hallo und lernen Sie mich kennen","scaffold_product":"Ger\xfcst","scheduled":"Geplant","search":"Suchen","search_product":"Search product","select_language":"Sprache ausw\xe4hlen","select_options_toggle":"\xc4ndere {type} Status","select_role":"Rolle ausw\xe4hlen","select_tab":"Tab ausw\xe4hlen","select_type":"Typ ausw\xe4hlen","select_valid_csv_error":"Bitte w\xe4hlen Sie eine g\xfcltige CSV-Datei aus.","send__enrollment_email_button":"Anmeldungs-E-Mail senden","send_activation_email_confirm":"Sind Sie sicher, dass Sie die E-Mail senden m\xf6chten?","send_activation_email_header":"E-Mail senden.","send_button":"Senden","send_email_button":"E-Mail senden","send_reset_link":"Passwort-Zur\xfccksetzungslink senden","send_verification_mail":"Send verification mail","sequence":"Anzeigereihenfolge","set_password":"Passwort festlegen","setup_complete":"Abgeschlossen","setup_now":"Jetzt einrichten","shipping":"Versand","shipping_method":"Versand","shop_info":"Shop-Info","shop_info_tool_definition":"Shop-Konfiguration anzeigen","shop_setup_complete":"Shop-Einrichtung abgeschlossen!","shop_setup_complete_description":"Herzlichen Gl\xfcckwunsch! Ihr Shop ist vollst\xe4ndig konfiguriert und bereit, Bestellungen anzunehmen.","shop_setup_description":"Folgen Sie diesen Schritten, um Ihren Shop zu konfigurieren und mit dem Verkauf zu beginnen.","shortcuts":"Shortcuts","show_all_products":"Alle Produkte anzeigen","show_available_tools":"Verf\xfcgbare Tools anzeigen","show_carts":"Warenk\xf6rbe anzeigen","show_error_details":"Fehlerdetails anzeigen","show_full_response":"Vollst\xe4ndige Antwort anzeigen","show_guests":"G\xe4ste anzeigen","show_inactive":"Inaktive anzeigen","show_less":"Weniger anzeigen","sign_address_header":"Adresse signieren","sign_up":"Registrieren","sign_up_header":"Registrieren Sie sich f\xfcr ein Konto","signature_hash":"Signatur-Hash","signature_not_match_error":"Signatur stimmt nicht \xfcberein","simple_product_definition":"<h3>Einfach</h3> <p>Das einfache Produkt ist der am h\xe4ufigsten verwendete Produkttyp. Es akzeptiert Konfigurationswerte f\xfcr Preis, Abmessungen und Lagerung. Die meisten E-Commerce-Produktanforderungen werden durch diesen Typ erf\xfcllt.</p>","sku":"Artikelnummer","slug":"Slug","star_reviews":"Sterne-Bewertungen","start":"Start","start_date":"Startdatum","started":"Gestartet","status":"Status","submit":"Absenden","subscription":"Abonnement","subscription_message":"Abonnement","subscription_product_type_not_valid":"Der Status des Produkts erlaubt diese Operation nicht","subscriptions":"Abonnemente","subtitle":"Untertitel","subtotal":"Zwischensumme","success_message":"Abonnement erfolgreich aktiviert.","supply":"Lieferdaten","system":"System","system_information":"Systeminformationen","table_actions_menu":"Aktionsmen\xfc","tags":"Tags","tags_updated":"Tags erfolgreich aktualisiert","tax":"Steuer","taxable":"Steuerpflichtig","terminate_enrollment":"Anmeldung beenden","terminate_enrollment_confirmation":"Sind Sie sicher, dass Sie dieses Abonnement beenden m\xf6chten?","terminate_enrollment_error":"Fehler beim Senden der Abonnement-Aktivierungs-E-Mail, bitte versuchen Sie es erneut","terminate_enrollment_success":"Abonnement {enrollmentId} erfolgreich beendet","terminate_subscription":"Abonnement beenden","text":"Text","texts":"Texte","thank_you_for_verifying":"Danke, dass Sie Ihre E-Mail-Adresse verifiziert haben!","tiered_pricing":"Gestaffelte Preise","time":"Zeit","title":"Titel","title_not_found":"Titel nicht gefunden","to":"Bis","token":"Token","token-id":"Token-ID","token-id-label":"Token-ID","token-supply":"Vorrat","token_count_header":"{count} Token","token_header":"1 Token","token_invalid_expired":"Token ung\xfcltig/abgelaufen","token_invalidation_date":"Ung\xfcltig gemacht","token_page_title":"{count, plural, one {# Token} other {# Token}}","token_updated":"Token erfolgreich aktualisiert!","tokenized_product_text_form_description":"<b>Vertragsstandards</b> <ol> <dt><b>ERC721</b></dt> <dd>Der Kauf mehrerer Produkte f\xfchrt zu mehreren Token (stellen Sie sicher, dass Sie die tokenId auf 0 setzen, um automatisch neue IDs zu generieren)</dd> <dt><b>ERC1155</b></dt> <dd>Der Kauf mehrerer Produkte f\xfchrt zu einem neuen Token mit Guthaben 3 des Tokens mit zugewiesener tokenId</dd> <dt><b>Vertragsadresse</b></dt> <dd>Adresse eines Tokens in einem bestimmten Netzwerk</dd> </ol>","tokens":"Token","tool_fetch_failed_error":"Verf\xfcgbare Tools konnten nicht geladen werden","tool_response":"Tool-Antwort","top_selling_products":"Meistverkaufte Produkte","total":"Total","total_orders":"Bestellungen","total_records":"{total} Datens\xe4tze gefunden","total_sales":"Gesamtumsatz","trial":"Testversion","trial_interval_unit":"Testintervall-Einheit","trial_unit":"Testeinheit","try_again":"Erneut versuchen","type":"Type","type_colon":"Type:","unauthorized_page":"verboten","unchained_logo":"Unchained Logo","unpublish_product_tool_definition":"Winterkollektion zur\xfcckziehen","untitled_assortment":"Unbenanntes Sortiment","unverified":"Nicht verifiziert","update":"Aktualisieren","update_configuration":"Konfiguration aktualisieren","update_country":"Land aktualisieren","update_currency":"W\xe4hrung aktualisieren","update_delivery_configuration":"Lieferkonfiguration aktualisieren","update_filter":"Update filter","update_language":"Sprache aktualisieren","update_payment_provider_header":"Zahlungsintegration aktualisieren","update_profile":"Profil aktualisieren","update_review":"Bewertung aktualisieren","update_role":"Update role","update_token":"Token aktualisieren","update_warehousing_provider_header":"Lagerintegration aktualisieren","updated":"Aktualisiert","upload":"Upload","upload_file":"Datei hochladen","usage_calculation_type":"Verwendungstyp","use-another-account":"Anderes Konto verwenden","use_another_verification_token":"Bitte nochmals versuchen, einen Verifizierungscode zu senden","use_authenticator":"Authenticator verwenden","use_latest_reset_link":"Bitte verwenden Sie den neuesten Reset-Link aus Ihrer E-Mail oder fordern Sie einen neuen an","use_latest_verification_link":"Bitte verwenden Sie den neuesten Verifizierungslink aus Ihrer E-Mail","user":"User","user-activities":"Aktivit\xe4t","user_avatar":"Benutzer-Avatar","user_count_header":"{count} Benutzer","user_deleted":"Benutzer erfolgreich gel\xf6scht","user_detail_title":"Benutzer Details","user_header":"1 Benutzer","user_page_title":"{count, plural, one {# Benutzer} other {# Benutzer}}","user_password_not_set":"Benutzerpasswort nicht festgelegt","user_profile_created":"Benutzerprofil erfolgreich erstellt!","username":"Benutzername","username_exists_error":"Der Benutzername ist vergeben. Bitte geben Sie einen anderen ein.","username_or_email":"Benutzername/E-Mail","username_or_email_taken":"Benutzername vergeben, bitte geben Sie einen anderen Benutzernamen an","username_updated":"Benutzername erfolgreich aktualisiert!","users":"Benutzer","users_setting_list_header":"Benutzereinstellungen","valid":"G\xfcltig","value":"Wert","variation_id":"Variations-ID","variation_option":"Variationsoption","variation_option_added":"Variationsoption erfolgreich hinzugef\xfcgt!","variation_option_title_help":"Anzeigename, den Kunden sehen (z.B. \\"Rot\\", \\"Gross\\", \\"Baumwolle\\")","variation_option_updated":"Variationsoption erfolgreich aktualisiert!","variation_option_value_help":"Interne Kennung (z.B. \\"rot\\", \\"gross\\", \\"baumwolle\\")","variation_options_explanation":"F\xfcgen Sie einzelne Auswahlm\xf6glichkeiten f\xfcr diese Variation hinzu (z.B. \\"Rot\\", \\"Blau\\", \\"Gr\xfcn\\" f\xfcr eine Farbvariation)","variations":"Variationen","vat_suspect":"MwSt.-pflichtig","vendor":"Anbieter","verification_failed":"Verifizierung fehlgeschlagen","verification_failed_status":"Verifizierung fehlgeschlagen","verification_sent_error":"Fehler beim Senden der Verifizierungs-E-Mail, bitte versuchen Sie es erneut","verification_sent_success":"Verifizierungs-E-Mail erfolgreich gesendet","verification_successful":"Verifizierung erfolgreich","verification_token_expired":"Verification token abgelaufen","verification_web3_address":"Verifizieren","verified":"Verifiziert","verify-quotation-quotation":"Angebot verifizieren?","verify-quotation-submit":"Verifizieren","verify_email_token_invalid_error":"Das E-Mail-Verifizierungs-Token ist entweder ung\xfcltig oder abgelaufen. Bitte verwenden Sie den letzten Reset-Link aus Ihrer E-Mail oder starten Sie den Vorgang erneut unter {link}","version":"Version","wallet-address":"Wallet {walletAddress}","warehouse_detail_title":"Lager {id}","warehousing":"Lagerung","warehousing_provider":"Lagerintegrationen","warehousing_provider_deleted":"Lagerintegration erfolgreich gel\xf6scht","warning":"Warnung!","web3_address":"Web3-Adresse","web3_address_added":"Adresse erfolgreich hinzugef\xfcgt!","web3_address_deleted":"Adresse erfolgreich gel\xf6scht","web3_address_signature_instruction":"<p>Kopieren Sie die folgende Nonce <b>({nonce})</b> und f\xfcgen Sie die Signatur in das unten bereitgestellte Feld ein</p>","web3_address_verify_link":"<p>Gehen Sie zu <a>etherscan</a>, um die Adresse zu verifizieren</p>","web3_addresses":"Web3-Adressen","web3_verified_success":"Adresse erfolgreich verifiziert!","web_auth_credential_removed":"Berechtigung erfolgreich entfernt","web_auth_icon":"Auth-Symbol","web_auth_username_required":"Ein Benutzername ist erforderlich, um WebAuthn zu verwenden","web_authentication":"Web-Authentifizierung","weight_gram":"Gewicht (Gramm)","welcome_user":"Willkommen zur\xfcck, {name}\\\\!","width":"Breite (Millimeter)","with_children":"Mit Kindern","work_added_success":"Arbeit erfolgreich hinzugef\xfcgt!","work_allocated_success":"Arbeit erfolgreich zugewiesen!","work_count_header":"{count} Arbeitselemente","work_created":"Erstellt","work_deleted":"Arbeit {workId} erfolgreich gel\xf6scht","work_detail":"Arbeitsdetails","work_detail_title":"Arbeitsdetails {id}","work_finished":"Beendet","work_header":"1 Arbeitselement","work_management_setting_list_header":"Arbeitsverwaltungseinstellungen","work_original":"Originalarbeit","work_page_title":"{count, plural, one {# Arbeitselement} other {# Arbeitselemente}}","work_priority":"Priorit\xe4t","work_queue":"Job-Queue","work_queue_header":"Arbeitsqueue","work_queue_problem_detected":"Probleme in der Arbeitswarteschlange erkannt","work_retries":"Wiederholungen","work_scheduled":"Geplant","work_started":"Gestartet","work_status":"Work Status","work_type":"Work Typ","work_type_header":"Typ","worker":"Arbeiter","worker_dynamic":"{worker}","write_review":"Bewertung schreiben","complete_system_setup":"Setup abschlie\xdfen"}')},y=e=>{var t;let r=(null==e||null==(t=e.split("-"))?void 0:t.shift())||"de";return({..._})[r]};r(69368),r(72539);var v=r(83933),b=r(37154),w=r(74769),E=r(53279),k=r(56186);function T(e,t){return Object.keys(e).reduce(function(r,n){return r[n]=(0,o.__assign)({timeZone:t},e[n]),r},{})}function S(e,t){return Object.keys((0,o.__assign)((0,o.__assign)({},e),t)).reduce(function(r,n){return r[n]=(0,o.__assign)((0,o.__assign)({},e[n]||{}),t[n]||{}),r},{})}function x(e,t){if(!t)return e;var r=E.S.formats;return(0,o.__assign)((0,o.__assign)((0,o.__assign)({},r),e),{date:S(T(r.date,t),T(e.date||{},t)),time:S(T(r.time,t),T(e.time||{},t))})}var A=function(e,t,r,n,i){var a=e.locale,s=e.formats,l=e.messages,u=e.defaultLocale,c=e.defaultFormats,d=e.fallbackOnEmptyString,f=e.onError,h=e.timeZone,p=e.defaultRichTextElements;void 0===r&&(r={id:""});var g=r.id,m=r.defaultMessage;(0,v.V1)(!!g,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var _=String(g),y=l&&Object.prototype.hasOwnProperty.call(l,_)&&l[_];if(Array.isArray(y)&&1===y.length&&y[0].type===w.ZE.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!p)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=(0,o.__assign)((0,o.__assign)({},p),n||{}),s=x(s,h),c=x(c,h),!y){if(!1===d&&""===y)return y;if((!m||a&&a.toLowerCase()!==u.toLowerCase())&&f(new k.sb(r,a)),m)try{var b=t.getMessageFormat(m,u,c,i);return b.format(n)}catch(e){return f(new k.Ho('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),a,r,e)),"string"==typeof m?m:_}return _}try{var b=t.getMessageFormat(y,a,s,(0,o.__assign)({formatters:t},i||{}));return b.format(n)}catch(e){f(new k.Ho('Error formatting message: "'.concat(_,'", using ').concat(m?"default message":"id"," as fallback."),a,r,e))}if(m)try{var b=t.getMessageFormat(m,u,c,i);return b.format(n)}catch(e){f(new k.Ho('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),a,r,e))}return"string"==typeof y?y:"string"==typeof m?m:_},I=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function D(e,t,r,n){var i=e.locale,a=e.formats,s=e.onError,l=e.timeZone;void 0===n&&(n={});var u=n.format,c=(0,o.__assign)((0,o.__assign)({},l&&{timeZone:l}),u&&(0,v.F3)(a,t,u,s)),d=(0,v.J9)(n,I,c);return"time"!==t||d.hour||d.minute||d.second||d.timeStyle||d.dateStyle||(d=(0,o.__assign)((0,o.__assign)({},d),{hour:"numeric",minute:"numeric"})),r(i,d)}function C(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return D(e,"date",t,void 0===o?{}:o).format(a)}catch(t){e.onError(new k.pg("Error formatting date.",e.locale,t))}return String(a)}function O(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return D(e,"time",t,void 0===o?{}:o).format(a)}catch(t){e.onError(new k.pg("Error formatting time.",e.locale,t))}return String(a)}function N(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a=r[2],s="string"==typeof i?new Date(i||0):i,l="string"==typeof o?new Date(o||0):o;try{return D(e,"dateTimeRange",t,void 0===a?{}:a).formatRange(s,l)}catch(t){e.onError(new k.pg("Error formatting date time range.",e.locale,t))}return String(s)}function P(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return D(e,"date",t,void 0===o?{}:o).formatToParts(a)}catch(t){e.onError(new k.pg("Error formatting date.",e.locale,t))}return[]}function L(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],o=r[1],a="string"==typeof i?new Date(i||0):i;try{return D(e,"time",t,void 0===o?{}:o).formatToParts(a)}catch(t){e.onError(new k.pg("Error formatting time.",e.locale,t))}return[]}var M=r(26382),R=["style","type","fallback","languageDisplay"];function F(e,t,r,n){var i=e.locale,o=e.onError;Intl.DisplayNames||o(new M.IF('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',M.O4.MISSING_INTL_API));var a=(0,v.J9)(n,R);try{return t(i,a).of(r)}catch(e){o(new k.pg("Error formatting display name.",i,e))}}var j=["type","style"],B=Date.now();function U(e,t,r,n){void 0===n&&(n={});var i=z(e,t,r,n).reduce(function(e,t){var r=t.value;return"string"!=typeof r?e.push(r):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]);return 1===i.length?i[0]:0===i.length?"":i}function z(e,t,r,n){var i=e.locale,a=e.onError;void 0===n&&(n={}),Intl.ListFormat||a(new M.IF('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',M.O4.MISSING_INTL_API));var s=(0,v.J9)(n,j);try{var l={},u=r.map(function(e,t){if("object"==typeof e){var r="".concat(B,"_").concat(t,"_").concat(B);return l[r]=e,r}return String(e)});return t(i,s).formatToParts(u).map(function(e){return"literal"===e.type?e:(0,o.__assign)((0,o.__assign)({},e),{value:l[e.value]||e.value})})}catch(e){a(new k.pg("Error formatting list.",i,e))}return r}var V=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function q(e,t,r){var n=e.locale,i=e.formats,o=e.onError;void 0===r&&(r={});var a=r.format,s=a&&(0,v.F3)(i,"number",a,o)||{};return t(n,(0,v.J9)(r,V,s))}function H(e,t,r,n){void 0===n&&(n={});try{return q(e,t,n).format(r)}catch(t){e.onError(new k.pg("Error formatting number.",e.locale,t))}return String(r)}function G(e,t,r,n){void 0===n&&(n={});try{return q(e,t,n).formatToParts(r)}catch(t){e.onError(new k.pg("Error formatting number.",e.locale,t))}return[]}var W=["type"];function K(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.PluralRules||o(new M.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',M.O4.MISSING_INTL_API));var a=(0,v.J9)(n,W);try{return t(i,a).select(r)}catch(e){o(new k.pg("Error formatting plural.",i,e))}return"other"}var Q=["numeric","style"];function Z(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new M.IF('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',M.O4.MISSING_INTL_API));try{var o,a,s,l,u,c;return(o=i,a=e.locale,s=e.formats,l=e.onError,void 0===o&&(o={}),c=!!(u=o.format)&&(0,v.F3)(s,"relative",u,l)||{},t(a,(0,v.J9)(o,Q,c))).format(r,n)}catch(t){e.onError(new k.pg("Error formatting relative time.",e.locale,t))}return String(r)}var $=r(10143);function Y(e){return e?Object.keys(e).reduce(function(t,r){var n=e[r];return t[r]=(0,$.RK)(n)?(0,b.yU)(n):n,t},{}):e}var J=function(e,t,r,n){for(var i=[],a=4;a<arguments.length;a++)i[a-4]=arguments[a];var s=Y(n),l=A.apply(void 0,(0,o.__spreadArray)([e,t,r,s],i,!1));return Array.isArray(l)?(0,b.SP)(l):l},X=function(e,t){var r,n,i,a,s,l,u,c=e.defaultRichTextElements,d=(0,o.__rest)(e,["defaultRichTextElements"]),f=Y(c),h=(r=(0,o.__assign)((0,o.__assign)((0,o.__assign)({},b.JF),d),{defaultRichTextElements:f}),n=(0,v.GT)(t),a=(i=(0,o.__assign)((0,o.__assign)({},v.JF),r)).locale,s=i.defaultLocale,l=i.onError,a?!Intl.NumberFormat.supportedLocalesOf(a).length&&l?l(new k.hr('Missing locale data for locale: "'.concat(a,'" in Intl.NumberFormat. Using default locale: "').concat(s,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(a).length&&l&&l(new k.hr('Missing locale data for locale: "'.concat(a,'" in Intl.DateTimeFormat. Using default locale: "').concat(s,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(l&&l(new k.uo('"locale" was not configured, using "'.concat(s,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),i.locale=i.defaultLocale||"en"),i.onWarn&&i.defaultRichTextElements&&"string"==typeof(u=i.messages||{})[Object.keys(u)[0]]&&i.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution'),(0,o.__assign)((0,o.__assign)({},i),{formatters:n,formatNumber:H.bind(null,i,n.getNumberFormat),formatNumberToParts:G.bind(null,i,n.getNumberFormat),formatRelativeTime:Z.bind(null,i,n.getRelativeTimeFormat),formatDate:C.bind(null,i,n.getDateTimeFormat),formatDateToParts:P.bind(null,i,n.getDateTimeFormat),formatTime:O.bind(null,i,n.getDateTimeFormat),formatDateTimeRange:N.bind(null,i,n.getDateTimeFormat),formatTimeToParts:L.bind(null,i,n.getDateTimeFormat),formatPlural:K.bind(null,i,n.getPluralRules),formatMessage:A.bind(null,i,n),$t:A.bind(null,i,n),formatList:U.bind(null,i,n.getListFormat),formatListToParts:z.bind(null,i,n.getListFormat),formatDisplayName:F.bind(null,i,n.getDisplayNames)})),p={locale:h.locale,timeZone:h.timeZone,fallbackOnEmptyString:h.fallbackOnEmptyString,formats:h.formats,defaultLocale:h.defaultLocale,defaultFormats:h.defaultFormats,messages:h.messages,onError:h.onError,defaultRichTextElements:f};return(0,o.__assign)((0,o.__assign)({},h),{formatMessage:J.bind(null,p,h.formatters),$t:J.bind(null,p,h.formatters)})},ee=r(7672);function et(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var er=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cache=(0,v.MT)(),t.state={cache:t.cache,intl:X(et(t.props),t.cache),prevConfig:et(t.props)},t}return(0,o.__extends)(t,e),t.getDerivedStateFromProps=function(e,t){var r=t.prevConfig,n=t.cache,i=et(e);return(0,b.bN)(r,i)?null:{intl:X(i,n),prevConfig:i}},t.prototype.render=function(){return(0,b.HM)(this.state.intl),p.createElement(ee.Kq,{value:this.state.intl},this.props.children)},t.displayName="IntlProvider",t.defaultProps=b.JF,t}(p.PureComponent),en=r(6014);let ei=e=>{let{children:t,locale:r,messages:n}=e,[o,a]=(0,p.useState)(r),[s,l]=(0,p.useState)(n),[u]=(0,en.A)("preferred-language",o);return(0,p.useEffect)(()=>{u&&(a(u),l(y(u)))},[o]),(0,i.jsx)(er,{onError:()=>{},locale:o,messages:s,textComponent:"span",children:t})},eo=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 21v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21m0 0h4.5V3.545M12.75 21h7.5V10.75M2.25 21h1.5m18 0h-18M2.25 9l4.5-1.636M18.75 3l-1.5.545m0 6.205 3 1m1.5.5-1.5-.5M6.75 7.364V3h-3v18m3-13.636 10.5-3.819"}))});var ea=r(15233);let es=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m7.875 14.25 1.214 1.942a2.25 2.25 0 0 0 1.908 1.058h2.006c.776 0 1.497-.4 1.908-1.058l1.214-1.942M2.41 9h4.636a2.25 2.25 0 0 1 1.872 1.002l.164.246a2.25 2.25 0 0 0 1.872 1.002h2.092a2.25 2.25 0 0 0 1.872-1.002l.164-.246A2.25 2.25 0 0 1 16.954 9h4.636M2.41 9a2.25 2.25 0 0 0-.16.832V12a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 12V9.832c0-.287-.055-.57-.16-.832M2.41 9a2.25 2.25 0 0 1 .382-.632l3.285-3.832a2.25 2.25 0 0 1 1.708-.786h8.43c.657 0 1.281.287 1.709.786l3.284 3.832c.163.19.291.404.382.632M4.5 20.25h15A2.25 2.25 0 0 0 21.75 18v-2.625c0-.621-.504-1.125-1.125-1.125H3.375c-.621 0-1.125.504-1.125 1.125V18a2.25 2.25 0 0 0 2.25 2.25Z"}))});var el=r(73237),eu=r(7915);let ec=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.5 6h9.75M10.5 6a1.5 1.5 0 1 1-3 0m3 0a1.5 1.5 0 1 0-3 0M3.75 6H7.5m3 12h9.75m-9.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-3.75 0H7.5m9-6h3.75m-3.75 0a1.5 1.5 0 0 1-3 0m3 0a1.5 1.5 0 0 0-3 0m-9.75 0h9.75"}))}),ed=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19.128a9.38 9.38 0 0 0 2.625.372 9.337 9.337 0 0 0 4.121-.952 4.125 4.125 0 0 0-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 0 1 8.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0 1 11.964-3.07M12 6.375a3.375 3.375 0 1 1-6.75 0 3.375 3.375 0 0 1 6.75 0Zm8.25 2.25a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}))});var ef=r(59078);let eh=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"}),p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"}))});var ep=r(93903);let eg=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))});var em=r(23176);let e_=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z"}))}),ey=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 5.25h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5"}))});var ev=r(48230),eb=r.n(ev),ew=r(77742),eE=r(65163),ek=r(25602),eT=r(81893),eS=r(36607),ex=r(70620),eA=r(39296),eI=r(21126),eD=r(69904),eC=r(89048);let eO=(0,p.createContext)(()=>{});function eN(e){let{value:t,children:r}=e;return p.createElement(eO.Provider,{value:t},r)}var eP=r(71714),eL=r(94162),eM=r(66799),eR=r(99442),eF=r(74540),ej=r(13277);let eB=null!=(n=p.startTransition)?n:function(e){e()};var eU=r(16109),ez=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(ez||{}),eV=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.SetButtonElement=4]="SetButtonElement",e[e.SetPanelElement=5]="SetPanelElement",e))(eV||{});let eq={0:e=>({...e,disclosureState:(0,eR.Y)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},eH=(0,p.createContext)(null);function eG(e){let t=(0,p.useContext)(eH);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eG),t}return t}eH.displayName="DisclosureContext";let eW=(0,p.createContext)(null);eW.displayName="DisclosureAPIContext";let eK=(0,p.createContext)(null);function eQ(e,t){return(0,eR.Y)(t.type,eq,e,t)}eK.displayName="DisclosurePanelContext";let eZ=p.Fragment,e$=ej.Ac.RenderStrategy|ej.Ac.Static,eY=Object.assign((0,ej.FX)(function(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,p.useRef)(null),o=(0,eD.P)(t,(0,eD.a)(e=>{i.current=e},void 0===e.as||e.as===p.Fragment)),a=(0,p.useReducer)(eQ,{disclosureState:+!r,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:s,buttonId:l},u]=a,c=(0,eA._)(e=>{u({type:1});let t=(0,eF.T)(i);if(!t||!l)return;let r=e?eM.Lk(e)?e:"current"in e&&eM.Lk(e.current)?e.current:t.getElementById(l):t.getElementById(l);null==r||r.focus()}),d=(0,p.useMemo)(()=>({close:c}),[c]),f=(0,p.useMemo)(()=>({open:0===s,close:c}),[s,c]),h=(0,ej.Ci)();return p.createElement(eH.Provider,{value:a},p.createElement(eW.Provider,{value:d},p.createElement(eN,{value:c},p.createElement(eP.El,{value:(0,eR.Y)(s,{0:eP.Uw.Open,1:eP.Uw.Closed})},h({ourProps:{ref:o},theirProps:n,slot:f,defaultTag:eZ,name:"Disclosure"})))))}),{Button:(0,ej.FX)(function(e,t){let r=(0,p.useId)(),{id:n="headlessui-disclosure-button-".concat(r),disabled:i=!1,autoFocus:o=!1,...a}=e,[s,l]=eG("Disclosure.Button"),u=(0,p.useContext)(eK),c=null!==u&&u===s.panelId,d=(0,p.useRef)(null),f=(0,eD.P)(d,t,(0,eA._)(e=>{if(!c)return l({type:4,element:e})}));(0,p.useEffect)(()=>{if(!c)return l({type:2,buttonId:n}),()=>{l({type:2,buttonId:null})}},[n,l,c]);let h=(0,eA._)(e=>{var t;if(c){if(1===s.disclosureState)return;switch(e.key){case eU.D.Space:case eU.D.Enter:e.preventDefault(),e.stopPropagation(),l({type:0}),null==(t=s.buttonElement)||t.focus()}}else switch(e.key){case eU.D.Space:case eU.D.Enter:e.preventDefault(),e.stopPropagation(),l({type:0})}}),g=(0,eA._)(e=>{e.key===eU.D.Space&&e.preventDefault()}),m=(0,eA._)(e=>{var t;(0,eL.l)(e.currentTarget)||i||(c?(l({type:0}),null==(t=s.buttonElement)||t.focus()):l({type:0}))}),{isFocusVisible:_,focusProps:y}=(0,eT.o)({autoFocus:o}),{isHovered:v,hoverProps:b}=(0,eS.M)({isDisabled:i}),{pressed:w,pressProps:E}=(0,ex.Z)({disabled:i}),k=(0,p.useMemo)(()=>({open:0===s.disclosureState,hover:v,active:w,disabled:i,focus:_,autofocus:o}),[s,v,w,_,i,o]),T=(0,eI.c)(e,s.buttonElement),S=c?(0,ej.v6)({ref:f,type:T,disabled:i||void 0,autoFocus:o,onKeyDown:h,onClick:m},y,b,E):(0,ej.v6)({ref:f,id:n,type:T,"aria-expanded":0===s.disclosureState,"aria-controls":s.panelElement?s.panelId:void 0,disabled:i||void 0,autoFocus:o,onKeyDown:h,onKeyUp:g,onClick:m},y,b,E);return(0,ej.Ci)()({ourProps:S,theirProps:a,slot:k,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,ej.FX)(function(e,t){let r=(0,p.useId)(),{id:n="headlessui-disclosure-panel-".concat(r),transition:i=!1,...o}=e,[a,s]=eG("Disclosure.Panel"),{close:l}=function e(t){let r=(0,p.useContext)(eW);if(null===r){let r=Error("<".concat(t," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(r,e),r}return r}("Disclosure.Panel"),[u,c]=(0,p.useState)(null),d=(0,eD.P)(t,(0,eA._)(e=>{eB(()=>s({type:5,element:e}))}),c);(0,p.useEffect)(()=>(s({type:3,panelId:n}),()=>{s({type:3,panelId:null})}),[n,s]);let f=(0,eP.O_)(),[h,g]=(0,eC.p)(i,u,null!==f?(f&eP.Uw.Open)===eP.Uw.Open:0===a.disclosureState),m=(0,p.useMemo)(()=>({open:0===a.disclosureState,close:l}),[a.disclosureState,l]),_={ref:d,id:n,...(0,eC.B)(g)},y=(0,ej.Ci)();return p.createElement(eP.$x,null,p.createElement(eK.Provider,{value:a.panelId},y({ourProps:_,theirProps:o,slot:m,defaultTag:"div",features:e$,visible:h,name:"Disclosure.Panel"})))})});var eJ=r(15039),eX=r.n(eJ);let e0=p.forwardRef(function(e,t){let{title:r,titleId:n,...i}=e;return p.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},i),r?p.createElement("title",{id:n},r):null,p.createElement("path",{fillRule:"evenodd",d:"M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z",clipRule:"evenodd"}))});var e1=r(92436);let e2=e=>{var t,r,n,o;let{item:a,hasRole:s,onSelected:l,narrowView:u}=e,c=(0,f.useRouter)(),[d,h]=(0,p.useState)(!1),[g,m]=(0,p.useState)(!1),_=(0,p.useRef)(null),y=null==(t=a.children)?void 0:t.some(e=>c.pathname===e.href);return((0,p.useEffect)(()=>{let e=e=>{_.current&&!_.current.contains(e.target)&&h(!1)};if(d)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[d]),u)?(null==(n=a.children)?void 0:n.some(e=>!(null==e?void 0:e.requiredRole)||s(null==e?void 0:e.requiredRole)))?(0,i.jsxs)("div",{className:"relative group",ref:_,children:[(0,i.jsx)("button",{className:eX()("flex w-full justify-center items-center p-2 rounded-md transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",y?"text-slate-900 dark:text-slate-100 bg-slate-100 dark:bg-slate-800":"text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800"),title:a.name,onClick:()=>h(!d),children:(null==a?void 0:a.icon)&&(0,i.jsx)(a.icon,{className:eX()("h-6 w-6",y?"text-slate-900 dark:text-slate-100":"text-slate-800 dark:text-slate-300"),"aria-hidden":"true"})}),d&&(0,i.jsx)("div",{className:"fixed left-16 top-auto w-48 rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-black ring-opacity-5 z-[100]",style:{top:null==(o=_.current)?void 0:o.getBoundingClientRect().top},children:(0,i.jsxs)("div",{className:"py-1",children:[(0,i.jsx)("div",{className:"px-4 py-2 text-sm font-medium text-slate-900 dark:text-slate-100 border-b border-slate-200 dark:border-slate-700",children:a.name}),a.children.filter(e=>!(null==e?void 0:e.requiredRole)||s(e.requiredRole)).map(e=>(0,i.jsx)(eb(),{href:e.href,className:eX()("block px-4 py-2 text-sm text-slate-700 dark:text-slate-300 hover:bg-slate-100 dark:hover:bg-slate-700 focus:outline-hidden focus:ring-2 focus:ring-slate-800",{"bg-slate-100 dark:bg-slate-700 text-slate-900 dark:text-slate-100":c.pathname===e.href}),onClick:()=>{h(!1),null==l||l()},children:e.name},e.name))]})})]},a.name):null:(null==(r=a.children)?void 0:r.some(e=>!(null==e?void 0:e.requiredRole)||s(null==e?void 0:e.requiredRole)))?(0,i.jsx)(eY,{defaultOpen:!0,as:"div",className:"space-y-1",children:e=>{let{open:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(eY.Button,{className:eX()("group flex w-full cursor-pointer hover:bg-slate-50 dark:bg-slate-900 dark:hover:bg-slate-700 dark:text-slate-400 items-center rounded-md py-2 pl-2 pr-4 text-left text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800"),onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),children:[(null==a?void 0:a.icon)&&(0,i.jsx)(a.icon,{className:"mr-3 h-6 w-6 shrink-0 text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-100","aria-hidden":"true"}),(0,i.jsx)("span",{className:"flex-1 dark:text-slate-300 dark:hover:text-white",children:a.name}),(0,i.jsx)(e0,{className:eX()("h-5 w-5 transition-all duration-200 ease-out",g||t?"opacity-100 text-slate-600 dark:text-slate-300":"opacity-0",t?"rotate-180":"rotate-0")})]}),(0,i.jsx)(eY.Panel,{className:"pl-6 space-y-1",onClick:l,children:a.children.filter(e=>!(null==e?void 0:e.requiredRole)||s(e.requiredRole)).map(e=>(0,i.jsx)(eb(),{href:e.href,className:eX()("group flex w-full items-center rounded-md py-2 pl-5 pr-2 text-sm font-medium text-slate-600 dark:text-slate-400 hover:bg-slate-50 dark:hover:bg-slate-700 hover:text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-slate-800",{" dark:bg-slate-800 text-slate-900 dark:text-slate-300 dark:hover:text-white bg-slate-50 hover:bg-slate-100":c.pathname===e.href}),children:e.name},e.name))})]})}},a.name):null},e5=e=>{let{navigation:t,onClick:r=null,narrowView:n=!1}=e,{hasRole:o}=(0,e1.A)(),a=(0,f.useRouter)();return(0,i.jsx)("div",{className:"mt-8 flex grow flex-col dark:bg-slate-900",children:(0,i.jsx)("nav",{className:"pb-8 flex-1 space-y-1 bg-white dark:bg-slate-900 ".concat(n?"px-2":"px-2 lg:px-4 2xl:px-6"),"aria-label":"Sidebar",children:t.map(e=>!e.children&&(!e.requiredRole||o(e.requiredRole))?(0,i.jsx)("div",{onClick:r,children:(0,i.jsxs)(eb(),{href:(null==e?void 0:e.href)||"#",className:eX()("group flex w-full items-center rounded-md py-2 text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",a.asPath===e.href||a.pathname===e.href?"text-slate-900 dark:text-slate-100 bg-slate-100 dark:bg-slate-800":"text-slate-600 dark:text-slate-300 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800",{"justify-center":n,"pl-2":!n}),title:n?e.name:void 0,children:[(null==e?void 0:e.icon)&&(0,i.jsx)(e.icon,{className:eX()("h-6 w-6 shrink-0",{"text-slate-900 dark:text-slate-100":a.asPath===e.href||a.pathname===e.href,"text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-100":a.asPath!==e.href&&a.pathname!==e.href,"mr-3":!n}),"aria-hidden":"true"}),!n&&(0,i.jsx)("span",{className:"flex-1 dark:text-slate-300",children:e.name})]})},e.name):(0,i.jsx)(e2,{item:e,hasRole:o,onSelected:r,narrowView:n},e.name))})})};var e3=r(37014),e4=r(91325),e6=r(59863),e8=r(22160),e7=r(13437),e9=r(21476),te=r(50677),tt=r(99742);let tr=e=>{let{children:t}=e,r=(0,f.useRouter)(),{currentUser:n,loading:o}=(0,eE.A)(),{isSystemReady:a}=(0,te.A)(),{loading:s,usersCount:l,error:u}=(0,e9.A)(),{checkAccess:c,isUserAuthenticated:d,isUserAdmin:h,checkRole:g,isPublicOnlyPage:m}=(0,p.useMemo)(()=>(()=>{var e;return(null==(e=window)?void 0:e.AdminUiPermissions)?window.AdminUiPermissions():{}})(),[]),_=(0,p.useMemo)(()=>({isAdmin:()=>!!h&&h(n),hasRole:e=>!!g&&g(n,e)}),[n,g,h]);return(0,p.useEffect)(()=>{let e;o||s||(d(n)?c(n,r.pathname)?m(r.pathname)?e="/":!h(n)&&tt.env.NEXT_PUBLIC_ONLY_ADMIN&&"/423"!==r.pathname&&(e="/423"):e="/403":s||u||0!==l?c(n,r.pathname)||(e="/log-in"):e="/install",e&&r.pathname!==e&&r.replace(e))},[n,o,h,d,m,r,c,s]),(0,i.jsx)(e8.A.Provider,{value:_,children:o&&!n?(0,i.jsx)(e7.A,{}):t})};var tn=r(32783),ti=r(67994),to=r(9758),ta=r(71068),ts=r(94655);let tl=e=>{let{className:t}=e;return(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,fill:"currentColor",stroke:"currentColor",viewBox:"0 0 512 423.85",children:(0,i.jsx)("path",{d:"M88.47 0c8.93 0 17.04 3.63 22.89 9.48 2.73 2.74 4.98 5.95 6.6 9.52h52.71c1.62-3.56 3.87-6.78 6.59-9.51C183.12 3.64 191.22 0 200.16 0c8.93 0 17.04 3.64 22.89 9.48 2.73 2.74 4.98 5.96 6.6 9.52h52.71c1.62-3.56 3.87-6.78 6.6-9.51C294.82 3.64 302.92 0 311.85 0c8.94 0 17.04 3.64 22.89 9.48 2.74 2.74 4.98 5.96 6.6 9.52h52.7c1.62-3.56 3.87-6.78 6.59-9.51C406.49 3.64 414.6 0 423.54 0c8.93 0 17.03 3.64 22.88 9.48 2.73 2.74 4.98 5.96 6.6 9.52h45.6c7.39 0 13.38 5.99 13.38 13.38v337.51c-.03 5.09-2.96 9.95-7.89 12.17-61.54 27.94-154.45 41.79-247.16 41.79-92.63 0-185.76-13.85-247.89-41.29-5.27-1.8-9.06-6.79-9.06-12.67V32.38C0 24.99 5.99 19 13.37 19h45.61c1.62-3.56 3.87-6.78 6.6-9.51C71.44 3.64 79.54 0 88.47 0zm127.99 277.29c8.08 0 14.63 6.56 14.63 14.63s-6.55 14.63-14.63 14.63c-8.07 0-14.62-6.56-14.62-14.63s6.55-14.63 14.62-14.63zm0-71.59c8.08 0 14.63 6.54 14.63 14.62 0 8.08-6.55 14.63-14.63 14.63-8.07 0-14.62-6.55-14.62-14.63 0-8.08 6.55-14.62 14.62-14.62zm0-70.86c8.08 0 14.63 6.56 14.63 14.63s-6.55 14.63-14.63 14.63c-8.07 0-14.62-6.56-14.62-14.63s6.55-14.63 14.62-14.63zM372.27 278.9c7.19 0 13.02 5.83 13.02 13.02 0 7.19-5.83 13.02-13.02 13.02H264.7c-7.19 0-13.02-5.83-13.02-13.02 0-7.19 5.83-13.02 13.02-13.02h107.57zm57.88-71.61c7.19 0 13.02 5.84 13.02 13.03 0 7.19-5.83 13.02-13.02 13.02H264.7c-7.19 0-13.02-5.83-13.02-13.02 0-7.19 5.83-13.03 13.02-13.03h165.45zm5.03-70.84c7.19 0 13.03 5.83 13.03 13.02 0 7.19-5.84 13.02-13.03 13.02H264.7c-7.19 0-13.02-5.83-13.02-13.02 0-7.19 5.83-13.02 13.02-13.02h170.48zM107.71 293.97c-9.17-.65-20.85-2.9-29.84-5.32v-32.04l9.06.74c11.7.69 27.58 1.92 39.06.89 2.23-.2 4.83-.58 6.86-1.57 3.86-1.85 3.81-15 1.26-16.81-1.47-1.04-3.14-1.44-4.92-1.44h-9.35c-7.05 0-13.29-.79-18.73-2.37-5.54-1.61-10.21-4.03-14.02-7.26-3.89-3.32-6.8-7.71-8.72-13.18-1.85-5.32-2.8-11.65-2.8-18.99v-12.21c0-6.8 1.04-12.78 3.11-17.94 3.44-8.55 10.58-15.4 18.87-19.29 2.9-1.36 6.15-2.39 10.16-3.06v-14.21h29.54v13.65c4.89.38 8.68 1.06 13.47 1.93 5.48.95 10.79 2.03 16.2 3.34v32.09l-2.85-.25a422.93 422.93 0 0 0-36.47-1.58c-3.54 0-10.29.09-12.96 2.76-2.19 2.18-1.87 15.23.49 17.16 1.78 1.44 4.81 1.69 6.99 1.69h11.65c7.5 0 15.26 1.28 21.84 5.03 5.93 3.37 10.4 7.97 13.39 13.77 1.47 2.86 2.59 5.93 3.33 9.21 1.62 7.15 1.12 15.14 1.12 22.48 0 5.74-.52 10.86-1.53 15.33-1.04 4.57-2.63 8.47-4.74 11.68-6.6 10.01-18.44 14.36-29.93 15.62v15.39h-29.54v-15.24zm10.25-248.22a32.507 32.507 0 0 1-6.6 9.51c-5.86 5.86-13.96 9.5-22.89 9.5s-17.04-3.64-22.89-9.5a32.245 32.245 0 0 1-6.6-9.51H26.75v315.36c58.52 23.93 144.27 35.99 230.2 35.99 85.36 0 170.32-11.92 228.3-35.96V45.75h-32.23a32.507 32.507 0 0 1-6.6 9.51c-5.86 5.86-13.97 9.5-22.88 9.5-8.94 0-17.04-3.64-22.89-9.49a32.452 32.452 0 0 1-6.61-9.52h-52.7a32.234 32.234 0 0 1-6.6 9.52c-5.86 5.85-13.96 9.49-22.89 9.49s-17.04-3.64-22.89-9.5a32.245 32.245 0 0 1-6.6-9.51h-52.71a32.422 32.422 0 0 1-6.6 9.52c-5.86 5.85-13.96 9.49-22.89 9.49-8.94 0-17.04-3.64-22.9-9.5a32.402 32.402 0 0 1-6.59-9.51h-52.71z"})})},tu=e=>{var t,r,n;let{children:o,pageHeader:a="",componentName:s}=e,{isSystemReady:l}=(0,te.A)(),{formatMessage:u}=(0,ew.A)(),{currentUser:c}=(0,eE.A)(),{configuration:d}=(0,ts.A)(),{shopInfo:g}=(0,ek.A)(),[m,_]=(0,p.useState)(!0),[y,v]=(0,p.useState)(!1),b=(0,ti.m)(),w=(0,f.useRouter)(),E=async()=>{var e;let t=(null==c?void 0:c.username)||(null==c||null==(e=c.profile)?void 0:e.displayName)||(null==c?void 0:c.name)||"";await (0,to.A)(b,w),h.oR.success(u({id:"goodbye_user",defaultMessage:"See you later, {name}!"},{name:t}))},k=[{name:d.isFullyConfigured?u({id:"dashboard",defaultMessage:"Dashboard"}):u({id:"complete_system_setup",defaultMessage:"Complete Setup"}),icon:eo,href:"/"},{name:u({id:"copilot",defaultMessage:"Copilot"}),icon:ea.A,href:"/copilot"},{name:u({id:"orders",defaultMessage:"Orders"}),requiredRole:"manageOrders",icon:es,href:"/orders"},l&&{name:u({id:"products",defaultMessage:"Products"}),requiredRole:"manageProducts",icon:el.A,href:"/products"},l&&{name:u({id:"assortments",defaultMessage:"Assortments"}),icon:eu.A,href:"/assortments",requiredRole:"manageAssortments"},l&&{name:u({id:"filters",defaultMessage:"Filters"}),icon:ec,requiredRole:"manageFilters",href:"/filters"},{name:u({id:"users",defaultMessage:"Users"}),icon:ed,href:"/users",requiredRole:"viewUsers"},{name:u({id:"enrollments",defaultMessage:"Enrollments"}),href:"/enrollments",requiredRole:"viewEnrollments",icon:ef.A},{name:u({id:"quotations",defaultMessage:"Quotations"}),href:"/quotations",icon:tl,requiredRole:"viewQuotations"},{name:u({id:"tokens",defaultMessage:"Tokens"}),icon:eh,href:"/tokens",requiredRole:"viewTokens"},{name:u({id:"system",defaultMessage:"System settings"}),icon:ep.A,children:[{name:u({id:"currencies",defaultMessage:"Currencies"}),requiredRole:"manageCurrencies",href:"/currency"},{name:u({id:"countries",defaultMessage:"Countries"}),href:"/country",requiredRole:"manageCountries"},{name:u({id:"languages",defaultMessage:"Languages"}),href:"/language",requiredRole:"manageLanguages"},{name:u({id:"delivery_providers",defaultMessage:"Delivery providers"}),requiredRole:"manageDeliveryProviders",href:"/delivery-provider"},{name:u({id:"payment_providers",defaultMessage:"Payment providers"}),requiredRole:"managePaymentProviders",href:"/payment-provider"},{name:u({id:"warehousing_provider",defaultMessage:"Warehousing provider"}),requiredRole:"manageWarehousingProviders",href:"/warehousing-provider"}]},{name:u({id:"activities",defaultMessage:"Activities"}),icon:eg,children:[{name:u({id:"work_queue",defaultMessage:"Work queue"}),requiredRole:"manageWorker",href:"/works"},{name:u({id:"event",defaultMessage:"Events"}),href:"/events",requiredRole:"showEvents"}]},(null==g||null==(r=g.adminUiConfig)||null==(t=r.externalLinks)?void 0:t.length)&&{name:u({id:"extensions",defaultMessage:"Extensions"}),icon:em.A,href:"/",children:null==(n=g.adminUiConfig.externalLinks)?void 0:n.map(e=>{let t=e.href;return(null==e?void 0:e.target)==="SELF"&&(t="/external?url=".concat(e.href)),{name:e.title,href:t}})}].filter(Boolean),T=(e=>{let t=(0,p.useRef)(void 0),r=(0,p.useCallback)(r=>{t.current&&!t.current.contains(r.target)&&e()},[t,e]);return(0,p.useEffect)(()=>{if(document)return document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}},[r]),t})(()=>{_(!0)});return(0,i.jsxs)(tr,{children:[(0,i.jsxs)("div",{className:"fixed inset-0 z-40 flex md:hidden ".concat(m?"hidden":""," "),role:"dialog","aria-modal":"true",children:[(0,i.jsx)("div",{className:"fixed inset-0 backdrop-blur-sm","aria-hidden":"true"}),(0,i.jsxs)("div",{className:"relative flex w-full max-w-xs flex-1 flex-col bg-white dark:bg-slate-900 shadow-xl",children:[(0,i.jsx)("div",{className:"absolute top-0 right-0 -mr-12 pt-2",children:(0,i.jsxs)("button",{id:"close_sidebar",type:"button",onClick:()=>_(!m),className:"ml-1 flex h-10 w-10 items-center justify-center rounded-full bg-white/10 dark:bg-slate-800/50 backdrop-blur-sm shadow-lg focus:outline-hidden focus:ring-2 focus:ring-inset focus:ring-white dark:focus:ring-slate-400",children:[(0,i.jsx)("span",{className:"sr-only",children:u({id:"close_sidebar",defaultMessage:"Close sidebar"})}),(0,i.jsx)("svg",{className:"h-6 w-6 text-slate-800 dark:text-slate-200",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})]})}),(0,i.jsxs)("div",{className:"h-0 flex-1 overflow-y-auto pt-5 pb-4",children:[(0,i.jsx)("div",{className:"flex shrink-0 items-center px-2 lg:px-4 2xl:px-6",children:(0,i.jsx)(eb(),{href:"/",className:"focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md p-1",children:(0,i.jsx)("div",{className:"dark:brightness-0 dark:invert",children:(0,i.jsx)(e6.A,{src:"/logo-light.svg",width:41,height:25,alt:u({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})})}),(0,i.jsx)(e5,{navigation:k,onClick:()=>_(!m)})]}),(0,i.jsxs)("div",{className:"flex items-center shrink-0 border-t border-slate-300 dark:border-slate-800 px-2 py-2",children:[(0,i.jsxs)(eb(),{href:"/account",className:"flex items-center flex-1 py-2 pr-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 rounded-md text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",children:[(null==c?void 0:c.avatar)?(0,i.jsx)(e6.A,{src:c.avatar.url,width:32,height:32,className:"h-8 w-8 shrink-0 mr-2 rounded-full object-cover",alt:u({id:"user_avatar",defaultMessage:"User avatar"})}):(0,i.jsx)(e_,{className:"h-8 w-8 shrink-0 mr-2 text-slate-800 dark:text-slate-300"}),(0,i.jsxs)("div",{className:"flex-1",children:[(0,i.jsx)("div",{className:"text-sm font-medium dark:text-slate-400",children:u({id:"account",defaultMessage:"Account"})}),(0,i.jsx)("div",{className:"text-xs text-slate-500 dark:text-slate-400",children:(0,tn.A)(c)})]})]}),(0,i.jsxs)("div",{className:"flex items-center space-x-2 ml-auto",children:[(0,i.jsx)("button",{onClick:E,className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:u({id:"log_out",defaultMessage:"Log out"}),children:(0,i.jsx)(ta.A,{className:"h-5 w-5"})}),(0,i.jsx)(e3.A,{})]})]})]})]}),(0,i.jsx)("div",{className:"hidden md:fixed md:inset-y-0 md:flex md:flex-col dark:bg-slate-900 dark:text-slate-200 ".concat(y?"md:w-16":"md:w-64 2xl:w-96"),children:(0,i.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col border-r border-slate-200 dark:border-slate-800 bg-white dark:bg-slate-900",children:[(0,i.jsxs)("div",{className:"flex flex-1 flex-col overflow-y-auto scrollbar-hide pt-10",children:[(0,i.jsx)("div",{className:"flex shrink-0 items-center ".concat(y?"px-2 justify-center":"px-2 lg:px-4 2xl:px-6"),children:(0,i.jsx)(eb(),{href:"/",className:"focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md p-1",children:(0,i.jsx)("div",{className:"dark:brightness-0 dark:invert",children:(0,i.jsx)(e6.A,{src:"/logo-light.svg",width:y?25:41,height:25,alt:u({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})})}),(0,i.jsx)(e5,{navigation:k,narrowView:y})]}),(0,i.jsxs)("div",{className:"flex items-center shrink-0 py-2 ".concat(y?"justify-center px-2":"border-t border-slate-200 dark:border-slate-800 px-2 lg:px-4 2xl:px-6"),children:[!y&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(eb(),{href:"/account",className:"flex items-center flex-1 py-2 pr-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 rounded-md text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",children:[(null==c?void 0:c.avatar)?(0,i.jsx)(e6.A,{src:c.avatar.url,width:32,height:32,className:"h-8 w-8 shrink-0 mr-3 rounded-full object-cover",alt:u({id:"user_avatar",defaultMessage:"User avatar"})}):(0,i.jsx)(e_,{className:"h-8 w-8 shrink-0 mr-3 text-slate-800 dark:text-slate-300"}),(0,i.jsxs)("div",{className:"flex-1",children:[(0,i.jsx)("div",{className:"text-sm font-medium dark:text-slate-400",children:u({id:"account",defaultMessage:"Account"})}),(0,i.jsx)("div",{className:"text-xs text-slate-500 dark:text-slate-400",children:(0,tn.A)(c)})]})]}),(0,i.jsx)("button",{onClick:E,className:"p-2 mr-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800 ml-auto",title:u({id:"log_out",defaultMessage:"Log out"}),children:(0,i.jsx)(ta.A,{className:"h-5 w-5"})})]}),y&&(0,i.jsxs)("div",{className:"flex items-center flex-col space-y-2",children:[(0,i.jsx)(eb(),{href:"/account",className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 hover:bg-slate-100 dark:hover:bg-slate-800 rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400",title:u({id:"account",defaultMessage:"Account"}),children:(null==c?void 0:c.avatar)?(0,i.jsx)(e6.A,{src:c.avatar.url,width:24,height:24,className:"h-6 w-6 rounded-full object-cover",alt:u({id:"user_avatar",defaultMessage:"User avatar"})}):(0,i.jsx)(e_,{className:"h-6 w-6"})}),(0,i.jsx)("button",{onClick:E,className:"p-2 text-slate-600 dark:text-slate-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-none focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400",title:u({id:"log_out",defaultMessage:"Log out"}),children:(0,i.jsx)(ta.A,{className:"h-5 w-5"})}),(0,i.jsx)(e4.A,{narrowNav:y}),(0,i.jsx)(e3.A,{})]})]}),(0,i.jsx)("div",{className:"flex shrink-0 p-2 ".concat(y?"":"border-t border-slate-200 dark:border-slate-800"),children:y?(0,i.jsx)("button",{onClick:()=>v(!y),className:"w-full flex items-center justify-center p-2 text-slate-600 dark:text-emerald-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:u({id:"expand_navigation",defaultMessage:"Expand navigation"}),children:(0,i.jsx)(ey,{className:"h-6 w-6 transition-transform"})}):(0,i.jsxs)("div",{className:"w-full flex items-center justify-center",children:[(0,i.jsx)("button",{onClick:()=>v(!y),className:"flex items-center p-2 text-slate-600 dark:text-emerald-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:u({id:"collapse_navigation",defaultMessage:"Collapse navigation"}),children:(0,i.jsx)(ey,{className:"h-6 w-6 rotate-90 transition-transform"})}),(0,i.jsxs)("div",{className:"ml-2 flex items-center space-x-2",children:[(0,i.jsx)(e4.A,{narrowNav:y}),(0,i.jsx)(e3.A,{})]})]})})]})}),(0,i.jsxs)("div",{className:"flex flex-1 flex-col ".concat(y?"md:pl-16":"md:pl-64 2xl:pl-96"),children:[(0,i.jsxs)("div",{className:"flex justify-between items-center sticky top-0 z-10 bg-white dark:bg-slate-800 md:hidden border-b border-slate-200 dark:border-slate-700",children:[(0,i.jsxs)("button",{type:"button",ref:T,onClick:()=>_(!m),className:"-ml-0.5 -mt-0.5 inline-flex h-12 w-12 items-center justify-center rounded-md text-slate-500 hover:text-slate-900 focus:outline-hidden focus:ring-2 focus:ring-inset focus:ring-slate-800 dark:text-slate-200",children:[(0,i.jsx)("span",{className:"sr-only",children:u({id:"open_sidebar",defaultMessage:" Open sidebar"})}),(0,i.jsx)("svg",{className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 8h16M4 16h16"})})]}),(0,i.jsx)("div",{className:"flex-1 flex justify-center",children:(0,i.jsx)("div",{className:"dark:brightness-0 dark:invert",children:(0,i.jsx)(e6.A,{src:"/logo-light.svg",width:41,height:25,alt:u({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})}),(0,i.jsxs)("div",{className:"flex flex-wrap justify-center items-center gap-2 pr-4",children:[(0,i.jsx)(e4.A,{narrowNav:!1}),(0,i.jsx)(e3.A,{})]})]}),(0,i.jsxs)("main",{className:"container mx-auto max-w-7xl flex-1 px-4 py-5 md:pt-10 lg:pt-5 pb-20 sm:px-6 md:px-8",children:[(0,i.jsx)("h3",{className:"ml-8 text-lg font-medium leading-6 text-slate-900",children:a}),p.cloneElement(o)]})]})]})};var tc=r(98477);let td=e=>{let{children:t=null}=e,r=(0,p.useRef)(null),[,n]=(0,p.useState)(!1);return(0,p.useEffect)(()=>{let e=document.createElement("div");return r.current=e,document.body.appendChild(e),n(!0),()=>{r.current&&document.body.removeChild(r.current)}},[]),r.current?tc.createPortal(t,r.current):null},tf=(0,ee.Ay)(e=>{let{onClose:t,children:r,visible:n,closeOnOutsideClick:o=!1,intl:a}=e,[s,l]=(0,p.useState)(!1),[u,c]=(0,p.useState)(n);return(0,p.useEffect)(()=>{n?(c(!0),document.body.classList.add("modal-blur-active"),setTimeout(()=>l(!0),10)):u&&(l(!1),setTimeout(()=>{c(!1),document.body.classList.remove("modal-blur-active")},200))},[n,u]),u?(0,i.jsx)(td,{intl:a,children:(0,i.jsx)("div",{className:"fixed inset-0 z-50 overflow-y-auto","aria-modal":"true",children:(0,i.jsxs)("div",{className:"flex min-h-screen items-center justify-center px-4 pt-4 pb-20 text-center sm:block sm:p-0",tabIndex:-1,onClick:e=>{e.target===e.currentTarget&&n&&t()},children:[(0,i.jsx)("span",{className:"hidden sm:inline-block sm:h-screen sm:align-middle","aria-hidden":"true",children:""}),(0,i.jsxs)("div",{className:"inline-block z-50 transform overflow-hidden rounded-lg bg-white dark:bg-slate-800 px-4 pt-5 pb-4 text-left shadow-2xl dark:shadow-2xl transition-all duration-200 ease-out sm:my-8 sm:w-full sm:max-w-lg sm:p-6 sm:align-middle ".concat(s?"opacity-100 scale-100 translate-y-0":"opacity-0 scale-95 translate-y-4"),onClick:e=>{e.stopPropagation()},children:[(0,i.jsx)("div",{className:"absolute top-0 right-0 pt-4 pr-4 sm:block",children:(0,i.jsxs)("button",{id:"modal_close",type:"button",onClick:t,className:"rounded-md bg-white dark:bg-slate-900 text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 focus:outline-hidden focus:ring-2 focus:ring-slate-800 focus:ring-offset-2",children:[(0,i.jsx)("span",{className:"sr-only",children:a.formatMessage({id:"close",defaultMessage:"Close"})}),(0,i.jsx)("svg",{className:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,i.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})]})}),r&&p.isValidElement(r)?p.cloneElement(r,{close:t}):r]})]})})}):null});var th=r(71988);let tp=e=>{let{children:t}=e,[r,n]=(0,p.useState)(null),[o,a]=(0,p.useState)(!1),s=()=>n(null),[l,u]=(0,p.useState)(()=>s),c=(0,p.useMemo)(()=>({setModal:function(e){let{closeOnOutsideClick:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(r=>{e||r(!0),a(t),n(()=>e),u(()=>()=>{s(),r(!0)})})}}),[]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tf,{visible:!!r,onClose:l,closeOnOutsideClick:o,children:r}),(0,i.jsx)(th.A.Provider,{value:c,children:t})]})};var tg=r(4239);let tm=function(){for(var e,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return(null==(e=window)?void 0:e.Matomo)?window.Matomo.getAsyncTracker(...r):null},t_=function(e,t){let{username:r,clientId:n,emailAddress:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=tm();o&&((i||r)&&o.setVisitorId((i||r).substr(3).padStart(16,"0")),n&&o.setUserId(n),o.setCustomUrl(e),o.setDocumentTitle(t),o.trackPageView())};var ty=r(96427),tv=r(79350),tb=r(21737);function tw(){let e=(0,ty._)(["fragment CustomProperty on ExtendedUnchainedSchema { "," }"]);return tw=function(){return e},e}let tE=(e,t)=>{let r={};return Object.keys(t).forEach(n=>{let i=null==e?void 0:e[n],o=null==t?void 0:t[n];"object"==typeof o?r[n]=tE(i,o):r[n]=i}),r},tk=e=>e.reduce((e,t)=>{switch(t.kind){case"InlineFragment":Object.assign(e,tk(t.selectionSet.selections));break;case"Field":{let r,n=t.name.value;r=t.selectionSet?tk(t.selectionSet.selections):t.value,e[n]=r}}return e},{}),tT=(e,t)=>{var r,n;if(!e||!t)return null;let i=(0,tv.J1)(tw(),e);return tE(t,tk(null==i||null==(n=i.definitions[0])||null==(r=n.selectionSet)?void 0:r.selections))},tS=e=>{let{children:t}=e,{shopInfo:r}=(0,ek.A)();return(0,i.jsx)(tb.A.Provider,{value:(0,p.useMemo)(()=>{var e,t,n;return{customProperties:null==r||null==(t=r.adminUiConfig)||null==(e=t.customProperties)?void 0:e.reduce((e,t)=>{let{entityName:r,inlineFragment:n}=t;return{...e,[r]:n}},{}),singleSignOnURL:null==r||null==(n=r.adminUiConfig)?void 0:n.singleSignOnURL,hydrateFragment:tT}},[r]),children:t})};var tx=r(23405),tA=r(77328),tI=r.n(tA);r(45105);var tD=r(70652),tC=r(27105);let tO=e=>{t_(document.location.origin+e,document.title)},tN=e=>{let{Component:t,componentName:r,pageProps:n,router:o}=e,a=(0,g.L)(n),s=t.getLayout?e=>(0,i.jsxs)(tr,{children:[(0,i.jsx)("div",{className:"absolute top-4 left-4",children:(0,i.jsx)(e6.A,{src:"/logo-light.svg",width:32,height:20,alt:"Logo",className:"dark:brightness-0 dark:invert"})}),(0,i.jsx)("div",{className:"absolute top-4 right-4",children:(0,i.jsx)(e3.A,{})}),t.getLayout(e)]}):e=>(0,i.jsx)(tu,{componentName:r,children:e}),l=y("en");return(0,p.useEffect)(()=>(f.Router.events.on("routeChangeComplete",tO),()=>{f.Router.events.off("routeChangeComplete",tO)}),[a]),(0,i.jsx)(ei,{locale:"en",messages:l,children:(0,i.jsxs)(tx.A,{children:[(0,i.jsxs)(tI(),{children:[(0,i.jsx)("title",{children:"Unchained: Admin UI"}),null]}),(0,i.jsx)(u,{client:a,children:(0,i.jsx)(tC.s,{children:(0,i.jsx)(tS,{children:(0,i.jsx)(tg.A,{children:(0,i.jsxs)(tD.k,{children:[(0,i.jsx)(h.N9,{position:"top-right",autoClose:5e3,newestOnTop:!1,closeOnClick:!0,pauseOnFocusLoss:!0,draggable:!0,pauseOnHover:!0}),(0,i.jsx)(tp,{children:s((0,i.jsx)(t,{...n}))})]})})})})})]})},"intl-provider")};tN.getInitialProps=async e=>{let t=await d().getInitialProps(e),r=e.Component.displayName||e.Component.name||"Unknown";return{...t,componentName:r}};let tP=tN},4492:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(96427),i=r(79350),o=r(54431),a=r(29939);function s(){let e=(0,n._)(["\n query Languages(\n $queryString: String\n $offset: Int\n $limit: Int\n $includeInactive: Boolean\n $sort: [SortOptionInput!]\n ) {\n languages(\n queryString: $queryString\n offset: $offset\n limit: $limit\n includeInactive: $includeInactive\n sort: $sort\n ) {\n ...LanguageFragment\n }\n languagesCount(includeInactive: $includeInactive, queryString: $queryString)\n }\n ","\n"]);return s=function(){return e},e}let l=(0,i.J1)(s(),a.A),u=function(){let{queryString:e="",limit:t=20,offset:r=0,includeInactive:n=!0,sort:i=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:a,loading:s,error:u,fetchMore:c}=(0,o.IT)(l,{variables:{queryString:e,limit:t,offset:r,includeInactive:n,sort:i}}),d=(null==a?void 0:a.languages)||[],f=null==a?void 0:a.languagesCount,h=(null==d?void 0:d.length)<f;return{languages:d,languagesCount:f,hasMore:h,loading:s,error:u,loadMore:()=>{c({variables:{offset:null==d?void 0:d.length}})}}}},4902:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>M,__assign:()=>o,__asyncDelegator:()=>S,__asyncGenerator:()=>T,__asyncValues:()=>x,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>N,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>P,__createBinding:()=>m,__decorate:()=>s,__disposeResources:()=>F,__esDecorate:()=>u,__exportStar:()=>_,__extends:()=>i,__generator:()=>g,__importDefault:()=>O,__importStar:()=>C,__makeTemplateObject:()=>A,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>v,__rest:()=>a,__rewriteRelativeImportExtension:()=>j,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>b,__spreadArray:()=>E,__spreadArrays:()=>w,__values:()=>y,default:()=>B});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function l(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,l=n.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?n.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,n.name):{}),f=!1,h=r.length-1;h>=0;h--){var p={};for(var g in n)p[g]="access"===g?{}:n[g];for(var g in n.access)p.access[g]=n.access[g];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var m=(0,r[h])("accessor"===l?{get:d.get,set:d.set}:d[u],p);if("accessor"===l){if(void 0===m)continue;if(null===m||"object"!=typeof m)throw TypeError("Object expected");(s=a(m.get))&&(d.get=s),(s=a(m.set))&&(d.set=s),(s=a(m.init))&&i.unshift(s)}else(s=a(m))&&("field"===l?i.unshift(s):d[u]=s)}c&&Object.defineProperty(c,n.name,d),f=!0}function c(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{l(n.next(e))}catch(e){o(e)}}function s(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}l((n=n.apply(e,t||[])).next())})}function g(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&u[0]?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,n=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],n=0}finally{r=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var m=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function _(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||m(t,e,r)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function w(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function E(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function k(e){return this instanceof k?(this.v=e,this):new k(e)}function T(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=i[e](t)).value instanceof k?Promise.resolve(r.value.v).then(l,u):c(o[0][2],r)}catch(e){c(o[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function S(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:k(e[n](t)),done:!1}:i?i(t):t}:i}}function x(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=y(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){var o,a,s;o=n,a=i,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}function A(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var I=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},D=function(e){return(D=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=D(e),n=0;n<r.length;n++)"default"!==r[n]&&m(t,e,r[n]);return I(t,e),t}function O(e){return e&&e.__esModule?e:{default:e}}function N(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function P(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function L(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function M(e,t,r){if(null!=t){var n,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var R="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function F(e){function t(t){e.error=e.hasError?new R(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function j(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,i,o){return r?t?".jsx":".js":!n||i&&o?n+i+"."+o.toLowerCase()+"js":e}):e}let B={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:h,__awaiter:p,__generator:g,__createBinding:m,__exportStar:_,__values:y,__read:v,__spread:b,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:T,__asyncDelegator:S,__asyncValues:x,__makeTemplateObject:A,__importStar:C,__importDefault:O,__classPrivateFieldGet:N,__classPrivateFieldSet:P,__classPrivateFieldIn:L,__addDisposableResource:M,__disposeResources:F,__rewriteRelativeImportExtension:j}},5553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(14232);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("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)},5939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return E},useLinkStatus:function(){return w}});let n=r(63732),i=r(37876),o=n._(r(14232)),a=r(41921),s=r(51533),l=r(8480),u=r(2746),c=r(54591),d=r(99948),f=r(81312),h=r(36041),p=r(62092),g=r(5553);r(43207);let m=new Set;function _(e,t,r,n){if((0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(m.has(i))return;m.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let v=o.default.forwardRef(function(e,t){let r,n,{href:l,as:m,children:v,prefetch:b=null,passHref:w,replace:E,shallow:k,scroll:T,locale:S,onClick:x,onNavigate:A,onMouseEnter:I,onTouchStart:D,legacyBehavior:C=!1,...O}=e;r=v,C&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let N=o.default.useContext(d.RouterContext),P=!1!==b,{href:L,as:M}=o.default.useMemo(()=>{if(!N){let e=y(l);return{href:e,as:m?y(m):e}}let[e,t]=(0,a.resolveHref)(N,l,!0);return{href:e,as:m?(0,a.resolveHref)(N,m):t||e}},[N,l,m]),R=o.default.useRef(L),F=o.default.useRef(M);C&&(n=o.default.Children.only(r));let j=C?n&&"object"==typeof n&&n.ref:t,[B,U,z]=(0,f.useIntersection)({rootMargin:"200px"}),V=o.default.useCallback(e=>{(F.current!==M||R.current!==L)&&(z(),F.current=M,R.current=L),B(e)},[M,L,z,B]),q=(0,g.useMergedRef)(V,j);o.default.useEffect(()=>{N&&U&&P&&_(N,L,M,{locale:S})},[M,L,U,S,P,null==N?void 0:N.locale,N]);let H={ref:q,onClick(e){C||"function"!=typeof x||x(e),C&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),N&&(e.defaultPrevented||function(e,t,r,n,i,o,a,l,u){let{nodeName:c}=e.currentTarget;if(!("A"===c.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,s.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(u){let e=!1;if(u({preventDefault:()=>{e=!0}}),e)return}let e=null==a||a;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:o,locale:l,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,N,L,M,E,k,T,S,A))},onMouseEnter(e){C||"function"!=typeof I||I(e),C&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),N&&_(N,L,M,{locale:S,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){C||"function"!=typeof D||D(e),C&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),N&&_(N,L,M,{locale:S,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(M))H.href=M;else if(!C||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==N?void 0:N.locale;H.href=(null==N?void 0:N.isLocaleDomain)&&(0,h.getDomainLocale)(M,e,null==N?void 0:N.locales,null==N?void 0:N.domainLocales)||(0,p.addBasePath)((0,c.addLocale)(M,e,null==N?void 0:N.defaultLocale))}return C?o.default.cloneElement(n,H):(0,i.jsx)("a",{...O,...H,children:r})}),b=(0,o.createContext)({pending:!1}),w=()=>(0,o.useContext)(b),E=v;("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)},6014:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=(e,t)=>{let[r,i]=(0,n.useState)(()=>{try{if(window.localStorage){let r=window.localStorage.getItem(e);return r?JSON.parse(r):t}return t}catch(e){return t}});return[r,t=>{try{if(window.localStorage){let n=t instanceof Function?t(r):t;i(n),window.localStorage.setItem(e,JSON.stringify(n))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]}},7672:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,Kq:()=>c,ob:()=>d});var n=r(4902),i=r(23520),o=r.n(i),a=r(14232),s=r(37154),l="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?a.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=a.createContext(null)),u=l.Consumer,c=l.Provider,d=l;function f(e,t){var r=t||{},i=r.intlPropName,l=void 0===i?"intl":i,c=r.forwardRef,d=void 0!==c&&c,f=r.enforceContext,h=void 0===f||f,p=function(t){return a.createElement(u,null,function(r){h&&(0,s.HM)(r);var i,o=((i={})[l]=r,i);return a.createElement(e,(0,n.__assign)({},t,o,{ref:d?t.forwardedRef:null}))})};return(p.displayName="injectIntl(".concat(e.displayName||e.name||"Component",")"),p.WrappedComponent=e,d)?o()(a.forwardRef(function(e,t){return a.createElement(p,(0,n.__assign)({},e,{forwardedRef:t}))}),e):o()(p,e)}},7743:(e,t,r)=>{"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>a,xr:()=>s,yp:()=>i})},7915:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6.878V6a2.25 2.25 0 0 1 2.25-2.25h7.5A2.25 2.25 0 0 1 18 6v.878m-12 0c.235-.083.487-.128.75-.128h10.5c.263 0 .515.045.75.128m-12 0A2.25 2.25 0 0 0 4.5 9v.878m13.5-3A2.25 2.25 0 0 1 19.5 9v.878m0 0a2.246 2.246 0 0 0-.75-.128H5.25c-.263 0-.515.045-.75.128m15 0A2.25 2.25 0 0 1 21 12v6a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 18v-6c0-.98.626-1.813 1.5-2.122"}))})},8665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MakePartsList=function(e,t,r){for(var i=(0,n.PartitionPattern)(e),o=[],a=0;a<i.length;a++){var s=i[a];if("literal"===s.type)o.push({type:"literal",value:s.value});else{(0,n.invariant)("0"===s.type,"Malformed pattern ".concat(e));for(var l=0;l<r.length;l++){var u=r[l];o.push({type:u.type,value:u.value,unit:t})}}}return o};var n=r(77262)},9758:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(96427),i=r(79350);function o(){let e=(0,n._)(["\n mutation Logout {\n logout {\n success\n }\n }\n "]);return o=function(){return e},e}let a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;await e.mutate({mutation:(0,i.J1)(o())}),await e.resetStore(),t?t.push("/log-in"):window.location.href="/log-in"}},10143:(e,t,r)=>{"use strict";r.d(t,{RK:()=>a,TT:()=>n,hN:()=>function e(t,r,s,l,u,c,d){if(1===t.length&&(0,i.eW)(t[0]))return[{type:n.literal,value:t[0].value}];for(var f=[],h=0;h<t.length;h++){var p=t[h];if((0,i.eW)(p)){f.push({type:n.literal,value:p.value});continue}if((0,i.jA)(p)){"number"==typeof c&&f.push({type:n.literal,value:s.getNumberFormat(r).format(c)});continue}var g=p.value;if(!(u&&g in u))throw new o.Ei(g,d);var m=u[g];if((0,i.Im)(p)){m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),f.push({type:"string"==typeof m?n.literal:n.object,value:m});continue}if((0,i.tv)(p)){var _="string"==typeof p.style?l.date[p.style]:(0,i.Tu)(p.style)?p.style.parsedOptions:void 0;f.push({type:n.literal,value:s.getDateTimeFormat(r,_).format(m)});continue}if((0,i.Qh)(p)){var _="string"==typeof p.style?l.time[p.style]:(0,i.Tu)(p.style)?p.style.parsedOptions:l.time.medium;f.push({type:n.literal,value:s.getDateTimeFormat(r,_).format(m)});continue}if((0,i.oF)(p)){var _="string"==typeof p.style?l.number[p.style]:(0,i.N1)(p.style)?p.style.parsedOptions:void 0;_&&_.scale&&(m*=_.scale||1),f.push({type:n.literal,value:s.getNumberFormat(r,_).format(m)});continue}if((0,i.xm)(p)){var y=p.children,v=p.value,b=u[v];if(!a(b))throw new o.Zo(v,"function",d);var w=b(e(y,r,s,l,u,c).map(function(e){return e.value}));Array.isArray(w)||(w=[w]),f.push.apply(f,w.map(function(e){return{type:"string"==typeof e?n.literal:n.object,value:e}}))}if((0,i.Jp)(p)){var E=p.options[m]||p.options.other;if(!E)throw new o.$x(p.value,m,Object.keys(p.options),d);f.push.apply(f,e(E.value,r,s,l,u));continue}if((0,i.N6)(p)){var E=p.options["=".concat(m)];if(!E){if(!Intl.PluralRules)throw new o.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',o.O4.MISSING_INTL_API,d);var k=s.getPluralRules(r,{type:p.pluralType}).select(m-(p.offset||0));E=p.options[k]||p.options.other}if(!E)throw new o.$x(p.value,m,Object.keys(p.options),d);f.push.apply(f,e(E.value,r,s,l,u,m-(p.offset||0)));continue}}return f.length<2?f:f.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===n.literal&&t.type===n.literal?r.value+=t.value:e.push(t),e},[])}});var n,i=r(74769),o=r(26382);function a(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(n||(n={}))},10387:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(14232),i=r(4239);let o=()=>{let e=(0,n.useContext)(i.D);if(void 0===e)throw Error("Theme Context was used outside of its Provider");let[t,r]=e;return{theme:t,setTheme:r}}},11015:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}=e,s=n?40*n:t,l=i?40*i:r,u=s&&l?"viewBox='0 0 "+s+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+o+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},12473:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);function i(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)((t,r,n,i)=>{let o=(null==i?void 0:i.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:o,options:i}),t.addEventListener(r,o,i)},[]),r=(0,n.useCallback)((t,r,n,i)=>{var o;let a=(null==(o=e.current.get(n))?void 0:o.fn)||n;t.removeEventListener(r,a,i),e.current.delete(n)},[]),i=(0,n.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,n.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}},13277:(e,t,r)=>{"use strict";r.d(t,{Ac:()=>a,Ci:()=>l,FX:()=>h,mK:()=>s,oE:()=>p,v6:()=>f});var n=r(14232),i=r(42038),o=r(99442),a=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(a||{}),s=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(s||{});function l(){let e,t,r=(e=(0,n.useRef)([]),t=(0,n.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]),function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];if(!n.every(e=>null==e))return e.current=n,t});return(0,n.useCallback)(e=>(function(e){let{ourProps:t,theirProps:r,slot:n,defaultTag:i,features:a,visible:s=!0,name:l,mergeRefs:f}=e;f=null!=f?f:c;let h=d(r,t);if(s)return u(h,n,i,l,f);let p=null!=a?a:0;if(2&p){let{static:e=!1,...t}=h;if(e)return u(t,n,i,l,f)}if(1&p){let{unmount:e=!0,...t}=h;return(0,o.Y)(+!e,{0:()=>null,1:()=>u({...t,hidden:!0,style:{display:"none"}},n,i,l,f)})}return u(h,n,i,l,f)})({mergeRefs:r,...e}),[r])}function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,{as:s=r,children:l,refName:u="ref",...c}=g(e,["unmount","static"]),f=void 0!==e.ref?{[u]:e.ref}:{},h="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let m={};if(t){let e=!1,r=[];for(let[n,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&r.push(n.replace(/([A-Z])/g,e=>"-".concat(e.toLowerCase())));if(e)for(let e of(m["data-headlessui-state"]=r.join(" "),r))m["data-".concat(e)]=""}if(s===n.Fragment&&(Object.keys(p(c)).length>0||Object.keys(p(m)).length>0))if(!(0,n.isValidElement)(h)||Array.isArray(h)&&h.length>1){if(Object.keys(p(c)).length>0)throw Error(['Passing props on "Fragment"!',"","The current component <".concat(o,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(p(c)).concat(Object.keys(p(m))).map(e=>" - ".concat(e)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>" - ".concat(e)).join("\n")].join("\n"))}else{var _;let e=h.props,t=null==e?void 0:e.className,r="function"==typeof t?function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return(0,i.x)(t(...r),c.className)}:(0,i.x)(t,c.className),o=d(h.props,p(g(c,["ref"])));for(let e in m)e in o&&delete m[e];return(0,n.cloneElement)(h,Object.assign({},o,m,f,{ref:a((_=h,n.version.split(".")[0]>="19"?_.props.ref:_.ref),f.ref)},r?{className:r}:{}))}return(0,n.createElement)(s,Object.assign({},g(c,["ref"]),s!==n.Fragment&&f,s!==n.Fragment&&m),h)}function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.every(e=>null==e)?void 0:e=>{for(let r of t)null!=r&&("function"==typeof r?r(e):r.current=e)}}function d(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(0===t.length)return{};if(1===t.length)return t[0];let n={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):n[t]=e[t];if(n.disabled||n["aria-disabled"])for(let e in i)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(i[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in i)Object.assign(n,{[e](t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];for(let r of i[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;r(t,...n)}}});return n}function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(0===t.length)return{};if(1===t.length)return t[0];let n={},i={};for(let e of t)for(let t in e)t.startsWith("on")&&"function"==typeof e[t]?(null!=i[t]||(i[t]=[]),i[t].push(e[t])):n[t]=e[t];for(let e in i)Object.assign(n,{[e](){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];for(let t of i[e])null==t||t(...r)}});return n}function h(e){var t;return Object.assign((0,n.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function p(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function g(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}},13437:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(37876),i=r(77742);let o=()=>{let{formatMessage:e}=(0,i.A)();return(0,n.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-slate-50 dark:bg-slate-950 py-5",children:(0,n.jsxs)("div",{className:"flex items-center justify-center space-x-1 text-sm text-slate-700 dark:text-slate-200",children:[(0,n.jsx)("svg",{fill:"none",className:"h-6 w-6 animate-spin",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{clipRule:"evenodd",d:"M15.165 8.53a.5.5 0 01-.404.58A7 7 0 1023 16a.5.5 0 011 0 8 8 0 11-9.416-7.874.5.5 0 01.58.404z",fill:"currentColor",fillRule:"evenodd"})}),(0,n.jsx)("div",{children:e({id:"loading",defaultMessage:"Loading ..."})})]})})}},14866:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,r:()=>s});var n=r(37876),i=r(14232),o=r(15039),a=r.n(o);let s=(0,i.createContext)(!1),l=e=>{let{children:t,className:r=""}=e;return(0,n.jsx)(s.Provider,{value:!0,children:(0,n.jsx)("div",{className:"sm:max-w-full",children:(0,n.jsx)("div",{className:a()("bg-white dark:bg-slate-800 rounded-md shadow-sm overflow-hidden",r),children:t})})})}},15039:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=o(t,r));return t}(r)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(r=(function(){return i}).apply(t,[]))||(e.exports=r)}()},15072:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>E});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},l=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=l("iterator"),c=l("observable"),d=l("species");function f(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function h(e){var t=e.constructor;return void 0!==t&&null===(t=t[d])&&(t=void 0),void 0!==t?t:E}function p(e){p.log?p.log(e):setTimeout(function(){throw e})}function g(e){Promise.resolve().then(function(){try{e()}catch(e){p(e)}})}function m(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=f(t,"unsubscribe");r&&r.call(t)}}catch(e){p(e)}}function _(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function y(e,t,r){e._state="running";var n=e._observer;try{var i=f(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(_(e),i)i.call(n,r);else throw r;break;case"complete":_(e),i&&i.call(n)}}catch(e){p(e)}"closed"===e._state?m(e):"running"===e._state&&(e._state="ready")}function v(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],g(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(y(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}y(e,t,r)}}var b=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new w(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(_(this),m(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){v(this._subscription,"next",e)},t.error=function(e){v(this._subscription,"error",e)},t.complete=function(){v(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),E=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 b(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=h(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=f(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof E&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=f(t,u)))return new r(function(e){g(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){g(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){g(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:d,get:function(){return this}}]),e}();a()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:c,hostReportError:p},configurable:!0})},15233:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m6.75 7.5 3 2.25-3 2.25m4.5 0h3m-9 8.25h13.5A2.25 2.25 0 0 0 21 18V6a2.25 2.25 0 0 0-2.25-2.25H5.25A2.25 2.25 0 0 0 3 6v12a2.25 2.25 0 0 0 2.25 2.25Z"}))})},16109:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});var n=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(n||{})},17070:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>l,ep:()=>s,tQ:()=>u});var n=r(4902),i=r(80593),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;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],r=e[1];return[t,i.v[t]||r]})),sizes:(0,n.__assign)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(r=o.canonicalStringify)?void 0:r.call(o),links:function e(t){var r;return t?(0,n.__spreadArray)((0,n.__spreadArray)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(f):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:h(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,l=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.__assign)((0,n.__assign)({},c.apply(this)),{addTypenameDocumentTransform:h(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:d(this.storeReader.executeSelectionSet),executeSubSelectedArray:d(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:d(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:d(null==e?void 0:e.findFragmentSpreads),lookup:d(null==e?void 0:e.lookup),transform:d(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:d(this.getFragmentDoc)}}}function d(e){return e&&"dirtyKey"in e?e.size:void 0}function f(e){return null!=e}function h(e){return(function e(t){return t?(0,n.__spreadArray)((0,n.__spreadArray)([d(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(f):[]})(e).map(function(e){return{cache:e}})}},17318:(e,t,r)=>{"use strict";r.d(t,{Sf:()=>p,V1:()=>_,no:()=>h,vA:()=>y});var n=r(4902),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.__extends)(t,e),t}(Error);function l(e,t){if(!e)throw new s(t)}var u=["debug","log","warn","error","silent"],c=u.indexOf("log");function d(e){return function(){if(u.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=d("debug"),e.log=d("log"),e.warn=d("warn"),e.error=d("error")}(l||(l={}));var f=r(84918);function h(e){try{return e()}catch(e){}}let p=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return global})||h(function(){return h.constructor("return this")()});var g=r(62091);function m(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=w(i))||(t=E(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var _=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||l(e,w(t,r)||E(t,r))},{debug:m(l.debug),log:m(l.log),warn:m(l.warn),error:m(l.error)});function y(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new s(w(e,t)||E(e,t))}var v=Symbol.for("ApolloErrorMessageHandler_"+f.r);function b(e){if("string"==typeof e)return e;try{return(0,g.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function w(e,t){if(void 0===t&&(t=[]),e)return p[v]&&p[v](e,t.map(b))}function E(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:f.r,message:e,args:t.map(b)})))}globalThis.__DEV__},18659:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},18877:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(4902),i=r(79760);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.__assign)((0,n.__assign)({},e&&e.variables),t.variables))})}},19124:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4902),i=r(77262),o=r(20583),a=r(87560),s=n.__importDefault(r(31774)),l=function(){function e(t,r){if(!(this&&this instanceof e?this.constructor:void 0))throw TypeError("Intl.RelativeTimeFormat must be called with 'new'");return(0,o.InitializeRelativeTimeFormat)(this,t,r,{getInternalSlots:s.default,availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale})}return e.prototype.format=function(e,t){if("object"!=typeof this)throw TypeError("format was called on a non-object");if(!(0,s.default)(this).initializedRelativeTimeFormat)throw TypeError("format was called on a invalid context");return(0,a.PartitionRelativeTimePattern)(this,Number(e),(0,i.ToString)(t),{getInternalSlots:s.default}).map(function(e){return e.value}).join("")},e.prototype.formatToParts=function(e,t){if("object"!=typeof this)throw TypeError("formatToParts was called on a non-object");if(!(0,s.default)(this).initializedRelativeTimeFormat)throw TypeError("formatToParts was called on a invalid context");return(0,a.PartitionRelativeTimePattern)(this,Number(e),(0,i.ToString)(t),{getInternalSlots:s.default})},e.prototype.resolvedOptions=function(){if("object"!=typeof this)throw TypeError("resolvedOptions was called on a non-object");var e=(0,s.default)(this);if(!e.initializedRelativeTimeFormat)throw TypeError("resolvedOptions was called on a invalid context");return{locale:e.locale,style:e.style,numeric:e.numeric,numberingSystem:e.numberingSystem}},e.supportedLocalesOf=function(t,r){return(0,i.SupportedLocales)(e.availableLocales,(0,i.CanonicalizeLocaleList)(t),r)},e.__addLocaleData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0;n<t.length;n++){var i=t[n],o=i.data,a=i.locale,s=new Intl.Locale(a).minimize().toString();e.localeData[a]=e.localeData[s]=o,e.availableLocales.add(s),e.availableLocales.add(a),e.__defaultLocale||(e.__defaultLocale=s)}},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=new Set,e.__defaultLocale="",e.relevantExtensionKeys=["nu"],e.polyfilled=!0,e}();t.default=l;try{"undefined"!=typeof Symbol&&Object.defineProperty(l.prototype,Symbol.toStringTag,{value:"Intl.RelativeTimeFormat",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(l.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(l.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0})}catch(e){}},19221:(e,t,r)=>{"use strict";r.d(t,{a:()=>u});var n=r(4902),i=r(20996),o=r(45813),a=r(68922),s=r(71211),l=r(58851);function u(e,t,r,u){var d=t.data,f=(0,n.__rest)(t,["data"]),h=r.data,p=(0,n.__rest)(r,["data"]);return(0,i.A)(f,p)&&function e(t,r,n,o){if(r===n)return!0;var u=new Set;return t.selections.every(function(t){if(u.has(t)||(u.add(t),!(0,s.MS)(t,o.variables)||c(t)))return!0;if((0,l.dt)(t)){var d=(0,l.ue)(t),f=r&&r[d],h=n&&n[d],p=t.selectionSet;if(!p)return(0,i.A)(f,h);var g=Array.isArray(f),m=Array.isArray(h);if(g!==m)return!1;if(g&&m){var _=f.length;if(h.length!==_)return!1;for(var y=0;y<_;++y)if(!e(p,f[y],h[y],o))return!1;return!0}return e(p,f,h,o)}var v=(0,a.HQ)(t,o.fragmentMap);if(v)return!!c(v)||e(v.selectionSet,r,n,o)})}((0,o.Vn)(e).selectionSet,d,h,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:u})}function c(e){return!!e.directives&&e.directives.some(d)}function d(e){return"nonreactive"===e.name.value}},20583:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InitializeRelativeTimeFormat=function(e,t,r,a){var s=a.getInternalSlots,l=a.availableLocales,u=a.relevantExtensionKeys,c=a.localeData,d=a.getDefaultLocale,f=s(e);f.initializedRelativeTimeFormat=!0;var h=(0,n.CanonicalizeLocaleList)(t),p=Object.create(null),g=(0,n.CoerceOptionsToObject)(r);p.localeMatcher=(0,n.GetOption)(g,"localeMatcher","string",["best fit","lookup"],"best fit");var m=(0,n.GetOption)(g,"numberingSystem","string",void 0,void 0);if(void 0!==m&&!o.test(m))throw RangeError("Invalid numbering system ".concat(m));p.nu=m;var _=(0,i.ResolveLocale)(l,h,p,u,c,d),y=_.locale,v=_.nu;f.locale=y,f.style=(0,n.GetOption)(g,"style","string",["long","narrow","short"],"long"),f.numeric=(0,n.GetOption)(g,"numeric","string",["always","auto"],"always");var b=c[_.dataLocale];return(0,n.invariant)(!!b,"Missing locale data for ".concat(_.dataLocale)),f.fields=b,f.numberFormat=(0,n.createMemoizedNumberFormat)(t),f.pluralRules=(0,n.createMemoizedPluralRules)(t),f.numberingSystem=v,e};var n=r(77262),i=r(83792),o=/^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i},20996:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(f(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))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),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,d)}}return!1}(e,t)}finally{a.clear()}}let l=s;function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}let d="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},21126:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var n=r(14232);function i(e,t){return(0,n.useMemo)(()=>{var r;if(e.type)return e.type;let n=null!=(r=e.as)?r:"button";if("string"==typeof n&&"button"===n.toLowerCase()||(null==t?void 0:t.tagName)==="BUTTON"&&!t.hasAttribute("type"))return"button"},[e.type,e.as,t])}},21476:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(96427),i=r(79350),o=r(54431);function a(){let e=(0,n._)(["\n query UsersCount(\n $includeGuests: Boolean\n $queryString: String\n $lastLogin: DateFilterInput\n $emailVerified: Boolean\n ) {\n usersCount(\n includeGuests: $includeGuests\n queryString: $queryString\n lastLogin: $lastLogin\n emailVerified: $emailVerified\n )\n }\n"]);return a=function(){return e},e}let s=(0,i.J1)(a()),l=function(){let{includeGuests:e=!1,queryString:t=null,lastLogin:r=null,emailVerified:n=null}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:i,loading:a,error:l}=(0,o.IT)(s,{variables:{includeGuests:e,queryString:t,lastLogin:r,emailVerified:n}});return{usersCount:(null==i?void 0:i.usersCount)||0,loading:a,error:l}}},21500:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(93957);function i(e){var t;return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}},21588:(e,t,r)=>{"use strict";r.d(t,{e:()=>function e(){let t=[],r={addEventListener:(e,t,n,i)=>(e.addEventListener(t,n,i),r.add(()=>e.removeEventListener(t,n,i))),requestAnimationFrame(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=requestAnimationFrame(...t);return r.add(()=>cancelAnimationFrame(i))},nextFrame(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.requestAnimationFrame(()=>r.requestAnimationFrame(...t))},setTimeout(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let i=setTimeout(...t);return r.add(()=>clearTimeout(i))},microTask(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];let o={current:!0};return(0,n._)(()=>{o.current&&t[0]()}),r.add(()=>{o.current=!1})},style(e,t,r){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(t){let r=e();return t(r),this.add(()=>r.dispose())},add:e=>(t.includes(e)||t.push(e),()=>{let r=t.indexOf(e);if(r>=0)for(let e of t.splice(r,1))e()}),dispose(){for(let e of t.splice(0))e()}};return r}});var n=r(39735)},21737:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(14232).createContext({customProperties:{},hydrateFragment:(e,t)=>null})},22160:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(14232).createContext({isAdmin:()=>!1,hasRole:()=>!1})},22249:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SingularRelativeTimeUnit=function(e){if((0,n.invariant)("String"===(0,n.Type)(e),"unit must be a string"),"seconds"===e)return"second";if("minutes"===e)return"minute";if("hours"===e)return"hour";if("days"===e)return"day";if("weeks"===e)return"week";if("months"===e)return"month";if("quarters"===e)return"quarter";if("years"===e)return"year";if("second"!==e&&"minute"!==e&&"hour"!==e&&"day"!==e&&"week"!==e&&"month"!==e&&"quarter"!==e&&"year"!==e)throw RangeError("invalid unit");return e};var n=r(77262)},23045:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InitializePluralRules=function(e,t,r,o){var a=o.availableLocales,s=o.relevantExtensionKeys,l=o.localeData,u=o.getDefaultLocale,c=o.getInternalSlots,d=(0,n.CanonicalizeLocaleList)(t),f=Object.create(null),h=(0,n.CoerceOptionsToObject)(r),p=c(e);return p.initializedPluralRules=!0,f.localeMatcher=(0,n.GetOption)(h,"localeMatcher","string",["best fit","lookup"],"best fit"),p.locale=(0,i.ResolveLocale)(a,d,f,s,l,u).locale,p.type=(0,n.GetOption)(h,"type","string",["cardinal","ordinal"],"cardinal"),(0,n.SetNumberFormatDigitOptions)(p,h,0,3,"standard"),e};var n=r(77262),i=r(83792)},23176:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 0 1 1.242 7.244l-4.5 4.5a4.5 4.5 0 0 1-6.364-6.364l1.757-1.757m13.35-.622 1.757-1.757a4.5 4.5 0 0 0-6.364-6.364l-4.5 4.5a4.5 4.5 0 0 0 1.242 7.244"}))})},23405:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(37876),i=r(14232),o=r(75769);class a extends i.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,n.jsx)(o.A,{error:this.state.error,resetError:()=>this.setState({hasError:!1,error:null})}):this.props.children}constructor(e){super(e),this.state={hasError:!1,error:null}}}let s=a},23520:(e,t,r)=>{"use strict";var n=r(68128),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var a=c(r);d&&(a=a.concat(d(r)));for(var s=l(t),g=l(r),m=0;m<a.length;++m){var _=a[m];if(!o[_]&&!(n&&n[_])&&!(g&&g[_])&&!(s&&s[_])){var y=f(r,_);try{u(t,_,y)}catch(e){}}}}return t}},24607:(e,t,r)=>{"use strict";r.d(t,{Y:()=>o});var n=r(14232),i=r(77e3);function o(e){let t=(0,n.useRef)(e);return(0,i.s)(()=>{t.current=e},[e]),t}},25602:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(96427),i=r(79350),o=r(54431);function a(){let e=(0,n._)(["\n query ShopInfo {\n shopInfo {\n _id\n version\n language {\n _id\n isoCode\n name\n }\n country {\n _id\n isoCode\n flagEmoji\n name\n defaultCurrency {\n _id\n isoCode\n }\n }\n adminUiConfig {\n singleSignOnURL\n externalLinks {\n href\n title\n target\n }\n customProperties {\n entityName\n inlineFragment\n }\n }\n }\n }\n"]);return a=function(){return e},e}let s=(0,i.J1)(a()),l=()=>{let{data:e,loading:t,error:r}=(0,o.IT)(s,{fetchPolicy:"cache-first"});return{shopInfo:null==e?void 0:e.shopInfo,loading:t,error:r}}},26382:(e,t,r)=>{"use strict";r.d(t,{$x:()=>a,Ei:()=>l,IF:()=>o,O4:()=>n,Zo:()=>s});var n,i=r(4902);!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(n||(n={}));var o=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return(0,i.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),a=function(e){function t(t,r,i,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),n.INVALID_VALUE,o)||this}return(0,i.__extends)(t,e),t}(o),s=function(e){function t(t,r,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),n.INVALID_VALUE,i)||this}return(0,i.__extends)(t,e),t}(o),l=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),n.MISSING_VALUE,r)||this}return(0,i.__extends)(t,e),t}(o)},26828:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var n,i=r(95682),o=r(80593),a=r(17070),s=Object.assign(function(e){return JSON.stringify(e,l)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function l(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(u))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var l=Object.create(r);return a.forEach(function(e){l[e]=t[e]}),l}}return t}function u(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return n.size}),s.reset()},27105:(e,t,r)=>{"use strict";r.d(t,{A:()=>d,s:()=>c});var n=r(37876),i=r(14232),o=r(77742),a=r(4492),s=r(64405),l=r(25602);let u=(0,i.createContext)(void 0),c=e=>{let{children:t,onlyFull:r=!1}=e,{languages:c}=(0,a.A)(),{shopInfo:d,loading:f}=(0,l.A)(),{countries:h}=(0,s.A)(),{locale:p}=(0,o.A)(),[g,m]=(0,i.useState)(p);(0,i.useEffect)(()=>{if(!f){var e,t,r;m("".concat(null==d||null==(e=d.language)?void 0:e.isoCode,"-").concat(null==d||null==(r=d.country)||null==(t=r.isoCode)?void 0:t.toUpperCase()))}},[d,f,p]);let _=((e,t)=>{let r=[];return e.forEach(e=>{let{_id:n,isoCode:i}=e;r.push({_id:n,isoCode:i}),t.forEach(e=>{let{isoCode:t,_id:o}=e,a="".concat(i,"-").concat(t.toUpperCase());r.push({_id:"".concat(o,"-").concat(n),isoCode:a})})}),r})(c,h).filter(e=>!r||e.isoCode.includes("-")),y=!!(null==d?void 0:d.language)&&!!(null==d?void 0:d.country);return(0,n.jsx)(u.Provider,{value:{selectedLocale:g,setSelectedLocale:m,languageDialectList:_,isSystemReady:y},children:t})},d=u},29044:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,_=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case d:case o:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case m:case g:case l:return e;default:return t}}case i:return t}}}function E(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return E(e)||w(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===u},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_)},t.typeOf=w},29429:(e,t,r)=>{"use strict";var n=r(14232),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=n.useState,a=n.useEffect,s=n.useLayoutEffect,l=n.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return s(function(){i.value=r,i.getSnapshot=t,u(i)&&c({inst:i})},[e,r,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},29939:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96427);function i(){let e=(0,n._)(["\n fragment LanguageFragment on Language {\n _id\n isoCode\n isActive\n isBase\n name\n }\n"]);return i=function(){return e},e}let o=(0,r(79350).J1)(i())},31774:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.get(e);return t||(t=Object.create(null),r.set(e,t)),t};var r=new WeakMap},31843:(e,t,r)=>{"use strict";let n;r.d(t,{b:()=>eZ});var i,o,a,s,l=r(14232),u="vercel.ai.error",c=Symbol.for(u),d=class e extends Error{constructor({name:e,message:t,cause:r}){super(t),this[i]=!0,this.name=e,this.cause=r}static isInstance(t){return e.hasMarker(t,u)}static hasMarker(e,t){let r=Symbol.for(t);return null!=e&&"object"==typeof e&&r in e&&"boolean"==typeof e[r]&&!0===e[r]}};i=c;var f=d;function h(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}Symbol.for("vercel.ai.error.AI_APICallError"),Symbol.for("vercel.ai.error.AI_EmptyResponseBodyError");var p="AI_InvalidArgumentError",g=`vercel.ai.error.${p}`,m=Symbol.for(g),_=class extends f{constructor({message:e,cause:t,argument:r}){super({name:p,message:e,cause:t}),this[o]=!0,this.argument=r}static isInstance(e){return f.hasMarker(e,g)}};o=m,Symbol.for("vercel.ai.error.AI_InvalidPromptError"),Symbol.for("vercel.ai.error.AI_InvalidResponseDataError");var y="AI_JSONParseError",v=`vercel.ai.error.${y}`,b=Symbol.for(v),w=class extends f{constructor({text:e,cause:t}){super({name:y,message:`JSON parsing failed: Text: ${e}.
|
|
3
|
-
Error message: ${h(t)}`,cause:t}),this[a]=!0,this.text=e}static isInstance(e){return f.hasMarker(e,v)}};a=b,Symbol.for("vercel.ai.error.AI_LoadAPIKeyError"),Symbol.for("vercel.ai.error.AI_LoadSettingError"),Symbol.for("vercel.ai.error.AI_NoContentGeneratedError"),Symbol.for("vercel.ai.error.AI_NoSuchModelError"),Symbol.for("vercel.ai.error.AI_TooManyEmbeddingValuesForCallError");var E="AI_TypeValidationError",k=`vercel.ai.error.${E}`,T=Symbol.for(k),S=class e extends f{constructor({value:e,cause:t}){super({name:E,message:`Type validation failed: Value: ${JSON.stringify(e)}.
|
|
4
|
-
Error message: ${h(t)}`,cause:t}),this[s]=!0,this.value=e}static isInstance(e){return f.hasMarker(e,k)}static wrap({value:t,cause:r}){return e.isInstance(r)&&r.value===t?r:new e({value:t,cause:r})}};s=T,Symbol.for("vercel.ai.error.AI_UnsupportedFunctionalityError");var x=r(42387);r(99742);var A=(({prefix:e,size:t=16,alphabet:r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:n="-"}={})=>{let i=((e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i--;)n+=e[Math.random()*e.length|0];return n})(r,t);if(null==e)return i;if(r.includes(n))throw new _({argument:"separator",message:`The separator "${n}" must not be part of the alphabet "${r}".`});return t=>`${e}${n}${i(t)}`})(),I=Symbol.for("vercel.ai.validator");function D({text:e,schema:t}){try{let r=x.parse(e);if(null==t)return{success:!0,value:r,rawValue:r};let n=function({value:e,schema:t}){var r;let n="object"==typeof t&&null!==t&&I in t&&!0===t[I]&&"validate"in t?t:(r=t,{[I]:!0,validate:e=>{let t=r.safeParse(e);return t.success?{success:!0,value:t.data}:{success:!1,error:t.error}}});try{if(null==n.validate)return{success:!0,value:e};let t=n.validate(e);if(t.success)return t;return{success:!1,error:S.wrap({value:e,cause:t.error})}}catch(t){return{success:!1,error:S.wrap({value:e,cause:t})}}}({value:r,schema:t});return n.success?{...n,rawValue:r}:n}catch(t){return{success:!1,error:w.isInstance(t)?t:new w({text:e,cause:t})}}}var{btoa:C,atob:O}=globalThis;Symbol("Let zodToJsonSchema decide on which parser to use");var N={code:"0",name:"text",parse:e=>{if("string"!=typeof e)throw Error('"text" parts expect a string value.');return{type:"text",value:e}}},P={code:"3",name:"error",parse:e=>{if("string"!=typeof e)throw Error('"error" parts expect a string value.');return{type:"error",value:e}}},L={code:"4",name:"assistant_message",parse:e=>{if(null==e||"object"!=typeof e||!("id"in e)||!("role"in e)||!("content"in e)||"string"!=typeof e.id||"string"!=typeof e.role||"assistant"!==e.role||!Array.isArray(e.content)||!e.content.every(e=>null!=e&&"object"==typeof e&&"type"in e&&"text"===e.type&&"text"in e&&null!=e.text&&"object"==typeof e.text&&"value"in e.text&&"string"==typeof e.text.value))throw Error('"assistant_message" parts expect an object with an "id", "role", and "content" property.');return{type:"assistant_message",value:e}}},M={code:"5",name:"assistant_control_data",parse:e=>{if(null==e||"object"!=typeof e||!("threadId"in e)||!("messageId"in e)||"string"!=typeof e.threadId||"string"!=typeof e.messageId)throw Error('"assistant_control_data" parts expect an object with a "threadId" and "messageId" property.');return{type:"assistant_control_data",value:{threadId:e.threadId,messageId:e.messageId}}}},R={code:"6",name:"data_message",parse:e=>{if(null==e||"object"!=typeof e||!("role"in e)||!("data"in e)||"string"!=typeof e.role||"data"!==e.role)throw Error('"data_message" parts expect an object with a "role" and "data" property.');return{type:"data_message",value:e}}},F=[N,P,L,M,R];N.code,P.code,L.code,M.code,R.code,N.name,N.code,P.name,P.code,L.name,L.code,M.name,M.code,R.name,R.code,F.map(e=>e.code);var j=[{code:"0",name:"text",parse:e=>{if("string"!=typeof e)throw Error('"text" parts expect a string value.');return{type:"text",value:e}}},{code:"2",name:"data",parse:e=>{if(!Array.isArray(e))throw Error('"data" parts expect an array value.');return{type:"data",value:e}}},{code:"3",name:"error",parse:e=>{if("string"!=typeof e)throw Error('"error" parts expect a string value.');return{type:"error",value:e}}},{code:"8",name:"message_annotations",parse:e=>{if(!Array.isArray(e))throw Error('"message_annotations" parts expect an array value.');return{type:"message_annotations",value:e}}},{code:"9",name:"tool_call",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("toolName"in e)||"string"!=typeof e.toolName||!("args"in e)||"object"!=typeof e.args)throw Error('"tool_call" parts expect an object with a "toolCallId", "toolName", and "args" property.');return{type:"tool_call",value:e}}},{code:"a",name:"tool_result",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("result"in e))throw Error('"tool_result" parts expect an object with a "toolCallId" and a "result" property.');return{type:"tool_result",value:e}}},{code:"b",name:"tool_call_streaming_start",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("toolName"in e)||"string"!=typeof e.toolName)throw Error('"tool_call_streaming_start" parts expect an object with a "toolCallId" and "toolName" property.');return{type:"tool_call_streaming_start",value:e}}},{code:"c",name:"tool_call_delta",parse:e=>{if(null==e||"object"!=typeof e||!("toolCallId"in e)||"string"!=typeof e.toolCallId||!("argsTextDelta"in e)||"string"!=typeof e.argsTextDelta)throw Error('"tool_call_delta" parts expect an object with a "toolCallId" and "argsTextDelta" property.');return{type:"tool_call_delta",value:e}}},{code:"d",name:"finish_message",parse:e=>{if(null==e||"object"!=typeof e||!("finishReason"in e)||"string"!=typeof e.finishReason)throw Error('"finish_message" parts expect an object with a "finishReason" property.');let t={finishReason:e.finishReason};return"usage"in e&&null!=e.usage&&"object"==typeof e.usage&&"promptTokens"in e.usage&&"completionTokens"in e.usage&&(t.usage={promptTokens:"number"==typeof e.usage.promptTokens?e.usage.promptTokens:NaN,completionTokens:"number"==typeof e.usage.completionTokens?e.usage.completionTokens:NaN}),{type:"finish_message",value:t}}},{code:"e",name:"finish_step",parse:e=>{if(null==e||"object"!=typeof e||!("finishReason"in e)||"string"!=typeof e.finishReason)throw Error('"finish_step" parts expect an object with a "finishReason" property.');let t={finishReason:e.finishReason,isContinued:!1};return"usage"in e&&null!=e.usage&&"object"==typeof e.usage&&"promptTokens"in e.usage&&"completionTokens"in e.usage&&(t.usage={promptTokens:"number"==typeof e.usage.promptTokens?e.usage.promptTokens:NaN,completionTokens:"number"==typeof e.usage.completionTokens?e.usage.completionTokens:NaN}),"isContinued"in e&&"boolean"==typeof e.isContinued&&(t.isContinued=e.isContinued),{type:"finish_step",value:t}}},{code:"f",name:"start_step",parse:e=>{if(null==e||"object"!=typeof e||!("messageId"in e)||"string"!=typeof e.messageId)throw Error('"start_step" parts expect an object with an "id" property.');return{type:"start_step",value:{messageId:e.messageId}}}},{code:"g",name:"reasoning",parse:e=>{if("string"!=typeof e)throw Error('"reasoning" parts expect a string value.');return{type:"reasoning",value:e}}},{code:"h",name:"source",parse:e=>{if(null==e||"object"!=typeof e)throw Error('"source" parts expect a Source object.');return{type:"source",value:e}}},{code:"i",name:"redacted_reasoning",parse:e=>{if(null==e||"object"!=typeof e||!("data"in e)||"string"!=typeof e.data)throw Error('"redacted_reasoning" parts expect an object with a "data" property.');return{type:"redacted_reasoning",value:{data:e.data}}}},{code:"j",name:"reasoning_signature",parse:e=>{if(null==e||"object"!=typeof e||!("signature"in e)||"string"!=typeof e.signature)throw Error('"reasoning_signature" parts expect an object with a "signature" property.');return{type:"reasoning_signature",value:{signature:e.signature}}}},{code:"k",name:"file",parse:e=>{if(null==e||"object"!=typeof e||!("data"in e)||"string"!=typeof e.data||!("mimeType"in e)||"string"!=typeof e.mimeType)throw Error('"file" parts expect an object with a "data" and "mimeType" property.');return{type:"file",value:e}}}],B=Object.fromEntries(j.map(e=>[e.code,e]));Object.fromEntries(j.map(e=>[e.name,e.code]));var U=j.map(e=>e.code),z=e=>{let t=e.indexOf(":");if(-1===t)throw Error("Failed to parse stream string. No separator found.");let r=e.slice(0,t);if(!U.includes(r))throw Error(`Failed to parse stream string. Invalid code ${r}.`);let n=JSON.parse(e.slice(t+1));return B[r].parse(n)};async function V({stream:e,onTextPart:t,onReasoningPart:r,onReasoningSignaturePart:n,onRedactedReasoningPart:i,onSourcePart:o,onFilePart:a,onDataPart:s,onErrorPart:l,onToolCallStreamingStartPart:u,onToolCallDeltaPart:c,onToolCallPart:d,onToolResultPart:f,onMessageAnnotationsPart:h,onFinishMessagePart:p,onFinishStepPart:g,onStartStepPart:m}){let _=e.getReader(),y=new TextDecoder,v=[],b=0;for(;;){let{value:e}=await _.read();if(e&&(v.push(e),b+=e.length,10!==e[e.length-1]))continue;if(0===v.length)break;let w=function(e,t){let r=new Uint8Array(t),n=0;for(let t of e)r.set(t,n),n+=t.length;return e.length=0,r}(v,b);for(let{type:e,value:_}of(b=0,y.decode(w,{stream:!0}).split("\n").filter(e=>""!==e).map(z)))switch(e){case"text":await (null==t?void 0:t(_));break;case"reasoning":await (null==r?void 0:r(_));break;case"reasoning_signature":await (null==n?void 0:n(_));break;case"redacted_reasoning":await (null==i?void 0:i(_));break;case"file":await (null==a?void 0:a(_));break;case"source":await (null==o?void 0:o(_));break;case"data":await (null==s?void 0:s(_));break;case"error":await (null==l?void 0:l(_));break;case"message_annotations":await (null==h?void 0:h(_));break;case"tool_call_streaming_start":await (null==u?void 0:u(_));break;case"tool_call_delta":await (null==c?void 0:c(_));break;case"tool_call":await (null==d?void 0:d(_));break;case"tool_result":await (null==f?void 0:f(_));break;case"finish_message":await (null==p?void 0:p(_));break;case"finish_step":await (null==g?void 0:g(_));break;case"start_step":await (null==m?void 0:m(_));break;default:throw Error(`Unknown stream part type: ${e}`)}}}async function q({stream:e,update:t,onToolCall:r,onFinish:n,generateId:i=A,getCurrentDate:o=()=>new Date,lastMessage:a}){var s,l;let u,c,d,f=(null==a?void 0:a.role)==="assistant",h=f?1+(null!=(l=null==(s=a.toolInvocations)?void 0:s.reduce((e,t)=>{var r;return Math.max(e,null!=(r=t.step)?r:0)},0))?l:0):0,p=f?structuredClone(a):{id:i(),createdAt:o(),role:"assistant",content:"",parts:[]};function g(e,t){let r=p.parts.find(t=>"tool-invocation"===t.type&&t.toolInvocation.toolCallId===e);null!=r?r.toolInvocation=t:p.parts.push({type:"tool-invocation",toolInvocation:t})}let m=[],_=f?null==a?void 0:a.annotations:void 0,y={},v={completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},b="unknown";function w(){let e=[...m];(null==_?void 0:_.length)&&(p.annotations=_),t({message:{...structuredClone(p),revisionId:i()},data:e,replaceLastMessage:f})}await V({stream:e,onTextPart(e){null==u?(u={type:"text",text:e},p.parts.push(u)):u.text+=e,p.content+=e,w()},onReasoningPart(e){var t;null==d?(d={type:"text",text:e},null!=c&&c.details.push(d)):d.text+=e,null==c?(c={type:"reasoning",reasoning:e,details:[d]},p.parts.push(c)):c.reasoning+=e,p.reasoning=(null!=(t=p.reasoning)?t:"")+e,w()},onReasoningSignaturePart(e){null!=d&&(d.signature=e.signature)},onRedactedReasoningPart(e){null==c&&(c={type:"reasoning",reasoning:"",details:[]},p.parts.push(c)),c.details.push({type:"redacted",data:e.data}),d=void 0,w()},onFilePart(e){p.parts.push({type:"file",mimeType:e.mimeType,data:e.data}),w()},onSourcePart(e){p.parts.push({type:"source",source:e}),w()},onToolCallStreamingStartPart(e){null==p.toolInvocations&&(p.toolInvocations=[]),y[e.toolCallId]={text:"",step:h,toolName:e.toolName,index:p.toolInvocations.length};let t={state:"partial-call",step:h,toolCallId:e.toolCallId,toolName:e.toolName,args:void 0};p.toolInvocations.push(t),g(e.toolCallId,t),w()},onToolCallDeltaPart(e){let t=y[e.toolCallId];t.text+=e.argsTextDelta;let{value:r}=function(e){if(void 0===e)return{value:void 0,state:"undefined-input"};let t=D({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=D({text:function(e){let t=["ROOT"],r=-1,n=null;function i(e,i,o){switch(e){case'"':r=i,t.pop(),t.push(o),t.push("INSIDE_STRING");break;case"f":case"t":case"n":r=i,n=i,t.pop(),t.push(o),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":r=i,t.pop(),t.push(o),t.push("INSIDE_NUMBER");break;case"{":r=i,t.pop(),t.push(o),t.push("INSIDE_OBJECT_START");break;case"[":r=i,t.pop(),t.push(o),t.push("INSIDE_ARRAY_START")}}function o(e,n){switch(e){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":r=n,t.pop()}}function a(e,n){switch(e){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":r=n,t.pop()}}for(let s=0;s<e.length;s++){let l=e[s];switch(t[t.length-1]){case"ROOT":i(l,s,"FINISH");break;case"INSIDE_OBJECT_START":switch(l){case'"':t.pop(),t.push("INSIDE_OBJECT_KEY");break;case"}":r=s,t.pop()}break;case"INSIDE_OBJECT_AFTER_COMMA":'"'===l&&(t.pop(),t.push("INSIDE_OBJECT_KEY"));break;case"INSIDE_OBJECT_KEY":'"'===l&&(t.pop(),t.push("INSIDE_OBJECT_AFTER_KEY"));break;case"INSIDE_OBJECT_AFTER_KEY":":"===l&&(t.pop(),t.push("INSIDE_OBJECT_BEFORE_VALUE"));break;case"INSIDE_OBJECT_BEFORE_VALUE":i(l,s,"INSIDE_OBJECT_AFTER_VALUE");break;case"INSIDE_OBJECT_AFTER_VALUE":o(l,s);break;case"INSIDE_STRING":switch(l){case'"':t.pop(),r=s;break;case"\\":t.push("INSIDE_STRING_ESCAPE");break;default:r=s}break;case"INSIDE_ARRAY_START":"]"===l?(r=s,t.pop()):(r=s,i(l,s,"INSIDE_ARRAY_AFTER_VALUE"));break;case"INSIDE_ARRAY_AFTER_VALUE":switch(l){case",":t.pop(),t.push("INSIDE_ARRAY_AFTER_COMMA");break;case"]":r=s,t.pop();break;default:r=s}break;case"INSIDE_ARRAY_AFTER_COMMA":i(l,s,"INSIDE_ARRAY_AFTER_VALUE");break;case"INSIDE_STRING_ESCAPE":t.pop(),r=s;break;case"INSIDE_NUMBER":switch(l){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":r=s;break;case"e":case"E":case"-":case".":break;case",":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&a(l,s),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(l,s);break;case"}":t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&o(l,s);break;case"]":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&a(l,s);break;default:t.pop()}break;case"INSIDE_LITERAL":{let i=e.substring(n,s+1);"false".startsWith(i)||"true".startsWith(i)||"null".startsWith(i)?r=s:(t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]?o(l,s):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&a(l,s))}}}let s=e.slice(0,r+1);for(let r=t.length-1;r>=0;r--)switch(t[r]){case"INSIDE_STRING":s+='"';break;case"INSIDE_OBJECT_KEY":case"INSIDE_OBJECT_AFTER_KEY":case"INSIDE_OBJECT_AFTER_COMMA":case"INSIDE_OBJECT_START":case"INSIDE_OBJECT_BEFORE_VALUE":case"INSIDE_OBJECT_AFTER_VALUE":s+="}";break;case"INSIDE_ARRAY_START":case"INSIDE_ARRAY_AFTER_COMMA":case"INSIDE_ARRAY_AFTER_VALUE":s+="]";break;case"INSIDE_LITERAL":{let t=e.substring(n,e.length);"true".startsWith(t)?s+="true".slice(t.length):"false".startsWith(t)?s+="false".slice(t.length):"null".startsWith(t)&&(s+="null".slice(t.length))}}return s}(e)})).success?{value:t.value,state:"repaired-parse"}:{value:void 0,state:"failed-parse"}}(t.text),n={state:"partial-call",step:t.step,toolCallId:e.toolCallId,toolName:t.toolName,args:r};p.toolInvocations[t.index]=n,g(e.toolCallId,n),w()},async onToolCallPart(e){let t={state:"call",step:h,...e};if(null!=y[e.toolCallId]?p.toolInvocations[y[e.toolCallId].index]=t:(null==p.toolInvocations&&(p.toolInvocations=[]),p.toolInvocations.push(t)),g(e.toolCallId,t),w(),r){let t=await r({toolCall:e});if(null!=t){let r={state:"result",step:h,...e,result:t};p.toolInvocations[p.toolInvocations.length-1]=r,g(e.toolCallId,r),w()}}},onToolResultPart(e){let t=p.toolInvocations;if(null==t)throw Error("tool_result must be preceded by a tool_call");let r=t.findIndex(t=>t.toolCallId===e.toolCallId);if(-1===r)throw Error("tool_result must be preceded by a tool_call with the same toolCallId");let n={...t[r],state:"result",...e};t[r]=n,g(e.toolCallId,n),w()},onDataPart(e){m.push(...e),w()},onMessageAnnotationsPart(e){null==_?_=[...e]:_.push(...e),w()},onFinishStepPart(e){h+=1,u=e.isContinued?u:void 0,c=void 0,d=void 0},onStartStepPart(e){f||(p.id=e.messageId),p.parts.push({type:"step-start"}),w()},onFinishMessagePart(e){b=e.finishReason,null!=e.usage&&(v=function({promptTokens:e,completionTokens:t}){return{promptTokens:e,completionTokens:t,totalTokens:e+t}}(e.usage))},onErrorPart(e){throw Error(e)}}),null==n||n({message:p,finishReason:b,usage:v})}async function H({stream:e,onTextPart:t}){let r=e.pipeThrough(new TextDecoderStream).getReader();for(;;){let{done:e,value:n}=await r.read();if(e)break;await t(n)}}async function G({stream:e,update:t,onFinish:r,getCurrentDate:n=()=>new Date,generateId:i=A}){let o={type:"text",text:""},a={id:i(),createdAt:n(),role:"assistant",content:"",parts:[o]};await H({stream:e,onTextPart:e=>{a.content+=e,o.text+=e,t({message:{...a},data:[],replaceLastMessage:!1})}}),null==r||r(a,{usage:{completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},finishReason:"unknown"})}async function W({api:e,body:t,streamProtocol:r="data",credentials:n,headers:i,abortController:o,restoreMessagesOnFailure:a,onResponse:s,onUpdate:l,onFinish:u,onToolCall:c,generateId:d,fetch:f=fetch,lastMessage:h,requestType:p="generate"}){var g,m,_;let y="resume"===p?f(`${e}?chatId=${t.id}`,{method:"GET",headers:{"Content-Type":"application/json",...i},signal:null==(g=null==o?void 0:o())?void 0:g.signal,credentials:n}):f(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",...i},signal:null==(m=null==o?void 0:o())?void 0:m.signal,credentials:n}),v=await y.catch(e=>{throw a(),e});if(s)try{await s(v)}catch(e){throw e}if(!v.ok)throw a(),Error(null!=(_=await v.text())?_:"Failed to fetch the chat response.");if(!v.body)throw Error("The response body is empty.");switch(r){case"text":return void await G({stream:v.body,update:l,onFinish:u,generateId:d});case"data":return void await q({stream:v.body,update:l,lastMessage:h,onToolCall:c,onFinish({message:e,finishReason:t,usage:r}){u&&null!=e&&u(e,{usage:r,finishReason:t})},generateId:d});default:throw Error(`Unknown stream protocol: ${r}`)}}function K(e){return null==e?void 0:e.reduce((e,t)=>{var r;return Math.max(e,null!=(r=t.step)?r:0)},0)}function Q(e){var t;return null!=(t=e.parts)?t:[...e.toolInvocations?e.toolInvocations.map(e=>({type:"tool-invocation",toolInvocation:e})):[],...e.reasoning?[{type:"reasoning",reasoning:e.reasoning,details:[{type:"text",text:e.reasoning}]}]:[],...e.content?[{type:"text",text:e.content}]:[]]}function Z(e){return e.map(e=>({...e,parts:Q(e)}))}async function $(e){if(!e)return[];if(globalThis.FileList&&e instanceof globalThis.FileList)return Promise.all(Array.from(e).map(async e=>{let{name:t,type:r}=e;return{name:t,contentType:r,url:await new Promise((t,r)=>{let n=new FileReader;n.onload=e=>{var r;t(null==(r=e.target)?void 0:r.result)},n.onerror=e=>r(e),n.readAsDataURL(e)})}}));if(Array.isArray(e))return e;throw Error("Invalid attachments type")}function Y(e){if("assistant"!==e.role)return!1;let t=e.parts.reduce((e,t,r)=>"step-start"===t.type?r:e,-1),r=e.parts.slice(t+1).filter(e=>"tool-invocation"===e.type);return r.length>0&&r.every(e=>"result"in e.toolInvocation)}Symbol.for("vercel.ai.schema");var J=r(38806),X=Object.prototype.hasOwnProperty;let ee=new WeakMap,et=()=>{},er=et(),en=Object,ei=e=>e===er,eo=(e,t)=>({...e,...t}),ea={},es={},el="undefined",eu=typeof window!=el,ec=typeof document!=el,ed=eu&&"Deno"in window,ef=(e,t)=>{let r=ee.get(e);return[()=>!ei(t)&&e.get(t)||ea,n=>{if(!ei(t)){let i=e.get(t);t in es||(es[t]=i),r[5](t,eo(i,n),i||ea)}},r[6],()=>!ei(t)&&t in es?es[t]:!ei(t)&&e.get(t)||ea]},eh=!0,[ep,eg]=eu&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[et,et],em={initFocus:e=>(ec&&document.addEventListener("visibilitychange",e),ep("focus",e),()=>{ec&&document.removeEventListener("visibilitychange",e),eg("focus",e)}),initReconnect:e=>{let t=()=>{eh=!0,e()},r=()=>{eh=!1};return ep("online",t),ep("offline",r),()=>{eg("online",t),eg("offline",r)}}},e_=!l.useId,ey=!eu||ed,ev=ey?l.useEffect:l.useLayoutEffect,eb="undefined"!=typeof navigator&&navigator.connection,ew=!ey&&eb&&(["slow-2g","2g"].includes(eb.effectiveType)||eb.saveData),eE=new WeakMap,ek=(e,t)=>e===`[object ${t}]`,eT=0,eS=e=>{let t,r,n=typeof e,i=en.prototype.toString.call(e),o=ek(i,"Date"),a=ek(i,"RegExp"),s=ek(i,"Object");if(en(e)!==e||o||a)t=o?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=eE.get(e))return t;if(t=++eT+"~",eE.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=eS(e[r])+",";eE.set(e,t)}if(s){t="#";let n=en.keys(e).sort();for(;!ei(r=n.pop());)ei(e[r])||(t+=r+":"+eS(e[r])+",");eE.set(e,t)}}return t},ex=e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?eS(e):"",t]},eA=0,eI=()=>++eA;async function eD(...e){let[t,r,n,i]=e,o=eo({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),a=o.populateCache,s=o.rollbackOnError,l=o.optimisticData,u=o.throwOnError;if("function"==typeof r){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(c))}return c(r);async function c(r){let i,[c]=ex(r);if(!c)return;let[d,f]=ef(t,c),[h,p,g,m]=ee.get(t),_=()=>{let e=h[c];return("function"==typeof o.revalidate?o.revalidate(d().data,r):!1!==o.revalidate)&&(delete g[c],delete m[c],e&&e[0])?e[0](2).then(()=>d().data):d().data};if(e.length<3)return _();let y=n,v=!1,b=eI();p[c]=[b,0];let w=!ei(l),E=d(),k=E.data,T=E._c,S=ei(T)?k:T;if(w&&f({data:l="function"==typeof l?l(S,k):l,_c:S}),"function"==typeof y)try{y=y(S)}catch(e){i=e,v=!0}if(y&&"function"==typeof y.then){let e;if(y=await y.catch(e=>{i=e,v=!0}),b!==p[c][0]){if(v)throw i;return y}v&&w&&(e=i,"function"==typeof s?s(e):!1!==s)&&(a=!0,f({data:S,_c:er}))}if(a&&!v&&("function"==typeof a?f({data:a(y,S),error:er,_c:er}):f({data:y,error:er,_c:er})),p[c][1]=eI(),Promise.resolve(_()).then(()=>{f({_c:er})}),v){if(u)throw i;return}return y}}let eC=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},eO=(e,t)=>{if(!ee.has(e)){let r=eo(em,t),n=Object.create(null),i=eD.bind(er,e),o=et,a=Object.create(null),s=(e,t)=>{let r=a[e]||[];return a[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},l=(t,r,n)=>{e.set(t,r);let i=a[t];if(i)for(let e of i)e(r,n)},u=()=>{if(!ee.has(e)&&(ee.set(e,[n,Object.create(null),Object.create(null),Object.create(null),i,l,s]),!ey)){let t=r.initFocus(setTimeout.bind(er,eC.bind(er,n,0))),i=r.initReconnect(setTimeout.bind(er,eC.bind(er,n,1)));o=()=>{t&&t(),i&&i(),ee.delete(e)}}};return u(),[e,i,u,o]}return[e,ee.get(e)[4]]},[eN,eP]=eO(new Map),eL=eo({onLoadingSlow:et,onSuccess:et,onError:et,onErrorRetry:(e,t,r,n,i)=>{let o=r.errorRetryCount,a=i.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;(ei(o)||!(a>o))&&setTimeout(n,s,i)},onDiscarded:et,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:ew?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:ew?5e3:3e3,compare:function e(t,r){var n,i;if(t===r)return!0;if(t&&r&&(n=t.constructor)===r.constructor){if(n===Date)return t.getTime()===r.getTime();if(n===RegExp)return t.toString()===r.toString();if(n===Array){if((i=t.length)===r.length)for(;i--&&e(t[i],r[i]););return -1===i}if(!n||"object"==typeof t){for(n in i=0,t)if(X.call(t,n)&&++i&&!X.call(r,n)||!(n in r)||!e(t[n],r[n]))return!1;return Object.keys(r).length===i}}return t!=t&&r!=r},isPaused:()=>!1,cache:eN,mutate:eP,fallback:{}},{isOnline:()=>eh,isVisible:()=>{let e=ec&&document.visibilityState;return ei(e)||"hidden"!==e}}),eM=(e,t)=>{let r=eo(e,t);if(t){let{use:n,fallback:i}=e,{use:o,fallback:a}=t;n&&o&&(r.use=n.concat(o)),i&&a&&(r.fallback=eo(i,a))}return r},eR=(0,l.createContext)({}),eF=eu&&window.__SWR_DEVTOOLS_USE__,ej=(eF?window.__SWR_DEVTOOLS_USE__:[]).concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=ex(t),[,,,i]=ee.get(eN);if(n.startsWith("$inf$"))return r(...e);let o=i[n];return ei(o)?r(...e):(delete i[n],o)});return e(t,i,n)});eF&&(window.__SWR_DEVTOOLS_REACT__=l);let eB=()=>{},eU=eB();new WeakMap;let ez=l.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),eV={dedupe:!0};en.defineProperty(e=>{let{value:t}=e,r=(0,l.useContext)(eR),n="function"==typeof t,i=(0,l.useMemo)(()=>n?t(r):t,[n,r,t]),o=(0,l.useMemo)(()=>n?i:eM(r,i),[n,r,i]),a=i&&i.provider,s=(0,l.useRef)(er);a&&!s.current&&(s.current=eO(a(o.cache||eN),i));let u=s.current;return u&&(o.cache=u[0],o.mutate=u[1]),ev(()=>{if(u)return u[2]&&u[2](),u[3]},[]),(0,l.createElement)(eR.Provider,eo(e,{value:o}))},"defaultValue",{value:eL});let eq=(n=(e,t,r)=>{let{cache:n,compare:i,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:u,refreshInterval:c,refreshWhenHidden:d,refreshWhenOffline:f,keepPreviousData:h}=r,[p,g,m,_]=ee.get(n),[y,v]=ex(e),b=(0,l.useRef)(!1),w=(0,l.useRef)(!1),E=(0,l.useRef)(y),k=(0,l.useRef)(t),T=(0,l.useRef)(r),S=()=>T.current.isVisible()&&T.current.isOnline(),[x,A,I,D]=ef(n,y),C=(0,l.useRef)({}).current,O=ei(a)?ei(r.fallback)?er:r.fallback[y]:a,N=(e,t)=>{for(let r in C)if("data"===r){if(!i(e[r],t[r])&&(!ei(e[r])||!i(z,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},P=(0,l.useMemo)(()=>{let e=!!y&&!!t&&(ei(s)?!T.current.isPaused()&&!o&&!1!==u:s),r=t=>{let r=eo(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=x(),i=D(),a=r(n),l=n===i?a:r(i),c=a;return[()=>{let e=r(x());return N(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>l]},[n,y]),L=(0,J.useSyncExternalStore)((0,l.useCallback)(e=>I(y,(t,r)=>{N(r,t)||e()}),[n,y]),P[0],P[1]),M=!b.current,R=p[y]&&p[y].length>0,F=L.data,j=ei(F)?O&&"function"==typeof O.then?ez(O):O:F,B=L.error,U=(0,l.useRef)(j),z=h?ei(F)?ei(U.current)?j:U.current:F:j,V=(!R||!!ei(B))&&(M&&!ei(s)?s:!T.current.isPaused()&&(o?!ei(j)&&u:ei(j)||u)),q=!!(y&&t&&M&&V),H=ei(L.isValidating)?q:L.isValidating,G=ei(L.isLoading)?q:L.isLoading,W=(0,l.useCallback)(async e=>{let t,n,o=k.current;if(!y||!o||w.current||T.current.isPaused())return!1;let a=!0,s=e||{},l=!m[y]||!s.dedupe,u=()=>e_?!w.current&&y===E.current&&b.current:y===E.current,c={isValidating:!1,isLoading:!1},d=()=>{A(c)},f=()=>{let e=m[y];e&&e[1]===n&&delete m[y]},h={isValidating:!0};ei(x().data)&&(h.isLoading=!0);try{if(l&&(A(h),r.loadingTimeout&&ei(x().data)&&setTimeout(()=>{a&&u()&&T.current.onLoadingSlow(y,r)},r.loadingTimeout),m[y]=[o(v),eI()]),[t,n]=m[y],t=await t,l&&setTimeout(f,r.dedupingInterval),!m[y]||m[y][1]!==n)return l&&u()&&T.current.onDiscarded(y),!1;c.error=er;let e=g[y];if(!ei(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return d(),l&&u()&&T.current.onDiscarded(y),!1;let s=x().data;c.data=i(s,t)?s:t,l&&u()&&T.current.onSuccess(t,y,r)}catch(r){f();let e=T.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,l&&u())&&(e.onError(r,y,e),(!0===t||"function"==typeof t&&t(r))&&(!T.current.revalidateOnFocus||!T.current.revalidateOnReconnect||S())&&e.onErrorRetry(r,y,e,e=>{let t=p[y];t&&t[0]&&t[0](3,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0}))}return a=!1,d(),!0},[y,n]),K=(0,l.useCallback)((...e)=>eD(n,E.current,...e),[]);if(ev(()=>{k.current=t,T.current=r,ei(F)||(U.current=F)}),ev(()=>{if(!y)return;let e=W.bind(er,eV),t=0;T.current.revalidateOnFocus&&(t=Date.now()+T.current.focusThrottleInterval);let r=((e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}})(y,p,(r,n={})=>{if(0==r){let r=Date.now();T.current.revalidateOnFocus&&r>t&&S()&&(t=r+T.current.focusThrottleInterval,e())}else if(1==r)T.current.revalidateOnReconnect&&S()&&e();else if(2==r)return W();else if(3==r)return W(n)});return w.current=!1,E.current=y,b.current=!0,A({_k:v}),V&&!m[y]&&(ei(j)||ey?e():(e=>eu&&typeof window.requestAnimationFrame!=el?window.requestAnimationFrame(e):setTimeout(e,1))(e)),()=>{w.current=!0,r()}},[y]),ev(()=>{let e;function t(){let t="function"==typeof c?c(x().data):c;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!x().error&&(d||T.current.isVisible())&&(f||T.current.isOnline())?W(eV).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[c,d,f,y]),(0,l.useDebugValue)(z),o&&ei(j)&&y){if(!e_&&ey)throw Error("Fallback data is required when using Suspense in SSR.");k.current=t,T.current=r,w.current=!1;let e=_[y];if(ei(e)||ez(K(e)),ei(B)){let e=W(eV);ei(z)||(e.status="fulfilled",e.value=!0),ez(e)}else throw B}return{mutate:K,get data(){return C.data=!0,z},get error(){return C.error=!0,B},get isValidating(){return C.isValidating=!0,H},get isLoading(){return C.isLoading=!0,G}}},function(...e){let t=eo(eL,(0,l.useContext)(eR)),[r,i,o]="function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],a=eM(t,o),s=n,{use:u}=a,c=(u||[]).concat(ej);for(let e=c.length;e--;)s=c[e](s);return s(r,i||a.fetcher||null,a)});var eH=r(38878);function eG(e,t){return null!=t?eH(e,t):e}var eW=r(61342),eK=r(6014);function eQ(e){var t;if(["png","jpg","jpeg","gif","webp","bmp","svg"].includes((null==(t=e.split(".").pop())?void 0:t.toLowerCase().split("?")[0])||""))return"");let r=e.split("/").pop()||"file";return"[".concat(r,"](").concat(e,")")}let eZ=()=>{let[e,t]=(0,eK.A)("copilot-chat-history",[]),r=(0,l.useRef)(!1),{messages:n,input:i,handleInputChange:o,isLoading:a,error:s,status:u,setMessages:c,stop:d,reload:f,append:h}=function({api:e="/api/chat",id:t,initialMessages:r,initialInput:n="",sendExtraMessageFields:i,onToolCall:o,experimental_prepareRequestBody:a,maxSteps:s=1,streamProtocol:u="data",onResponse:c,onFinish:d,onError:f,credentials:h,headers:p,body:g,generateId:m=A,fetch:_,keepLastMessageOnError:y=!0,experimental_throttle:v}={}){let[b]=(0,l.useState)(m),w=null!=t?t:b,E="string"==typeof e?[e,w]:w,k=function(e){let[t,r]=(0,l.useState)(e);return(0,l.useEffect)(()=>{!function e(t,r){if(t===r)return!0;if(null==t||null==r)return!1;if("object"!=typeof t&&"object"!=typeof r)return t===r;if(t.constructor!==r.constructor)return!1;if(t instanceof Date&&r instanceof Date)return t.getTime()===r.getTime();if(Array.isArray(t)){if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++)if(!e(t[n],r[n]))return!1;return!0}let n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(let o of n)if(!i.includes(o)||!e(t[o],r[o]))return!1;return!0}(e,t)&&r(e)},[e,t]),t}(null!=r?r:[]),{data:T,mutate:S}=eq([E,"messages"],null,{fallbackData:(0,l.useMemo)(()=>Z(k),[k])}),x=(0,l.useRef)(T||[]);(0,l.useEffect)(()=>{x.current=T||[]},[T]);let{data:I,mutate:D}=eq([E,"streamData"],null),C=(0,l.useRef)(I);(0,l.useEffect)(()=>{C.current=I},[I]);let{data:O="ready",mutate:N}=eq([E,"status"],null),{data:P,mutate:L}=eq([E,"error"],null),M=(0,l.useRef)(null),R=(0,l.useRef)({credentials:h,headers:p,body:g});(0,l.useEffect)(()=>{R.current={credentials:h,headers:p,body:g}},[h,p,g]);let F=(0,l.useCallback)(async(t,r="generate")=>{var n,l;N("submitted"),L(void 0);let h=Z(t.messages),p=h.length,g=K(null==(n=h[h.length-1])?void 0:n.toolInvocations);try{M.current=new AbortController;let n=eG(S,v),s=eG(D,v),f=x.current;n(h,!1);let p=i?h:h.map(({role:e,content:t,experimental_attachments:r,data:n,annotations:i,toolInvocations:o,parts:a})=>({role:e,content:t,...void 0!==r&&{experimental_attachments:r},...void 0!==n&&{data:n},...void 0!==i&&{annotations:i},...void 0!==o&&{toolInvocations:o},...void 0!==a&&{parts:a}})),g=C.current;await W({api:e,body:null!=(l=null==a?void 0:a({id:w,messages:h,requestData:t.data,requestBody:t.body}))?l:{id:w,messages:p,data:t.data,...R.current.body,...t.body},streamProtocol:u,credentials:R.current.credentials,headers:{...R.current.headers,...t.headers},abortController:()=>M.current,restoreMessagesOnFailure(){y||n(f,!1)},onResponse:c,onUpdate({message:e,data:t,replaceLastMessage:r}){N("streaming"),n([...r?h.slice(0,h.length-1):h,e],!1),(null==t?void 0:t.length)&&s([...null!=g?g:[],...t],!1)},onToolCall:o,onFinish:d,generateId:m,fetch:_,lastMessage:h[h.length-1],requestType:r}),M.current=null,N("ready")}catch(e){if("AbortError"===e.name)return M.current=null,N("ready"),null;f&&e instanceof Error&&f(e),L(e),N("error")}let b=x.current;(function({originalMaxToolInvocationStep:e,originalMessageCount:t,maxSteps:r,messages:n}){var i;let o=n[n.length-1];return r>1&&null!=o&&(n.length>t||K(o.toolInvocations)!==e)&&Y(o)&&(null!=(i=K(o.toolInvocations))?i:0)<r})({originalMaxToolInvocationStep:g,originalMessageCount:p,maxSteps:s,messages:b})&&await F({messages:b})},[S,N,e,R,c,d,f,L,D,C,u,i,a,o,s,x,M,m,_,y,v,w]),j=(0,l.useCallback)(async(e,{data:t,headers:r,body:n,experimental_attachments:i=e.experimental_attachments}={})=>{var o,a;let s=await $(i);return F({messages:x.current.concat({...e,id:null!=(o=e.id)?o:m(),createdAt:null!=(a=e.createdAt)?a:new Date,experimental_attachments:s.length>0?s:void 0,parts:Q(e)}),headers:r,body:n,data:t})},[F,m]),B=(0,l.useCallback)(async({data:e,headers:t,body:r}={})=>{let n=x.current;return 0===n.length?null:F({messages:"assistant"===n[n.length-1].role?n.slice(0,-1):n,headers:t,body:r,data:e})},[F]),U=(0,l.useCallback)(()=>{M.current&&(M.current.abort(),M.current=null)},[]),z=(0,l.useCallback)(async()=>{F({messages:x.current},"resume")},[F]),V=(0,l.useCallback)(e=>{"function"==typeof e&&(e=e(x.current));let t=Z(e);S(t,!1),x.current=t},[S]),q=(0,l.useCallback)(e=>{"function"==typeof e&&(e=e(C.current)),D(e,!1),C.current=e},[D]),[H,G]=(0,l.useState)(n),J=(0,l.useCallback)(async(e,t={},r)=>{var n;if(null==(n=null==e?void 0:e.preventDefault)||n.call(e),!H&&!t.allowEmptySubmit)return;r&&(R.current={...R.current,...r});let i=await $(t.experimental_attachments);F({messages:x.current.concat({id:m(),createdAt:new Date,role:"user",content:H,experimental_attachments:i.length>0?i:void 0,parts:[{type:"text",text:H}]}),headers:t.headers,body:t.body,data:t.data}),G("")},[H,m,F]),X=(0,l.useCallback)(({toolCallId:e,result:t})=>{let r=x.current;!function({messages:e,toolCallId:t,toolResult:r}){var n;let i=e[e.length-1],o=i.parts.find(e=>"tool-invocation"===e.type&&e.toolInvocation.toolCallId===t);if(null==o)return;let a={...o.toolInvocation,state:"result",result:r};o.toolInvocation=a,i.toolInvocations=null==(n=i.toolInvocations)?void 0:n.map(e=>e.toolCallId===t?a:e)}({messages:r,toolCallId:e,toolResult:t}),S([...r.slice(0,r.length-1),{...r[r.length-1]}],!1),"submitted"!==O&&"streaming"!==O&&Y(r[r.length-1])&&F({messages:r})},[S,O,F]);return{messages:null!=T?T:[],id:w,setMessages:V,data:I,setData:q,error:P,append:j,reload:B,stop:U,experimental_resume:z,input:H,setInput:G,handleInputChange:e=>{G(e.target.value)},handleSubmit:J,isLoading:"submitted"===O||"streaming"===O,status:O,addToolResult:X}}({streamProtocol:"data",maxSteps:5,credentials:"include",api:"http://localhost:4010/chat",initialMessages:e,onError:e=>{var t,r,n,i,o,a,s,l,u,d,f;console.error("Chat error:",e);let h="";if((null==(t=e.message)?void 0:t.includes("401"))||(null==(r=e.message)?void 0:r.includes("invalid_token"))||(null==(n=e.message)?void 0:n.includes("Unauthorized"))||(null==(i=e.message)?void 0:i.includes("HTTP 401")))h="\uD83D\uDD10 **Authentication Error**\n\nYour session has expired or the authentication token is invalid.\n\n**To fix this:**\n1. **Refresh the page** (Ctrl+R / Cmd+R) to renew your session\n2. If the problem persists, log out and log back in\n3. Check that you have proper permissions for chat functionality\n\n**Quick action:** Click [here to refresh the page](javascript:window.location.reload())\n\n*This happens when your session expires after being idle for too long.*";else if((null==(o=e.message)?void 0:o.includes("fetch"))||(null==(a=e.message)?void 0:a.includes("Failed to fetch"))||(null==(s=e.message)?void 0:s.includes("NetworkError"))){let e="http://localhost:4010/chat";h="\uD83D\uDEAB **Connection Error**\n\nCannot connect to the chat API server at `".concat(e,"`.\n\n**To enable chat functionality:**\n1. Start the Unchained Commerce backend on localhost:4010\n2. Ensure the chat/MCP endpoint is properly configured\n3. Check that NEXT_PUBLIC_CHAT_URL is set correctly\n\n**Current configuration:**\n- Chat URL: `").concat(e,"`\n- Backend expected: `http://localhost:4010/chat`\n\n*Please start the Unchained Commerce backend to use this feature.*")}else h=(null==(l=e.message)?void 0:l.includes("stream"))||(null==(u=e.message)?void 0:u.includes("data"))||(null==(d=e.message)?void 0:d.includes("process"))||(null==(f=e.message)?void 0:f.includes("An error occurred"))?"⚠️ **Stream Processing Error**\n\nThere was an error processing the AI response stream.\n\n**Possible causes:**\n1. Backend server at `localhost:4010` is not running\n2. MCP server is not responding correctly\n3. Missing or invalid API keys for Claude model\n4. Network connectivity issues\n\n**Error details:** ".concat(e.message,"\n\n*Please check the backend configuration and try again.*"):"❌ **Chat Error**\n\nAn unexpected error occurred: ".concat(e.message,"\n\n*Please try again or check the console for more details.*");let p={id:"error-".concat(Date.now()),role:"assistant",content:h};c(e=>[...e,p])}});(0,l.useEffect)(()=>{t(n)},[n]);let p=async(e,t)=>{e.preventDefault();try{var r;let e=i.trim(),n=null!=(r=null==t?void 0:t.map(eQ).join("\n"))?r:"",a=[e,n].filter(Boolean).join("\n");o({target:{value:""}}),a&&await h({id:"msg-".concat(Date.now()),role:"user",content:a})}catch(t){console.error("Error in handleSubmit:",t);let e=t instanceof Error?t.message:"Unknown error";if(e.includes("401")||e.includes("invalid_token")||e.includes("Unauthorized")||e.includes("HTTP 401")){let e={id:"error-".concat(Date.now()),role:"assistant",content:"\uD83D\uDD10 **Authentication Error**\n\nYour session has expired or the authentication token is invalid.\n\n**To fix this:**\n1. **Refresh the page** (Ctrl+R / Cmd+R) to renew your session\n2. If the problem persists, log out and log back in\n3. Check that you have proper permissions for chat functionality\n\n**Quick action:** Click [here to refresh the page](javascript:window.location.reload())\n\n*This happens when your session expires after being idle for too long.*"};c(t=>[...t,e])}else{let t={id:"error-".concat(Date.now()),role:"assistant",content:"❌ **Submission Error**\n\nFailed to send your message. This usually happens when the backend server is not running.\n\n**Error:** ".concat(e,"\n\n*Please ensure the Unchained Commerce backend is running on localhost:4010.*")};c(e=>[...e,t])}}};return{messages:n,input:i,handleInputChange:o,handleSubmit:p,isLoading:a,error:s,status:u,clearHistory:()=>{c([]),t([]),r.current=!1},stop:d,addInterruptionMessage:e=>{let t=eW.W.createInterruptionMessage(e);c(e=>[...e,t])},reload:f,append:h}}},32783:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=e=>{var t,r,n,i,o,a,s,l,u,c,d,f,h;return e?(null==e?void 0:e.username)?e.username:(null==e||null==(t=e.profile)?void 0:t.displayName)?null==e||null==(r=e.profile)?void 0:r.displayName:(null==e||null==(i=e.profile)||null==(n=i.address)?void 0:n.firstName)||(null==e||null==(a=e.profile)||null==(o=a.address)?void 0:o.lastName)?"".concat(null==e||null==(l=e.profile)||null==(s=l.address)?void 0:s.firstName," ").concat(null==e||null==(c=e.profile)||null==(u=c.address)?void 0:u.lastName):(null==e?void 0:e.name)?e.name:e.isGuest?null==e||null==(h=e.primaryEmail)||null==(f=h.address)||null==(d=f.split("."))?void 0:d[0]:null:null}},34906:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return l}}),r(96079);let n=r(11015),i=r(17539),o=["-moz-initial","fill","none","scale-down",void 0];function a(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function l(e,t){var r,l;let u,c,d,{src:f,sizes:h,unoptimized:p=!1,priority:g=!1,loading:m,className:_,quality:y,width:v,height:b,fill:w=!1,style:E,overrideSrc:k,onLoad:T,onLoadingComplete:S,placeholder:x="empty",blurDataURL:A,fetchPriority:I,decoding:D="async",layout:C,objectFit:O,objectPosition:N,lazyBoundary:P,lazyRoot:L,...M}=e,{imgConf:R,showAltText:F,blurComplete:j,defaultLoader:B}=t,U=R||i.imageConfigDefault;if("allSizes"in U)u=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>e-t),t=U.deviceSizes.sort((e,t)=>e-t),n=null==(r=U.qualities)?void 0:r.sort((e,t)=>e-t);u={...U,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===B)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=M.loader||B;delete M.loader,delete M.srcSet;let V="__next_img_default"in z;if(V){if("custom"===u.loader)throw Object.defineProperty(Error('Image with src "'+f+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=z;z=t=>{let{config:r,...n}=t;return e(n)}}if(C){"fill"===C&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(E={...E,...e});let t={responsive:"100vw",fill:"100vw"}[C];t&&!h&&(h=t)}let q="",H=s(v),G=s(b);if((l=f)&&"object"==typeof l&&(a(l)||void 0!==l.src)){let e=a(f)?f.default:f;if(!e.src)throw Object.defineProperty(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 "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(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 "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(c=e.blurWidth,d=e.blurHeight,A=A||e.blurDataURL,q=e.src,!w)if(H||G){if(H&&!G){let t=H/e.width;G=Math.round(e.height*t)}else if(!H&&G){let t=G/e.height;H=Math.round(e.width*t)}}else H=e.width,G=e.height}let W=!g&&("lazy"===m||void 0===m);(!(f="string"==typeof f?f:q)||f.startsWith("data:")||f.startsWith("blob:"))&&(p=!0,W=!1),u.unoptimized&&(p=!0),V&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(p=!0);let K=s(y),Q=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:O,objectPosition:N}:{},F?{}:{color:"transparent"},E),Z=j||"empty"===x?null:"blur"===x?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:H,heightInt:G,blurWidth:c,blurHeight:d,blurDataURL:A||"",objectFit:Q.objectFit})+'")':'url("'+x+'")',$=o.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit,Y=Z?{backgroundSize:$,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},J=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:o,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:o,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:o,width:l[c]})}}({config:u,src:f,unoptimized:p,width:H,quality:K,sizes:h,loader:z});return{props:{...M,loading:W?"lazy":m,fetchPriority:I,width:H,height:G,decoding:D,className:_,style:{...Q,...Y},sizes:J.sizes,srcSet:J.srcSet,src:k||J.src},meta:{unoptimized:p,priority:g,placeholder:x,fill:w}}}},35518:(e,t,r)=>{"use strict";r.d(t,{U:()=>y,y:()=>b});var n=r(4902),i=r(17318),o=r(20996),a=r(66434),s=r(45813),l=r(79760),u=r(54962),c=r(53975),d=r(15072),f=r(36974),h=r(83070),p=r(19221),g=r(63965),m=Object.assign,_=Object.hasOwnProperty,y=function(e){function t(r){var i=r.queryManager,o=r.queryInfo,a=r.options,l=this,u=t.inactiveOnCreation.getValue();(l=e.call(this,function(e){u&&(i.queries.set(l.queryId,o),u=!1);try{var t=e._subscription._observer;t&&!t.error&&(t.error=v)}catch(e){}var r=!l.observers.size;l.observers.add(e);var n=l.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(l.maskResult(n.result)),r&&l.reobserve().catch(function(){}),function(){l.observers.delete(e)&&!l.observers.size&&l.tearDownQuery()}})||this).observers=new Set,l.subscriptions=new Set,l.dirty=!1,l.queryInfo=o,l.queryManager=i,l.waitForOwnResult=w(a.fetchPolicy),l.isTornDown=!1,l.subscribeToMore=l.subscribeToMore.bind(l),l.maskResult=l.maskResult.bind(l);var c=i.defaultOptions.watchQuery,d=(void 0===c?{}:c).fetchPolicy,f=void 0===d?"cache-first":d,h=a.fetchPolicy,p=void 0===h?f:h,g=a.initialFetchPolicy,m=void 0===g?"standby"===p?f:p:g;l.options=(0,n.__assign)((0,n.__assign)({},a),{initialFetchPolicy:m,fetchPolicy:p}),l.queryId=o.queryId||i.generateQueryId();var _=(0,s.Vu)(l.query);return l.queryName=_&&_.name&&_.name.value,l}return(0,n.__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,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||a.pT.ready,i=(0,n.__assign)((0,n.__assign)({},t),{loading:(0,a.bi)(r),networkStatus:r}),s=this.options.fetchPolicy,l=void 0===s?"cache-first":s;if(w(l)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(i.data=u.result),(0,o.L)(i.data,{})&&(i.data=void 0),u.complete?(delete i.partial,u.complete&&i.networkStatus===a.pT.loading&&("cache-first"===l||"cache-only"===l)&&(i.networkStatus=a.pT.ready,i.loading=!1)):i.partial=!0,i.networkStatus===a.pT.ready&&(i.error||i.errors)&&(i.networkStatus=a.pT.error),!1===globalThis.__DEV__||u.complete||this.options.partialRefetch||i.loading||i.data||i.error||b(u.missing)}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,p.a)(i,this.last.result,e,this.variables):!(0,o.L)(this.last.result,e))||t&&!(0,o.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.L)(r.variables,this.variables)))return r[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,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&_.call(e,"variables")){var l=(0,s.AT)(this.query),u=l.variableDefinitions;u&&u.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.V1.warn(21,e,(null==(t=l.name)?void 0:t.value)||l)}return e&&!(0,o.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.__assign)((0,n.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.__assign)((0,n.__assign)({},e.query?e:(0,n.__assign)((0,n.__assign)((0,n.__assign)((0,n.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,n.__assign)((0,n.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,l=s.networkStatus;s.networkStatus=a.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set,c=null==e?void 0:e.updateQuery,d="no-cache"!==this.options.fetchPolicy;return d||(0,i.V1)(c,22),this.queryManager.fetchQuery(o,r,a.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.pT.fetchMore&&(s.networkStatus=l),d)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var f=t.getLast("result"),h=c(f.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.__assign)((0,n.__assign)({},f),{networkStatus:l,loading:(0,a.bi)(l),data:h}),t.variables)}return t.maskResult(i)}).finally(function(){d&&!u.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,n.__assign)({subscriptionData:r},t))})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&i.V1.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,l.o)(this.options,e||{});m(this.options,t)},t.prototype.setVariables=function(e){return(0,o.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,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 r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{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,r){var n=this.queryManager.getOrCreateQuery(this.queryId);return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.V1)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,o.L)(t,this.last.variables)&&(r=void 0),this.last=(0,n.__assign)({result:this.queryManager.assumeImmutableResults?e:(0,u.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,u=this.options.fetchPolicy,c=(0,l.o)(this.options,e||{}),d=i?c:m(this.options,c),f=this.transformDocument(d.query);this.lastQuery=f,!i&&(this.updatePolling(),e&&e.variables&&!(0,o.L)(e.variables,s)&&"standby"!==d.fetchPolicy&&(d.fetchPolicy===u||"function"==typeof d.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",d),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=w(d.fetchPolicy));var p=function(){r.concast===y&&(r.waitForOwnResult=!1)},g=d.variables&&(0,n.__assign)({},d.variables),_=this.fetch(d,t,f),y=_.concast,v=_.fromLink,b={next:function(e){(0,o.L)(r.variables,g)&&(p(),r.reportResult(e,g))},error:function(e){(0,o.L)(r.variables,g)&&((0,h.Mn)(e)||(e=new h.K4({networkError:e})),p(),r.reportError(e,g))}};return i||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=y,this.observer=b),y.addObserver(b),y},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&(0,c.w)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,n.__assign)((0,n.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(r,t),(0,c.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.__assign)((0,n.__assign)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,a.bi)(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new g.DX,t}(d.c);function v(e){!1!==globalThis.__DEV__&&i.V1.error(25,e.message,e.stack)}function b(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(26,e)}function w(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,f.r)(y)},35785:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},36041:(e,t,r)=>{"use strict";function n(e,t,r,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),r(68205),("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)},36607:(e,t,r)=>{"use strict";r.d(t,{M:()=>d});var n=r(12473),i=r(82505),o=r(86962),a=r(14232);let s=!1,l=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},50))}function c(){if("undefined"!=typeof document)return 0===l&&"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",u),l++,()=>{--l>0||"undefined"!=typeof PointerEvent&&document.removeEventListener("pointerup",u)}}function d(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:l,isDisabled:u}=e,[d,f]=(0,a.useState)(!1),h=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(c,[]);let{addGlobalListener:p,removeAllGlobalListeners:g}=(0,n.A)(),{hoverProps:m,triggerHoverEnd:_}=(0,a.useMemo)(()=>{let e=(e,t)=>{let n=h.target;h.pointerType="",h.target=null,"touch"!==t&&h.isHovered&&n&&(h.isHovered=!1,g(),l&&l({type:"hoverend",target:n,pointerType:t}),r&&r(!1),f(!1))},n={};return"undefined"!=typeof PointerEvent&&(n.onPointerEnter=n=>{s&&"mouse"===n.pointerType||((n,a)=>{if(h.pointerType=a,u||"touch"===a||h.isHovered||!n.currentTarget.contains(n.target))return;h.isHovered=!0;let s=n.currentTarget;h.target=s,p((0,i.TW)(n.target),"pointerover",t=>{h.isHovered&&h.target&&!(0,o.sD)(h.target,t.target)&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:a}),r&&r(!0),f(!0)})(n,n.pointerType)},n.onPointerLeave=t=>{!u&&t.currentTarget.contains(t.target)&&e(t,t.pointerType)}),{hoverProps:n,triggerHoverEnd:e}},[t,r,l,u,h,p,g]);return(0,a.useEffect)(()=>{u&&_({currentTarget:h.target},h.pointerType)},[u]),{hoverProps:m,isHovered:d}}},36898:(e,t,r)=>{"use strict";function n(){}r.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){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:e,newer:r}=t;r&&(r.older=e),e&&(e.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 r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.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)}}},36925:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96427);function i(){let e=(0,n._)(["\n fragment CountryFragment on Country {\n _id\n isoCode\n isActive\n isBase\n\n defaultCurrency {\n _id\n isoCode\n }\n }\n"]);return i=function(){return e},e}let o=(0,r(79350).J1)(i())},36974:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(15072),i=r(80542);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},37014:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(37876),i=r(14232);let o=i.forwardRef(function(e,t){let{title:r,titleId:n,...o}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},o),r?i.createElement("title",{id:n},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"}))}),a=i.forwardRef(function(e,t){let{title:r,titleId:n,...o}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},o),r?i.createElement("title",{id:n},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"}))});var s=r(15039),l=r.n(s),u=r(10387);let c=()=>{let{theme:e,setTheme:t}=(0,u.A)();return(0,n.jsx)("div",{className:"inline-flex items-center z-50",children:(0,n.jsxs)("button",{type:"button",className:"group hover:cursor-pointer focus:outline-hidden focus:ring-2 focus:ring-slate-800 hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors rounded-md p-2",id:"theme-toggle",title:"Toggles light & dark","aria-label":"auto","aria-live":"polite",onClick:()=>{"dark"===e?t("light"):t("dark")},children:[(0,n.jsx)(o,{className:l()("w-6 h-6 text-slate-600 transition-all ease-out delay-1000",{hidden:"dark"===e})}),(0,n.jsx)(a,{className:l()("w-6 h-6 text-yellow-200 group-hover:text-white transition-colors duration-200",{hidden:"light"===e})})]})})}},37154:(e,t,r)=>{"use strict";r.d(t,{HM:()=>a,JF:()=>s,SP:()=>c,bN:()=>f,yU:()=>d});var n=r(4902),i=r(14232),o=r(83933);function a(e){var t;if(void 0===t&&(t=Error),!e)throw new t("[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var s=(0,n.__assign)((0,n.__assign)({},o.JF),{textComponent:i.Fragment}),l={key:42},u=function(e){return i.isValidElement(e)?i.createElement(i.Fragment,l,e):e},c=function(e){var t;return null!=(t=i.Children.map(e,u))?t:[]};function d(e){return function(t){return e(i.Children.toArray(t))}}function f(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(e[a]!==t[a]||!Object.prototype.hasOwnProperty.call(t,a))return!1}return!0}},37510:(e,t,r)=>{"use strict";r.d(t,{D$:()=>d,KG:()=>n});var n,i,o=r(17318),a=r(95682),s=r(80593),l=r(17070);function u(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function c(e){i||(i=new a.A(s.v.parser||1e3));var t,r,l=i.get(e);if(l)return l;(0,o.V1)(!!e&&!!e.kind,70,e);for(var u=[],c=[],d=[],f=[],h=0,p=e.definitions;h<p.length;h++){var g=p[h];if("FragmentDefinition"===g.kind){u.push(g);continue}if("OperationDefinition"===g.kind)switch(g.operation){case"query":c.push(g);break;case"mutation":d.push(g);break;case"subscription":f.push(g)}}(0,o.V1)(!u.length||c.length||d.length||f.length,71),(0,o.V1)(c.length+d.length+f.length<=1,72,e,c.length,f.length,d.length),r=c.length?n.Query:n.Mutation,c.length||d.length||(r=n.Subscription);var m=c.length?c:d.length?d:f;(0,o.V1)(1===m.length,73,e,m.length);var _=m[0];t=_.variableDefinitions||[];var y={name:_.name&&"Name"===_.name.kind?_.name.value:"data",type:r,variables:t};return i.set(e,y),y}function d(e,t){var r=c(e),n=u(t),i=u(r.type);(0,o.V1)(r.type===t,74,n,n,i)}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={})),c.resetCache=function(){i=void 0},!1!==globalThis.__DEV__&&(0,l.D_)("parser",function(){return i?i.size:0})},38591:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(14232),i=r(21588);function o(){let[e]=(0,n.useState)(i.e);return(0,n.useEffect)(()=>()=>e.dispose(),[e]),e}},38806:(e,t,r)=>{"use strict";e.exports=r(29429)},38878:e=>{e.exports=function(e,t){let r;if("function"!=typeof e)throw TypeError(`Expected the first argument to be a \`function\`, got \`${typeof e}\`.`);let n=0;return function(...i){clearTimeout(r);let o=Date.now(),a=t-(o-n);a<=0?(n=o,e.apply(this,i)):r=setTimeout(()=>{n=Date.now(),e.apply(this,i)},a)}}},39296:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(14232),i=r(24607);let o=function(e){let t=(0,i.Y)(e);return n.useCallback(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.current(...r)},[t])}},39668:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}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)}}},39735:(e,t,r)=>{"use strict";function n(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}r.d(t,{_:()=>n})},41547:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96427);function i(){let e=(0,n._)(["\n fragment MD5MetaDataFragment on WebAuthnMDSv3Metadata {\n legalHeader\n description\n authenticatorVersion\n protocolFamily\n schema\n authenticationAlgorithms\n publicKeyAlgAndEncodings\n attestationTypes\n keyProtection\n upv\n tcDisplay\n authenticationAlgorithms\n publicKeyAlgAndEncodings\n icon\n authenticatorGetInfo\n }\n"]);return i=function(){return e},e}let o=(0,r(79350).J1)(i())},42038:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return Array.from(new Set(t.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}r.d(t,{x:()=>n})},42387:(e,t,r)=>{"use strict";var n=r(82909).hp;let i=void 0!==n,o=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,a=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function s(e,t,r){null==r&&null!==t&&"object"==typeof t&&(r=t,t=void 0),i&&n.isBuffer(e)&&(e=e.toString()),e&&65279===e.charCodeAt(0)&&(e=e.slice(1));let s=JSON.parse(e,t);if(null===s||"object"!=typeof s)return s;let u=r&&r.protoAction||"error",c=r&&r.constructorAction||"error";if("ignore"===u&&"ignore"===c)return s;if("ignore"!==u&&"ignore"!==c){if(!1===o.test(e)&&!1===a.test(e))return s}else if("ignore"!==u&&"ignore"===c){if(!1===o.test(e))return s}else if(!1===a.test(e))return s;return l(s,{protoAction:u,constructorAction:c,safe:r&&r.safe})}function l(e,{protoAction:t="error",constructorAction:r="error",safe:n}={}){let i=[e];for(;i.length;){let e=i;for(let o of(i=[],e)){if("ignore"!==t&&Object.prototype.hasOwnProperty.call(o,"__proto__")){if(!0===n)return null;if("error"===t)throw SyntaxError("Object contains forbidden prototype property");delete o.__proto__}if("ignore"!==r&&Object.prototype.hasOwnProperty.call(o,"constructor")&&Object.prototype.hasOwnProperty.call(o.constructor,"prototype")){if(!0===n)return null;if("error"===r)throw SyntaxError("Object contains forbidden prototype property");delete o.constructor}for(let e in o){let t=o[e];t&&"object"==typeof t&&i.push(t)}}}return e}function u(e,t,r){let n=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return s(e,t,r)}finally{Error.stackTraceLimit=n}}e.exports=u,e.exports.default=u,e.exports.parse=u,e.exports.safeParse=function(e,t){let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{return s(e,t,{safe:!0})}catch(e){return null}finally{Error.stackTraceLimit=r}},e.exports.scan=l},43207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},45090:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(72687),i=r(34906),o=r(1650),a=n._(r(85210));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:a.default,imgConf:{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:!0}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=o.Image},45105:(e,t,r)=>{r(3996)},45813:(e,t,r)=>{"use strict";r.d(t,{AT:()=>u,E4:()=>c,Vn:()=>d,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>f,zK:()=>l});var n=r(17318),i=r(58851);function o(e){(0,n.V1)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(89,e.kind);return e});return(0,n.V1)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function l(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,91),t}function c(e){(0,n.V1)("Document"===e.kind,92),(0,n.V1)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,94),t}function d(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(95)}function f(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},47518:(e,t,r)=>{"use strict";r.d(t,{OC:()=>i,yo:()=>o});var n=r(7743);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],l=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(s);l!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),s=r.endsWith('\\"""'),l=e.endsWith('"')&&!s,u=e.endsWith("\\"),c=l||u,d=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),f="",h=o&&(0,n.i0)(e.charCodeAt(0));return(d&&!h||a)&&(f+="\n"),f+=r,(d||c)&&(f+="\n"),'"""'+f+'"""'}},48230:(e,t,r)=>{e.exports=r(5939)},50677:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(14232),i=r(27105);let o=()=>{let e=(0,n.useContext)(i.A);if(!e)throw Error("useLocale must be used within a LocaleProvider");return e}},51452:(e,t,r)=>{"use strict";r.d(t,{_:()=>a});var n=Object.defineProperty,i=(e,t,r)=>(((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r),r);class o{set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}}let a=new o},51955:()=>{},53279:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(4902),i=r(98149),o=r(74769),a=r(10143);function s(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}var l=function(){function e(t,r,o,l){void 0===r&&(r=e.defaultLocale);var u,c,d=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=d.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===a.TT.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return(0,a.hN)(d.ast,d.locales,d.formatters,d.formats,e,void 0,d.message)},this.resolvedOptions=function(){var e;return{locale:(null==(e=d.resolvedLocale)?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var f=l||{},h=(f.formatters,(0,n.__rest)(f,["formatters"]));this.ast=e.__parse(t,(0,n.__assign)((0,n.__assign)({},h),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(u=e.formats,o?Object.keys(u).reduce(function(e,t){var r,i;return e[t]=(r=u[t],(i=o[t])?(0,n.__assign)((0,n.__assign)((0,n.__assign)({},r||{}),i||{}),Object.keys(r).reduce(function(e,t){return e[t]=(0,n.__assign)((0,n.__assign)({},r[t]),i[t]||{}),e},{})):r),e},(0,n.__assign)({},u)):u),this.formatters=l&&l.formatters||(void 0===(c=this.formatterCache)&&(c={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,i.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},{cache:s(c.number),strategy:i.W.variadic}),getDateTimeFormat:(0,i.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},{cache:s(c.dateTime),strategy:i.W.variadic}),getPluralRules:(0,i.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},{cache:s(c.pluralRules),strategy:i.W.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=o.qg,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}()},53757:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluralRules=void 0;var n=r(4902),i=r(77262),o=r(23045),a=r(56392),s=n.__importDefault(r(57929));function l(e,t){if(!(e instanceof c))throw TypeError("Method Intl.PluralRules.prototype.".concat(t," called on incompatible receiver ").concat(String(e)))}function u(e,t,r,n){var i=n.IntegerDigits,o=n.NumberOfFractionDigits,a=n.FractionDigits;return c.localeData[e].fn(o?"".concat(i,".").concat(a):i,"ordinal"===t)}var c=function(){function e(t,r){if(!(this&&this instanceof e?this.constructor:void 0))throw TypeError("Intl.PluralRules must be called with 'new'");return(0,o.InitializePluralRules)(this,t,r,{availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale,getInternalSlots:s.default})}return e.prototype.resolvedOptions=function(){l(this,"resolvedOptions");var t=Object.create(null),r=(0,s.default)(this);return t.locale=r.locale,t.type=r.type,["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach(function(e){var n=r[e];void 0!==n&&(t[e]=n)}),t.pluralCategories=n.__spreadArray([],e.localeData[t.locale].categories[t.type],!0),t},e.prototype.select=function(e){l(this,"select");var t=(0,i.ToNumber)(e);return(0,a.ResolvePlural)(this,t,{getInternalSlots:s.default,PluralRuleSelect:u})},e.prototype.toString=function(){return"[object Intl.PluralRules]"},e.supportedLocalesOf=function(t,r){return(0,i.SupportedLocales)(e.availableLocales,(0,i.CanonicalizeLocaleList)(t),r)},e.__addLocaleData=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n=0;n<t.length;n++){var i=t[n],o=i.data,a=i.locale;e.localeData[a]=o,e.availableLocales.add(a),e.__defaultLocale||(e.__defaultLocale=a)}},e.getDefaultLocale=function(){return e.__defaultLocale},e.localeData={},e.availableLocales=new Set,e.__defaultLocale="",e.relevantExtensionKeys=[],e.polyfilled=!0,e}();t.PluralRules=c;try{"undefined"!=typeof Symbol&&Object.defineProperty(c.prototype,Symbol.toStringTag,{value:"Intl.PluralRules",writable:!1,enumerable:!1,configurable:!0});try{Object.defineProperty(c,"length",{value:0,writable:!1,enumerable:!1,configurable:!0})}catch(e){}Object.defineProperty(c.prototype.constructor,"length",{value:0,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(c.supportedLocalesOf,"length",{value:1,writable:!1,enumerable:!1,configurable:!0}),Object.defineProperty(c,"name",{value:"PluralRules",writable:!1,enumerable:!1,configurable:!0})}catch(e){}},53975:(e,t,r)=>{"use strict";function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}r.d(t,{w:()=>n})},54431:(e,t,r)=>{"use strict";r.d(t,{IT:()=>x});var n=r(4902),i=r(17318),o=r(60427),a=r.t(o,2),s=r(80542),l=!1,u=a.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||l||n===t()||(l=!0,!1!==globalThis.__DEV__&&i.V1.error(68));var a=o.useState({inst:{value:n,getSnapshot:t}}),u=a[0].inst,d=a[1];return s.JR?o.useLayoutEffect(function(){Object.assign(u,{value:n,getSnapshot:t}),c(u)&&d({inst:u})},[e,n,t]):Object.assign(u,{value:n,getSnapshot:t}),o.useEffect(function(){return c(u)&&d({inst:u}),e(function(){c(u)&&d({inst:u})})},[e]),n};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}var d=r(20996),f=r(18877),h=r(94852),p=r(83070),g=r(35518),m=r(66434),_=r(37510),y=r(67994),v=r(79760),b=r(35785),w=r(21500),E=Symbol.for("apollo.hook.wrappers"),k=Object.prototype.hasOwnProperty;function T(){}var S=Symbol();function x(e,t){var r,n,i,o;return void 0===t&&(t=Object.create(null)),(r=A,(o=(i=(n=(0,y.m)(t&&t.client).queryManager)&&n[E])&&i.useQuery)?o(r):r)(e,t)}function A(e,t){var r,i,a,s,l,c,f,p,v,b,w,E,x,A,M,R,F,j,B,U,z,V,q,H,G,W,K,Q,Z,$,Y,J,X,ee,et,er,en,ei,eo,ea,es,el,eu,ec,ed,ef=(r=e,i=t,b=(0,y.m)(i.client),E=!!(w=o.useContext((0,h.l)()).renderPromises),x=b.disableNetworkFetches,A=!1!==i.ssr&&!i.skip,M=i.partialRefetch,R=(a=b,s=r,l=i,c=E,void 0===l&&(l={}),f=l.skip,p=(l.ssr,l.onCompleted,l.onError,l.defaultOptions),v=(0,n.__rest)(l,["skip","ssr","onCompleted","onError","defaultOptions"]),function(e){var t=Object.assign(v,{query:s});return c&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t.fetchPolicy="cache-first"),t.variables||(t.variables={}),f?(t.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy||O(p,a.defaultOptions),t.fetchPolicy="standby"):t.fetchPolicy||(t.fetchPolicy=(null==e?void 0:e.options.initialFetchPolicy)||O(p,a.defaultOptions)),t}),B=(j=(F=function(e,t,r,i,a){function s(n){var o;return(0,_.D$)(t,_.KG.Query),{client:e,query:t,observable:i&&i.getSSRObservable(a())||g.U.inactiveOnCreation.withValue(!i,function(){return e.watchQuery(I(void 0,e,r,a()))}),resultData:{previousData:null==(o=null==n?void 0:n.resultData.current)?void 0:o.data}}}var l=o.useState(s),u=l[0],c=l[1];function d(e){Object.assign(u.observable,((t={})[S]=e,t));var t,r,i=u.resultData;c((0,n.__assign)((0,n.__assign)({},u),{query:e.query,resultData:Object.assign(i,{previousData:(null==(r=i.current)?void 0:r.data)||i.previousData,current:void 0})}))}if(e!==u.client||t!==u.query){var f=s(u);return c(f),[f,d]}return[u,d]}(b,r,i,w,R))[0]).observable,U=j.resultData,z=F[1],V=R(B),q=U,H=B,G=b,W=i,K=V,H[S]&&!(0,d.L)(H[S],K)&&(H.reobserve(I(H,G,W,K)),q.previousData=(null==(Q=q.current)?void 0:Q.data)||q.previousData,q.current=void 0),H[S]=K,Z=o.useMemo(function(){var e;return{refetch:(e=B).refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[B]),$=B,Y=w,J=A,Y&&J&&(Y.registerSSRObservable($),$.getCurrentResult().loading&&Y.addObservableQueryPromise($)),{result:(X=U,ee=B,et=b,er=i,en=V,ei=x,eo=M,ea=E,es={onCompleted:i.onCompleted||T,onError:i.onError||T},el=o.useRef(es),o.useEffect(function(){el.current=es}),eu=(ea||ei)&&!1===er.ssr&&!er.skip?P:er.skip||"standby"===en.fetchPolicy?L:void 0,ec=X.previousData,ed=o.useMemo(function(){return eu&&N(eu,ec,ee,et)},[et,ee,eu,ec]),u(o.useCallback(function(e){if(ea)return function(){};var t=function(){var t=X.current,r=ee.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,d.L)(t.data,r.data)||D(r,X,ee,et,eo,e,el.current)},r=function(i){if(n.current.unsubscribe(),n.current=ee.resubscribeAfterError(t,r),!k.call(i,"graphQLErrors"))throw i;var o=X.current;(!o||o&&o.loading||!(0,d.L)(i,o.error))&&D({data:o&&o.data,error:i,loading:!1,networkStatus:m.pT.error},X,ee,et,eo,e,el.current)},n={current:ee.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[ei,ea,ee,X,eo,et]),function(){return ed||C(X,ee,el.current,eo,et)},function(){return ed||C(X,ee,el.current,eo,et)})),obsQueryFields:Z,observable:B,resultData:U,client:b,onQueryExecuted:z}),eh=ef.result,ep=ef.obsQueryFields;return o.useMemo(function(){return(0,n.__assign)((0,n.__assign)({},eh),ep)},[eh,ep])}function I(e,t,r,n){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,v.o)(e&&e.options,n)),i.reduce(f.l)}function D(e,t,r,o,a,s,l){var u,c,d,f=t.current;f&&f.data&&(t.previousData=f.data),!e.error&&(0,b.E)(e.errors)&&(e.error=new p.K4({graphQLErrors:e.errors})),t.current=N((u=e,c=r,d=a,u.partial&&d&&!u.loading&&(!u.data||0===Object.keys(u.data).length)&&"cache-only"!==c.options.fetchPolicy?(c.refetch(),(0,n.__assign)((0,n.__assign)({},u),{loading:!0,networkStatus:m.pT.refetch})):u),t.previousData,r,o),s(),function(e,t,r){if(!e.loading){var n,o=(n=e,(0,b.E)(n.errors)?new p.K4({graphQLErrors:n.errors}):n.error);Promise.resolve().then(function(){o?r.onError(o):e.data&&t!==e.networkStatus&&e.networkStatus===m.pT.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&i.V1.warn(e)})}}(e,null==f?void 0:f.networkStatus,l)}function C(e,t,r,n,i){return e.current||D(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function O(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null==(r=null==t?void 0:t.watchQuery)?void 0:r.fetchPolicy)||"cache-first"}function N(e,t,r,i){var o=e.data,a=(e.partial,(0,n.__rest)(e,["data","partial"]));return(0,n.__assign)((0,n.__assign)({data:o},a),{client:i,observable:r,variables:r.variables,called:e!==P&&e!==L,previousData:t})}var P=(0,w.G)({loading:!0,data:void 0,error:void 0,networkStatus:m.pT.loading}),L=(0,w.G)({loading:!1,data:void 0,error:void 0,networkStatus:m.pT.ready})},54587:(e,t,r)=>{e.exports=r(45090)},54962:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},56186:(e,t,r)=>{"use strict";r.d(t,{Ho:()=>c,OC:()=>a,hr:()=>l,pg:()=>u,sb:()=>d,uo:()=>s});var n,i=r(4902);!function(e){e.FORMAT_ERROR="FORMAT_ERROR",e.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",e.INVALID_CONFIG="INVALID_CONFIG",e.MISSING_DATA="MISSING_DATA",e.MISSING_TRANSLATION="MISSING_TRANSLATION"}(n||(n={}));var o=function(e){function t(r,n,i){var o=this,a=i?i instanceof Error?i:Error(String(i)):void 0;return(o=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,t),o}return(0,i.__extends)(t,e),t}(Error),a=function(e){function t(t,r){return e.call(this,n.UNSUPPORTED_FORMATTER,t,r)||this}return(0,i.__extends)(t,e),t}(o),s=function(e){function t(t,r){return e.call(this,n.INVALID_CONFIG,t,r)||this}return(0,i.__extends)(t,e),t}(o),l=function(e){function t(t,r){return e.call(this,n.MISSING_DATA,t,r)||this}return(0,i.__extends)(t,e),t}(o),u=function(e){function t(t,r,i){var o=e.call(this,n.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),i)||this;return o.locale=r,o}return(0,i.__extends)(t,e),t}(o),c=function(e){function t(t,r,n,i){var o=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,i)||this;return o.descriptor=n,o.locale=r,o}return(0,i.__extends)(t,e),t}(u),d=function(e){function t(t,r){var i=e.call(this,n.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(function(e){var t;return null!=(t=e.value)?t:JSON.stringify(e)}).join(),")"):"id"," as fallback."))||this;return i.descriptor=t,i}return(0,i.__extends)(t,e),t}(o)},56392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolvePlural=function(e,t,r){var o=r.getInternalSlots,a=r.PluralRuleSelect,s=o(e);if((0,n.invariant)("Object"===(0,n.Type)(s),"pl has to be an object"),(0,n.invariant)("initializedPluralRules"in s,"pluralrules must be initialized"),!t.isFinite())return"other";var l=s.locale,u=s.type,c=(0,n.FormatNumericToString)(s,t).formattedString;return a(l,u,t,(0,i.GetOperands)(c))};var n=r(77262),i=r(89356)},57929:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=r.get(e);return t||(t=Object.create(null),r.set(e,t)),t};var r=new WeakMap},58287:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{U:()=>n})},58851:(e,t,r)=>{"use strict";r.d(t,{A_:()=>l,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var l=s[a];if(_(l)){if("__typename"===l.name.value)return t[m(l)]}else i?i.push(l):i=[l]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var u=0,c=i;u<c.length;u++){var l=c[u],d=e(t,(0,o.HQ)(l,n).selectionSet,n);if("string"==typeof d)return d}},Ii:()=>d,J:()=>c,Kc:()=>u,MB:()=>g,WU:()=>s,dt:()=>_,kd:()=>y,o5:()=>p,ue:()=>m});var n=r(17318),i=r(93957),o=r(68922),a=r(26828);function s(e){return{__ref:String(e)}}function l(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return c(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return c(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(96,t.value,r.kind)}function d(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return c(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),p(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export","nonreactive"],h=a.M,p=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(h(i),")")}var o=e;if(t){var a=h(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(h(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=h;return h=e,t}});function g(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return c(r,e.name,e.value,t)}),r}return null}function m(e){return e.alias?e.alias.value:e.name.value}function _(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}},59078:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5"}))})},59863:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(37876),i=r(54587),o=r.n(i),a=r(14232),s=r(77742),l=r(70874);let u=e=>{let{className:t="w-full h-full",width:r=200,height:i=200}=e;return(0,n.jsxs)("svg",{width:r,height:i,viewBox:"0 0 200 200",fill:"none",className:t,xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("rect",{x:"10",y:"10",width:"180",height:"180",rx:"8",stroke:"currentColor",strokeWidth:"3",strokeDasharray:"8 4",fill:"transparent",className:"text-slate-800 dark:text-slate-400"}),(0,n.jsx)("rect",{x:"40",y:"40",width:"120",height:"80",rx:"4",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,n.jsx)("path",{d:"M50 100 L70 80 L90 95 L110 75 L130 90 L150 70",stroke:"currentColor",strokeWidth:"3",fill:"none",strokeLinecap:"round",strokeLinejoin:"round"}),(0,n.jsx)("circle",{cx:"130",cy:"55",r:"8",stroke:"currentColor",strokeWidth:"3",fill:"transparent"}),(0,n.jsx)("text",{x:"100",y:"145",textAnchor:"middle",className:"text-slate-800 dark:text-slate-300 text-sm font-semibold",fill:"currentColor",children:"No Image"})]})},c=e=>{let{fallbackSrc:t="",src:r,...i}=e,[c,d]=(0,a.useState)(r),[f,h]=(0,a.useState)(!1),{formatMessage:p}=(0,s.A)();return f||!c?(0,n.jsx)("div",{className:i.className||"w-full h-full flex items-center justify-center bg-slate-50 dark:bg-slate-800",children:(0,n.jsx)(u,{width:i.width||200,height:i.height||200,className:"max-w-full max-h-full"})}):(0,n.jsx)(o(),{src:c,loader:l.A,alt:p({id:"image-not-found",defaultMessage:"Image not found"}),...i,onError:()=>{t&&c!==t?d(t):h(!0)}})}},60427:(e,t,r)=>{"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,r(14232))},61342:(e,t,r)=>{"use strict";r.d(t,{W:()=>n});let n={createInterruptionMessage:e=>({id:"interruption-".concat(Date.now()),role:"assistant",content:"⚠️ **Operation Interrupted**\n\nThe current operation was stopped by user request.\n\n**Status at interruption:**\n- Current phase: ".concat({submitted:"request processing",streaming:"response generation",error:"error handling",ready:"idle state"}[e]||e,"\n- Remaining tasks may not have been completed\n- You can start a new request at any time\n\n*The system is ready for your next command.*")}),hasIncompleteToolInvocations:e=>"assistant"===e.role&&!!e.parts&&e.parts.some(e=>"tool-invocation"===e.type&&e.toolInvocation&&(!e.toolInvocation.result||"call"===e.toolInvocation.state)),filterCompleteMessages(e){return e.filter(e=>!this.hasIncompleteToolInvocations(e))}}},61524:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9.004 9.004 0 0 0 8.716-6.747M12 21a9.004 9.004 0 0 1-8.716-6.747M12 21c2.485 0 4.5-4.03 4.5-9S14.485 3 12 3m0 18c-2.485 0-4.5-4.03-4.5-9S9.515 3 12 3m0 0a8.997 8.997 0 0 1 7.843 4.582M12 3a8.997 8.997 0 0 0-7.843 4.582m15.686 0A11.953 11.953 0 0 1 12 10.5c-2.998 0-5.74-1.1-7.843-2.918m15.686 0A8.959 8.959 0 0 1 21 12c0 .778-.099 1.533-.284 2.253m0 0A17.919 17.919 0 0 1 12 16.5c-3.162 0-6.133-.815-8.716-2.247m0 0A9.015 9.015 0 0 1 3 12c0-1.605.42-3.113 1.157-4.418"}))})},62091:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(18659);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},63965:(e,t,r)=>{"use strict";let n;r.d(t,{DX:()=>f,yN:()=>L,LV:()=>F});var i=r(39668),o=r(36898);let a=null,s={},l=1;function u(e){try{return e()}catch(e){}}let c="@wry/context:Slot",d=u(()=>globalThis)||u(()=>global)||Object.create(null),f=d[c]||Array[c]||function(e){try{Object.defineProperty(d,c,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",l++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:h,noContext:p}=f,g=new f,{hasOwnProperty:m}=Object.prototype,_=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function y(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let v=[];function b(e,t){if(!e)throw Error(t||"assertion failure")}function w(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function E(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class k{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,++k.count}peek(){if(1===this.value.length&&!x(this))return T(this),this.value[0]}recompute(e){var t,r,n;return b(!this.recomputing,"already recomputing"),T(this),x(this)?(t=this,r=e,O(t),g.withValue(t,S,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{y(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,x(n)||function(e){A(e,D)}(n)),E(t.value)):E(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,A(e,I),y(this))}dispose(){this.setDirty(),O(this),A(this,(e,t)=>{e.setDirty(),N(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=v.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(_(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),v.push(this.deps),this.deps=null)}}function T(e){let t=g.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),x(e)?I(t,e):D(t,e),t}function S(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!w(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function x(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}k.count=0;function A(e,t){let r=e.parents.size;if(r){let n=_(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function I(e,t){b(e.childValues.has(t)),b(x(t));let r=!x(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=v.pop()||new Set;e.dirtyChildren.add(t),r&&A(e,I)}function D(e,t){b(e.childValues.has(t)),b(!x(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):w(r,t.value)||e.setDirty(),C(e,t),x(e)||A(e,D)}function C(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(v.length<100&&v.push(r),e.dirtyChildren=null))}function O(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{N(e,r)}),e.forgetDeps(),b(null===e.dirtyChildren)}function N(e,t){t.parents.delete(e),e.childValues.delete(t),C(e,t)}let P={setDirty:!0,dispose:!0,forget:!0};function L(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=g.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(y(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&m.call(P,r)?r:"setDirty";_(n).forEach(e=>e[i]()),t.delete(e),y(n)}},n}function M(...e){return(n||(n=new i.b("function"==typeof WeakMap))).lookupArray(e)}let R=new Set;function F(e,{max:t=65536,keyArgs:r,makeCacheKey:n=M,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){let l="function"==typeof s?new s(t,e=>e.dispose()):s,u=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=l.get(t);o||(l.set(t,o=new k(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>l.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return l.set(t,o),R.add(l),g.hasValue()||(R.forEach(e=>e.clean()),R.clear()),s};function c(e){let t=e&&l.get(e);t&&t.setDirty()}function d(e){let t=e&&l.get(e);if(t)return t.peek()}function f(e){return!!e&&l.delete(e)}return Object.defineProperty(u,"size",{get:()=>l.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:l}),u.dirtyKey=c,u.dirty=function(){c(n.apply(null,arguments))},u.peekKey=d,u.peek=function(){return d(n.apply(null,arguments))},u.forgetKey=f,u.forget=function(){return f(n.apply(null,arguments))},u.makeCacheKey=n,u.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(u)}},64405:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(96427),i=r(79350),o=r(54431),a=r(36925);function s(){let e=(0,n._)(["\n query Countries(\n $queryString: String\n $limit: Int\n $offset: Int\n $includeInactive: Boolean\n $sort: [SortOptionInput!]\n ) {\n countries(\n queryString: $queryString\n limit: $limit\n offset: $offset\n includeInactive: $includeInactive\n sort: $sort\n ) {\n ...CountryFragment\n }\n countriesCount(includeInactive: $includeInactive, queryString: $queryString)\n }\n\n ","\n"]);return s=function(){return e},e}let l=(0,i.J1)(s(),a.A),u=function(){let{queryString:e="",limit:t=20,offset:r=0,includeInactive:n=!0,sort:i=[]}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{data:a,loading:s,error:u,fetchMore:c}=(0,o.IT)(l,{variables:{queryString:e,limit:t,offset:r,includeInactive:n,sort:i}}),d=(null==a?void 0:a.countries)||[],f=null==a?void 0:a.countriesCount,h=(null==d?void 0:d.length)<f;return{countries:d,countriesCount:f,hasMore:h,loading:s,error:u,loadMore:()=>{c({variables:{offset:null==d?void 0:d.length}})}}}},65163:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(96427),i=r(79350),o=r(54431),a=r(66400),s=r(86373);function l(){let e=(0,n._)(["\n query CurrentUser {\n me {\n ...UserFragment\n ","\n }\n }\n ","\n"]);return l=function(){return e},e}let u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,i.J1)(l(),e,s.A)},c=e=>{let{customProperties:t,hydrateFragment:r}=(0,a.A)(),{data:n,loading:i,error:s}=(0,o.IT)(u(null==t?void 0:t.User)),l=null==n?void 0:n.me,c=r(null==t?void 0:t.User,l||null);return{currentUser:l,loading:i,error:s,extendedData:c}}},65901:(e,t,r)=>{"use strict";let n;r.d(t,{L:()=>t$});var i,o=r(14232),a=r(94410),s=r.n(a),l=r(69964),u=r.n(l),c=r(4902),d=r(17318),f=r(15072),h=r(45813);function p(e,t){return t?t(e):f.c.of()}function g(e){return"function"==typeof e?new _(e):e}function m(e){return e.request.length<=1}var _=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return f.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(g).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=g(r),o=g(n||new e(p));return Object.assign(new e(m(i)&&m(o)?function(e){return t(e)?i.request(e)||f.c.of():o.request(e)||f.c.of()}:function(e,r){return t(e)?i.request(e,r)||f.c.of():o.request(e,r)||f.c.of()}),{left:i,right:o})},e.execute=function(e,t){var r,n,i,o,a;return e.request((i=t.context,(n={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(0>t.indexOf(i))throw(0,d.vA)(46,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?(0,h.n4)(n.query)||void 0:""),o=n,a=(0,c.__assign)({},i),Object.defineProperty(o,"setContext",{enumerable:!1,value:function(e){a="function"==typeof e?(0,c.__assign)((0,c.__assign)({},a),e(a)):(0,c.__assign)((0,c.__assign)({},a),e)}}),Object.defineProperty(o,"getContext",{enumerable:!1,value:function(){return(0,c.__assign)({},a)}}),o))||f.c.of()},e.concat=function(t,r){var n=g(t);if(m(n))return!1!==globalThis.__DEV__&&d.V1.warn(38,n),n;var i=g(r);return Object.assign(new e(m(i)?function(e){return n.request(e,function(e){return i.request(e)||f.c.of()})||f.c.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||f.c.of()})||f.c.of()}),{left:n,right:i})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(p)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,d.vA)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),y=r(71211),v=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,d.vA)(42,t,e.message);throw n.parseError=e,n}return r},b=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},w=r(80542);function E(e){var t={next:function(){return e.read()}};return w.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var k=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},T=r(83070),S=r(93957),x=r(35785),A=Object.prototype.hasOwnProperty;function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return D(e)}function D(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new O,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var C=function(e,t,r){return this.merge(e[r],t[r])},O=function(){function e(e){void 0===e&&(e=C),this.reconciler=e,this.isObject=S.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return(0,S.U)(t)&&(0,S.U)(e)?(Object.keys(t).forEach(function(i){if(A.call(e,i)){var o=e[i];if(t[i]!==o){var a=r.reconciler.apply(r,(0,c.__spreadArray)([e,t,i],n,!1));a!==o&&((e=r.shallowCopyForMerge(e))[i]=a)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,S.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,c.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function N(e){return"incremental"in e}function P(e,t){var r=e,n=new O;return N(t)&&(0,x.E)(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}r=n.merge(r,t)}),r}var L=Object.prototype.hasOwnProperty;function M(e,t){e.status>=300&&k(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){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var R=function(e){if(!e&&"undefined"==typeof fetch)throw(0,d.vA)(40)},F=r(47518);let j=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function B(e){return U[e.charCodeAt(0)]}let U=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var z=r(74968);let V={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>q(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=G("(",q(e.variableDefinitions,", "),")"),r=q([e.operation,q([e.name,t]),q(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+G(" = ",r)+G(" ",q(n," "))},SelectionSet:{leave:({selections:e})=>H(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=G("",e,": ")+t,a=o+G("(",q(r,", "),")");return a.length>80&&(a=o+G("(\n",W(q(r,"\n")),"\n)")),q([a,q(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+G(" ",q(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>q(["...",G("on ",e),q(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${G("(",q(r,", "),")")} on ${t} ${G("",q(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,F.yo)(e):`"${e.replace(j,B)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+q(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+q(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+G("(",q(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>G("",e,"\n")+q(["schema",q(t," "),H(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>G("",e,"\n")+q(["scalar",t,q(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>G("",e,"\n")+q(["type",t,G("implements ",q(r," & ")),q(n," "),H(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>G("",e,"\n")+t+(K(r)?G("(\n",W(q(r,"\n")),"\n)"):G("(",q(r,", "),")"))+": "+n+G(" ",q(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>G("",e,"\n")+q([t+": "+r,G("= ",n),q(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>G("",e,"\n")+q(["interface",t,G("implements ",q(r," & ")),q(n," "),H(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>G("",e,"\n")+q(["union",t,q(r," "),G("= ",q(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>G("",e,"\n")+q(["enum",t,q(r," "),H(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>G("",e,"\n")+q([t,q(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>G("",e,"\n")+q(["input",t,q(r," "),H(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>G("",e,"\n")+"directive @"+t+(K(r)?G("(\n",W(q(r,"\n")),"\n)"):G("(",q(r,", "),")"))+(n?" repeatable":"")+" on "+q(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>q(["extend schema",q(e," "),H(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>q(["extend scalar",e,q(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>q(["extend type",e,G("implements ",q(t," & ")),q(r," "),H(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>q(["extend interface",e,G("implements ",q(t," & ")),q(r," "),H(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>q(["extend union",e,q(t," "),G("= ",q(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>q(["extend enum",e,q(t," "),H(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>q(["extend input",e,q(t," "),H(r)]," ")}};function q(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function H(e){return G("{\n",W(q(e,"\n")),"\n}")}function G(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function W(e){return G(" ",e.replace(/\n/g,"\n "))}function K(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var Q=r(95682),Z=r(80593),$=r(17070),Y=Object.assign(function(e){var t=i.get(e);return t||(t=(0,z.YR)(e,V),i.set(e,t)),t},{reset:function(){i=new Q.A(Z.v.print||2e3)}});Y.reset(),!1!==globalThis.__DEV__&&(0,$.D_)("print",function(){return i?i.size:0});var J={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},X=function(e,t){return t(e)};function ee(e){return new f.c(function(t){t.error(e)})}var et=r(94587),er=r(58851),en=r(68922),ei={kind:et.b.FIELD,name:{kind:et.b.NAME,value:"__typename"}};function eo(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function ea(e,t){(0,h.sw)(t);for(var r,n,i,o=eo(""),a=eo(""),s=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,x.c)(r)){if(r.kind===et.b.OPERATION_DEFINITION)return o(r.name&&r.name.value);if(r.kind===et.b.FRAGMENT_DEFINITION)return a(r.name.value)}return!1!==globalThis.__DEV__&&d.V1.error(97),null},l=0,u=t.definitions.length-1;u>=0;--u)t.definitions[u].kind===et.b.OPERATION_DEFINITION&&++l;var f=(r=new Map,n=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),p=function(e){return(0,x.E)(e)&&e.map(f).some(function(e){return e&&e.remove})},g=new Map,m=!1,_={enter:function(e){if(p(e.directives))return m=!0,null}},y=(0,z.YR)(t,{Field:_,InlineFragment:_,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=s(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(p(e.directives))return m=!0,null;var o=s(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){g.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===g.get(JSON.stringify(n))?e:l>0&&e.selectionSet.selections.every(function(e){return e.kind===et.b.FIELD&&"__typename"===e.name.value})?(a(e.name.value).removed=!0,m=!0,null):void 0}},Directive:{leave:function(e){if(f(e))return m=!0,null}}});if(!m)return t;var v=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){v(a(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},b=new Set;y.definitions.forEach(function(e){e.kind===et.b.OPERATION_DEFINITION?v(o(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){b.add(e)}):e.kind!==et.b.FRAGMENT_DEFINITION||0!==l||a(e.name.value).removed||b.add(e.name.value)}),b.forEach(function(e){v(a(e)).fragmentSpreads.forEach(function(e){b.add(e)})});var w={enter:function(e){var t;if(t=e.name.value,!b.has(t)||a(t).removed)return null}};return i=(0,z.YR)(y,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=v(o(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,c.__assign)((0,c.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===et.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,h.Vu)(i)||(0,h.E4)(i),(0,en.JG)((0,h.zK)(i)))?i:null}var es=Object.assign(function(e){return(0,z.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==et.b.OPERATION_DEFINITION){var n=e.selections;if(!(!n||n.some(function(e){return(0,er.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,er.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,c.__assign)((0,c.__assign)({},e),{selections:(0,c.__spreadArray)((0,c.__spreadArray)([],n,!0),[ei],!1)})}}}})},{added:function(e){return e===ei}});function el(e){return(0,h.sw)(e),ea([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var eu=(0,d.no)(function(){return fetch}),ec=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,o=void 0===i?X:i,a=e.includeExtensions,s=e.preserveHeaderCase,l=e.useGETForQueries,u=e.includeUnusedVariables,p=void 0!==u&&u,g=(0,c.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&R(n||eu);var m={http:{includeExtensions:a,preserveHeaderCase:s},options:g.fetchOptions,credentials:g.credentials,headers:g.headers};return new _(function(e){var t,i,a,s,u,g,_=b(e,r),x=e.getContext(),A={};if(x.clientAwareness){var I=x.clientAwareness,D=I.name,C=I.version;D&&(A["apollographql-client-name"]=D),C&&(A["apollographql-client-version"]=C)}var O=(0,c.__assign)((0,c.__assign)({},A),x.headers),N={http:x.http,options:x.fetchOptions,credentials:x.credentials,headers:O};if((0,y.d8)(["client"],e.query)){var P=el(e.query);if(!P)return ee(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=P}var R=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(e){i=(0,c.__assign)((0,c.__assign)((0,c.__assign)({},i),e.options),{headers:(0,c.__assign)((0,c.__assign)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,c.__assign)((0,c.__assign)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r={};return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,l=e.variables,u=e.query,d={operationName:a,variables:l};return o.includeExtensions&&(d.extensions=s),o.includeQuery&&(d.query=t(u,Y)),{options:i,body:d}}(e,o,J,m,N),F=R.options,j=R.body;j.variables&&!p&&(t=j.variables,i=e.query,a=(0,c.__assign)({},t),s=new Set(Object.keys(t)),(0,z.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&s.delete(e.name.value)}}),s.forEach(function(e){delete a[e]}),j.variables=a),F.signal||"undefined"==typeof AbortController||(F.signal=(g=new AbortController).signal);var B="OperationDefinition"===(u=(0,h.Vn)(e.query)).kind&&"subscription"===u.operation,U=(0,y.d8)(["defer"],e.query);if(l&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(F.method="GET"),U||B){F.headers=F.headers||{};var V="multipart/mixed;";B&&U&&!1!==globalThis.__DEV__&&d.V1.warn(41),B?V+="boundary=graphql;subscriptionSpec=1.0,application/json":U&&(V+="deferSpec=20220824,application/json"),F.headers.accept=V}if("GET"===F.method){var q=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=v(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=v(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+r.join("&")+a}}(_,j),H=q.newURI,G=q.parseError;if(G)return ee(G);_=H}else try{F.body=v(j,"Payload")}catch(e){return ee(e)}return new f.c(function(t){var r=n||(0,d.no)(function(){return fetch})||eu,i=t.next.bind(t);return r(_,F).then(function(t){e.setContext({response:t});var r,n=null==(r=t.headers)?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){return(0,c.__awaiter)(this,void 0,void 0,function(){var r,n,i,o,a,s,l,u,d,f,h,p,g,m,_,y,v,b,k,x,A,I,D;return(0,c.__generator)(this,function(C){switch(C.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),n=null==(D=e.headers)?void 0:D.get("content-type"),i="boundary=",o=(null==n?void 0:n.includes(i))?null==n?void 0:n.substring((null==n?void 0:n.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",l=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,w.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return E(s.getReader());if(s.stream)return E(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},w.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){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){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function l(){n=!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",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",a),e.on("error",s),e.on("end",l),e.on("finish",l),e.on("close",l);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return w.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),u=!0,C.label=1;case 1:if(!u)return[3,3];return[4,l.next()];case 2:for(f=(d=C.sent()).value,h=d.done,p="string"==typeof f?f:r.decode(f),g=s.length-a.length+1,u=!h,s+=p,m=s.indexOf(a,g);m>-1;){if(_=void 0,_=(A=[s.slice(0,m),s.slice(m+a.length)])[0],s=A[1],y=_.indexOf("\r\n\r\n"),(v=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(_.slice(0,y))["content-type"])&&-1===v.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(b=_.slice(y)){if(Object.keys(k=M(e,b)).length>1||"data"in k||"incremental"in k||"errors"in k||"payload"in k)if((0,S.U)(k)&&"payload"in k){if(x={},"payload"in k){if(1===Object.keys(k).length&&null===k.payload)return[2];x=(0,c.__assign)({},k.payload)}"errors"in k&&(x=(0,c.__assign)((0,c.__assign)({},x),{extensions:(0,c.__assign)((0,c.__assign)({},"extensions"in x?x.extensions:null),((I={})[T.K$]=k.errors,I))})),t(x)}else t(k);else if(1===Object.keys(k).length&&"hasNext"in k&&!k.hasNext)return[2]}m=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return M(t,e)}).then(function(r){return Array.isArray(r)||L.call(r,"data")||L.call(r,"errors")||k(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){g=void 0,t.complete()}).catch(function(e){g=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){g&&g.abort()}})})},ed=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,ec(t).request)||this;return r.options=t,r}return(0,c.__extends)(t,e),t}(_),ef=_.execute,eh=r(84918),ep=r(20996),eg=r(26828),em=r(39668),e_=r(99853),ey=r(63965);function ev(e){return e}var eb=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=w.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(ev,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new em.b(w.et);this.performWork=(0,ey.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,d.V1)(Array.isArray(n),77),r.lookupArray(n)},max:Z.v["documentTransform.cache"],cache:e_.l})}},e.prototype.performWork=function(e){return(0,h.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}();function ew(e,t,r){return new f.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function eE(e){var t=ek(e);return(0,x.E)(t)}function ek(e){var t=(0,x.E)(e.errors)?e.errors.slice(0):[];return N(e)&&(0,x.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var eT=r(18659),eS=r(53975),ex=r(36974);function eA(e){return e&&"function"==typeof e.then}var eI=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,eS.w)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,eS.w)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?eA(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,eS.w)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new f.c(t)]),eA(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,c.__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],r=e[t];r&&r.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 r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(f.c);(0,ex.r)(eI);var eD=r(35518),eC=r(66434),eO=new(w.et?WeakMap:Map);function eN(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return eO.set(e,(eO.get(e)+1)%1e15),r.apply(this,arguments)})}var eP=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;eO.has(r)||(eO.set(r,0),eN(r,"evict"),eN(r,"modify"),eN(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||eC.pT.loading;return this.variables&&this.networkStatus!==eC.pT.loading&&!(0,ep.L)(this.variables,e.variables)&&(t=eC.pT.setVariables),(0,ep.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,ep.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),(0,ep.L)(n&&n.result,e&&e.result)||null==(r=this.observableQuery)||r.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,c.__assign)((0,c.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,ep.L)(n,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===eO.get(this.cache)&&(0,ep.L)(t,r.variables)&&(0,ep.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,o=this,a=new O,s=(0,x.E)(e.errors)?e.errors.slice(0):[];if(null==(i=this.observableQuery)||i.resetNotifications(),"incremental"in e&&(0,x.E)(e.incremental)){var l=P(this.getDiff().result,e);e.data=l}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=a.merge(u.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(eL(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:eO.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=i.diff(a);!o.stopped&&(0,ep.L)(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=eC.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=eC.pT.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function eL(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!eE(e);return!n&&r&&e.data&&(n=!0),n}var eM=r(21500),eR=w.et?WeakMap:Map,eF=w.En?WeakSet:Set,ej=new ey.DX,eB=!1;function eU(){eB||(eB=!0,!1!==globalThis.__DEV__&&d.V1.warn(52))}function ez(e,t,r){return ej.withValue(!0,function(){var n=function e(t,r,n,i,o){var a,s=n.knownChanged,l=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,n.mutableTargets);if(Array.isArray(t)){for(var u=0,c=Array.from(t.entries());u<c.length;u++){var f=c[u],h=f[0],p=f[1];if(null===p){l[h]=null;continue}var g=e(p,r,n,i,!1!==globalThis.__DEV__?"".concat(o||"","[").concat(h,"]"):void 0);s.has(g)&&s.add(l),l[h]=g}return s.has(l)?l:t}for(var m=0,_=r.selections;m<_.length;m++){var v=_[m],b=void 0;if(i&&s.add(l),v.kind===et.b.FIELD){var w=(0,er.ue)(v),E=v.selectionSet;if(void 0===(b=l[w]||t[w]))continue;if(E&&null!==b){var g=e(t[w],E,n,i,!1!==globalThis.__DEV__?"".concat(o||"",".").concat(w):void 0);s.has(g)&&(b=g)}!1===globalThis.__DEV__&&(l[w]=b),!1!==globalThis.__DEV__&&(!i||"__typename"===w||(null==(a=Object.getOwnPropertyDescriptor(l,w))?void 0:a.value)?(delete l[w],l[w]=b):Object.defineProperty(l,w,function(e,t,r,n,i){var o=function(){return ej.getValue()||(!1!==globalThis.__DEV__&&d.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(w,b,o||"",n.operationName,n.operationType)))}if(v.kind===et.b.INLINE_FRAGMENT&&(!v.typeCondition||n.cache.fragmentMatches(v,t.__typename))&&(b=e(t,v.selectionSet,n,i,o)),v.kind===et.b.FRAGMENT_SPREAD){var k=v.name.value,T=n.fragmentMap[k]||(n.fragmentMap[k]=n.cache.lookupFragment(k));(0,d.V1)(T,47,k);var S=(0,y.s7)(v);"mask"!==S&&(b=e(t,T.selectionSet,n,"migrate"===S,o))}s.has(b)&&s.add(l)}return"__typename"in t&&!("__typename"in l)&&(l.__typename=t.__typename),Object.keys(l).length!==Object.keys(t).length&&s.add(l),s.has(l)?l:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,eM.G)(n),n})}function eV(e,t,r,n){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&eU(),e;var i=t.definitions.filter(function(e){return e.kind===et.b.FRAGMENT_DEFINITION});void 0===n&&((0,d.V1)(1===i.length,49,i.length),n=i[0].name.value);var o=i.find(function(e){return e.name.value===n});return((0,d.V1)(!!o,50,n),null==e||(0,ep.A)(e,{}))?e:ez(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:(0,en.JG)((0,h.zK)(t)),cache:r,mutableTargets:new eR,knownChanged:new eF})}var eq=Object.prototype.hasOwnProperty,eH=Object.create(null),eG=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Q.A(Z.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new em.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new eb(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,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,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,d.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,c.__awaiter)(this,arguments,void 0,function(e){var t,r,n,i,o,a,s,l=e.mutation,u=e.variables,f=e.optimisticResponse,h=e.updateQueries,p=e.refetchQueries,g=void 0===p?[]:p,m=e.awaitRefetchQueries,_=void 0!==m&&m,y=e.update,v=e.onQueryUpdated,b=e.fetchPolicy,w=void 0===b?(null==(a=this.defaultOptions.mutate)?void 0:a.fetchPolicy)||"network-only":b,E=e.errorPolicy,k=void 0===E?(null==(s=this.defaultOptions.mutate)?void 0:s.errorPolicy)||"none":E,S=e.keepRootFields,x=e.context;return(0,c.__generator)(this,function(e){switch(e.label){case 0:if((0,d.V1)(l,28),(0,d.V1)("network-only"===w||"no-cache"===w,29),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,u=this.getVariables(l,u),!r)return[3,2];return[4,this.localState.addExportedVariables(l,u,x)];case 1:u=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:u,loading:!0,error:null}),i=f&&this.markMutationOptimistic(f,{mutationId:t,document:l,variables:u,fetchPolicy:w,errorPolicy:k,context:x,updateQueries:h,update:y,keepRootFields:S}),this.broadcastQueries(),o=this,[2,new Promise(function(e,r){return ew(o.getObservableFromLink(l,(0,c.__assign)((0,c.__assign)({},x),{optimisticResponse:i?f:void 0}),u,{},!1),function(e){if(eE(e)&&"none"===k)throw new T.K4({graphQLErrors:ek(e)});n&&(n.loading=!1,n.error=null);var r=(0,c.__assign)({},e);return"function"==typeof g&&(g=g(r)),"ignore"===k&&eE(r)&&delete r.errors,o.markMutationResult({mutationId:t,result:r,document:l,variables:u,fetchPolicy:w,errorPolicy:k,context:x,update:y,updateQueries:h,awaitRefetchQueries:_,refetchQueries:g,removeOptimistic:i?t:void 0,onQueryUpdated:v,keepRootFields:S})}).subscribe({next:function(r){o.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,c.__assign)((0,c.__assign)({},r),{data:o.maskOperation({document:l,data:r.data,fetchPolicy:w,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),r(e instanceof T.K4?e:new T.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&eL(n,e.errorPolicy)){if(N(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),N(n)&&(0,x.E)(n.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=P(a.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&eq.call(l,s)){var u=l[s],c=r.queries.get(o),d=c.document,f=c.variables,p=t.diff({query:d,variables:f,returnPartialData:!0,optimistic:!1}),g=p.result;if(p.complete&&g){var m=u(g,{mutationResult:n,queryName:d&&(0,h.n4)(d)||void 0,queryVariables:f});m&&i.push({result:m,dataId:"ROOT_QUERY",query:d,variables:f})}}})}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=e.update,l=!(N(a=n)||"hasNext"in a&&"data"in a)||N(n)&&!n.hasNext;if(s){if(!o){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(n=(0,c.__assign)((0,c.__assign)({},n),{data:u.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}l&&s(t,n,{context:e.context,variables:e.variables})}o||e.keepRootFields||!l||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},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 n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:eH}):e;return n!==eH&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,c.__assign)((0,c.__assign)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&d.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={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 r={hasClientExports:(0,y.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,y.d8)(["nonreactive"],e),nonReactiveQuery:((0,h.sw)(e),(0,z.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,c.__assign)((0,c.__assign)({},e),{directives:(0,c.__spreadArray)((0,c.__spreadArray)([],e.directives||[],!0),[{kind:et.b.DIRECTIVE,name:{kind:et.b.NAME,value:"nonreactive"}}],!1)})}})),clientQuery:this.localState.clientQuery(e),serverQuery:ea([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,h.wY)((0,h.Vu)(e)),asQuery:(0,c.__assign)((0,c.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,c.__assign)((0,c.__assign)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,c.__assign)((0,c.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,c.__assign)((0,c.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new eP(this),n=new eD.U({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,eD.U.inactiveOnCreation.getValue()||this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,d.V1)(e.query,30),(0,d.V1)("Document"===e.query.kind,31),(0,d.V1)(!e.returnPartialData,32),(0,d.V1)(!e.pollInterval,33);var n=this.transform(e.query);return this.fetchQuery(t,(0,c.__assign)((0,c.__assign)({},e),{query:n})).then(function(i){return i&&(0,c.__assign)((0,c.__assign)({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,d.vA)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=eC.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,e),i.set(e,!1);else if((0,er.Kc)(e)){var r=Y(t.transform(e));n.set(r,(0,h.n4)(e)),i.set(r,!1)}else(0,S.U)(e)&&e.query&&o.add(e)}),this.queries.forEach(function(t,n){var o=t.observableQuery,a=t.document;if(o){if("all"===e)return void r.set(n,o);var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&i.has(s)||a&&i.has(Y(a)))&&(r.set(n,o),s&&i.set(s,!0),a&&i.set(Y(a),!0))}}),o.size&&o.forEach(function(e){var n=(0,eT.v)("legacyOneTimeQuery"),i=t.getOrCreateQuery(n).init({document:e.query,variables:e.variables}),o=new eD.U({queryManager:t,queryInfo:i,options:(0,c.__assign)((0,c.__assign)({},e),{fetchPolicy:"network-only"})});(0,d.V1)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){if(!e){var r=n.get(t);r?!1!==globalThis.__DEV__&&d.V1.warn(35,r):!1!==globalThis.__DEV__&&d.V1.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,l=void 0===s?{}:s,u=e.extensions,c=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var d=function(e){return t.getObservableFromLink(r,l,e,c).map(function(n){"no-cache"!==i&&(eL(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=eE(n),s=(0,T.uR)(n);if(o||s){var l={};if(o&&(l.graphQLErrors=n.errors),s&&(l.protocolErrors=n.extensions[T.K$]),"none"===a||s)throw new T.K4(l)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,l).then(d);return new f.c(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return d(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,i){var o,a,s=this;void 0===i&&(i=null!=(o=null==t?void 0:t.queryDeduplication)?o:this.queryDeduplication);var l=this.getDocumentInfo(e),u=l.serverQuery,d=l.clientQuery;if(u){var p=this.inFlightLinkObservables,g=this.link,m={query:u,variables:r,operationName:(0,h.n4)(u)||void 0,context:this.prepareContext((0,c.__assign)((0,c.__assign)({},t),{forceFetch:!i})),extensions:n};if(t=m.context,i){var _=Y(u),y=(0,eg.M)(r),v=p.lookup(_,y);if(!(a=v.observable)){var b=new eI([ef(g,m)]);a=v.observable=b,b.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?b.beforeNext(e):p.remove(_,y)})}}else a=new eI([ef(g,m)])}else a=new eI([f.c.of({data:{}})]),t=this.prepareContext(t);return d&&(a=ew(a,function(e){return s.localState.runResolvers({document:d,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return ew(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=ek(o),s=a.length>0,l=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===l)throw e.markError(new T.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:eC.pT.ready};return s&&"none"===l&&(u.data=void 0),s&&"ignore"!==l&&(u.errors=a,u.networkStatus=eC.pT.error),u},function(t){var r=(0,T.Mn)(t)?t:new T.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=eC.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),l=this.defaultOptions.watchQuery,u=t.fetchPolicy,c=void 0===u?l&&l.fetchPolicy||"cache-first":u,d=t.errorPolicy,f=void 0===d?l&&l.errorPolicy||"none":d,h=t.returnPartialData,p=t.notifyOnNetworkStatusChange,g=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:c,errorPolicy:f,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===g?{}:g}),_=function(n){m.variables=n;var i=a.fetchQueryByPolicy(e,m,r);return"standby"!==m.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},y=function(){return a.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){y(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new eI(this.localState.addExportedVariables(m.query,m.variables,m.context).then(_).then(function(e){return e.sources})),o=!0;else{var v=_(m.variables);o=v.fromLink,i=new eI(v.sources)}return i.promise.then(y,y),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,eT.v)("refetchQueries"):void 0:a,l=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof eP&&e.watcher.observableQuery;if(n){if(l){u.delete(n.queryId);var i=l(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==l&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;l&&(a||(a=t.cache.diff(i.queryInfo.getDiffOptions())),n=l(i,a,o)),l&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var a=e.fetchPolicy,s=e.id,l=null==(t=(0,h.Vu)(i))?void 0:t.operation,u=(null!=(r=null==l?void 0:l[0])?r:"o")+s;!this.dataMasking||"no-cache"!==a||(0,en.s6)(i)||this.noCacheWarningsByQueryId.has(u)||(this.noCacheWarningsByQueryId.add(u),!1!==globalThis.__DEV__&&d.V1.warn(37,null!=(n=(0,h.n4)(i))?n:"Unnamed ".concat(null!=l?l:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&eU(),e;var n,i=(0,h.Vu)(t);return((0,d.V1)(i,51),null==e)?e:ez(e,i.selectionSet,{operationType:i.operation,operationName:null==(n=i.name)?void 0:n.value,fragmentMap:(0,en.JG)((0,h.zK)(t)),cache:r,mutableTargets:new eR,knownChanged:new eF})}(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?eV(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,l=t.errorPolicy,u=t.returnPartialData,d=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var g=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||eC.pT.loading);var a=t.result;!1===globalThis.__DEV__||u||(0,ep.L)(a,{})||(0,eD.y)(t.missing);var s=function(e){return f.c.of((0,c.__assign)({data:e,loading:(0,eC.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:a},context:d,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===l&&r===eC.pT.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},_="no-cache"===a?0:r===eC.pT.refetch&&"merge"!==s?1:2,y=function(){return n.getResultsFromLink(e,_,{query:i,variables:o,context:d,fetchPolicy:a,errorPolicy:l})},v=h&&"number"==typeof p&&p!==r&&(0,eC.bi)(r);switch(a){default:case"cache-first":var b=g();if(b.complete)return{fromLink:!1,sources:[m(b,e.markReady())]};if(u||v)return{fromLink:!0,sources:[m(b),y()]};return{fromLink:!0,sources:[y()]};case"cache-and-network":var b=g();if(b.complete||u||v)return{fromLink:!0,sources:[m(b),y()]};return{fromLink:!0,sources:[y()]};case"cache-only":return{fromLink:!1,sources:[m(g(),e.markReady())]};case"network-only":if(v)return{fromLink:!0,sources:[m(g()),y()]};return{fromLink:!0,sources:[y()]};case"no-cache":if(v)return{fromLink:!0,sources:[m(e.getDiff()),y()]};return{fromLink:!0,sources:[y()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new eP(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,c.__assign)((0,c.__assign)((0,c.__assign)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function eW(e){return e.kind===et.b.FIELD||e.kind===et.b.FRAGMENT_SPREAD||e.kind===et.b.INLINE_FRAGMENT}var eK=new ey.DX,eQ=new WeakMap;function eZ(e){var t=eQ.get(e);return t||eQ.set(e,t={vars:new Set,dep:(0,ey.yN)()}),t}function e$(e){eZ(e).vars.forEach(function(t){return t.forgetCache(e)})}function eY(e){var t=new Set,r=new Set,n=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){var t;eZ(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var a=Array.from(r);r.clear(),a.forEach(function(t){return t(e)})}}else{var s=eK.getValue();s&&(i(s),eZ(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),eZ(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var eJ=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),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=I(t.resolvers,e)}):this.resolvers=I(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,c.__awaiter)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,c.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,c.__assign)((0,c.__assign)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,y.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return el(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,c.__assign)((0,c.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,c.__awaiter)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,c.__generator)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,c.__assign)((0,c.__assign)({},t),e.exportedVariables)})]:[2,(0,c.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,z.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return z.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===(0,h.Vn)(e).operation?e:(0,z.YR)(e,{OperationDefinition:{enter:function(e){return(0,c.__assign)((0,c.__assign)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,c.__awaiter)(this,arguments,void 0,function(e,t,r,n,i,o){var a,s,l,u,d,f,p,g,m,_;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,c.__generator)(this,function(y){return a=(0,h.Vn)(e),s=(0,h.zK)(e),l=(0,en.JG)(s),u=this.collectSelectionsToResolve(a,l),f=(d=a.operation)?d.charAt(0).toUpperCase()+d.slice(1):"Query",p=this,g=p.cache,m=p.client,_={fragmentMap:l,context:(0,c.__assign)((0,c.__assign)({},r),{cache:g,client:m}),variables:n,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,_).then(function(e){return{result:e,exportedVariables:_.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,c.__awaiter)(this,void 0,void 0,function(){var i,o,a,s,l,u=this;return(0,c.__generator)(this,function(f){return i=n.fragmentMap,o=n.context,a=n.variables,s=[r],l=function(e){return(0,c.__awaiter)(u,void 0,void 0,function(){var l,u;return(0,c.__generator)(this,function(c){return(t||n.selectionsToResolve.has(e))&&(0,y.MS)(e,a)?(0,er.dt)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={})[(0,er.ue)(e)]=t,r))})]:((0,er.kd)(e)?l=e:(l=i[e.name.value],(0,d.V1)(l,19,e.name.value)),l&&l.typeCondition&&(u=l.typeCondition.name.value,n.fragmentMatcher(r,u,o)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return D(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,c.__awaiter)(this,void 0,void 0,function(){var i,o,a,s,l,u,d,f,h,p=this;return(0,c.__generator)(this,function(c){return r?(i=n.variables,s=(o=e.name.value)!==(a=(0,er.ue)(e)),u=Promise.resolve(l=r[a]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(d=r.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(h=f[s?o:a])&&(u=Promise.resolve(eK.withValue(this.cache,h,[r,(0,er.MB)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,u.then(function(r){if(void 0===r&&(r=l),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&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!=(o=null==(i=e.directives)?void 0:i.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var o=new Set;n.set(i,o),(0,z.YR)(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&eW(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,l){var u=t[n.name.value];(0,d.V1)(u,20,n.name.value);var c=e(u);c.size>0&&(l.forEach(function(e){r(e)&&eW(e)&&o.add(e)}),o.add(n),c.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),eX=r(18877),e0=!1,e1=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,d.vA)(16);var n=e.uri,i=e.credentials,o=e.headers,a=e.cache,s=e.documentTransform,l=e.ssrMode,u=void 0!==l&&l,f=e.ssrForceFetchDelay,h=void 0===f?0:f,p=e.connectToDevTools,g=e.queryDeduplication,m=void 0===g||g,y=e.defaultOptions,v=e.defaultContext,b=e.assumeImmutableResults,w=void 0===b?a.assumeImmutableResults:b,E=e.resolvers,k=e.typeDefs,T=e.fragmentMatcher,S=e.name,x=e.version,A=e.devtools,I=e.dataMasking,D=e.link;D||(D=n?new ed({uri:n,credentials:i,headers:o}):_.empty()),this.link=D,this.cache=a,this.disableNetworkFetches=u||h>0,this.queryDeduplication=m,this.defaultOptions=y||Object.create(null),this.typeDefs=k,this.devtoolsConfig=(0,c.__assign)((0,c.__assign)({},A),{enabled:null!=(t=null==A?void 0:A.enabled)?t:p}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),h&&setTimeout(function(){return r.disableNetworkFetches=!1},h),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=eh.r,this.localState=new eJ({cache:a,client:this,resolvers:E,fragmentMatcher:T}),this.queryManager=new eG({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:s,queryDeduplication:m,ssrMode:u,dataMasking:!!I,clientAwareness:{name:S,version:x},localState:this.localState,assumeImmutableResults:w,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.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,!e0&&!1!==globalThis.__DEV__&&(e0=!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,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&d.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,eX.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,c.__assign)((0,c.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,eX.l)(this.defaultOptions.query,e)),(0,d.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,c.__assign)((0,c.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,eX.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,c.__assign)((0,c.__assign)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,c.__assign)((0,c.__assign)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ef(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),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&d.V1.debug(18,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}();function e2(e){return new _(function(t,r){return new f.c(function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){if(i.errors?a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}):(0,T.uR)(i)&&(a=e({protocolErrors:i.extensions[T.K$],response:i,operation:t,forward:r})),a){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!1!==globalThis.__DEV__&&(e1.prototype.getMemoryInternals=$.ep),!function(e){function t(t){var r=e.call(this)||this;return r.link=e2(t),r}(0,c.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(_);var e5=r(19221),e3=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,ey.LV)(en.ct,{max:Z.v["cache.fragmentQueryDocuments"]||1e3,cache:e_.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),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,c.__assign)((0,c.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=(0,c.__rest)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(n,i),u=void 0===o||"string"==typeof o?o:this.identify(o),p=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=i||(0,h.E4)(n).name.value;u||!1===globalThis.__DEV__||d.V1.warn(1,g)}var m=(0,c.__assign)((0,c.__assign)({},s),{returnPartialData:!0,id:u,query:l,optimistic:void 0===a||a});return new f.c(function(o){return r.watch((0,c.__assign)((0,c.__assign)({},m),{immediate:!0,callback:function(a){var s=p?eV(a.result,n,r,i):a.result;if(!(t&&(0,e5.a)(l,{data:t.result},{data:s},e.variables))){var u={data:s,complete:!!a.complete};a.missing&&(u.missing=D(a.missing.map(function(e){return e.missing}))),t=(0,c.__assign)((0,c.__assign)({},a),{result:s}),o.next(u)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,c.__assign)((0,c.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,c.__rest)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,o=(0,c.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery((0,c.__assign)((0,c.__assign)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment((0,c.__assign)((0,c.__assign)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(e3.prototype.getMemoryInternals=$.tQ);var e4=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)(a={})[s.path[l]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,c.__extends)(t,e),t}(Error),e6=r(79760),e8=Object.prototype.hasOwnProperty;function e7(e){return null==e}function e9(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=e7(n)?e7(i)?void 0:{_id:i}:{id:n}),e7(n)&&!e7(i)&&(n=i),!e7(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var te={dataIdFromObject:e9,addTypename:!0,resultCaching:!0,canonizeResults:!1};function tt(e){var t=e.canonizeResults;return void 0===t?te.canonizeResults:t}var tr=/^[_a-z][_0-9a-z]*/i;function tn(e){var t=e.match(tr);return t?t[0]:e}function ti(e){return(0,S.U)(e)&&!(0,er.A_)(e)&&!(0,x.c)(e)}function to(e,t){var r=(0,en.JG)((0,h.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var ta=Object.create(null),ts=function(){return ta},tl=Object.create(null),tu=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,eM.G)((0,er.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,er.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,er.WU)(e);if((0,er.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,er.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,c.__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),e8.call(this.data,e)){var r=this.data[e];if(r&&e8.call(r,t))return r[t]}return"__typename"===t&&e8.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof tf?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),e8.call(this.data,e))?this.data[e]:this instanceof tf?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,er.A_)(e)&&(e=e.__ref),(0,er.A_)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,d.V1)("string"==typeof r,2);var a=new O(tp).merge(i,o);if(this.data[r]=a,a!==i&&(delete this.refs[r],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=tn(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof tf||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),o=!1,a=!0,s={DELETE:ta,INVALIDATE:tl,isReference:er.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,er.WU)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var u=tn(l),f=n[l];if(void 0!==f){var h="function"==typeof t?t:t[l]||t[u];if(h){var p=h===ts?ta:h((0,eM.G)(f),(0,c.__assign)((0,c.__assign)({},s),{fieldName:u,storeFieldName:l,storage:r.getStorage(e,l)}));if(p===tl)r.group.dirty(e,l);else if(p===ta&&(p=void 0),p!==f&&(i[l]=p,o=!0,f=p,!1!==globalThis.__DEV__)){var g=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&d.V1.warn(3,e),!0};if((0,er.A_)(p))g(p);else if(Array.isArray(p))for(var m=!1,_=void 0,y=0,v=p;y<v.length;y++){var b=v[y];if((0,er.A_)(b)){if(m=!0,g(b))break}else"object"==typeof b&&b&&r.policies.identify(b)[0]&&(_=b);if(m&&void 0!==_){!1!==globalThis.__DEV__&&d.V1.warn(4,_);break}}}}void 0!==f&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof tf?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=ts,n):ts)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(e8.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof tf&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){e8.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&e8.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,c.__rest)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.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 tf?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){e8.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof tf;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!e8.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,er.A_)(e)&&(t[e.__ref]=!0),(0,S.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,S.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),tc=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,ey.yN)():null,this.keyMaker=new em.b(w.et)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=tn(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function td(e,t){tg(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new tc(void 0===n||n))||this;return o.stump=new th(o),o.storageTrie=new em.b(w.et),i&&o.replace(i),o}return(0,c.__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}(e);e.Root=t}(tu||(tu={}));var tf=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,c.__extends)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,ep.L)(n[r],i[r])||t.group.dirty(e,r)}):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,c.__assign)((0,c.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return e8.call(this.data,t)?(0,c.__assign)((0,c.__assign)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(tu),th=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new tc(t.group.caching,t.group))||this}return(0,c.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(tf);function tp(e,t,r){var n=e[r],i=t[r];return(0,ep.L)(n,i)?n:i}function tg(e){return!!(e instanceof tu&&e.group.caching)}var tm=function(){function e(){this.known=new(w.En?WeakSet:Set),this.pool=new em.b(w.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,S.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,S.U)(e)){var t=(0,S.U)(e)?(0,x.c)(e)?e.slice(0):(0,c.__assign)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,S.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var l=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[l+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function t_(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var ty=function(){function e(e){var t=this;this.knownResults=new(w.et?WeakMap:Map),this.config=(0,e6.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:tt(e)}),this.canon=e.canon||new tm,this.executeSelectionSet=(0,ey.LV)(function(e){var r,n=e.context.canonizeResults,i=t_(e);i[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,i);return o?n?(0,c.__assign)((0,c.__assign)({},o),{result:t.canon.admit(o.result)}):o:(td(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||Z.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:t_,makeCacheKey:function(e,t,r,n){if(tg(r.store))return r.store.makeCacheKey(e,(0,er.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,ey.LV)(function(e){return td(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||Z.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(tg(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new tm},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,s=e.canonizeResults,l=void 0===s?this.config.canonizeResults:s,u=this.config.cache.policies;o=(0,c.__assign)((0,c.__assign)({},(0,h.wY)((0,h.AT)(n))),o);var d=(0,er.WU)(void 0===i?"ROOT_QUERY":i),f=this.executeSelectionSet({selectionSet:(0,h.Vn)(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,c.__assign)({store:r,query:n,policies:u,variables:o,varString:(0,eg.M)(o),canonizeResults:l},to(n,this.config.fragments))});if(f.missing&&(t=[new e4(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(f.missing),f.missing,n,o)],!(void 0===a||a)))throw t[0];return{result:f.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(tg(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if((0,er.A_)(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 s=a.variables,l=a.policies,u=a.store.getFieldValue(i,"__typename"),c=[],f=new O;function h(e,r){var n;return e.missing&&(t=f.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!l.rootIdsByTypename[u]&&c.push({__typename:u});var p=new Set(n.selections);p.forEach(function(e){var n,g;if((0,y.MS)(e,s))if((0,er.dt)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),_=(0,er.ue)(e);void 0===m?es.added(e)||(t=f.merge(t,((n={})[_]="Can't find field '".concat(e.name.value,"' on ").concat((0,er.A_)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,x.c)(m)?m.length>0&&(m=h(r.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:a}),_)):e.selectionSet?null!=m&&(m=h(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,er.A_)(m)?m:o,context:a}),_)):a.canonizeResults&&(m=r.canon.pass(m)),void 0!==m&&c.push(((g={})[_]=m,g))}else{var v=(0,en.HQ)(e,a.lookupFragment);if(!v&&e.kind===et.b.FRAGMENT_SPREAD)throw(0,d.vA)(10,e.name.value);v&&l.fragmentMatches(v,u)&&v.selectionSet.selections.forEach(p.add,p)}});var g={result:D(c),missing:t},m=a.canonizeResults?this.canon.admit(g):(0,eM.G)(g);return m.result&&this.knownResults.set(m.result,n),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new O;function l(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,x.c)(e)?l(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?l(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,er.A_)(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,S.U)(r)&&((0,d.V1)(!(0,er.A_)(r),11,(0,er.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),tv=r(54962),tb=r(62091),tw=Object.create(null);function tE(e){var t=JSON.stringify(e);return tw[t]||(tw[t]=Object.create(null))}function tk(e){var t=tE(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=tS(e,function(e){var i=tA(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&e8.call(t,e[0])&&(i=tA(t,e,tx)),(0,d.V1)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function tT(e){var t=tE(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(tS(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,x.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),l=s&&(0,er.MB)(s,i);return l&&tA(l,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&e8.call(i,u)){var c=e.slice(0);return c[0]=u,tA(i,c)}return}if(t)return tA(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function tS(e,t){var r=new O;return(function e(t){var r=tE(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,x.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,x.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function tx(e,t){return e[t]}function tA(e,t,r){return r=r||tx,function e(t){return(0,S.U)(t)?(0,x.c)(t)?t.map(e):tS(Object.keys(t).sort(),function(e){return tA(t,e)}):t}(t.reduce(function e(t,n){return(0,x.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function tI(e){return void 0!==e.args?e.args:e.field?(0,er.MB)(e.field,e.variables):null}var tD=function(){},tC=function(e,t){return t.fieldName},tO=function(e,t,r){return(0,r.mergeObjects)(e,t)},tN=function(e,t){return t},tP=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,c.__assign)({dataIdFromObject:e9},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 r,n,i=this,o=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a=t&&t.storeObject||e,s=(0,c.__assign)((0,c.__assign)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=tM(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=o&&this.getTypePolicy(o),u=l&&l.keyFn||this.config.dataIdFromObject;return ej.withValue(!0,function(){for(;u;){var t=u((0,c.__assign)((0,c.__assign)({},e),a),s);if((0,x.c)(t))u=tk(t);else{n=t;break}}}),n=n?String(n):void 0,s.keyObject?[n,s.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,s=(0,c.__rest)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),e8.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?tO:!1===t?tN:e.merge}a(n,t.merge),n.keyFn=!1===i?tD:(0,x.c)(i)?tk(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;n.keyFn=!1===s?tC:(0,x.c)(s)?tT(s):"function"==typeof s?s:n.keyFn,"function"==typeof l&&(n.read=l),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||tC)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,d.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(tr);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!e8.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,c.__rest)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){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],l=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},u=!!(r&&this.fuzzySubtypes.size),c=!1,f=0;f<s.length;++f){var h=s[f];if(h.has(o))return a.has(o)||(c&&!1!==globalThis.__DEV__&&d.V1.warn(7,t,o),a.add(o)),!0;h.forEach(l),u&&f===s.length-1&&function e(t,r,n){return!!(0,S.U)(r)&&((0,x.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,er.dt)(t)&&(0,y.MS)(t,n)){var i=(0,er.ue)(t);return e8.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(u=!1,c=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=tI(e);o;){var l=o(s,a);if((0,x.c)(l))o=tT(l);else{t=l||n;break}}return(void 0===t&&(t=e.field?(0,er.Ii)(e.field,e.variables):(0,er.o5)(n,tI(e))),!1===t)?n:n===tn(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=tn(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),l=s&&s.read;if(l){var u=tL(this,r,e,t,t.store.getStorage((0,er.A_)(r)?r.__ref:r,i));return eK.withValue(this.cache,l,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===tO?tR(n.store)(e,t):s===tN?t:(n.overwrite&&(e=void 0),s(e,t,tL(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function tL(e,t,r,n,i){var o=e.getStoreFieldName(r),a=tn(o),s=r.variables||n.variables,l=n.store,u=l.toReference,c=l.canRead;return{args:tI(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:er.A_,toReference:u,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(tM(arguments,t,s),n)},mergeObjects:tR(n.store)}}function tM(e,t,r){var n,i=e[0],o=e[1],a=e.length;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n=(0,c.__assign)({},i),e8.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&d.V1.warn(8,(0,tb.p)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function tR(e){return function(t,r){if((0,x.c)(t)||(0,x.c)(r))throw(0,d.vA)(9);if((0,S.U)(t)&&(0,S.U)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,er.A_)(t)&&ti(r))return e.merge(t.__ref,r),t;if(ti(t)&&(0,er.A_)(r))return e.merge(t,r.__ref),r;if(ti(t)&&ti(r))return(0,c.__assign)((0,c.__assign)({},t),r)}return r}}function tF(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,c.__assign)((0,c.__assign)({},e),{clientOnly:t,deferred:r})),i}var tj=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,l=(0,h.Vu)(n),u=new O;a=(0,c.__assign)((0,c.__assign)({},(0,h.wY)(l)),a);var f=(0,c.__assign)((0,c.__assign)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:a,varString:(0,eg.M)(a)},to(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:f});if(!(0,er.A_)(p))throw(0,d.vA)(12,i);return f.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=(0,er.WU)(n);if(o&&o.map.size){var l=r.applyMerges(o,s,i,f);if((0,er.A_)(l))return;i=l}if(!1!==globalThis.__DEV__&&!f.overwrite){var u=Object.create(null);a.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});var h=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==u[tn(e)]||h(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||(0,er.A_)(o)||(0,ep.L)(o,a)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=tn(r),u="".concat(s,".").concat(l);if(!tq.has(u)){tq.add(u);var f=[];(0,x.c)(o)||(0,x.c)(a)||[o,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||f.includes(t)||f.push(t)}),!1!==globalThis.__DEV__&&d.V1.warn(15,l,s,f.length?"either ensure all objects of type "+f.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,c.__assign)({},o),(0,c.__assign)({},a))}}}}(s,i,e,f.store)})}e.merge(n,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,l=Object.create(null),u=r&&s.rootTypenamesById[r]||(0,er.D$)(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof u&&(l.__typename=u);var f=function(){var e=tM(arguments,l,o.variables);if((0,er.A_)(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,c.__assign)((0,c.__assign)({},e),{from:t.storeObject}),o);if(void 0!==r)return r}}return s.readField(e,o)},h=new Set;this.flattenFields(i,n,o,u).forEach(function(e,r){var i,o=n[(0,er.ue)(r)];if(h.add(r),void 0!==o){var c=s.getStoreFieldName({typename:u,fieldName:r.name.value,field:r,variables:e.variables}),p=tU(a,c),g=t.processFieldValue(o,r,r.selectionSet?tF(e,!1,!1):e,p),m=void 0;r.selectionSet&&((0,er.A_)(g)||ti(g))&&(m=f("__typename",g));var _=s.getMergeFunction(u,r.name.value,m);_?p.info={field:r,typename:u,merge:_}:tV(a,c),l=e.merge(l,((i={})[c]=g,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||es.added(r)||s.getReadFunction(u,r.name.value)||!1===globalThis.__DEV__||d.V1.error(13,(0,er.ue)(r),n)});try{var p=s.identify(n,{typename:u,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:l,readField:f}),g=p[0],m=p[1];r=r||g,m&&(l=o.merge(l,m))}catch(e){if(!r)throw e}if("string"==typeof r){var _=(0,er.WU)(r),y=o.written[r]||(o.written[r]=[]);if(y.indexOf(i)>=0||(y.push(i),this.reader&&this.reader.isFresh(n,_,i,o)))return _;var v=o.incomingById.get(r);return v?(v.storeObject=o.merge(v.storeObject,l),v.mergeTree=function e(t,r){if(t===r||!r||tz(r))return t;if(!t||tz(t))return r;var n=t.info&&r.info?(0,c.__assign)((0,c.__assign)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var a=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(v.mergeTree,a),h.forEach(function(e){return v.fieldNodeSet.add(e)})):o.incomingById.set(r,{storeObject:l,mergeTree:tz(a)?void 0:a,fieldNodeSet:h}),_}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,x.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,tU(n,o));return tV(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,tv.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,er.D$)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new em.b(!1);return!function e(s,l){var u=a.lookup(s,l.clientOnly,l.deferred);u.visited||(u.visited=!0,s.selections.forEach(function(a){if((0,y.MS)(a,r.variables)){var s=l.clientOnly,u=l.deferred;if(!(s&&u)&&(0,x.E)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=(0,er.MB)(e,r.variables);n&&!1===n.if||(u=!0)}}),(0,er.dt)(a)){var c=i.get(a);c&&(s=s&&c.clientOnly,u=u&&c.deferred),i.set(a,tF(r,s,u))}else{var f=(0,en.HQ)(a,r.lookupFragment);if(!f&&a.kind===et.b.FRAGMENT_SPREAD)throw(0,d.vA)(14,a.name.value);f&&o.fragmentMatches(f,n,t,r.variables)&&e(f.selectionSet,tF(r,s,u))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var o=this;if(e.map.size&&!(0,er.A_)(r)){var a,s,l=!(0,x.c)(r)&&((0,er.A_)(t)||ti(t))?t:void 0,u=r;l&&!i&&(i=[(0,er.A_)(l)?l.__ref:l]);var f=function(e,t){return(0,x.c)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=f(l,t),a=f(u,t);if(void 0!==a){i&&i.push(t);var c=o.applyMerges(e,r,a,n,i);c!==a&&(s=s||new Map).set(t,c),i&&(0,d.V1)(i.pop()===t)}}),s&&(r=(0,x.c)(u)?u.slice(0):(0,c.__assign)({},u),s.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),tB=[];function tU(e,t){var r=e.map;return r.has(t)||r.set(t,tB.pop()||{map:new Map}),r.get(t)}function tz(e){return!e||!(e.info||e.map.size)}function tV(e,t){var r=e.map,n=r.get(t);n&&tz(n)&&(tB.push(n),r.delete(t))}var tq=new Set,tH=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new eb(es),n.assumeImmutableResults=!0,n.makeVar=eY,n.txCount=0,r=t,n.config=(0,e6.o)(te,r),n.addTypename=!!n.config.addTypename,n.policies=new tP({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,c.__extends)(t,e),t.prototype.init=function(){var e=this.data=new tu.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new tj(this,this.storeReader=new ty({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:tt(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,ey.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||Z.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(tg(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,eg.M)({optimistic:n,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,c.__assign)((0,c.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof e4)return null;throw e}},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(e8.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,c.__assign)((0,c.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,r=this;return this.watches.size||(t=this,eZ(t).vars.forEach(function(e){return e.attachCache(t)})),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){r.watches.delete(e)&&!r.watches.size&&e$(r),r.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){eg.M.reset(),Y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,er.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&d.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(e8.call(e,"id"))return!1;e=(0,c.__assign)((0,c.__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(),eg.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),e$(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,r=this,n=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,l=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,c.__assign)((0,c.__assign)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,l):!1===o?l(this.data):l(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,c.__assign)((0,c.__assign)({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&u.delete(e),r}})),u.size&&u.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,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 r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,ep.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(e3);!1!==globalThis.__DEV__&&(tH.prototype.getMemoryInternals=$.cM);let tG=JSON.parse('{"Product":["ConfigurableProduct","SimpleProduct","BundleProduct","PlanProduct","TokenizedProduct"],"ConfigurableOrBundleProduct":["BundleProduct","ConfigurableProduct"],"OrderDiscountable":["OrderGlobalDiscount","OrderPaymentDiscount","OrderDeliveryDiscount","OrderItemDiscount"],"OrderDelivery":["OrderDeliveryPickUp","OrderDeliveryShipping"],"OrderPayment":["OrderPaymentInvoice","OrderPaymentCard","OrderPaymentGeneric"]}');function tW(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t,r){var n=r.args,i=e?e.slice(0):[];if(t)if(n)for(var o=n.offset,a=void 0===o?0:o,s=0;s<t.length;++s)i[a+s]=t[s];else i.push.apply(i,t);return i}}}let tK={...{Query:{fields:{assortments:{...tW(["includeLeaves","includeInactive","tags","queryString","slugs","limit"])},products:{...tW(["includeDrafts","tags","queryString","sort","limit"])},product:{keyArgs:["productId","slug"],fields:{reviews:tW()}},user:{keyArgs:["userId"],fields:{reviews:tW()}},countries:{...tW(["includeInactive","queryString","sort","limit"])},currencies:{...tW(["includeInactive","queryString","sort","limit"])},enrollments:{...tW(["queryString","status","sort","limit"])},quotations:{...tW(["queryString","sort","limit"])},workQueue:{...tW(["status","types","created","queryString","limit"])},languages:{...tW(["includeInactive","queryString","sort","limit"])},events:{...tW(["types","queryString","sort","limit"])},users:{...tW(["includeGuests","queryString","emailVerified","lastLogin","limit"])},filters:{...tW(["queryString","includeInactive","sort","limit"])},orders:{...tW(["includeCarts","queryString","sort","limit"])}}}},keyFields:e=>(null==e?void 0:e._id)&&(null==e?void 0:e.__typename)?"".concat(null==e?void 0:e.__typename,":").concat(null==e?void 0:e._id):(null==e?void 0:e.id)&&(null==e?void 0:e.__typename)?"".concat(e.__typename,":").concat(e.id):null},tQ=["accept-language","pragma","user-agent","x-forwarded-for","x-forwarded-host","x-forwarded-port","x-forwarded-proto","x-forwarded-server","x-mapihttpcapability","x-real-ip","x-user-identity","host","cookie","authorization"],tZ=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{headers:t={},locale:r=""}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null!=n?n:(e=>{var t;let{headers:r={},locale:n}=e,i=(t=(e,t)=>{let i,o,{headers:a={}}=t;return i={...r,...a},o=n,{headers:{...Object.fromEntries(Object.entries(i).filter(e=>{let[t]=e;return tQ.includes(null==t?void 0:t.toLowerCase())})),"accept-language":(null==i?void 0:i.forceLocale)||o}}},new _(function(e,r){var n=(0,c.__rest)(e,[]);return new f.c(function(i){var o,a=!1;return Promise.resolve(n).then(function(r){return t(r,e.getContext())}).then(e.setContext).then(function(){a||(o=r(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){a=!0,o&&o.unsubscribe()}})})),o=new ed({uri:"".concat(window.location.origin,"/graphql"),credentials:"include",includeExtensions:!0}),a=e2(e=>{let{response:t,graphQLErrors:r,networkError:n,operation:i,forward:o}=e;r&&r.forEach(e=>{let{message:t,locations:r,path:n,extensions:o}=e;console.error("[GraphQL error]: Message: ".concat(t,", Location: ").concat(JSON.stringify(r),", Path: ").concat(n,", Extensions: ").concat(JSON.stringify(o),", Operation: ").concat(i.operationName))}),n&&console.error("[Network error]: ".concat(n,", Operation: ").concat(i.operationName))}),s=new tH({typePolicies:tK,possibleTypes:tG});return new e1({connectToDevTools:!0,defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",errorPolicy:"all"},mutate:{errorPolicy:"all"}},ssrMode:!1,link:_.from([a,i,o].filter(Boolean)),cache:s})})({headers:t,locale:r});if(e){let t=i.extract(),r=s()(e,t,{arrayMerge:(e,t)=>[...t,...e.filter(e=>t.every(t=>!u()(e,t)))]});i.cache.restore(r)}return n=i,i};function t$(e){let{endpoint:t=null,...r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null==e?void 0:e.__APOLLO_STATE__;return(0,o.useMemo)(()=>tZ(n,{...r}),[n,t])}},66400:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(14232),i=r(21737);let o=()=>(0,n.useContext)(i.A)},66434:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{bi:()=>i,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},66799:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function i(e){return n(e)&&"tagName"in e}function o(e){return i(e)&&"accessKey"in e}function a(e){return i(e)&&"tabIndex"in e}function s(e){return i(e)&&"style"in e}function l(e){return o(e)&&"IFRAME"===e.nodeName}function u(e){return o(e)&&"INPUT"===e.nodeName}function c(e){return o(e)&&"LABEL"===e.nodeName}function d(e){return o(e)&&"FIELDSET"===e.nodeName}function f(e){return o(e)&&"LEGEND"===e.nodeName}function h(e){return!!i(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')}r.d(t,{A3:()=>u,Er:()=>d,Gu:()=>l,H5:()=>h,Jb:()=>f,Lk:()=>a,Ll:()=>n,kS:()=>c,pv:()=>s,sb:()=>o})},67994:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(17318),i=r(60427),o=r(94852);function a(e){var t=i.useContext((0,o.l)()),r=e||t.client;return(0,n.V1)(!!r,58),r}},68128:(e,t,r)=>{"use strict";e.exports=r(29044)},68922:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>l,JG:()=>s,ct:()=>a,s6:()=>u});var n=r(4902),i=r(17318),o=r(74968);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,86,o.length),r=o[0].name.value),(0,n.__assign)((0,n.__assign)({},e),{definitions:(0,n.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function l(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,87,r),n||null;default:return null}}function u(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},69368:(e,t,r)=>{"use strict";var n=r(53757);(0,r(90600).shouldPolyfill)()&&Object.defineProperty(Intl,"PluralRules",{value:n.PluralRules,writable:!0,enumerable:!1,configurable:!0})},69904:(e,t,r)=>{"use strict";r.d(t,{P:()=>s,a:()=>a});var n=r(14232),i=r(39296);let o=Symbol();function a(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[o]:t})}function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let a=(0,n.useRef)(t);(0,n.useEffect)(()=>{a.current=t},[t]);let s=(0,i._)(e=>{for(let t of a.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[o]))?void 0:s}},69964:(e,t,r)=>{e=r.nmd(e);var n,i,o="__lodash_hash_undefined__",a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",h="[object Number]",p="[object Object]",g="[object Promise]",m="[object RegExp]",_="[object Set]",y="[object String]",v="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,T={};T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[a]=T[s]=T[b]=T[l]=T[w]=T[u]=T[c]=T[d]=T[f]=T[h]=T[p]=T[m]=T[_]=T[y]=T[v]=!1;var S="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,x="object"==typeof self&&self&&self.Object===Object&&self,A=S||x||Function("return this")(),I=t&&!t.nodeType&&t,D=I&&e&&!e.nodeType&&e,C=D&&D.exports===I,O=C&&S.process,N=function(){try{return O&&O.binding&&O.binding("util")}catch(e){}}(),P=N&&N.isTypedArray;function L(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function M(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var R=Array.prototype,F=Function.prototype,j=Object.prototype,B=A["__core-js_shared__"],U=F.toString,z=j.hasOwnProperty,V=function(){var e=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),q=j.toString,H=RegExp("^"+U.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=C?A.Buffer:void 0,W=A.Symbol,K=A.Uint8Array,Q=j.propertyIsEnumerable,Z=R.splice,$=W?W.toStringTag:void 0,Y=Object.getOwnPropertySymbols,J=G?G.isBuffer:void 0,X=(n=Object.keys,i=Object,function(e){return n(i(e))}),ee=eT(A,"DataView"),et=eT(A,"Map"),er=eT(A,"Promise"),en=eT(A,"Set"),ei=eT(A,"WeakMap"),eo=eT(Object,"create"),ea=eA(ee),es=eA(et),el=eA(er),eu=eA(en),ec=eA(ei),ed=W?W.prototype:void 0,ef=ed?ed.valueOf:void 0;function eh(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ep(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eg(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function em(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new eg;++t<r;)this.add(e[t])}function e_(e){var t=this.__data__=new ep(e);this.size=t.size}function ey(e,t){for(var r=e.length;r--;)if(eI(e[r][0],t))return r;return -1}function ev(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=z.call(e,$),r=e[$];try{e[$]=void 0;var n=!0}catch(e){}var i=q.call(e);return n&&(t?e[$]=r:delete e[$]),i}(e):(t=e,q.call(t))}function eb(e){return eM(e)&&ev(e)==a}function ew(e,t,r,n,i,o){var a=1&r,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var u=o.get(e);if(u&&o.get(t))return u==t;var c=-1,d=!0,f=2&r?new em:void 0;for(o.set(e,t),o.set(t,e);++c<s;){var h=e[c],p=t[c];if(n)var g=a?n(p,h,c,t,e,o):n(h,p,c,e,t,o);if(void 0!==g){if(g)continue;d=!1;break}if(f){if(!function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}(t,function(e,t){if(!f.has(t)&&(h===e||i(h,e,r,n,o)))return f.push(t)})){d=!1;break}}else if(!(h===p||i(h,p,r,n,o))){d=!1;break}}return o.delete(e),o.delete(t),d}function eE(e){var t;return t=eF(e),eC(e)?t:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(t,eS(e))}function ek(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function eT(e,t){var r,n=null==e?void 0:e[t];return!(!eL(n)||(r=n,V&&V in r))&&(eN(n)?H:E).test(eA(n))?n:void 0}eh.prototype.clear=function(){this.__data__=eo?eo(null):{},this.size=0},eh.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},eh.prototype.get=function(e){var t=this.__data__;if(eo){var r=t[e];return r===o?void 0:r}return z.call(t,e)?t[e]:void 0},eh.prototype.has=function(e){var t=this.__data__;return eo?void 0!==t[e]:z.call(t,e)},eh.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=eo&&void 0===t?o:t,this},ep.prototype.clear=function(){this.__data__=[],this.size=0},ep.prototype.delete=function(e){var t=this.__data__,r=ey(t,e);return!(r<0)&&(r==t.length-1?t.pop():Z.call(t,r,1),--this.size,!0)},ep.prototype.get=function(e){var t=this.__data__,r=ey(t,e);return r<0?void 0:t[r][1]},ep.prototype.has=function(e){return ey(this.__data__,e)>-1},ep.prototype.set=function(e,t){var r=this.__data__,n=ey(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},eg.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(et||ep),string:new eh}},eg.prototype.delete=function(e){var t=ek(this,e).delete(e);return this.size-=!!t,t},eg.prototype.get=function(e){return ek(this,e).get(e)},eg.prototype.has=function(e){return ek(this,e).has(e)},eg.prototype.set=function(e,t){var r=ek(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this},em.prototype.add=em.prototype.push=function(e){return this.__data__.set(e,o),this},em.prototype.has=function(e){return this.__data__.has(e)},e_.prototype.clear=function(){this.__data__=new ep,this.size=0},e_.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},e_.prototype.get=function(e){return this.__data__.get(e)},e_.prototype.has=function(e){return this.__data__.has(e)},e_.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ep){var n=r.__data__;if(!et||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new eg(n)}return r.set(e,t),this.size=r.size,this};var eS=Y?function(e){return null==e?[]:function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,o=[];++r<n;){var a=e[r];t(a,r,e)&&(o[i++]=a)}return o}(Y(e=Object(e)),function(t){return Q.call(e,t)})}:function(){return[]},ex=ev;function eA(e){if(null!=e){try{return U.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eI(e,t){return e===t||e!=e&&t!=t}(ee&&ex(new ee(new ArrayBuffer(1)))!=w||et&&ex(new et)!=f||er&&ex(er.resolve())!=g||en&&ex(new en)!=_||ei&&ex(new ei)!=v)&&(ex=function(e){var t=ev(e),r=t==p?e.constructor:void 0,n=r?eA(r):"";if(n)switch(n){case ea:return w;case es:return f;case el:return g;case eu:return _;case ec:return v}return t});var eD=eb(function(){return arguments}())?eb:function(e){return eM(e)&&z.call(e,"callee")&&!Q.call(e,"callee")},eC=Array.isArray,eO=J||function(){return!1};function eN(e){if(!eL(e))return!1;var t=ev(e);return t==d||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function eP(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eL(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eM(e){return null!=e&&"object"==typeof e}var eR=P?function(e){return P(e)}:function(e){return eM(e)&&eP(e.length)&&!!T[ev(e)]};function eF(e){return null!=e&&eP(e.length)&&!eN(e)?function(e,t){var r,n,i=eC(e),o=!i&&eD(e),a=!i&&!o&&eO(e),s=!i&&!o&&!a&&eR(e),l=i||o||a||s,u=l?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],c=u.length;for(var d in e){z.call(e,d)&&!(l&&("length"==d||a&&("offset"==d||"parent"==d)||s&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||(r=d,(n=null==(n=c)?0x1fffffffffffff:n)&&("number"==typeof r||k.test(r))&&r>-1&&r%1==0&&r<n)))&&u.push(d)}return u}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||j))return X(e);var t,r,n=[];for(var i in Object(e))z.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e)}e.exports=function(e,t){return function e(t,r,n,i,o){return t===r||(null!=t&&null!=r&&(eM(t)||eM(r))?function(e,t,r,n,i,o){var d=eC(e),g=eC(t),v=d?s:ex(e),E=g?s:ex(t);v=v==a?p:v,E=E==a?p:E;var k=v==p,T=E==p,S=v==E;if(S&&eO(e)){if(!eO(t))return!1;d=!0,k=!1}if(S&&!k)return o||(o=new e_),d||eR(e)?ew(e,t,r,n,i,o):function(e,t,r,n,i,o,a){switch(r){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case b:if(e.byteLength!=t.byteLength||!o(new K(e),new K(t)))break;return!0;case l:case u:case h:return eI(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case y:return e==t+"";case f:var s=L;case _:var d=1&n;if(s||(s=M),e.size!=t.size&&!d)break;var p=a.get(e);if(p)return p==t;n|=2,a.set(e,t);var g=ew(s(e),s(t),n,i,o,a);return a.delete(e),g;case"[object Symbol]":if(ef)return ef.call(e)==ef.call(t)}return!1}(e,t,v,r,n,i,o);if(!(1&r)){var x=k&&z.call(e,"__wrapped__"),A=T&&z.call(t,"__wrapped__");if(x||A){var I=x?e.value():e,D=A?t.value():t;return o||(o=new e_),i(I,D,r,n,o)}}return!!S&&(o||(o=new e_),function(e,t,r,n,i,o){var a=1&r,s=eE(e),l=s.length;if(l!=eE(t).length&&!a)return!1;for(var u=l;u--;){var c=s[u];if(!(a?c in t:z.call(t,c)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var f=!0;o.set(e,t),o.set(t,e);for(var h=a;++u<l;){var p=e[c=s[u]],g=t[c];if(n)var m=a?n(g,p,c,t,e,o):n(p,g,c,e,t,o);if(!(void 0===m?p===g||i(p,g,r,n,o):m)){f=!1;break}h||(h="constructor"==c)}if(f&&!h){var _=e.constructor,y=t.constructor;_!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof y&&y instanceof y)&&(f=!1)}return o.delete(e),o.delete(t),f}(e,t,r,n,i,o))}(t,r,n,i,e,o):t!=t&&r!=r)}(e,t)}},70620:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(14232),i=r(74540),o=r(38591),a=r(39296);function s(){let{disabled:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,n.useRef)(null),[r,s]=(0,n.useState)(!1),l=(0,o.L)(),u=(0,a._)(()=>{t.current=null,s(!1),l.dispose()}),c=(0,a._)(e=>{if(l.dispose(),null===t.current){t.current=e.currentTarget,s(!0);{let r=(0,i.T)(e.currentTarget);l.addEventListener(r,"pointerup",u,!1),l.addEventListener(r,"pointermove",e=>{if(t.current){var r,n;let i,o;s((i=e.width/2,o=e.height/2,r={top:e.clientY-o,right:e.clientX+i,bottom:e.clientY+o,left:e.clientX-i},n=t.current.getBoundingClientRect(),!(!r||!n||r.right<n.left||r.left>n.right||r.bottom<n.top||r.top>n.bottom)))}},!1),l.addEventListener(r,"pointercancel",u,!1)}}});return{pressed:r,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},70652:(e,t,r)=>{"use strict";r.d(t,{k:()=>l,v:()=>s});var n=r(37876),i=r(14232),o=r(31843);let a=(0,i.createContext)(void 0),s=()=>{let e=(0,i.useContext)(a);if(!e)throw Error("useChatContext must be used within a ChatProvider");return e},l=e=>{let{children:t}=e,r=(0,o.b)(),i={messages:r.messages,input:r.input,handleInputChange:r.handleInputChange,handleSubmit:r.handleSubmit,isLoading:r.isLoading,error:r.error,clearHistory:r.clearHistory,stop:r.stop,addInterruptionMessage:r.addInterruptionMessage,status:r.status,reload:r.reload,append:r.append};return(0,n.jsx)(a.Provider,{value:i,children:t})}},70874:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=e=>{let{src:t,width:r,quality:n=75}=e;return t?"".concat(t,"?w=").concat(r,"&q=").concat(n):"/no-image.jpg"}},71068:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9V5.25A2.25 2.25 0 0 1 10.5 3h6a2.25 2.25 0 0 1 2.25 2.25v13.5A2.25 2.25 0 0 1 16.5 21h-6a2.25 2.25 0 0 1-2.25-2.25V15M12 9l3 3m0 0-3 3m3-3H2.25"}))})},71211:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,d8:()=>s,f2:()=>l,s7:()=>u});var n=r(17318),i=r(74968),o=r(94587);function a(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,79,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,o),i.push({directive:e,ifArgument:a})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function l(e){return e&&s(["client","export"],e,!0)}function u(e){var t,r,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(82):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},71714:(e,t,r)=>{"use strict";r.d(t,{$x:()=>l,El:()=>s,O_:()=>a,Uw:()=>o});var n=r(14232);let i=(0,n.createContext)(null);i.displayName="OpenClosedContext";var o=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(o||{});function a(){return(0,n.useContext)(i)}function s(e){let{value:t,children:r}=e;return n.createElement(i.Provider,{value:t},r)}function l(e){let{children:t}=e;return n.createElement(i.Provider,{value:null},t)}},71988:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(14232).createContext({setModal:()=>{throw Error("No ModalContext/ModalWrapper ancestor found.")}})},72539:(e,t,r)=>{"use strict";var n=r(4902).__importDefault(r(19124));(0,r(94745).shouldPolyfill)()&&Object.defineProperty(Intl,"RelativeTimeFormat",{value:n.default,writable:!0,enumerable:!1,configurable:!0})},73237:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m21 7.5-9-5.25L3 7.5m18 0-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}))})},74540:(e,t,r)=>{"use strict";r.d(t,{T:()=>i});var n=r(51452);function i(e){var t,r;return n._.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(r=null==(t=e.current)?void 0:t.ownerDocument)?r:document:null:document}},74769:(e,t,r)=>{"use strict";r.d(t,{ZE:()=>i,Im:()=>c,tv:()=>f,Tu:()=>v,eW:()=>u,oF:()=>d,N1:()=>y,N6:()=>g,jA:()=>m,Jp:()=>p,xm:()=>_,Qh:()=>h,qg:()=>X});var n,i,o,a,s,l=r(4902);function u(e){return e.type===i.literal}function c(e){return e.type===i.argument}function d(e){return e.type===i.number}function f(e){return e.type===i.date}function h(e){return e.type===i.time}function p(e){return e.type===i.select}function g(e){return e.type===i.plural}function m(e){return e.type===i.pound}function _(e){return e.type===i.tag}function y(e){return!!(e&&"object"==typeof e&&e.type===o.number)}function v(e){return!!(e&&"object"==typeof e&&e.type===o.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(n||(n={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(i||(i={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(o||(o={}));var b=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,w=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,E=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,k=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,T=/^(@+)?(\+|#+)?[rs]?$/g,S=/(\*)(0+)|(#+)(0+)|(0+)/g,x=/^(0+)$/;function A(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(T,function(e,r,n){return"string"!=typeof n?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):"+"===n?t.minimumSignificantDigits=r.length:"#"===r[0]?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),t}function I(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function D(e){var t=I(e);return t||{}}var C={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},O=new RegExp("^".concat(b.source,"*")),N=new RegExp("".concat(b.source,"*$"));function P(e,t){return{start:e,end:t}}var L=!!String.prototype.startsWith&&"_a".startsWith("a",1),M=!!String.fromCodePoint,R=!!Object.fromEntries,F=!!String.prototype.codePointAt,j=!!String.prototype.trimStart,B=!!String.prototype.trimEnd,U=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&0x1fffffffffffff>=Math.abs(e)},z=!0;try{z=(null==(a=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:a[0])==="a"}catch(e){z=!1}var V=L?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},q=M?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0;i>o;){if((e=t[o++])>1114111)throw RangeError(e+" is not a valid code point");n+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return n},H=R?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r],i=n[0],o=n[1];t[i]=o}return t},G=F?function(e,t){return e.codePointAt(t)}:function(e,t){var r,n=e.length;if(!(t<0)&&!(t>=n)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},W=j?function(e){return e.trimStart()}:function(e){return e.replace(O,"")},K=B?function(e){return e.trimEnd()}:function(e){return e.replace(N,"")};function Q(e,t){return new RegExp(e,t)}if(z){var Z=Q("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");s=function(e,t){var r;return Z.lastIndex=t,null!=(r=Z.exec(e)[1])?r:""}}else s=function(e,t){for(var r=[];;){var n,i=G(e,t);if(void 0===i||J(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),t+=i>=65536?2:1}return q.apply(void 0,r)};var $=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,r){for(var o=[];!this.isEOF();){var a=this.char();if(123===a){var s=this.parseArgument(e,r);if(s.err)return s;o.push(s.val)}else if(125===a&&e>0)break;else if(35===a&&("plural"===t||"selectordinal"===t)){var l=this.clonePosition();this.bump(),o.push({type:i.pound,location:P(l,this.clonePosition())})}else if(60!==a||this.ignoreTag||47!==this.peek())if(60===a&&!this.ignoreTag&&Y(this.peek()||0)){var s=this.parseTag(e,t);if(s.err)return s;o.push(s.val)}else{var s=this.parseLiteral(e,t);if(s.err)return s;o.push(s.val)}else if(!r)return this.error(n.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()));else break}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(o,"/>"),location:P(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(n.INVALID_TAG,P(r,this.clonePosition()));var a=this.parseMessage(e+1,t,!0);if(a.err)return a;var s=a.val,l=this.clonePosition();if(!this.bumpIf("</"))return this.error(n.UNCLOSED_TAG,P(r,this.clonePosition()));if(this.isEOF()||!Y(this.char()))return this.error(n.INVALID_TAG,P(l,this.clonePosition()));var u=this.clonePosition();return o!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,P(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:i.tag,value:o,children:s,location:P(r,this.clonePosition())},err:null}:this.error(n.INVALID_TAG,P(l,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var r=this.clonePosition(),n="";;){var o=this.tryParseQuote(t);if(o){n+=o;continue}var a=this.tryParseUnquoted(e,t);if(a){n+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){n+=s;continue}break}var l=P(r,this.clonePosition());return{val:{type:i.literal,value:n,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Y(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r)if(39===this.peek())t.push(39),this.bump();else{this.bump();break}else t.push(r);this.bump()}return q.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===t||"selectordinal"===t)||125===r&&e>0?null:(this.bump(),q(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(n.EMPTY_ARGUMENT,P(r,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(n.MALFORMED_ARGUMENT,P(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:i.argument,value:o,location:P(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,P(r,this.clonePosition()));return this.parseArgumentOptions(e,t,o,r);default:return this.error(n.MALFORMED_ARGUMENT,P(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=s(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:P(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,a){var s,u=this.clonePosition(),c=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(c){case"":return this.error(n.EXPECT_ARGUMENT_TYPE,P(u,d));case"number":case"date":case"time":this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var g=K(p.val);if(0===g.length)return this.error(n.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));f={style:g,styleLocation:P(h,this.clonePosition())}}var m=this.tryParseArgumentClose(a);if(m.err)return m;var _=P(a,this.clonePosition());if(f&&V(null==f?void 0:f.style,"::",0)){var y=W(f.style.slice(2));if("number"===c){var p=this.parseNumberSkeletonFromString(y,f.styleLocation);if(p.err)return p;return{val:{type:i.number,value:r,location:_,style:p.val},err:null}}if(0===y.length)return this.error(n.EXPECT_DATE_TIME_SKELETON,_);var v,b=y;this.locale&&(b=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(e){var t,r=e.hourCycle;if(void 0===r&&e.hourCycles&&e.hourCycles.length&&(r=e.hourCycles[0]),r)switch(r){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var n=e.language;return"root"!==n&&(t=e.maximize().region),(C[t||""]||C[n||""]||C["".concat(n,"-001")]||C["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(y,this.locale));var g={type:o.dateTime,pattern:b,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?(v={},b.replace(w,function(e){var t=e.length;switch(e[0]){case"G":v.era=4===t?"long":5===t?"narrow":"short";break;case"y":v.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":v.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":v.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":v.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");v.weekday=["short","long","narrow","short"][t-4];break;case"a":v.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":v.hourCycle="h12",v.hour=["numeric","2-digit"][t-1];break;case"H":v.hourCycle="h23",v.hour=["numeric","2-digit"][t-1];break;case"K":v.hourCycle="h11",v.hour=["numeric","2-digit"][t-1];break;case"k":v.hourCycle="h24",v.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":v.minute=["numeric","2-digit"][t-1];break;case"s":v.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":v.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),v):{}};return{val:{type:"date"===c?i.date:i.time,value:r,location:_,style:g},err:null}}return{val:{type:"number"===c?i.number:"date"===c?i.date:i.time,value:r,location:_,style:null!=(s=null==f?void 0:f.style)?s:null},err:null};case"plural":case"selectordinal":case"select":var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(n.EXPECT_SELECT_ARGUMENT_OPTIONS,P(E,(0,l.__assign)({},E)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),T=0;if("select"!==c&&"offset"===k.value){if(!this.bumpIf(":"))return this.error(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,P(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),k=this.parseIdentifierIfPossible(),T=p.val}var S=this.tryParsePluralOrSelectOptions(e,c,t,k);if(S.err)return S;var m=this.tryParseArgumentClose(a);if(m.err)return m;var x=P(a,this.clonePosition());if("select"===c)return{val:{type:i.select,value:r,options:H(S.val),location:x},err:null};return{val:{type:i.plural,value:r,options:H(S.val),offset:T,pluralType:"plural"===c?"cardinal":"ordinal",location:x},err:null};default:return this.error(n.INVALID_ARGUMENT_TYPE,P(u,d))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(n.EXPECT_ARGUMENT_CLOSING_BRACE,P(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,P(r,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var r=[];try{r=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(E).filter(function(e){return e.length>0}),r=[],n=0;n<t.length;n++){var i=t[n].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0;s<a.length;s++)if(0===a[s].length)throw Error("Invalid number skeleton");r.push({stem:o,options:a})}return r}(e)}catch(e){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:o.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},r=0;r<e.length;r++){var n=e[r];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=(0,l.__assign)((0,l.__assign)((0,l.__assign)({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return(0,l.__assign)((0,l.__assign)({},e),D(t))},{}));continue;case"engineering":t=(0,l.__assign)((0,l.__assign)((0,l.__assign)({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return(0,l.__assign)((0,l.__assign)({},e),D(t))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw RangeError("integer-width stems only accept a single optional option");n.options[0].replace(S,function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(x.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(k.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(k,function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?t=(0,l.__assign)((0,l.__assign)({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=(0,l.__assign)((0,l.__assign)({},t),A(i)));continue}if(T.test(n.stem)){t=(0,l.__assign)((0,l.__assign)({},t),A(n.stem));continue}var o=I(n.stem);o&&(t=(0,l.__assign)((0,l.__assign)({},t),o));var a=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if("+!"===r?(t.signDisplay="always",e=e.slice(2)):"+?"===r&&(t.signDisplay="exceptZero",e=e.slice(2)),!x.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);a&&(t=(0,l.__assign)((0,l.__assign)({},t),a))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var o,a=!1,s=[],l=new Set,u=i.value,c=i.location;;){if(0===u.length){var d=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(n.EXPECT_PLURAL_ARGUMENT_SELECTOR,n.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=P(d,this.clonePosition()),u=this.message.slice(d.offset,this.offset())}else break}if(l.has(u))return this.error("select"===t?n.DUPLICATE_SELECT_ARGUMENT_SELECTOR:n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(a=!0),this.bumpSpace();var h=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,P(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(e+1,t,r);if(p.err)return p;var g=this.tryParseArgumentClose(h);if(g.err)return g;s.push([u,{value:p.val,location:P(h,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(o=this.parseIdentifierIfPossible()).value,c=o.location}return 0===s.length?this.error("select"===t?n.EXPECT_SELECT_ARGUMENT_SELECTOR:n.EXPECT_PLURAL_ARGUMENT_SELECTOR,P(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(n.MISSING_OTHER_CLAUSE,P(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,o=10*o+(a-48),this.bump();else break}var s=P(n,this.clonePosition());return i?U(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=G(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(V(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),r=this.message.indexOf(e,t);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&J(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function Y(e){return e>=97&&e<=122||e>=65&&e<=90}function J(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function X(e,t){void 0===t&&(t={});var r=new $(e,t=(0,l.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var i=SyntaxError(n[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,p(t)||g(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else d(t)&&y(t.style)||(f(t)||h(t))&&v(t.style)?delete t.style.location:_(t)&&e(t.children)})}(r.val),r.val}},74968:(e,t,r)=>{"use strict";r.d(t,{YR:()=>l,sP:()=>s});var n=r(58287),i=r(77016),o=r(86158),a=r(94587);let s=Object.freeze({});function l(e,t,r=o.aD){let u,c,d,f=new Map;for(let e of Object.values(a.b))f.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let h=Array.isArray(e),p=[e],g=-1,m=[],_=e,y=[],v=[];do{var b,w,E;let e,a=++g===p.length,l=a&&0!==m.length;if(a){if(c=0===v.length?void 0:y[y.length-1],_=d,d=v.pop(),l)if(h){_=_.slice();let e=0;for(let[t,r]of m){let n=t-e;null===r?(_.splice(n,1),e++):_[n]=r}}else for(let[e,t]of(_={..._},m))_[e]=t;g=u.index,p=u.keys,m=u.edits,h=u.inArray,u=u.prev}else if(d){if(null==(_=d[c=h?g:p[g]]))continue;y.push(c)}if(!Array.isArray(_)){(0,o.Ll)(_)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(_)}.`);let r=a?null==(b=f.get(_.kind))?void 0:b.leave:null==(w=f.get(_.kind))?void 0:w.enter;if((e=null==r?void 0:r.call(t,_,c,d,y,v))===s)break;if(!1===e){if(!a){y.pop();continue}}else if(void 0!==e&&(m.push([c,e]),!a))if((0,o.Ll)(e))_=e;else{y.pop();continue}}void 0===e&&l&&m.push([c,_]),a?y.pop():(u={inArray:h,index:g,keys:p,edits:m,prev:u},p=(h=Array.isArray(_))?_:null!=(E=r[_.kind])?E:[],g=-1,m=[],d&&v.push(d),d=_)}while(void 0!==u);return 0!==m.length?m[m.length-1][1]:e}},75769:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),i=r(48230),o=r.n(i),a=r(77742),s=r(14866);let l=e=>{let{error:t=null,resetError:r=null}=e,{formatMessage:i}=(0,a.A)();return(0,n.jsx)("div",{className:"flex min-h-screen items-center justify-center py-12 px-4 sm:px-6 lg:px-8",children:(0,n.jsxs)("div",{className:"w-full max-w-md space-y-4 text-center",children:[(0,n.jsx)("div",{children:(0,n.jsx)("h2",{className:"text-center text-3xl text-slate-900 dark:text-slate-200",children:i({id:"internal_server_error",defaultMessage:"500 Internal Server Error"})})}),(0,n.jsx)(s.A,{children:(0,n.jsxs)("div",{className:"space-y-6 px-4 pb-5 pt-3 sm:rounded-lg sm:px-10",children:[(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("div",{className:"mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-rose-100 dark:bg-rose-900",children:(0,n.jsx)("svg",{className:"h-6 w-6 text-rose-600 dark:text-rose-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"})})}),(0,n.jsx)("p",{className:"mt-4 text-sm font-semibold uppercase tracking-wide text-rose-600 dark:text-rose-400",children:i({id:"error_500",defaultMessage:"500 Error"})}),(0,n.jsx)("p",{className:"mt-2 text-base text-slate-500 dark:text-slate-400",children:i({id:"internal_server_error_message",defaultMessage:"Sorry, something went wrong on our end. We are working to fix this."})}),(null==t?void 0:t.message)&&(0,n.jsxs)("details",{className:"mt-4 text-left",children:[(0,n.jsx)("summary",{className:"cursor-pointer text-sm text-slate-600 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-300",children:i({id:"show_error_details",defaultMessage:"Show error details"})}),(0,n.jsx)("pre",{className:"mt-2 text-xs text-slate-500 dark:text-slate-400 whitespace-pre-wrap break-all",children:null==t?void 0:t.message})]})]}),(0,n.jsxs)("div",{className:"flex flex-col gap-3 mt-6",children:[(0,n.jsxs)(o(),{href:"/",className:"group relative flex w-full justify-center rounded-md border border-transparent bg-slate-800 dark:bg-slate-600 py-2 px-4 text-sm font-medium text-white hover:bg-slate-950 dark:hover:bg-slate-500 focus:outline-hidden focus:ring-2 focus:ring-slate-800 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,n.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,n.jsx)("svg",{className:"h-5 w-5 text-white group-hover:text-slate-200",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M9.707 16.707a1 1 0 01-1.414 0l-6-6a1 1 0 010-1.414l6-6a1 1 0 011.414 1.414L5.414 9H17a1 1 0 110 2H5.414l4.293 4.293a1 1 0 010 1.414z",clipRule:"evenodd"})})}),i({id:"back_to_home",defaultMessage:"Back to Home"})]}),r&&(0,n.jsxs)("button",{type:"button",onClick:r,className:"group relative flex w-full justify-center rounded-md border border-slate-300 bg-slate-100 dark:bg-slate-700 dark:border-slate-600 py-2 px-4 text-sm font-medium text-slate-700 dark:text-slate-300 hover:bg-slate-200 dark:hover:bg-slate-600 focus:outline-hidden focus:ring-2 focus:ring-slate-500 dark:focus:ring-slate-400 focus:ring-offset-2",children:[(0,n.jsx)("span",{className:"absolute inset-y-0 left-0 flex items-center pl-3",children:(0,n.jsx)("svg",{className:"h-5 w-5 text-slate-500 dark:text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:(0,n.jsx)("path",{fillRule:"evenodd",d:"M4 2a1 1 0 011 1v2.101a7.002 7.002 0 0111.601 2.566 1 1 0 11-1.885.666A5.002 5.002 0 005.999 7H9a1 1 0 010 2H4a1 1 0 01-1-1V3a1 1 0 011-1zm.008 9.057a1 1 0 011.276.61A5.002 5.002 0 0014.001 13H11a1 1 0 110-2h5a1 1 0 011 1v5a1 1 0 11-2 0v-2.101a7.002 7.002 0 01-11.601-2.566 1 1 0 01.61-1.276z",clipRule:"evenodd"})})}),i({id:"try_again",defaultMessage:"Try Again"})]})]})]})})]})})}},77e3:(e,t,r)=>{"use strict";r.d(t,{s:()=>o});var n=r(14232),i=r(51452);let o=(e,t)=>{i._.isServer?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}},77016:(e,t,r)=>{"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t)){var i=t,o=n;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let r=Math.min(10,i.length),a=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],o));return 1===a?s.push("... 1 more item"):a>1&&s.push(`... ${a} more items`),"["+s.join(", ")+"]"}var a=t,s=n;let l=Object.entries(a);return 0===l.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(a)+"]":"{ "+l.map(([t,r])=>t+": "+e(r,s)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>n})},77262:(e,t,r)=>{"use strict";function n(e){return Intl.getCanonicalLocales(e)}function i(e,t){var r=t.zoneNames,n=t.uppercaseLinks,i=e.toUpperCase(),o=r.reduce(function(e,t){return e[t.toUpperCase()]=t,e},{}),a=n[i]||o[i];return"Etc/UTC"===a||"Etc/GMT"===a?"UTC":a}r.r(t),r.d(t,{ApplyUnsignedRoundingMode:()=>tN,ArrayCreate:()=>e8,CanonicalizeLocaleList:()=>n,CanonicalizeTimeZoneName:()=>i,CoerceOptionsToObject:()=>ty,CollapseNumberRange:()=>tL,ComputeExponent:()=>tq,ComputeExponentForMagnitude:()=>tM,CurrencyDigits:()=>tH,DateFromTime:()=>tc,Day:()=>tt,DayFromYear:()=>tn,DayWithinYear:()=>ts,DaysInYear:()=>ta,FormatApproximately:()=>tX,FormatNumeric:()=>t1,FormatNumericRange:()=>t5,FormatNumericRangeToParts:()=>t3,FormatNumericToParts:()=>t4,FormatNumericToString:()=>tV,GetNumberOption:()=>tb,GetOption:()=>tw,GetOptionsObject:()=>tE,GetStringOrBooleanOption:()=>tk,GetUnsignedRoundingMode:()=>tj,HasOwnProperty:()=>e7,HourFromTime:()=>td,InLeapYear:()=>tl,InitializeNumberFormat:()=>re,IsSanctionedSimpleUnitIdentifier:()=>tA,IsValidTimeZoneName:()=>tI,IsWellFormedCurrencyCode:()=>tC,IsWellFormedUnitIdentifier:()=>tO,MinFromTime:()=>tf,MonthFromTime:()=>tu,OrdinaryHasInstance:()=>tg,PartitionNumberPattern:()=>t0,PartitionNumberRangePattern:()=>t2,PartitionPattern:()=>rt,RangePatternType:()=>o,SANCTIONED_UNITS:()=>tT,SIMPLE_UNITS:()=>tx,SameValue:()=>e6,SecFromTime:()=>th,SetNumberFormatDigitOptions:()=>t7,SetNumberFormatUnitOptions:()=>t9,SupportedLocales:()=>rr,TimeClip:()=>e3,TimeFromYear:()=>ti,ToIntlMathematicalValue:()=>ri,ToNumber:()=>e5,ToObject:()=>e4,ToPrimitive:()=>t_,ToRawFixed:()=>tU,ToRawPrecision:()=>tz,ToString:()=>e2,Type:()=>e9,WeekDay:()=>tr,YearFromTime:()=>to,ZERO:()=>ej,_formatToParts:()=>t$,createDataProperty:()=>eZ,createMemoizedDateTimeFormat:()=>eJ,createMemoizedListFormat:()=>e1,createMemoizedLocale:()=>e0,createMemoizedNumberFormat:()=>eY,createMemoizedPluralRules:()=>eX,defineProperty:()=>eQ,getInternalSlot:()=>eG,getMultiInternalSlots:()=>eW,invariant:()=>e$,isLiteralPart:()=>eK,isMissingLocaleDataError:()=>rn,msFromTime:()=>tm,removeUnitNamespace:()=>tS,setInternalSlot:()=>eq,setMultiInternalSlots:()=>eH});var o,a,s,l="0123456789abcdef",u="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",c="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",d={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-9e15,maxE:9e15,crypto:!1},f=!0,h="[DecimalError] ",p=h+"Invalid argument: ",g=h+"Precision limit exceeded",m=h+"crypto unavailable",_="[object Decimal]",y=Math.floor,v=Math.pow,b=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,w=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,E=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,k=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,T=u.length-1,S=c.length-1,x={toStringTag:_};function A(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(o+=j(r)),o+=n;(r=7-(n=(a=e[t])+"").length)&&(o+=j(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}function I(e,t,r){if(e!==~~e||e<t||e>r)throw Error(p+e)}function D(e,t,r,n){var i,o,a,s;for(o=e[0];o>=10;o/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),o=v(10,7-t),s=e[i]%o|0,null==n?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),a=r<4&&99999==s||r>3&&49999==s||5e4==s||0==s):a=(r<4&&s+1==o||r>3&&s+1==o/2)&&(e[i+1]/o/100|0)==v(10,t-2)-1||(s==o/2||0==s)&&(e[i+1]/o/100|0)==0:t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),a=(n||r<4)&&9999==s||!n&&r>3&&4999==s):a=((n||r<4)&&s+1==o||!n&&r>3&&s+1==o/2)&&(e[i+1]/o/1e3|0)==v(10,t-3)-1,a}function C(e,t,r){for(var n,i,o=[0],a=0,s=e.length;a<s;){for(i=o.length;i--;)o[i]*=t;for(o[0]+=l.indexOf(e.charAt(a++)),n=0;n<o.length;n++)o[n]>r-1&&(void 0===o[n+1]&&(o[n+1]=0),o[n+1]+=o[n]/r|0,o[n]%=r)}return o.reverse()}x.absoluteValue=x.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),N(e)},x.ceil=function(){return N(new this.constructor(this),this.e+1,2)},x.clampedTo=x.clamp=function(e,t){var r=this.constructor;if(e=new r(e),t=new r(t),!e.s||!t.s)return new r(NaN);if(e.gt(t))throw Error(p+t);return 0>this.cmp(e)?e:this.cmp(t)>0?t:new r(this)},x.comparedTo=x.cmp=function(e){var t,r,n,i,o=this.d,a=(e=new this.constructor(e)).d,s=this.s,l=e.s;if(!o||!a)return s&&l?s!==l?s:o===a?0:!o^s<0?1:-1:NaN;if(!o[0]||!a[0])return o[0]?s:a[0]?-l:0;if(s!==l)return s;if(this.e!==e.e)return this.e>e.e^s<0?1:-1;for(t=0,r=(n=o.length)<(i=a.length)?n:i;t<r;++t)if(o[t]!==a[t])return o[t]>a[t]^s<0?1:-1;return n===i?0:n>i^s<0?1:-1},x.cosine=x.cos=function(){var e,t,r=this,n=r.constructor;return r.d?r.d[0]?(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(e,t){var r,n,i;if(t.isZero())return t;(n=t.d.length)<32?i=(1/K(4,r=Math.ceil(n/3))).toString():(r=16,i="2.3283064365386962890625e-10"),e.precision+=r,t=W(e,1,t.times(i),new e(1));for(var o=r;o--;){var a=t.times(t);t=a.times(a).minus(a).times(8).plus(1)}return e.precision-=r,t}(n,Q(n,r)),n.precision=e,n.rounding=t,N(2==s||3==s?r.neg():r,e,t,!0)):new n(1):new n(NaN)},x.cubeRoot=x.cbrt=function(){var e,t,r,n,i,o,a,s,l,u,c=this.constructor;if(!this.isFinite()||this.isZero())return new c(this);for(f=!1,(o=this.s*v(this.s*this,1/3))&&Math.abs(o)!=1/0?n=new c(o.toString()):(r=A(this.d),(o=((e=this.e)-r.length+1)%3)&&(r+=1==o||-2==o?"0":"00"),o=v(r,1/3),e=y((e+1)/3)-(e%3==(e<0?-1:2)),(n=new c(r=o==1/0?"5e"+e:(r=o.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=this.s),a=(e=c.precision)+3;;)if(n=O((u=(l=(s=n).times(s).times(s)).plus(this)).plus(this).times(s),u.plus(l),a+2,1),A(s.d).slice(0,a)===(r=A(n.d)).slice(0,a)){if("9999"!=(r=r.slice(a-3,a+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(N(n,e+1,1),t=!n.times(n).times(n).eq(this));break}if(!i&&(N(s,e+1,0),s.times(s).times(s).eq(this))){n=s;break}a+=4,i=1}return f=!0,N(n,e,c.rounding,t)},x.decimalPlaces=x.dp=function(){var e,t=this.d,r=NaN;if(t){if(r=((e=t.length-1)-y(this.e/7))*7,e=t[e])for(;e%10==0;e/=10)r--;r<0&&(r=0)}return r},x.dividedBy=x.div=function(e){return O(this,new this.constructor(e))},x.dividedToIntegerBy=x.divToInt=function(e){var t=this.constructor;return N(O(this,new t(e),0,1,1),t.precision,t.rounding)},x.equals=x.eq=function(e){return 0===this.cmp(e)},x.floor=function(){return N(new this.constructor(this),this.e+1,3)},x.greaterThan=x.gt=function(e){return this.cmp(e)>0},x.greaterThanOrEqualTo=x.gte=function(e){var t=this.cmp(e);return 1==t||0===t},x.hyperbolicCosine=x.cosh=function(){var e,t,r,n,i,o=this,a=o.constructor,s=new a(1);if(!o.isFinite())return new a(o.s?1/0:NaN);if(o.isZero())return s;r=a.precision,n=a.rounding,a.precision=r+Math.max(o.e,o.sd())+4,a.rounding=1,(i=o.d.length)<32?t=(1/K(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),o=W(a,1,o.times(t),new a(1),!0);for(var l,u=e,c=new a(8);u--;)l=o.times(o),o=s.minus(l.times(c.minus(l.times(c))));return N(o,a.precision=r,a.rounding=n,!0)},x.hyperbolicSine=x.sinh=function(){var e,t,r,n,i=this,o=i.constructor;if(!i.isFinite()||i.isZero())return new o(i);if(t=o.precision,r=o.rounding,o.precision=t+Math.max(i.e,i.sd())+4,o.rounding=1,(n=i.d.length)<3)i=W(o,2,i,i,!0);else{e=(e=1.4*Math.sqrt(n))>16?16:0|e,i=W(o,2,i=i.times(1/K(5,e)),i,!0);for(var a,s=new o(5),l=new o(16),u=new o(20);e--;)a=i.times(i),i=i.times(s.plus(a.times(l.times(a).plus(u))))}return o.precision=t,o.rounding=r,N(i,t,r,!0)},x.hyperbolicTangent=x.tanh=function(){var e,t,r=this.constructor;return this.isFinite()?this.isZero()?new r(this):(e=r.precision,t=r.rounding,r.precision=e+7,r.rounding=1,O(this.sinh(),this.cosh(),r.precision=e,r.rounding=t)):new r(this.s)},x.inverseCosine=x.acos=function(){var e=this,t=e.constructor,r=e.abs().cmp(1),n=t.precision,i=t.rounding;return -1!==r?0===r?e.isNeg()?R(t,n,i):new t(0):new t(NaN):e.isZero()?R(t,n+4,i).times(.5):(t.precision=n+6,t.rounding=1,e=new t(1).minus(e).div(e.plus(1)).sqrt().atan(),t.precision=n,t.rounding=i,e.times(2))},x.inverseHyperbolicCosine=x.acosh=function(){var e,t,r=this,n=r.constructor;return r.lte(1)?new n(r.eq(1)?0:NaN):r.isFinite()?(e=n.precision,t=n.rounding,n.precision=e+Math.max(Math.abs(r.e),r.sd())+4,n.rounding=1,f=!1,r=r.times(r).minus(1).sqrt().plus(r),f=!0,n.precision=e,n.rounding=t,r.ln()):new n(r)},x.inverseHyperbolicSine=x.asinh=function(){var e,t,r=this,n=r.constructor;return!r.isFinite()||r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+2*Math.max(Math.abs(r.e),r.sd())+6,n.rounding=1,f=!1,r=r.times(r).plus(1).sqrt().plus(r),f=!0,n.precision=e,n.rounding=t,r.ln())},x.inverseHyperbolicTangent=x.atanh=function(){var e,t,r,n,i=this,o=i.constructor;return i.isFinite()?i.e>=0?new o(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=o.precision,t=o.rounding,Math.max(n=i.sd(),e)<-(2*i.e)-1)?N(new o(i),e,t,!0):(o.precision=r=n-i.e,i=O(i.plus(1),new o(1).minus(i),r+e,1),o.precision=e+4,o.rounding=1,i=i.ln(),o.precision=e,o.rounding=t,i.times(.5)):new o(NaN)},x.inverseSine=x.asin=function(){var e,t,r,n,i=this,o=i.constructor;return i.isZero()?new o(i):(t=i.abs().cmp(1),r=o.precision,n=o.rounding,-1!==t)?0===t?((e=R(o,r+4,n).times(.5)).s=i.s,e):new o(NaN):(o.precision=r+6,o.rounding=1,i=i.div(new o(1).minus(i.times(i)).sqrt().plus(1)).atan(),o.precision=r,o.rounding=n,i.times(2))},x.inverseTangent=x.atan=function(){var e,t,r,n,i,o,a,s,l,u=this,c=u.constructor,d=c.precision,h=c.rounding;if(u.isFinite()){if(u.isZero())return new c(u);else if(u.abs().eq(1)&&d+4<=S)return(a=R(c,d+4,h).times(.25)).s=u.s,a}else{if(!u.s)return new c(NaN);if(d+4<=S)return(a=R(c,d+4,h).times(.5)).s=u.s,a}for(c.precision=s=d+10,c.rounding=1,e=r=Math.min(28,s/7+2|0);e;--e)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(f=!1,t=Math.ceil(s/7),n=1,l=u.times(u),a=new c(u),i=u;-1!==e;)if(i=i.times(l),o=a.minus(i.div(n+=2)),i=i.times(l),void 0!==(a=o.plus(i.div(n+=2))).d[t])for(e=t;a.d[e]===o.d[e]&&e--;);return r&&(a=a.times(2<<r-1)),f=!0,N(a,c.precision=d,c.rounding=h,!0)},x.isFinite=function(){return!!this.d},x.isInteger=x.isInt=function(){return!!this.d&&y(this.e/7)>this.d.length-2},x.isNaN=function(){return!this.s},x.isNegative=x.isNeg=function(){return this.s<0},x.isPositive=x.isPos=function(){return this.s>0},x.isZero=function(){return!!this.d&&0===this.d[0]},x.lessThan=x.lt=function(e){return 0>this.cmp(e)},x.lessThanOrEqualTo=x.lte=function(e){return 1>this.cmp(e)},x.logarithm=x.log=function(e){var t,r,n,i,o,a,s,l=this.constructor,u=l.precision,c=l.rounding;if(null==e)e=new l(10),t=!0;else{if(r=(e=new l(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new l(NaN);t=e.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new l(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(t)if(r.length>1)i=!0;else{for(n=r[0];n%10==0;)n/=10;i=1!==n}if(f=!1,D((s=O(o=q(this,a=u+5),t?M(l,a+10):q(e,a),a,1)).d,n=u,c))do if(a+=10,s=O(o=q(this,a),t?M(l,a+10):q(e,a),a,1),!i){+A(s.d).slice(n+1,n+15)+1==1e14&&(s=N(s,u+1,0));break}while(D(s.d,n+=10,c));return f=!0,N(s,u,c)},x.minus=x.sub=function(e){var t,r,n,i,o,a,s,l,u,c,d,h,p=this.constructor;if(e=new p(e),!this.d||!e.d)return this.s&&e.s?this.d?e.s=-e.s:e=new p(e.d||this.s!==e.s?this:NaN):e=new p(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.plus(e);if(u=this.d,h=e.d,s=p.precision,l=p.rounding,!u[0]||!h[0]){if(h[0])e.s=-e.s;else{if(!u[0])return new p(3===l?-0:0);e=new p(this)}return f?N(e,s,l):e}if(r=y(e.e/7),c=y(this.e/7),u=u.slice(),o=c-r){for((d=o<0)?(t=u,o=-o,a=h.length):(t=h,r=c,a=u.length),o>(n=Math.max(Math.ceil(s/7),a)+2)&&(o=n,t.length=1),t.reverse(),n=o;n--;)t.push(0);t.reverse()}else{for((d=(n=u.length)<(a=h.length))&&(a=n),n=0;n<a;n++)if(u[n]!=h[n]){d=u[n]<h[n];break}o=0}for(d&&(t=u,u=h,h=t,e.s=-e.s),a=u.length,n=h.length-a;n>0;--n)u[a++]=0;for(n=h.length;n>o;){if(u[--n]<h[n]){for(i=n;i&&0===u[--i];)u[i]=1e7-1;--u[i],u[n]+=1e7}u[n]-=h[n]}for(;0===u[--a];)u.pop();for(;0===u[0];u.shift())--r;return u[0]?(e.d=u,e.e=L(u,r),f?N(e,s,l):e):new p(3===l?-0:0)},x.modulo=x.mod=function(e){var t,r=this.constructor;return(e=new r(e),this.d&&e.s&&(!e.d||e.d[0]))?e.d&&(!this.d||this.d[0])?(f=!1,9==r.modulo?(t=O(this,e.abs(),0,3,1),t.s*=e.s):t=O(this,e,0,r.modulo,1),t=t.times(e),f=!0,this.minus(t)):N(new r(this),r.precision,r.rounding):new r(NaN)},x.naturalExponential=x.exp=function(){return V(this)},x.naturalLogarithm=x.ln=function(){return q(this)},x.negated=x.neg=function(){var e=new this.constructor(this);return e.s=-e.s,N(e)},x.plus=x.add=function(e){var t,r,n,i,o,a,s,l,u,c,d=this.constructor;if(e=new d(e),!this.d||!e.d)return this.s&&e.s?this.d||(e=new d(e.d||this.s===e.s?this:NaN)):e=new d(NaN),e;if(this.s!=e.s)return e.s=-e.s,this.minus(e);if(u=this.d,c=e.d,s=d.precision,l=d.rounding,!u[0]||!c[0])return c[0]||(e=new d(this)),f?N(e,s,l):e;if(o=y(this.e/7),n=y(e.e/7),u=u.slice(),i=o-n){for(i<0?(r=u,i=-i,a=c.length):(r=c,n=o,a=u.length),i>(a=(o=Math.ceil(s/7))>a?o+1:a+1)&&(i=a,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((a=u.length)-(i=c.length)<0&&(i=a,r=c,c=u,u=r),t=0;i;)t=(u[--i]=u[i]+c[i]+t)/1e7|0,u[i]%=1e7;for(t&&(u.unshift(t),++n),a=u.length;0==u[--a];)u.pop();return e.d=u,e.e=L(u,n),f?N(e,s,l):e},x.precision=x.sd=function(e){var t;if(void 0!==e&&!!e!==e&&1!==e&&0!==e)throw Error(p+e);return this.d?(t=F(this.d),e&&this.e+1>t&&(t=this.e+1)):t=NaN,t},x.round=function(){var e=this.constructor;return N(new e(this),this.e+1,e.rounding)},x.sine=x.sin=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+Math.max(r.e,r.sd())+7,n.rounding=1,r=function(e,t){var r,n=t.d.length;if(n<3)return t.isZero()?t:W(e,2,t,t);r=(r=1.4*Math.sqrt(n))>16?16:0|r,t=W(e,2,t=t.times(1/K(5,r)),t);for(var i,o=new e(5),a=new e(16),s=new e(20);r--;)i=t.times(t),t=t.times(o.plus(i.times(a.times(i).minus(s))));return t}(n,Q(n,r)),n.precision=e,n.rounding=t,N(s>2?r.neg():r,e,t,!0)):new n(NaN)},x.squareRoot=x.sqrt=function(){var e,t,r,n,i,o,a=this.d,s=this.e,l=this.s,u=this.constructor;if(1!==l||!a||!a[0])return new u(!l||l<0&&(!a||a[0])?NaN:a?this:1/0);for(f=!1,0==(l=Math.sqrt(+this))||l==1/0?(((t=A(a)).length+s)%2==0&&(t+="0"),l=Math.sqrt(t),s=y((s+1)/2)-(s<0||s%2),n=new u(t=l==1/0?"5e"+s:(t=l.toExponential()).slice(0,t.indexOf("e")+1)+s)):n=new u(l.toString()),r=(s=u.precision)+3;;)if(n=(o=n).plus(O(this,o,r+2,1)).times(.5),A(o.d).slice(0,r)===(t=A(n.d)).slice(0,r)){if("9999"!=(t=t.slice(r-3,r+1))&&(i||"4999"!=t)){+t&&(+t.slice(1)||"5"!=t.charAt(0))||(N(n,s+1,1),e=!n.times(n).eq(this));break}if(!i&&(N(o,s+1,0),o.times(o).eq(this))){n=o;break}r+=4,i=1}return f=!0,N(n,s,u.rounding,e)},x.tangent=x.tan=function(){var e,t,r=this,n=r.constructor;return r.isFinite()?r.isZero()?new n(r):(e=n.precision,t=n.rounding,n.precision=e+10,n.rounding=1,(r=r.sin()).s=1,r=O(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,N(2==s||4==s?r.neg():r,e,t,!0)):new n(NaN)},x.times=x.mul=function(e){var t,r,n,i,o,a,s,l,u,c=this.constructor,d=this.d,h=(e=new c(e)).d;if(e.s*=this.s,!d||!d[0]||!h||!h[0])return new c(!e.s||d&&!d[0]&&!h||h&&!h[0]&&!d?NaN:!d||!h?e.s/0:0*e.s);for(r=y(this.e/7)+y(e.e/7),(l=d.length)<(u=h.length)&&(o=d,d=h,h=o,a=l,l=u,u=a),o=[],n=a=l+u;n--;)o.push(0);for(n=u;--n>=0;){for(t=0,i=l+n;i>n;)s=o[i]+h[n]*d[i-n-1]+t,o[i--]=s%1e7|0,t=s/1e7|0;o[i]=(o[i]+t)%1e7|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=L(o,r),f?N(e,c.precision,c.rounding):e},x.toBinary=function(e,t){return Z(this,2,e,t)},x.toDecimalPlaces=x.toDP=function(e,t){var r=this,n=r.constructor;return(r=new n(r),void 0===e)?r:(I(e,0,1e9),void 0===t?t=n.rounding:I(t,0,8),N(r,e+r.e+1,t))},x.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=P(n,!0):(I(e,0,1e9),void 0===t?t=i.rounding:I(t,0,8),r=P(n=N(new i(n),e+1,t),!0,e+1)),n.isNeg()&&!n.isZero()?"-"+r:r},x.toFixed=function(e,t){var r,n,i=this.constructor;return void 0===e?r=P(this):(I(e,0,1e9),void 0===t?t=i.rounding:I(t,0,8),r=P(n=N(new i(this),e+this.e+1,t),!1,e+n.e+1)),this.isNeg()&&!this.isZero()?"-"+r:r},x.toFraction=function(e){var t,r,n,i,o,a,s,l,u,c,d,h,g=this.d,m=this.constructor;if(!g)return new m(this);if(u=r=new m(1),n=l=new m(0),a=(o=(t=new m(n)).e=F(g)-this.e-1)%7,t.d[0]=v(10,a<0?7+a:a),null==e)e=o>0?t:u;else{if(!(s=new m(e)).isInt()||s.lt(u))throw Error(p+s);e=s.gt(t)?o>0?t:u:s}for(f=!1,s=new m(A(g)),c=m.precision,m.precision=o=7*g.length*2;d=O(s,t,0,1,1),1!=(i=r.plus(d.times(n))).cmp(e);)r=n,n=i,i=u,u=l.plus(d.times(i)),l=i,i=t,t=s.minus(d.times(i)),s=i;return i=O(e.minus(r),n,0,1,1),l=l.plus(i.times(u)),r=r.plus(i.times(n)),l.s=u.s=this.s,h=1>O(u,n,o,1).minus(this).abs().cmp(O(l,r,o,1).minus(this).abs())?[u,n]:[l,r],m.precision=c,f=!0,h},x.toHexadecimal=x.toHex=function(e,t){return Z(this,16,e,t)},x.toNearest=function(e,t){var r=this,n=r.constructor;if(r=new n(r),null==e){if(!r.d)return r;e=new n(1),t=n.rounding}else{if(e=new n(e),void 0===t?t=n.rounding:I(t,0,8),!r.d)return e.s?r:e;if(!e.d)return e.s&&(e.s=r.s),e}return e.d[0]?(f=!1,r=O(r,e,0,t,1).times(e),f=!0,N(r)):(e.s=r.s,r=e),r},x.toNumber=function(){return+this},x.toOctal=function(e,t){return Z(this,8,e,t)},x.toPower=x.pow=function(e){var t,r,n,i,o,a,s=this,l=s.constructor,u=+(e=new l(e));if(!s.d||!e.d||!s.d[0]||!e.d[0])return new l(v(+s,u));if((s=new l(s)).eq(1))return s;if(n=l.precision,o=l.rounding,e.eq(1))return N(s,n,o);if((t=y(e.e/7))>=e.d.length-1&&(r=u<0?-u:u)<=0x1fffffffffffff)return i=B(l,s,r,n),e.s<0?new l(1).div(i):N(i,n,o);if((a=s.s)<0){if(t<e.d.length-1)return new l(NaN);if((1&e.d[t])==0&&(a=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=a,s}return(t=0!=(r=v(+s,u))&&isFinite(r)?new l(r+"").e:y(u*(Math.log("0."+A(s.d))/Math.LN10+s.e+1)))>l.maxE+1||t<l.minE-1?new l(t>0?a/0:0):(f=!1,l.rounding=s.s=1,r=Math.min(12,(t+"").length),(i=V(e.times(q(s,n+r)),n)).d&&D((i=N(i,n+5,1)).d,n,o)&&(t=n+10,+A((i=N(V(e.times(q(s,t+r)),t),t+5,1)).d).slice(n+1,n+15)+1==1e14&&(i=N(i,n+1,0))),i.s=a,f=!0,l.rounding=o,N(i,n,o))},x.toPrecision=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=P(n,n.e<=i.toExpNeg||n.e>=i.toExpPos):(I(e,1,1e9),void 0===t?t=i.rounding:I(t,0,8),r=P(n=N(new i(n),e,t),e<=n.e||n.e<=i.toExpNeg,e)),n.isNeg()&&!n.isZero()?"-"+r:r},x.toSignificantDigits=x.toSD=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(I(e,1,1e9),void 0===t?t=r.rounding:I(t,0,8)),N(new r(this),e,t)},x.toString=function(){var e=this.constructor,t=P(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()&&!this.isZero()?"-"+t:t},x.truncated=x.trunc=function(){return N(new this.constructor(this),this.e+1,1)},x.valueOf=x.toJSON=function(){var e=this.constructor,t=P(this,this.e<=e.toExpNeg||this.e>=e.toExpPos);return this.isNeg()?"-"+t:t};var O=function(){function e(e,t,r){var n,i=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+i,e[o]=n%r|0,i=n/r|0;return i&&e.unshift(i),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r,n){for(var i=0;r--;)e[r]-=i,i=+(e[r]<t[r]),e[r]=i*n+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,s,l,u){var c,d,f,h,p,g,m,_,v,b,w,E,k,T,S,x,A,I,D,C,O=n.constructor,P=n.s==i.s?1:-1,L=n.d,M=i.d;if(!L||!L[0]||!M||!M[0])return new O(!n.s||!i.s||(L?M&&L[0]==M[0]:!M)?NaN:L&&0==L[0]||!M?0*P:P/0);for(u?(p=1,d=n.e-i.e):(u=1e7,p=7,d=y(n.e/p)-y(i.e/p)),D=M.length,A=L.length,b=(v=new O(P)).d=[],f=0;M[f]==(L[f]||0);f++);if(M[f]>(L[f]||0)&&d--,null==o?(T=o=O.precision,s=O.rounding):T=l?o+(n.e-i.e)+1:o,T<0)b.push(1),g=!0;else{if(T=T/p+2|0,f=0,1==D){for(h=0,M=M[0],T++;(f<A||h)&&T--;f++)S=h*u+(L[f]||0),b[f]=S/M|0,h=S%M|0;g=h||f<A}else{for((h=u/(M[0]+1)|0)>1&&(M=e(M,h,u),L=e(L,h,u),D=M.length,A=L.length),x=D,E=(w=L.slice(0,D)).length;E<D;)w[E++]=0;(C=M.slice()).unshift(0),I=M[0],M[1]>=u/2&&++I;do h=0,(c=t(M,w,D,E))<0?(k=w[0],D!=E&&(k=k*u+(w[1]||0)),(h=k/I|0)>1?(h>=u&&(h=u-1),_=(m=e(M,h,u)).length,E=w.length,1==(c=t(m,w,_,E))&&(h--,r(m,D<_?C:M,_,u))):(0==h&&(c=h=1),m=M.slice()),(_=m.length)<E&&m.unshift(0),r(w,m,E,u),-1==c&&(E=w.length,(c=t(M,w,D,E))<1&&(h++,r(w,D<E?C:M,E,u))),E=w.length):0===c&&(h++,w=[0]),b[f++]=h,c&&w[0]?w[E++]=L[x]||0:(w=[L[x]],E=1);while((x++<A||void 0!==w[0])&&T--);g=void 0!==w[0]}b[0]||b.shift()}if(1==p)v.e=d,a=g;else{for(f=1,h=b[0];h>=10;h/=10)f++;v.e=f+d*p-1,N(v,l?o+v.e+1:o,s,g)}return v}}();function N(e,t,r,n){var i,o,a,s,l,u,c,d,h,p=e.constructor;e:if(null!=t){if(!(d=e.d))return e;for(i=1,s=d[0];s>=10;s/=10)i++;if((o=t-i)<0)o+=7,a=t,l=(c=d[h=0])/v(10,i-a-1)%10|0;else if((h=Math.ceil((o+1)/7))>=(s=d.length))if(n){for(;s++<=h;)d.push(0);c=l=0,i=1,o%=7,a=o-7+1}else break e;else{for(i=1,c=s=d[h];s>=10;s/=10)i++;o%=7,l=(a=o-7+i)<0?0:c/v(10,i-a-1)%10|0}if(n=n||t<0||void 0!==d[h+1]||(a<0?c:c%v(10,i-a-1)),u=r<4?(l||n)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||n||6==r&&(o>0?a>0?c/v(10,i-a):0:d[h-1])%10&1||r==(e.s<0?8:7)),t<1||!d[0])return d.length=0,u?(t-=e.e+1,d[0]=v(10,(7-t%7)%7),e.e=-t||0):d[0]=e.e=0,e;if(0==o?(d.length=h,s=1,h--):(d.length=h+1,s=v(10,7-o),d[h]=a>0?(c/v(10,i-a)%v(10,a)|0)*s:0),u)for(;;)if(0==h){for(o=1,a=d[0];a>=10;a/=10)o++;for(a=d[0]+=s,s=1;a>=10;a/=10)s++;o!=s&&(e.e++,1e7==d[0]&&(d[0]=1));break}else{if(d[h]+=s,1e7!=d[h])break;d[h--]=0,s=1}for(o=d.length;0===d[--o];)d.pop()}return f&&(e.e>p.maxE?(e.d=null,e.e=NaN):e.e<p.minE&&(e.e=0,e.d=[0])),e}function P(e,t,r){if(!e.isFinite())return H(e);var n,i=e.e,o=A(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+j(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(e.e<0?"e":"e+")+e.e):i<0?(o="0."+j(-i-1)+o,r&&(n=r-a)>0&&(o+=j(n))):i>=a?(o+=j(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+j(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=j(n))),o}function L(e,t){var r=e[0];for(t*=7;r>=10;r/=10)t++;return t}function M(e,t,r){if(t>T)throw f=!0,r&&(e.precision=r),Error(g);return N(new e(u),t,1,!0)}function R(e,t,r){if(t>S)throw Error(g);return N(new e(c),t,r,!0)}function F(e){var t=e.length-1,r=7*t+1;if(t=e[t]){for(;t%10==0;t/=10)r--;for(t=e[0];t>=10;t/=10)r++}return r}function j(e){for(var t="";e--;)t+="0";return t}function B(e,t,r,n){var i,o=new e(1),a=Math.ceil(n/7+4);for(f=!1;;){if(r%2&&$((o=o.times(t)).d,a)&&(i=!0),0===(r=y(r/2))){r=o.d.length-1,i&&0===o.d[r]&&++o.d[r];break}$((t=t.times(t)).d,a)}return f=!0,o}function U(e){return 1&e.d[e.d.length-1]}function z(e,t,r){for(var n,i,o=new e(t[0]),a=0;++a<t.length;){if(!(i=new e(t[a])).s){o=i;break}((n=o.cmp(i))===r||0===n&&o.s===r)&&(o=i)}return o}function V(e,t){var r,n,i,o,a,s,l,u=0,c=0,d=0,h=e.constructor,p=h.rounding,g=h.precision;if(!e.d||!e.d[0]||e.e>17)return new h(e.d?!e.d[0]?1:e.s<0?0:1/0:e.s?e.s<0?0:e:0/0);for(null==t?(f=!1,l=g):l=t,s=new h(.03125);e.e>-2;)e=e.times(s),d+=5;for(l+=n=Math.log(v(2,d))/Math.LN10*2+5|0,r=o=a=new h(1),h.precision=l;;){if(o=N(o.times(e),l,1),r=r.times(++c),A((s=a.plus(O(o,r,l,1))).d).slice(0,l)===A(a.d).slice(0,l)){for(i=d;i--;)a=N(a.times(a),l,1);if(null!=t)return h.precision=g,a;if(!(u<3&&D(a.d,l-n,p,u)))return N(a,h.precision=g,p,f=!0);h.precision=l+=10,r=o=s=new h(1),c=0,u++}a=s}}function q(e,t){var r,n,i,o,a,s,l,u,c,d,h,p=1,g=e,m=g.d,_=g.constructor,y=_.rounding,v=_.precision;if(g.s<0||!m||!m[0]||!g.e&&1==m[0]&&1==m.length)return new _(m&&!m[0]?-1/0:1!=g.s?NaN:m?0:g);if(null==t?(f=!1,c=v):c=t,_.precision=c+=10,n=(r=A(m)).charAt(0),!(15e14>Math.abs(o=g.e)))return u=M(_,c+2,v).times(o+""),g=q(new _(n+"."+r.slice(1)),c-10).plus(u),_.precision=v,null==t?N(g,v,y,f=!0):g;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=A((g=g.times(e)).d)).charAt(0),p++;for(o=g.e,n>1?(g=new _("0."+r),o++):g=new _(n+"."+r.slice(1)),d=g,l=a=g=O(g.minus(1),g.plus(1),c,1),h=N(g.times(g),c,1),i=3;;){if(a=N(a.times(h),c,1),A((u=l.plus(O(a,new _(i),c,1))).d).slice(0,c)===A(l.d).slice(0,c)){if(l=l.times(2),0!==o&&(l=l.plus(M(_,c+2,v).times(o+""))),l=O(l,new _(p),c,1),null!=t)return _.precision=v,l;if(!D(l.d,c-10,y,s))return N(l,_.precision=v,y,f=!0);_.precision=c+=10,u=a=g=O(d.minus(1),d.plus(1),c,1),h=N(g.times(g),c,1),i=s=1}l=u,i+=2}}function H(e){return String(e.s*e.s/0)}function G(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);n++);for(i=t.length;48===t.charCodeAt(i-1);--i);if(t=t.slice(n,i)){if(i-=n,e.e=r=r-n-1,e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";e.d.push(+t),f&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function W(e,t,r,n,i){var o,a,s,l,u=e.precision,c=Math.ceil(u/7);for(f=!1,l=r.times(r),s=new e(n);;){if(a=O(s.times(l),new e(t++*t++),u,1),s=i?n.plus(a):n.minus(a),n=O(a.times(l),new e(t++*t++),u,1),void 0!==(a=s.plus(n)).d[c]){for(o=c;a.d[o]===s.d[o]&&o--;);if(-1==o)break}o=s,s=n,n=a,a=o}return f=!0,a.d.length=c+1,a}function K(e,t){for(var r=e;--t;)r*=e;return r}function Q(e,t){var r,n=t.s<0,i=R(e,e.precision,1),o=i.times(.5);if((t=t.abs()).lte(o))return s=n?4:1,t;if((r=t.divToInt(i)).isZero())s=n?3:2;else{if((t=t.minus(r.times(i))).lte(o))return s=U(r)?n?2:3:n?4:1,t;s=U(r)?n?1:4:n?3:2}return t.minus(i).abs()}function Z(e,t,r,n){var i,o,s,u,c,d,f,h,p,g=e.constructor,m=void 0!==r;if(m?(I(r,1,1e9),void 0===n?n=g.rounding:I(n,0,8)):(r=g.precision,n=g.rounding),e.isFinite()){for(s=(f=P(e)).indexOf("."),m?(i=2,16==t?r=4*r-3:8==t&&(r=3*r-2)):i=t,s>=0&&(f=f.replace(".",""),(p=new g(1)).e=f.length-s,p.d=C(P(p),10,i),p.e=p.d.length),o=c=(h=C(f,10,i)).length;0==h[--c];)h.pop();if(h[0]){if(s<0?o--:((e=new g(e)).d=h,e.e=o,h=(e=O(e,p,r,n,0,i)).d,o=e.e,d=a),s=h[r],u=i/2,d=d||void 0!==h[r+1],d=n<4?(void 0!==s||d)&&(0===n||n===(e.s<0?3:2)):s>u||s===u&&(4===n||d||6===n&&1&h[r-1]||n===(e.s<0?8:7)),h.length=r,d)for(;++h[--r]>i-1;)h[r]=0,r||(++o,h.unshift(1));for(c=h.length;!h[c-1];--c);for(s=0,f="";s<c;s++)f+=l.charAt(h[s]);if(m){if(c>1)if(16==t||8==t){for(s=16==t?4:3,--c;c%s;c++)f+="0";for(c=(h=C(f,i,t)).length;!h[c-1];--c);for(s=1,f="1.";s<c;s++)f+=l.charAt(h[s])}else f=f.charAt(0)+"."+f.slice(1);f=f+(o<0?"p":"p+")+o}else if(o<0){for(;++o;)f="0"+f;f="0."+f}else if(++o>c)for(o-=c;o--;)f+="0";else o<c&&(f=f.slice(0,o)+"."+f.slice(o))}else f=m?"0p+0":"0";f=(16==t?"0x":2==t?"0b":8==t?"0o":"")+f}else f=H(e);return e.s<0?"-"+f:f}function $(e,t){if(e.length>t)return e.length=t,!0}function Y(e){return new this(e).abs()}function J(e){return new this(e).acos()}function X(e){return new this(e).acosh()}function ee(e,t){return new this(e).plus(t)}function et(e){return new this(e).asin()}function er(e){return new this(e).asinh()}function en(e){return new this(e).atan()}function ei(e){return new this(e).atanh()}function eo(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,o=n+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(r=t.s<0?R(this,n,i):new this(0)).s=e.s:!e.d||t.isZero()?(r=R(this,o,1).times(.5)).s=e.s:t.s<0?(this.precision=o,this.rounding=1,r=this.atan(O(e,t,o,1)),t=R(this,o,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(O(e,t,o,1)):(r=R(this,o,1).times(t.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function ea(e){return new this(e).cbrt()}function es(e){return N(e=new this(e),e.e+1,2)}function el(e,t,r){return new this(e).clamp(t,r)}function eu(e){if(!e||"object"!=typeof e)throw Error(h+"Object expected");var t,r,n,i=!0===e.defaults,o=["precision",1,1e9,"rounding",0,8,"toExpNeg",-9e15,0,"toExpPos",0,9e15,"maxE",0,9e15,"minE",-9e15,0,"modulo",0,9];for(t=0;t<o.length;t+=3)if(r=o[t],i&&(this[r]=d[r]),void 0!==(n=e[r]))if(y(n)===n&&n>=o[t+1]&&n<=o[t+2])this[r]=n;else throw Error(p+r+": "+n);if(r="crypto",i&&(this[r]=d[r]),void 0!==(n=e[r]))if(!0===n||!1===n||0===n||1===n)if(n)if("undefined"!=typeof crypto&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[r]=!0;else throw Error(m);else this[r]=!1;else throw Error(p+r+": "+n);return this}function ec(e){return new this(e).cos()}function ed(e){return new this(e).cosh()}function ef(e,t){return new this(e).div(t)}function eh(e){return new this(e).exp()}function ep(e){return N(e=new this(e),e.e+1,3)}function eg(){var e,t,r=new this(0);for(e=0,f=!1;e<arguments.length;)if(t=new this(arguments[e++]),t.d)r.d&&(r=r.plus(t.times(t)));else{if(t.s)return f=!0,new this(1/0);r=t}return f=!0,r.sqrt()}function em(e){return e instanceof eF||e&&e.toStringTag===_||!1}function e_(e){return new this(e).ln()}function ey(e,t){return new this(e).log(t)}function ev(e){return new this(e).log(2)}function eb(e){return new this(e).log(10)}function ew(){return z(this,arguments,-1)}function eE(){return z(this,arguments,1)}function ek(e,t){return new this(e).mod(t)}function eT(e,t){return new this(e).mul(t)}function eS(e,t){return new this(e).pow(t)}function ex(e){var t,r,n,i,o=0,a=new this(1),s=[];if(void 0===e?e=this.precision:I(e,1,1e9),n=Math.ceil(e/7),this.crypto)if(crypto.getRandomValues)for(t=crypto.getRandomValues(new Uint32Array(n));o<n;)(i=t[o])>=429e7?t[o]=crypto.getRandomValues(new Uint32Array(1))[0]:s[o++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);o<n;)(i=t[o]+(t[o+1]<<8)+(t[o+2]<<16)+((127&t[o+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,o):(s.push(i%1e7),o+=4);o=n/4}else throw Error(m);else for(;o<n;)s[o++]=1e7*Math.random()|0;for(n=s[--o],e%=7,n&&e&&(i=v(10,7-e),s[o]=(n/i|0)*i);0===s[o];o--)s.pop();if(o<0)r=0,s=[0];else{for(r=-1;0===s[0];r-=7)s.shift();for(n=1,i=s[0];i>=10;i/=10)n++;n<7&&(r-=7-n)}return a.e=r,a.d=s,a}function eA(e){return N(e=new this(e),e.e+1,this.rounding)}function eI(e){return(e=new this(e)).d?e.d[0]?e.s:0*e.s:e.s||NaN}function eD(e){return new this(e).sin()}function eC(e){return new this(e).sinh()}function eO(e){return new this(e).sqrt()}function eN(e,t){return new this(e).sub(t)}function eP(){var e=0,t=arguments,r=new this(t[0]);for(f=!1;r.s&&++e<t.length;)r=r.plus(t[e]);return f=!0,N(r,this.precision,this.rounding)}function eL(e){return new this(e).tan()}function eM(e){return new this(e).tanh()}function eR(e){return N(e=new this(e),e.e+1,1)}x[Symbol.for("nodejs.util.inspect.custom")]=x.toString,x[Symbol.toStringTag]="Decimal";var eF=x.constructor=function e(t){var r,n,i;function o(e){var t,r,n;if(!(this instanceof o))return new o(e);if(this.constructor=o,em(e)){this.s=e.s,f?!e.d||e.e>o.maxE?(this.e=NaN,this.d=null):e.e<o.minE?(this.e=0,this.d=[0]):(this.e=e.e,this.d=e.d.slice()):(this.e=e.e,this.d=e.d?e.d.slice():e.d);return}if("number"==(n=typeof e)){if(0===e){this.s=1/e<0?-1:1,this.e=0,this.d=[0];return}if(e<0?(e=-e,this.s=-1):this.s=1,e===~~e&&e<1e7){for(t=0,r=e;r>=10;r/=10)t++;f?t>o.maxE?(this.e=NaN,this.d=null):t<o.minE?(this.e=0,this.d=[0]):(this.e=t,this.d=[e]):(this.e=t,this.d=[e]);return}if(0*e!=0){e||(this.s=NaN),this.e=NaN,this.d=null;return}return G(this,e.toString())}if("string"===n)return 45===(r=e.charCodeAt(0))?(e=e.slice(1),this.s=-1):(43===r&&(e=e.slice(1)),this.s=1),k.test(e)?G(this,e):function(e,t){var r,n,i,o,a,s,l,u,c;if(t.indexOf("_")>-1){if(t=t.replace(/(\d)_(?=\d)/g,"$1"),k.test(t))return G(e,t)}else if("Infinity"===t||"NaN"===t)return+t||(e.s=NaN),e.e=NaN,e.d=null,e;if(w.test(t))r=16,t=t.toLowerCase();else if(b.test(t))r=2;else if(E.test(t))r=8;else throw Error(p+t);for((o=t.search(/p/i))>0?(l=+t.slice(o+1),t=t.substring(2,o)):t=t.slice(2),a=(o=t.indexOf("."))>=0,n=e.constructor,a&&(o=(s=(t=t.replace(".","")).length)-o,i=B(n,new n(r),o,2*o)),o=c=(u=C(t,r,1e7)).length-1;0===u[o];--o)u.pop();return o<0?new n(0*e.s):(e.e=L(u,c),e.d=u,f=!1,a&&(e=O(e,i,4*s)),l&&(e=e.times(54>Math.abs(l)?v(2,l):eF.pow(2,l))),f=!0,e)}(this,e);if("bigint"===n)return e<0?(e=-e,this.s=-1):this.s=1,G(this,e.toString());throw Error(p+e)}if(o.prototype=x,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=eu,o.clone=e,o.isDecimal=em,o.abs=Y,o.acos=J,o.acosh=X,o.add=ee,o.asin=et,o.asinh=er,o.atan=en,o.atanh=ei,o.atan2=eo,o.cbrt=ea,o.ceil=es,o.clamp=el,o.cos=ec,o.cosh=ed,o.div=ef,o.exp=eh,o.floor=ep,o.hypot=eg,o.ln=e_,o.log=ey,o.log10=eb,o.log2=ev,o.max=ew,o.min=eE,o.mod=ek,o.mul=eT,o.pow=eS,o.random=ex,o.round=eA,o.sign=eI,o.sin=eD,o.sinh=eC,o.sqrt=eO,o.sub=eN,o.sum=eP,o.tan=eL,o.tanh=eM,o.trunc=eR,void 0===t&&(t={}),t&&!0!==t.defaults)for(r=0,i=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"];r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}(d);u=new eF(u),c=new eF(c),new eF(10);var ej=new eF(0),eB=new eF(-0),eU=r(4902),ez=r(98149);function eV(e,t){if("function"==typeof e.repeat)return e.repeat(t);for(var r=Array(t),n=0;n<r.length;n++)r[n]=e;return r.join("")}function eq(e,t,r,n){e.get(t)||e.set(t,Object.create(null)),e.get(t)[r]=n}function eH(e,t,r){for(var n=0,i=Object.keys(r);n<i.length;n++){var o=i[n];eq(e,t,o,r[o])}}function eG(e,t,r){return eW(e,t,r)[r]}function eW(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=e.get(t);if(!i)throw TypeError("".concat(t," InternalSlot has not been initialized"));return r.reduce(function(e,t){return e[t]=i[t],e},Object.create(null))}function eK(e){return"literal"===e.type}function eQ(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:r.value})}function eZ(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r})}function e$(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var eY=(0,ez.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,eU.__spreadArray)([void 0],t,!1)))},{strategy:ez.W.variadic}),eJ=(0,ez.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,eU.__spreadArray)([void 0],t,!1)))},{strategy:ez.W.variadic}),eX=(0,ez.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,eU.__spreadArray)([void 0],t,!1)))},{strategy:ez.W.variadic}),e0=(0,ez.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.Locale).bind.apply(e,(0,eU.__spreadArray)([void 0],t,!1)))},{strategy:ez.W.variadic}),e1=(0,ez.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.ListFormat).bind.apply(e,(0,eU.__spreadArray)([void 0],t,!1)))},{strategy:ez.W.variadic});function e2(e){if("symbol"==typeof e)throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function e5(e){if("number"==typeof e)return new eF(e);if(e$("bigint"!=typeof e&&"symbol"!=typeof e,"BigInt and Symbol are not supported",TypeError),void 0===e)return new eF(NaN);if(null===e||0===e)return ej;if(!0===e)return new eF(1);if("string"==typeof e)try{return new eF(e)}catch(e){return new eF(NaN)}e$("object"==typeof e,"object expected",TypeError);var t=t_(e,"number");return e$("object"!=typeof t,"object expected",TypeError),e5(t)}function e3(e){if(!e.isFinite()||e.abs().greaterThan(8.64*1e15))return new eF(NaN);var t=e5(e);if(t.isNaN()||t.isZero())return ej;if(t.isFinite())return t;var r=t.abs().floor();return t.isNegative()&&(r=r.negated()),r}function e4(e){if(null==e)throw TypeError("undefined/null cannot be converted to object");return Object(e)}function e6(e,t){return Object.is?Object.is(e,t):e===t?0!==e||1/e==1/t:e!=e&&t!=t}function e8(e){return Array(e)}function e7(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function e9(e){return null===e?"Null":void 0===e?"Undefined":"function"==typeof e||"object"==typeof e?"Object":"number"==typeof e?"Number":"boolean"==typeof e?"Boolean":"string"==typeof e?"String":"symbol"==typeof e?"Symbol":"bigint"==typeof e?"BigInt":void 0}function te(e,t){return e-Math.floor(e/t)*t}function tt(e){return Math.floor(e/864e5)}function tr(e){return te(tt(e)+4,7)}function tn(e){return Date.UTC(e,0)/864e5}function ti(e){return Date.UTC(e,0)}function to(e){return new Date(e).getUTCFullYear()}function ta(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function ts(e){return tt(e)-tn(to(e))}function tl(e){return+(365!==ta(to(e)))}function tu(e){var t=ts(e),r=tl(e);if(t>=0&&t<31)return 0;if(t<59+r)return 1;if(t<90+r)return 2;if(t<120+r)return 3;if(t<151+r)return 4;if(t<181+r)return 5;if(t<212+r)return 6;if(t<243+r)return 7;if(t<273+r)return 8;if(t<304+r)return 9;if(t<334+r)return 10;if(t<365+r)return 11;throw Error("Invalid time")}function tc(e){var t=ts(e),r=tu(e),n=tl(e);if(0===r)return t+1;if(1===r)return t-30;if(2===r)return t-58-n;if(3===r)return t-89-n;if(4===r)return t-119-n;if(5===r)return t-150-n;if(6===r)return t-180-n;if(7===r)return t-211-n;if(8===r)return t-242-n;if(9===r)return t-272-n;if(10===r)return t-303-n;if(11===r)return t-333-n;throw Error("Invalid time")}function td(e){return te(Math.floor(e/36e5),24)}function tf(e){return te(Math.floor(e/6e4),60)}function th(e){return te(Math.floor(e/1e3),60)}function tp(e){return"function"==typeof e}function tg(e,t,r){if(!tp(e))return!1;if(null==r?void 0:r.boundTargetFunction)return t instanceof(null==r?void 0:r.boundTargetFunction);if("object"!=typeof t)return!1;var n=e.prototype;if("object"!=typeof n)throw TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(n,t)}function tm(e){return te(e,1e3)}function t_(e,t){if("object"==typeof e&&null!=e){var r=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0,n=void 0;if(void 0!==r){void 0===t?n="default":"string"===t?n="string":(e$("number"===t,'preferredType must be "string" or "number"'),n="number");var i=r.call(e,n);if("object"!=typeof i)return i;throw TypeError("Cannot convert exotic object to primitive.")}return void 0===t&&(t="number"),function(e,t){for(var r=0,n="string"===t?["toString","valueOf"]:["valueOf","toString"];r<n.length;r++){var i=e[n[r]];if(tp(i)){var o=i.call(e);if("object"!=typeof o)return o}}throw TypeError("Cannot convert object to primitive value")}(e,t)}return e}function ty(e){return void 0===e?Object.create(null):e4(e)}function tv(e,t,r,n){if(void 0===e)return n;var i=Number(e);if(isNaN(i)||i<t||i>r)throw RangeError("".concat(i," is outside of range [").concat(t,", ").concat(r,"]"));return Math.floor(i)}function tb(e,t,r,n,i){return tv(e[t],r,n,i)}function tw(e,t,r,n,i){if("object"!=typeof e)throw TypeError("Options must be an object");var o=e[t];if(void 0!==o){if("boolean"!==r&&"string"!==r)throw TypeError("invalid type");if("boolean"===r&&(o=!!o),"string"===r&&(o=e2(o)),void 0!==n&&!n.filter(function(e){return e==o}).length)throw RangeError("".concat(o," is not within ").concat(n.join(", ")));return o}return i}function tE(e){if(void 0===e)return Object.create(null);if("object"==typeof e)return e;throw TypeError("Options must be an object")}function tk(e,t,r,n,i,o){var a=e[t];if(void 0===a)return o;if(!0===a)return n;if(!1==!!a)return i;if("true"===(a=e2(a))||"false"===a)return o;if(-1===(r||[]).indexOf(a))throw RangeError("Invalid value ".concat(a));return a}var tT=["angle-degree","area-acre","area-hectare","concentr-percent","digital-bit","digital-byte","digital-gigabit","digital-gigabyte","digital-kilobit","digital-kilobyte","digital-megabit","digital-megabyte","digital-petabyte","digital-terabit","digital-terabyte","duration-day","duration-hour","duration-millisecond","duration-minute","duration-month","duration-second","duration-week","duration-year","length-centimeter","length-foot","length-inch","length-kilometer","length-meter","length-mile-scandinavian","length-mile","length-millimeter","length-yard","mass-gram","mass-kilogram","mass-ounce","mass-pound","mass-stone","temperature-celsius","temperature-fahrenheit","volume-fluid-ounce","volume-gallon","volume-liter","volume-milliliter"];function tS(e){return e.slice(e.indexOf("-")+1)}var tx=tT.map(tS);function tA(e){return tx.indexOf(e)>-1}function tI(e,t){var r=t.zoneNamesFromData,n=t.uppercaseLinks,i=e.toUpperCase(),o=new Set,a=new Set;return r.map(function(e){return e.toUpperCase()}).forEach(function(e){return o.add(e)}),Object.keys(n).forEach(function(e){a.add(e.toUpperCase()),o.add(n[e].toUpperCase())}),o.has(i)||a.has(i)}var tD=/[^A-Z]/;function tC(e){return!(3!==(e=e.replace(/([a-z])/g,function(e,t){return t.toUpperCase()})).length||tD.test(e))}function tO(e){if(tA(e=e.replace(/([A-Z])/g,function(e,t){return t.toLowerCase()})))return!0;var t=e.split("-per-");if(2!==t.length)return!1;var r=t[0],n=t[1];return!!tA(r)&&!!tA(n)}function tN(e,t,r,n){if(e.eq(t)||(e$(t.lessThan(e)&&e.lessThan(r),"x should be between r1 and r2 but x=".concat(e,", r1=").concat(t,", r2=").concat(r)),"zero"===n))return t;if("infinity"===n)return r;var i=e.minus(t),o=r.minus(e);return i.lessThan(o)?t:o.lessThan(i)?r:(e$(i.eq(o),"d1 should be equal to d2"),"half-zero"===n)?t:"half-infinity"===n?r:(e$("half-even"===n,"unsignedRoundingMode should be half-even"),t.div(r.minus(t)).mod(2).isZero())?t:r}var tP=new Set(["unit","exponentMinusSign","minusSign","plusSign","percentSign","exponentSeparator","percent","percentSign","currency","literal"]);function tL(e,t,r){for(var n=(0,r.getInternalSlots)(e),i=n.dataLocaleData.numbers.symbols[n.numberingSystem],o=new RegExp("s?[".concat(i.rangeSign,"]s?")),a=t.findIndex(function(e){return"literal"===e.type&&o.test(e.value)}),s=[],l=a-1;l>=0&&tP.has(t[l].type);l--)s.unshift(t[l]);if(Array.from(s.map(function(e){return e.value}).join("")).length>1){var u=Array.from(t);return u.splice(a-s.length,s.length),u}for(var c=[],l=a+1;l<t.length&&tP.has(t[l].type);l++)c.push(t[l]);if(Array.from(c.map(function(e){return e.value}).join("")).length>1){var u=Array.from(t);return u.splice(a+1,c.length),u}return t}function tM(e,t){var r=e.notation,n=e.dataLocaleData,i=e.numberingSystem;switch(r){case"standard":return 0;case"scientific":return t.toNumber();case"engineering":return t.div(3).floor().times(3).toNumber();default:e$("compact"===r,"Invalid notation");var o=e.compactDisplay,a=e.style,s=e.currencyDisplay,l=void 0;if("currency"===a&&"name"!==s)l=(n.numbers.currency[i]||n.numbers.currency[n.numbers.nu[0]]).short;else{var u=n.numbers.decimal[i]||n.numbers.decimal[n.numbers.nu[0]];l="long"===o?u.long:u.short}if(!l)return 0;var c=eF.pow(10,t).toString(),d=Object.keys(l);if(c<d[0])return 0;if(c>d[d.length-1])return d[d.length-1].length-1;var f=d.indexOf(c);if(-1===f)return 0;var h=d[f];if("0"===l[h].other)return 0;return h.length-l[h].other.match(/0+/)[0].length}}eF.set({toExpPos:100});var tR={ceil:"zero",floor:"infinity",expand:"infinity",trunc:"zero",halfCeil:"half-zero",halfFloor:"half-infinity",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"},tF={ceil:"infinity",floor:"zero",expand:"infinity",trunc:"zero",halfCeil:"half-infinity",halfFloor:"half-zero",halfExpand:"half-infinity",halfTrunc:"half-zero",halfEven:"half-even"};function tj(e,t){return t?tR[e]:tF[e]}function tB(e,t){return e.times(eF.pow(10,-t))}function tU(e,t,r,n,i){var o,a,s,l,u,c,d,f,h=(c=tB(u=e.times(eF.pow(10,r)).floor().div(n).floor().times(n),r),{n1:u,r1:c}),p=h.n1,g=h.r1,m=(f=tB(d=e.times(eF.pow(10,r)).ceil().div(n).ceil().times(n),r),{n2:d,r2:f}),_=m.n2,y=m.r2;if(tN(e,g,y,i).eq(g)?(o=p,a=g):(o=_,a=y),s=o.isZero()?"0":o.toString(),0!==r){var v=s.length;v<=r&&(s=eV("0",r-v+1)+s,v=r+1);var b=s.slice(0,v-r);s=b+"."+s.slice(s.length-r),l=b.length}else l=s.length;for(var w=r-t;w>0&&"0"===s[s.length-1];)s=s.slice(0,s.length-1),w--;return"."===s[s.length-1]&&(s=s.slice(0,s.length-1)),{formattedString:s,roundedNumber:a,integerDigitsCount:l,roundingMagnitude:-r}}function tz(e,t,r,n){var i,o,a,s;if(e.isZero())i=eV("0",r),o=0,a=ej;else{var l=function(e,t){for(var r=eF.pow(10,t),n=eF.pow(10,t-1),i=e.div(n).log(10).plus(t).minus(1).ceil();;){var o=e.div(eF.pow(10,i.minus(t).plus(1))).floor();if(o.lessThan(r)&&o.greaterThanOrEqualTo(n)){var a=o.times(eF.pow(10,i.minus(t).plus(1)));if(a.lessThanOrEqualTo(e))return{n1:o,e1:i,r1:a}}i=i.minus(1)}}(e,r),u=l.n1,c=l.e1,d=l.r1,f=function(e,t){for(var r=eF.pow(10,t),n=eF.pow(10,t-1),i=e.div(r).log(10).plus(t).minus(1).floor();;){var o=e.div(eF.pow(10,i.minus(t).plus(1))).ceil();if(o.lessThan(r)&&o.greaterThanOrEqualTo(n)){var a=o.times(eF.pow(10,i.minus(t).plus(1)));if(a.greaterThanOrEqualTo(e))return{n2:o,e2:i,r2:a}}i=i.plus(1)}}(e,r),h=f.n2,p=f.e2,g=f.r2,m=tN(e,d,g,n),_=void 0;m.eq(d)?(_=u,o=c.toNumber(),a=d):(_=h,o=p.toNumber(),a=g),i=_.toString()}if(o>=r-1?(i+=eV("0",o-r+1),s=o+1):o>=0?(i=i.slice(0,o+1)+"."+i.slice(i.length-(r-(o+1))),s=o+1):(e$(o<0,"e should be less than 0"),i="0."+eV("0",-o-1)+i,s=1),i.includes(".")&&r>t){for(var y=r-t;y>0&&"0"===i[i.length-1];)i=i.slice(0,i.length-1),y--;"."===i[i.length-1]&&(i=i.slice(0,i.length-1))}return{formattedString:i,roundedNumber:a,integerDigitsCount:s,roundingMagnitude:o}}function tV(e,t){var r,n,i=t;i.isZero()&&i.isNegative()?(r="negative",i=ej):(e$(i.isFinite(),"NumberFormatDigitInternalSlots value is not finite"),"negative"==(r=i.lessThan(0)?"negative":"positive")&&(i=i.negated()));var o=e.roundingType,a=tj(e.roundingMode,"negative"===r);switch(o){case"significantDigits":n=tz(i,e.minimumSignificantDigits,e.maximumSignificantDigits,a);break;case"fractionDigits":n=tU(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,a);break;default:var s=tz(i,e.minimumSignificantDigits,e.maximumSignificantDigits,a),l=tU(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,a);"morePrecision"===e.roundingType?n=s.roundingMagnitude<=l.roundingMagnitude?s:l:(e$("lessPrecision"===e.roundingType,"Invalid roundingType"),n=s.roundingMagnitude<=l.roundingMagnitude?l:s)}i=n.roundedNumber;var u=n.formattedString;if("stripIfInteger"===e.trailingZeroDisplay&&i.isInteger()){var c=u.indexOf(".");c>-1&&(u=u.slice(0,c))}var d=n.integerDigitsCount,f=e.minimumIntegerDigits;return d<f&&(u=eV("0",f-d)+u),"negative"===r&&(i=i.isZero()?eB:i.negated()),{roundedNumber:i,formattedString:u}}function tq(e,t){if(t.isZero())return[0,0];t.isNegative()&&(t=t.negated());var r=t.log(10).floor(),n=tM(e,r),i=tV(e,t=t.times(eF.pow(10,-n)));return i.roundedNumber.isZero()||i.roundedNumber.log(10).floor().eq(r.minus(n))?[n,r.toNumber()]:[tM(e,r.plus(1)),r.plus(1).toNumber()]}function tH(e,t){var r=t.currencyDigitsData;return e7(r,e)?r[e]:2}eF.set({toExpPos:100});var tG=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20BF\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC1\uFDFC\uFDFD\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDE8\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEE0-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF73\uDF80-\uDFD8\uDFE0-\uDFEB]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDD78\uDD7A-\uDDCB\uDDCD-\uDE53\uDE60-\uDE6D\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6\uDF00-\uDF92\uDF94-\uDFCA]/,tW={adlm:["\uD83A\uDD50","\uD83A\uDD51","\uD83A\uDD52","\uD83A\uDD53","\uD83A\uDD54","\uD83A\uDD55","\uD83A\uDD56","\uD83A\uDD57","\uD83A\uDD58","\uD83A\uDD59"],ahom:["\uD805\uDF30","\uD805\uDF31","\uD805\uDF32","\uD805\uDF33","\uD805\uDF34","\uD805\uDF35","\uD805\uDF36","\uD805\uDF37","\uD805\uDF38","\uD805\uDF39"],arab:["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"],arabext:["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"],bali:["᭐","᭑","᭒","᭓","᭔","᭕","᭖","᭗","᭘","᭙"],beng:["০","১","২","৩","৪","৫","৬","৭","৮","৯"],bhks:["\uD807\uDC50","\uD807\uDC51","\uD807\uDC52","\uD807\uDC53","\uD807\uDC54","\uD807\uDC55","\uD807\uDC56","\uD807\uDC57","\uD807\uDC58","\uD807\uDC59"],brah:["\uD804\uDC66","\uD804\uDC67","\uD804\uDC68","\uD804\uDC69","\uD804\uDC6A","\uD804\uDC6B","\uD804\uDC6C","\uD804\uDC6D","\uD804\uDC6E","\uD804\uDC6F"],cakm:["\uD804\uDD36","\uD804\uDD37","\uD804\uDD38","\uD804\uDD39","\uD804\uDD3A","\uD804\uDD3B","\uD804\uDD3C","\uD804\uDD3D","\uD804\uDD3E","\uD804\uDD3F"],cham:["꩐","꩑","꩒","꩓","꩔","꩕","꩖","꩗","꩘","꩙"],deva:["०","१","२","३","४","५","६","७","८","९"],diak:["\uD806\uDD50","\uD806\uDD51","\uD806\uDD52","\uD806\uDD53","\uD806\uDD54","\uD806\uDD55","\uD806\uDD56","\uD806\uDD57","\uD806\uDD58","\uD806\uDD59"],fullwide:["0","1","2","3","4","5","6","7","8","9"],gong:["\uD807\uDDA0","\uD807\uDDA1","\uD807\uDDA2","\uD807\uDDA3","\uD807\uDDA4","\uD807\uDDA5","\uD807\uDDA6","\uD807\uDDA7","\uD807\uDDA8","\uD807\uDDA9"],gonm:["\uD807\uDD50","\uD807\uDD51","\uD807\uDD52","\uD807\uDD53","\uD807\uDD54","\uD807\uDD55","\uD807\uDD56","\uD807\uDD57","\uD807\uDD58","\uD807\uDD59"],gujr:["૦","૧","૨","૩","૪","૫","૬","૭","૮","૯"],guru:["੦","੧","੨","੩","੪","੫","੬","੭","੮","੯"],hanidec:["〇","一","二","三","四","五","六","七","八","九"],hmng:["\uD81A\uDF50","\uD81A\uDF51","\uD81A\uDF52","\uD81A\uDF53","\uD81A\uDF54","\uD81A\uDF55","\uD81A\uDF56","\uD81A\uDF57","\uD81A\uDF58","\uD81A\uDF59"],hmnp:["\uD838\uDD40","\uD838\uDD41","\uD838\uDD42","\uD838\uDD43","\uD838\uDD44","\uD838\uDD45","\uD838\uDD46","\uD838\uDD47","\uD838\uDD48","\uD838\uDD49"],java:["꧐","꧑","꧒","꧓","꧔","꧕","꧖","꧗","꧘","꧙"],kali:["꤀","꤁","꤂","꤃","꤄","꤅","꤆","꤇","꤈","꤉"],khmr:["០","១","២","៣","៤","៥","៦","៧","៨","៩"],knda:["೦","೧","೨","೩","೪","೫","೬","೭","೮","೯"],lana:["᪀","᪁","᪂","᪃","᪄","᪅","᪆","᪇","᪈","᪉"],lanatham:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],laoo:["໐","໑","໒","໓","໔","໕","໖","໗","໘","໙"],lepc:["᪐","᪑","᪒","᪓","᪔","᪕","᪖","᪗","᪘","᪙"],limb:["᥆","᥇","᥈","᥉","᥊","᥋","᥌","᥍","᥎","᥏"],mathbold:["\uD835\uDFCE","\uD835\uDFCF","\uD835\uDFD0","\uD835\uDFD1","\uD835\uDFD2","\uD835\uDFD3","\uD835\uDFD4","\uD835\uDFD5","\uD835\uDFD6","\uD835\uDFD7"],mathdbl:["\uD835\uDFD8","\uD835\uDFD9","\uD835\uDFDA","\uD835\uDFDB","\uD835\uDFDC","\uD835\uDFDD","\uD835\uDFDE","\uD835\uDFDF","\uD835\uDFE0","\uD835\uDFE1"],mathmono:["\uD835\uDFF6","\uD835\uDFF7","\uD835\uDFF8","\uD835\uDFF9","\uD835\uDFFA","\uD835\uDFFB","\uD835\uDFFC","\uD835\uDFFD","\uD835\uDFFE","\uD835\uDFFF"],mathsanb:["\uD835\uDFEC","\uD835\uDFED","\uD835\uDFEE","\uD835\uDFEF","\uD835\uDFF0","\uD835\uDFF1","\uD835\uDFF2","\uD835\uDFF3","\uD835\uDFF4","\uD835\uDFF5"],mathsans:["\uD835\uDFE2","\uD835\uDFE3","\uD835\uDFE4","\uD835\uDFE5","\uD835\uDFE6","\uD835\uDFE7","\uD835\uDFE8","\uD835\uDFE9","\uD835\uDFEA","\uD835\uDFEB"],mlym:["൦","൧","൨","൩","൪","൫","൬","൭","൮","൯"],modi:["\uD805\uDE50","\uD805\uDE51","\uD805\uDE52","\uD805\uDE53","\uD805\uDE54","\uD805\uDE55","\uD805\uDE56","\uD805\uDE57","\uD805\uDE58","\uD805\uDE59"],mong:["᠐","᠑","᠒","᠓","᠔","᠕","᠖","᠗","᠘","᠙"],mroo:["\uD81A\uDE60","\uD81A\uDE61","\uD81A\uDE62","\uD81A\uDE63","\uD81A\uDE64","\uD81A\uDE65","\uD81A\uDE66","\uD81A\uDE67","\uD81A\uDE68","\uD81A\uDE69"],mtei:["꯰","꯱","꯲","꯳","꯴","꯵","꯶","꯷","꯸","꯹"],mymr:["၀","၁","၂","၃","၄","၅","၆","၇","၈","၉"],mymrshan:["႐","႑","႒","႓","႔","႕","႖","႗","႘","႙"],mymrtlng:["꧰","꧱","꧲","꧳","꧴","꧵","꧶","꧷","꧸","꧹"],newa:["\uD805\uDC50","\uD805\uDC51","\uD805\uDC52","\uD805\uDC53","\uD805\uDC54","\uD805\uDC55","\uD805\uDC56","\uD805\uDC57","\uD805\uDC58","\uD805\uDC59"],nkoo:["߀","߁","߂","߃","߄","߅","߆","߇","߈","߉"],olck:["᱐","᱑","᱒","᱓","᱔","᱕","᱖","᱗","᱘","᱙"],orya:["୦","୧","୨","୩","୪","୫","୬","୭","୮","୯"],osma:["\uD801\uDCA0","\uD801\uDCA1","\uD801\uDCA2","\uD801\uDCA3","\uD801\uDCA4","\uD801\uDCA5","\uD801\uDCA6","\uD801\uDCA7","\uD801\uDCA8","\uD801\uDCA9"],rohg:["\uD803\uDD30","\uD803\uDD31","\uD803\uDD32","\uD803\uDD33","\uD803\uDD34","\uD803\uDD35","\uD803\uDD36","\uD803\uDD37","\uD803\uDD38","\uD803\uDD39"],saur:["꣐","꣑","꣒","꣓","꣔","꣕","꣖","꣗","꣘","꣙"],segment:["\uD83E\uDFF0","\uD83E\uDFF1","\uD83E\uDFF2","\uD83E\uDFF3","\uD83E\uDFF4","\uD83E\uDFF5","\uD83E\uDFF6","\uD83E\uDFF7","\uD83E\uDFF8","\uD83E\uDFF9"],shrd:["\uD804\uDDD0","\uD804\uDDD1","\uD804\uDDD2","\uD804\uDDD3","\uD804\uDDD4","\uD804\uDDD5","\uD804\uDDD6","\uD804\uDDD7","\uD804\uDDD8","\uD804\uDDD9"],sind:["\uD804\uDEF0","\uD804\uDEF1","\uD804\uDEF2","\uD804\uDEF3","\uD804\uDEF4","\uD804\uDEF5","\uD804\uDEF6","\uD804\uDEF7","\uD804\uDEF8","\uD804\uDEF9"],sinh:["෦","෧","෨","෩","෪","෫","෬","෭","෮","෯"],sora:["\uD804\uDCF0","\uD804\uDCF1","\uD804\uDCF2","\uD804\uDCF3","\uD804\uDCF4","\uD804\uDCF5","\uD804\uDCF6","\uD804\uDCF7","\uD804\uDCF8","\uD804\uDCF9"],sund:["᮰","᮱","᮲","᮳","᮴","᮵","᮶","᮷","᮸","᮹"],takr:["\uD805\uDEC0","\uD805\uDEC1","\uD805\uDEC2","\uD805\uDEC3","\uD805\uDEC4","\uD805\uDEC5","\uD805\uDEC6","\uD805\uDEC7","\uD805\uDEC8","\uD805\uDEC9"],talu:["᧐","᧑","᧒","᧓","᧔","᧕","᧖","᧗","᧘","᧙"],tamldec:["௦","௧","௨","௩","௪","௫","௬","௭","௮","௯"],telu:["౦","౧","౨","౩","౪","౫","౬","౭","౮","౯"],thai:["๐","๑","๒","๓","๔","๕","๖","๗","๘","๙"],tibt:["༠","༡","༢","༣","༤","༥","༦","༧","༨","༩"],tirh:["\uD805\uDCD0","\uD805\uDCD1","\uD805\uDCD2","\uD805\uDCD3","\uD805\uDCD4","\uD805\uDCD5","\uD805\uDCD6","\uD805\uDCD7","\uD805\uDCD8","\uD805\uDCD9"],vaii:["ᘠ","ᘡ","ᘢ","ᘣ","ᘤ","ᘥ","ᘦ","ᘧ","ᘨ","ᘩ"],wara:["\uD806\uDCE0","\uD806\uDCE1","\uD806\uDCE2","\uD806\uDCE3","\uD806\uDCE4","\uD806\uDCE5","\uD806\uDCE6","\uD806\uDCE7","\uD806\uDCE8","\uD806\uDCE9"],wcho:["\uD838\uDEF0","\uD838\uDEF1","\uD838\uDEF2","\uD838\uDEF3","\uD838\uDEF4","\uD838\uDEF5","\uD838\uDEF6","\uD838\uDEF7","\uD838\uDEF8","\uD838\uDEF9"]},tK=new RegExp("^".concat(tG.source)),tQ=new RegExp("".concat(tG.source,"$")),tZ=/[#0](?:[\.,][#0]+)*/g;function t$(e,t,r,n){var i,o,a,s=e.sign,l=e.exponent,u=e.magnitude,c=n.notation,d=n.style,f=n.numberingSystem,h=t.numbers.nu[0],p=null;if("compact"===c&&u&&(p=function(e,t,r,n,i,o,a){var s,l,u=e.roundedNumber,c=e.sign,d=String(Math.pow(10,e.magnitude)),f=r.numbers.nu[0];if("currency"===n&&"name"!==o){var h=r.numbers.currency,p=null==(s=(h[a]||h[f]).short)?void 0:s[d];if(!p)return null;l=tJ(t,u.toNumber(),p)}else{var h=r.numbers.decimal,g=(h[a]||h[f])[i][d];if(!g)return null;l=tJ(t,u.toNumber(),g)}return"0"===l?null:l=tY(l,c).replace(/([^\s;\-\+\d¤]+)/g,"{c:$1}").replace(/0+/,"0")}(e,r,t,d,n.compactDisplay,n.currencyDisplay,f)),"currency"===d&&"name"!==n.currencyDisplay){var g=t.currencies[n.currency];if(g)switch(n.currencyDisplay){case"code":o=n.currency;break;case"symbol":o=g.symbol;break;default:o=g.narrow}else o=n.currency}if(p)a=p;else if("decimal"===d||"unit"===d||"currency"===d&&"name"===n.currencyDisplay)a=tY((t.numbers.decimal[f]||t.numbers.decimal[h]).standard,s);else if("currency"===d){var m=t.numbers.currency[f]||t.numbers.currency[h];a=tY(m[n.currencySign],s)}else a=tY(t.numbers.percent[f]||t.numbers.percent[h],s);var _=tZ.exec(a)[0];if(a=a.replace(tZ,"{0}").replace(/'(.)'/g,"$1"),"currency"===d&&"name"!==n.currencyDisplay){var m=t.numbers.currency[f]||t.numbers.currency[h],y=m.currencySpacing.afterInsertBetween;y&&!tQ.test(o)&&(a=a.replace("\xa4{0}","\xa4".concat(y,"{0}")));var v=m.currencySpacing.beforeInsertBetween;v&&!tK.test(o)&&(a=a.replace("{0}\xa4","{0}".concat(v,"\xa4")))}for(var b=a.split(/({c:[^}]+}|\{0\}|[¤%\-\+])/g),w=[],E=t.numbers.symbols[f]||t.numbers.symbols[h],k=0;k<b.length;k++){var T=b[k];if(T)switch(T){case"{0}":w.push.apply(w,function(e,t,r,n,i,o,a,s,l,u){var c,d,f=[],h=t.formattedString,p=t.roundedNumber;if(p.isNaN())return[{type:"nan",value:h}];if(!p.isFinite())return[{type:"infinity",value:h}];var g=tW[i];g&&(h=h.replace(/\d/g,function(e){return g[+e]||e}));var m=h.indexOf(".");m>0?(c=h.slice(0,m),d=h.slice(m+1)):c=h;var _=!1;if("always"===o?_=!0:"min2"===o?_=p.greaterThanOrEqualTo(1e4):("auto"===o||o)&&(_="compact"!==r||p.greaterThanOrEqualTo(1e4)),_){var y="currency"===s&&null!=e.currencyGroup?e.currencyGroup:e.group,v=[],b=a.split(".")[0].split(","),w=3,E=3;b.length>1&&(w=b[b.length-1].length),b.length>2&&(E=b[b.length-2].length);var k=c.length-w;if(k>0){for(v.push(c.slice(k,k+w)),k-=E;k>0;k-=E)v.push(c.slice(k,k+E));v.push(c.slice(0,k+E))}else v.push(c);for(;v.length>0;){var T=v.pop();f.push({type:"integer",value:T}),v.length>0&&f.push({type:"group",value:y})}}else f.push({type:"integer",value:c});if(void 0!==d){var S="currency"===s&&null!=e.currencyDecimal?e.currencyDecimal:e.decimal;f.push({type:"decimal",value:S},{type:"fraction",value:d})}if(("scientific"===r||"engineering"===r)&&p.isFinite()){f.push({type:"exponentSeparator",value:e.exponential}),n<0&&(f.push({type:"exponentMinusSign",value:e.minusSign}),n=-n);var x=tU(new eF(n),0,0,l,u);f.push({type:"exponentInteger",value:x.formattedString})}return f}(E,e,c,l,f,!p&&(null==(i=n.useGrouping)||i),_,d,n.roundingIncrement,tj(n.roundingMode,-1===s)));break;case"-":w.push({type:"minusSign",value:E.minusSign});break;case"+":w.push({type:"plusSign",value:E.plusSign});break;case"%":w.push({type:"percentSign",value:E.percentSign});break;case"\xa4":w.push({type:"currency",value:o});break;default:/^\{c:/.test(T)?w.push({type:"compact",value:T.substring(3,T.length-1)}):w.push({type:"literal",value:T})}}switch(d){case"currency":if("name"!==n.currencyDisplay)return w;var S=(t.numbers.currency[f]||t.numbers.currency[h]).unitPattern,x=void 0,A=t.currencies[n.currency];x=A?tJ(r,e.roundedNumber.times(eF.pow(10,l)).toNumber(),A.displayName):n.currency;for(var I=S.split(/(\{[01]\})/g),D=[],C=0;C<I.length;C++){var T=I[C];switch(T){case"{0}":D.push.apply(D,w);break;case"{1}":D.push({type:"currency",value:x});break;default:T&&D.push({type:"literal",value:T})}}return D;case"unit":var O=n.unit,N=n.unitDisplay,P=t.units.simple[O],S=void 0;if(P)S=tJ(r,e.roundedNumber.times(eF.pow(10,l)).toNumber(),t.units.simple[O][N]);else{var L=O.split("-per-"),M=L[0],R=L[1];P=t.units.simple[M];var F=tJ(r,e.roundedNumber.times(eF.pow(10,l)).toNumber(),t.units.simple[M][N]),j=t.units.simple[R].perUnit[N];if(j)S=j.replace("{0}",F);else{var B=t.units.compound.per[N],U=tJ(r,1,t.units.simple[R][N]);S=S=B.replace("{0}",F).replace("{1}",U.replace("{0}",""))}}for(var D=[],z=0,V=S.split(/(\s*\{0\}\s*)/);z<V.length;z++){var T=V[z],q=/^(\s*)\{0\}(\s*)$/.exec(T);q?(q[1]&&D.push({type:"literal",value:q[1]}),D.push.apply(D,w),q[2]&&D.push({type:"literal",value:q[2]})):T&&D.push({type:"unit",value:T})}return D;default:return w}}function tY(e,t){0>e.indexOf(";")&&(e="".concat(e,";-").concat(e));var r=e.split(";"),n=r[0],i=r[1];switch(t){case 0:return n;case -1:return i;default:return i.indexOf("-")>=0?i.replace(/-/g,"+"):"+".concat(n)}}function tJ(e,t,r){return r[e.select(t)]||r.other}function tX(e,t){var r=e.dataLocaleData.numbers.symbols[e.numberingSystem].approximatelySign;return t.push({type:"approximatelySign",value:r}),t}function t0(e,t){var r,n,i,o=t,a=0,s=e.pl,l=e.dataLocaleData,u=e.numberingSystem,c=l.numbers.symbols[u]||l.numbers.symbols[l.numbers.nu[0]],d=0;if(o.isNaN())n=c.nan;else if(o.isFinite()){o.isZero()||(e$(o.isFinite(),"Input must be a mathematical value"),"percent"==e.style&&(o=o.times(100)),d=(r=tq(e,o))[0],a=r[1],o=o.times(eF.pow(10,-d)));var f=tV(e,o);n=f.formattedString,o=f.roundedNumber}else n=c.infinity;var h=e.signDisplay;switch(h){case"never":i=0;break;case"auto":i=o.isPositive()||o.isNaN()?0:-1;break;case"always":i=o.isPositive()||o.isNaN()?1:-1;break;case"exceptZero":i=o.isZero()?0:o.isNegative()?-1:1;break;default:e$("negative"===h,'signDisplay must be "negative"'),i=o.isNegative()&&!o.isZero()?-1:0}return t$({roundedNumber:o,formattedString:n,exponent:d,magnitude:a,sign:i},e.dataLocaleData,s,e)}function t1(e,t){return t0(e,t).map(function(e){return e.value}).join("")}function t2(e,t,r,n){var i=n.getInternalSlots;e$(!t.isNaN()&&!r.isNaN(),"Input must be a number",RangeError);var o=i(e),a=t0(o,t),s=t0(o,r);if(t1(o,t)===t1(o,r)){var l=tX(o,a);return l.forEach(function(e){e.source="shared"}),l}var u=[];a.forEach(function(e){e.source="startRange",u.push(e)});var c=o.dataLocaleData.numbers.symbols[o.numberingSystem].rangeSign;return u.push({type:"literal",value:c,source:"shared"}),s.forEach(function(e){e.source="endRange",u.push(e)}),tL(e,u,{getInternalSlots:i})}function t5(e,t,r,n){return t2(e,t,r,{getInternalSlots:n.getInternalSlots}).map(function(e){return e.value}).join("")}function t3(e,t,r,n){return t2(e,t,r,{getInternalSlots:n.getInternalSlots}).map(function(e,t){return{type:e.type,value:e.value,source:e.source,result:t.toString()}})}function t4(e,t,r){for(var n=t0(r.getInternalSlots(e),t),i=e8(0),o=0;o<n.length;o++){var a=n[o];i.push({type:a.type,value:a.value})}return i}var t6=r(83792),t8=new Set([1,2,5,10,20,25,50,100,200,250,500,1e3,2e3,2500,5e3]);function t7(e,t,r,n,i){var o=tb(t,"minimumIntegerDigits",1,21,1),a=t.minimumFractionDigits,s=t.maximumFractionDigits,l=t.minimumSignificantDigits,u=t.maximumSignificantDigits;e.minimumIntegerDigits=o;var c=tb(t,"roundingIncrement",1,5e3,1);e$(t8.has(c),"Invalid rounding increment value: ".concat(c,".\nValid values are ").concat(Array.from(t8).join(", "),"."));var d=tw(t,"roundingMode","string",["ceil","floor","expand","trunc","halfCeil","halfFloor","halfExpand","halfTrunc","halfEven"],"halfExpand"),f=tw(t,"roundingPriority","string",["auto","morePrecision","lessPrecision"],"auto"),h=tw(t,"trailingZeroDisplay","string",["auto","stripIfInteger"],"auto");1!==c&&(n=r),e.roundingIncrement=c,e.roundingMode=d,e.trailingZeroDisplay=h;var p=void 0!==l||void 0!==u,g=void 0!==a||void 0!==s,m=!0,_=!0;if("auto"===f&&(m=p,(p||!g&&"compact"===i)&&(_=!1)),m&&(p?(e.minimumSignificantDigits=tv(l,1,21,1),e.maximumSignificantDigits=tv(u,e.minimumSignificantDigits,21,21)):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),_)if(g){if(a=tv(a,0,100,void 0),s=tv(s,0,100,void 0),void 0===a)e$(void 0!==s,"maximumFractionDigits must be defined"),a=Math.min(r,s);else if(void 0===s)s=Math.max(n,a);else if(a>s)throw RangeError("Invalid range, ".concat(a," > ").concat(s));e.minimumFractionDigits=a,e.maximumFractionDigits=s}else e.minimumFractionDigits=r,e.maximumFractionDigits=n;m||_?"morePrecision"===f?(e.roundingType="morePrecision",e.roundingPriority="morePrecision"):"lessPrecision"===f?(e.roundingType="lessPrecision",e.roundingPriority="lessPrecision"):(p?e.roundingType="significantDigits":e.roundingType="fractionDigits",e.roundingPriority="auto"):(e.minimumFractionDigits=0,e.maximumFractionDigits=0,e.minimumSignificantDigits=1,e.maximumSignificantDigits=2,e.roundingType="morePrecision",e.roundingPriority="morePrecision"),1!==c&&(e$("fractionDigits"===e.roundingType,"Invalid roundingType",TypeError),e$(e.maximumFractionDigits===e.minimumFractionDigits,"With roundingIncrement > 1, maximumFractionDigits and minimumFractionDigits must be equal.",RangeError))}function t9(e,t){void 0===t&&(t=Object.create(null));var r=tw(t,"style","string",["decimal","percent","currency","unit"],"decimal");e.style=r;var n=tw(t,"currency","string",void 0,void 0);e$(void 0===n||tC(n),"Malformed currency code",RangeError),e$("currency"!==r||void 0!==n,"currency cannot be undefined",TypeError);var i=tw(t,"currencyDisplay","string",["code","symbol","narrowSymbol","name"],"symbol"),o=tw(t,"currencySign","string",["standard","accounting"],"standard"),a=tw(t,"unit","string",void 0,void 0);e$(void 0===a||tO(a),"Invalid unit argument for Intl.NumberFormat()",RangeError),e$("unit"!==r||void 0!==a,"unit cannot be undefined",TypeError);var s=tw(t,"unitDisplay","string",["short","narrow","long"],"short");"currency"===r&&(e.currency=n.toUpperCase(),e.currencyDisplay=i,e.currencySign=o),"unit"===r&&(e.unit=a,e.unitDisplay=s)}function re(e,t,r,i){var o,a,s=i.getInternalSlots,l=i.localeData,u=i.availableLocales,c=i.numberingSystemNames,d=i.getDefaultLocale,f=i.currencyDigitsData,h=n(t),p=ty(r),g=Object.create(null);g.localeMatcher=tw(p,"localeMatcher","string",["lookup","best fit"],"best fit");var m=tw(p,"numberingSystem","string",void 0,void 0);if(void 0!==m&&0>c.indexOf(m))throw RangeError("Invalid numberingSystems: ".concat(m));g.nu=m;var _=(0,t6.ResolveLocale)(Array.from(u),h,g,["nu"],l,d),y=l[_.dataLocale];e$(!!y,"Missing locale data for ".concat(_.dataLocale));var v=s(e);v.locale=_.locale,v.dataLocale=_.dataLocale,v.numberingSystem=_.nu,v.dataLocaleData=y,t9(v,p);var b=v.style,w=tw(p,"notation","string",["standard","scientific","engineering","compact"],"standard");if(v.notation=w,"currency"===b&&"standard"===w){var E=tH(v.currency,{currencyDigitsData:f});o=E,a=E}else o=0,a=3*("percent"!==b);t7(v,p,o,a,w);var k=tw(p,"compactDisplay","string",["short","long"],"short"),T="auto";return"compact"===w&&(v.compactDisplay=k,T="min2"),v.useGrouping=tk(p,"useGrouping",["min2","auto","always"],"always",!1,T),v.signDisplay=tw(p,"signDisplay","string",["auto","never","always","exceptZero","negative"],"auto"),e}function rt(e){for(var t=[],r=e.indexOf("{"),n=0,i=0,o=e.length;r<e.length&&r>-1;)e$((n=e.indexOf("}",r))>r,"Invalid pattern ".concat(e)),r>i&&t.push({type:"literal",value:e.substring(i,r)}),t.push({type:e.substring(r+1,n),value:void 0}),i=n+1,r=e.indexOf("{",i);return i<o&&t.push({type:"literal",value:e.substring(i,o)}),t}function rr(e,t,r){return void 0!==r&&tw(r=e4(r),"localeMatcher","string",["lookup","best fit"],"best fit"),(0,t6.LookupSupportedLocales)(Array.from(e),t)}function rn(e){return"MISSING_LOCALE_DATA"===e.type}function ri(e){var t=t_(e,"number");if("bigint"==typeof t)return new eF(t);if(void 0===t)return new eF(NaN);if(!0===t)return new eF(1);if(!1===t||null===t)return new eF(0);try{return new eF(t)}catch(e){return new eF(NaN)}}!function(e){(0,eU.__extends)(function(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="MISSING_LOCALE_DATA",t},e)}(Error),function(e){e.startRange="startRange",e.shared="shared",e.endRange="endRange"}(o||(o={}))},77328:(e,t,r)=>{e.exports=r(5679)},77742:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(14232),i=r(37154),o=r(7672);function a(){var e=n.useContext(o.ob);return(0,i.HM)(e),e}},79350:(e,t,r)=>{"use strict";r.d(t,{J1:()=>B});var n,i,o=r(4902);let a=/\r\n|[\n\r]/g;function s(e,t){let r=0,n=1;for(let i of e.body.matchAll(a)){if("number"==typeof i.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function l(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,l=t.column+s,c=`${e.name}:${a}:${l}
|
|
5
|
-
`,d=n.split(/\r\n|[\n\r]/g),f=d[i];if(f.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<f.length;e+=80)t.push(f.slice(e,e+80));return c+u([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+u([[`${a-1} |`,d[i-1]],[`${a} |`,f],["|","^".padStart(l)],[`${a+1} |`,d[i+1]]])}function u(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}class c extends Error{constructor(e,...t){var r,n,i;let{nodes:o,source:a,positions:l,path:u,originalError:f,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=f?f:void 0,this.nodes=d(Array.isArray(o)?o:o?[o]:void 0);let p=d(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==p||null==(n=p[0])?void 0:n.source,this.positions=null!=l?l:null==p?void 0:p.map(e=>e.start),this.locations=l&&a?l.map(e=>s(a,e)):null==p?void 0:p.map(e=>s(e.source,e.start));let g=!function(e){return"object"==typeof e&&null!==e}(null==f?void 0:f.extensions)||null==f?void 0:f.extensions;this.extensions=null!=(i=null!=h?h:g)?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,c):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+l((t=r.loc).source,s(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+l(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function d(e){return void 0===e||0===e.length?void 0:e}function f(e,t,r){return new c(`Syntax Error: ${r}`,{source:e,positions:[t]})}var h=r(86158);!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(n={}));var p=r(94587),g=r(47518),m=r(7743);!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(i||(i={}));class _{constructor(e){let t=new h.ou(i.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==i.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,n=r.length,o=t;for(;o<n;){let t=r.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===r.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,o=t+1;for(;o<n;){let e=r.charCodeAt(o);if(10===e||13===e)break;if(y(e))++o;else if(v(r,o))o+=2;else break}return k(e,i.COMMENT,t,o,r.slice(t+1,o))}(e,o);case 33:return k(e,i.BANG,o,o+1);case 36:return k(e,i.DOLLAR,o,o+1);case 38:return k(e,i.AMP,o,o+1);case 40:return k(e,i.PAREN_L,o,o+1);case 41:return k(e,i.PAREN_R,o,o+1);case 46:if(46===r.charCodeAt(o+1)&&46===r.charCodeAt(o+2))return k(e,i.SPREAD,o,o+3);break;case 58:return k(e,i.COLON,o,o+1);case 61:return k(e,i.EQUALS,o,o+1);case 64:return k(e,i.AT,o,o+1);case 91:return k(e,i.BRACKET_L,o,o+1);case 93:return k(e,i.BRACKET_R,o,o+1);case 123:return k(e,i.BRACE_L,o,o+1);case 124:return k(e,i.PIPE,o,o+1);case 125:return k(e,i.BRACE_R,o,o+1);case 34:if(34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2))return function(e,t){let r=e.source.body,n=r.length,o=e.lineStart,a=t+3,s=a,l="",u=[];for(;a<n;){let n=r.charCodeAt(a);if(34===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)){l+=r.slice(s,a),u.push(l);let n=k(e,i.BLOCK_STRING,t,a+3,(0,g.OC)(u).join("\n"));return e.line+=u.length-1,e.lineStart=o,n}if(92===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)&&34===r.charCodeAt(a+3)){l+=r.slice(s,a),s=a+1,a+=4;continue}if(10===n||13===n){l+=r.slice(s,a),u.push(l),13===n&&10===r.charCodeAt(a+1)?a+=2:++a,l="",s=a,o=a;continue}if(y(n))++a;else if(v(r,a))a+=2;else throw f(e.source,a,`Invalid character within String: ${E(e,a)}.`)}throw f(e.source,a,"Unterminated string.")}(e,o);return function(e,t){let r=e.source.body,n=r.length,o=t+1,a=o,s="";for(;o<n;){let n=r.charCodeAt(o);if(34===n)return s+=r.slice(a,o),k(e,i.STRING,t,o+1,s);if(92===n){s+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let r=e.source.body,n=0,i=3;for(;i<12;){let e=r.charCodeAt(t+i++);if(125===e){if(i<5||!y(n))break;return{value:String.fromCodePoint(n),size:i}}if((n=n<<4|x(e))<0)break}throw f(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}(e,o):function(e,t){let r=e.source.body,n=S(r,t+2);if(y(n))return{value:String.fromCodePoint(n),size:6};if(b(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=S(r,t+8);if(w(e))return{value:String.fromCodePoint(n,e),size:12}}throw f(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,o):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw f(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,o);s+=t.value,o+=t.size,a=o;continue}if(10===n||13===n)break;if(y(n))++o;else if(v(r,o))o+=2;else throw f(e.source,o,`Invalid character within String: ${E(e,o)}.`)}throw f(e.source,o,"Unterminated string.")}(e,o)}if((0,m.yp)(t)||45===t)return function(e,t,r){let n=e.source.body,o=t,a=r,s=!1;if(45===a&&(a=n.charCodeAt(++o)),48===a){if(a=n.charCodeAt(++o),(0,m.yp)(a))throw f(e.source,o,`Invalid number, unexpected digit after 0: ${E(e,o)}.`)}else o=T(e,o,a),a=n.charCodeAt(o);if(46===a&&(s=!0,a=n.charCodeAt(++o),o=T(e,o,a),a=n.charCodeAt(o)),(69===a||101===a)&&(s=!0,(43===(a=n.charCodeAt(++o))||45===a)&&(a=n.charCodeAt(++o)),o=T(e,o,a),a=n.charCodeAt(o)),46===a||(0,m.un)(a))throw f(e.source,o,`Invalid number, expected digit but got: ${E(e,o)}.`);return k(e,s?i.FLOAT:i.INT,t,o,n.slice(t,o))}(e,o,t);if((0,m.un)(t))return function(e,t){let r=e.source.body,n=r.length,o=t+1;for(;o<n;){let e=r.charCodeAt(o);if((0,m.xr)(e))++o;else break}return k(e,i.NAME,t,o,r.slice(t,o))}(e,o);throw f(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":y(t)||v(r,o)?`Unexpected character: ${E(e,o)}.`:`Invalid character: ${E(e,o)}.`)}return k(e,i.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===i.COMMENT);return e}}function y(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function v(e,t){return b(e.charCodeAt(t))&&w(e.charCodeAt(t+1))}function b(e){return e>=55296&&e<=56319}function w(e){return e>=56320&&e<=57343}function E(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return i.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function k(e,t,r,n,i){let o=e.line,a=1+r-e.lineStart;return new h.ou(t,r,n,o,a,i)}function T(e,t,r){if(!(0,m.yp)(r))throw f(e.source,t,`Invalid number, expected digit but got: ${E(e,t)}.`);let n=e.source.body,i=t+1;for(;(0,m.yp)(n.charCodeAt(i));)++i;return i}function S(e,t){return x(e.charCodeAt(t))<<12|x(e.charCodeAt(t+1))<<8|x(e.charCodeAt(t+2))<<4|x(e.charCodeAt(t+3))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var A=r(58287),I=r(77016);let D=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(r=e.constructor)?void 0:r.name)){let t=(0,I.N)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm.
|
|
6
|
-
|
|
7
|
-
Ensure that there is only one instance of "graphql" in the node_modules
|
|
8
|
-
directory. If different versions of "graphql" are the dependencies of other
|
|
9
|
-
relied on modules, use "resolutions" to ensure only one version is installed.
|
|
10
|
-
|
|
11
|
-
https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
12
|
-
|
|
13
|
-
Duplicate "graphql" modules cannot be used at the same time since different
|
|
14
|
-
versions may have different capabilities and behavior. The data from one
|
|
15
|
-
version used in the function from another could produce confusing and
|
|
16
|
-
spurious results.`)}}return!1};class C{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,A.U)(!1,`Body must be a string. Received: ${(0,I.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,A.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,A.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class O{constructor(e,t={}){let r=D(e,C)?e:new C(e);this._lexer=new _(r),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(i.NAME);return this.node(e,{kind:p.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:p.b.DOCUMENT,definitions:this.many(i.SOF,this.parseDefinition,i.EOF)})}parseDefinition(){if(this.peek(i.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===i.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw f(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(i.BRACE_L))return this.node(t,{kind:p.b.OPERATION_DEFINITION,operation:h.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(i.NAME)&&(e=this.parseName()),this.node(t,{kind:p.b.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(i.NAME);switch(e.value){case"query":return h.cE.QUERY;case"mutation":return h.cE.MUTATION;case"subscription":return h.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(i.PAREN_L,this.parseVariableDefinition,i.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:p.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(i.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(i.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(i.DOLLAR),this.node(e,{kind:p.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:p.b.SELECTION_SET,selections:this.many(i.BRACE_L,this.parseSelection,i.BRACE_R)})}parseSelection(){return this.peek(i.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(i.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:p.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(i.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(i.PAREN_L,t,i.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:p.b.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(i.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(i.NAME)?this.node(e,{kind:p.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:p.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:p.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:p.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case i.BRACKET_L:return this.parseList(e);case i.BRACE_L:return this.parseObject(e);case i.INT:return this.advanceLexer(),this.node(t,{kind:p.b.INT,value:t.value});case i.FLOAT:return this.advanceLexer(),this.node(t,{kind:p.b.FLOAT,value:t.value});case i.STRING:case i.BLOCK_STRING:return this.parseStringLiteral();case i.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:p.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:p.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:p.b.NULL});default:return this.node(t,{kind:p.b.ENUM,value:t.value})}case i.DOLLAR:if(e){if(this.expectToken(i.DOLLAR),this._lexer.token.kind===i.NAME){let e=this._lexer.token.value;throw f(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:p.b.STRING,value:e.value,block:e.kind===i.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:p.b.LIST,values:this.any(i.BRACKET_L,()=>this.parseValueLiteral(e),i.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:p.b.OBJECT,fields:this.any(i.BRACE_L,()=>this.parseObjectField(e),i.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(i.COLON),this.node(t,{kind:p.b.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(i.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(i.AT),this.node(t,{kind:p.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(i.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(i.BRACKET_R),e=this.node(t,{kind:p.b.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(i.BANG)?this.node(t,{kind:p.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:p.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(i.STRING)||this.peek(i.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);return this.node(e,{kind:p.b.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(i.COLON);let r=this.parseNamedType();return this.node(e,{kind:p.b.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:p.b.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:p.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(i.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseFieldDefinition,i.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(i.COLON);let o=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:p.b.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:a})}parseArgumentDefs(){return this.optionalMany(i.PAREN_L,this.parseInputValueDef,i.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(i.COLON);let o=this.parseTypeReference();this.expectOptionalToken(i.EQUALS)&&(e=this.parseConstValueLiteral());let a=this.parseConstDirectives();return this.node(t,{kind:p.b.INPUT_VALUE_DEFINITION,description:r,name:n,type:o,defaultValue:e,directives:a})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:p.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:p.b.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(i.EQUALS)?this.delimitedMany(i.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:p.b.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(i.BRACE_L,this.parseEnumValueDefinition,i.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:p.b.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw f(this._lexer.source,this._lexer.token.start,`${N(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:p.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(i.BRACE_L,this.parseInputValueDef,i.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===i.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(i.BRACE_L,this.parseOperationTypeDefinition,i.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:p.b.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:p.b.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:p.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:p.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:p.b.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:p.b.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:p.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(i.AT);let r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:p.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(i.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(n,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new h.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw f(this._lexer.source,t.start,`Expected ${P(e)}, found ${N(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===i.NAME&&t.value===e)this.advanceLexer();else throw f(this._lexer.source,t.start,`Expected "${e}", found ${N(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===i.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return f(this._lexer.source,t.start,`Unexpected ${N(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==i.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw f(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function N(e){let t=e.value;return P(e.kind)+(null!=t?` "${t}"`:"")}function P(e){return e===i.BANG||e===i.DOLLAR||e===i.AMP||e===i.PAREN_L||e===i.PAREN_R||e===i.SPREAD||e===i.COLON||e===i.EQUALS||e===i.AT||e===i.BRACKET_L||e===i.BRACKET_R||e===i.BRACE_L||e===i.PIPE||e===i.BRACE_R?`"${e}"`:e}var L=new Map,M=new Map,R=!0,F=!1;function j(e){return e.replace(/[\s,]+/g," ").trim()}function B(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=j(e);if(!L.has(t)){var r,n,i,a,s,l=function(e,t){let r=new O(e,t),n=r.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:r.tokenCount}),n}(e,{experimentalFragmentVariables:F,allowLegacyFragmentVariables:F});if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");L.set(t,((a=new Set((r=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=j((t=e.loc).source.body.substring(t.start,t.end)),a=M.get(i);a&&!a.has(o)?R&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||M.set(i,a=new Set),a.add(o),r.has(o)||(r.add(o),n.push(e))}else n.push(e)}),i=(0,o.__assign)((0,o.__assign)({},l),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&a.add(r)})}),(s=i.loc)&&(delete s.startToken,delete s.endToken),i))}return L.get(t)}(n)}var U={gql:B,resetCaches:function(){L.clear(),M.clear()},disableFragmentWarnings:function(){R=!1},enableExperimentalFragmentVariables:function(){F=!0},disableExperimentalFragmentVariables:function(){F=!1}};!function(e){e.gql=U.gql,e.resetCaches=U.resetCaches,e.disableFragmentWarnings=U.disableFragmentWarnings,e.enableExperimentalFragmentVariables=U.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=U.disableExperimentalFragmentVariables}(B||(B={})),B.default=B},79760:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},80542:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,JR:()=>d,Sw:()=>u,et:()=>o,ol:()=>s,uJ:()=>l});var n=r(17318),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,l=s&&Symbol.asyncIterator,u="function"==typeof(0,n.no)(function(){return window.document.createElement}),c=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,d=(u||i)&&!c},80593:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(4902),i=r(17318),o=Symbol.for("apollo.cacheSize"),a=(0,n.__assign)({},i.Sf[o])},81312:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(14232),i=r(16959),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!o,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,r,t,c,f.current]),[h,c,(0,n.useCallback)(()=>{d(!1)},[])]}("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)},81370:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},81893:(e,t,r)=>{"use strict";r.d(t,{o:()=>F});var n,i=r(14232);let o="undefined"!=typeof document?i.useLayoutEffect:()=>{},a=null!=(n=i.useInsertionEffect)?n:o;function s(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function l(e){let t=(0,i.useRef)({isFocused:!1,observer:null});o(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=function(e){let t=(0,i.useRef)(null);return a(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}(t=>{null==e||e(t)});return(0,i.useCallback)(e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let n=e.target;n.addEventListener("focusout",e=>{t.current.isFocused=!1,n.disabled&&r(s(e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){var e;null==(e=t.current.observer)||e.disconnect();let r=n===document.activeElement?null:document.activeElement;n.dispatchEvent(new FocusEvent("blur",{relatedTarget:r})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:r}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]})}},[r])}function u(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let r=null==(t=window.navigator.userAgentData)?void 0:t.brands;return Array.isArray(r)&&r.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function c(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null==(t=window.navigator.userAgentData)?void 0:t.platform)||window.navigator.platform)}function d(e){let t=null;return()=>(null==t&&(t=e()),t)}let f=d(function(){return c(/^Mac/i)}),h=d(function(){return c(/^iPhone/i)}),p=d(function(){return c(/^iPad/i)||f()&&navigator.maxTouchPoints>1}),g=d(function(){return h()||p()});d(function(){return f()||g()}),d(function(){return u(/AppleWebKit/i)&&!m()});let m=d(function(){return u(/Chrome/i)}),_=d(function(){return u(/Android/i)});d(function(){return u(/Firefox/i)});var y=r(82505);let v=null,b=new Set,w=new Map,E=!1,k=!1,T={Tab:!0,Escape:!0};function S(e,t){for(let r of b)r(e,t)}function x(e){E=!0,e.metaKey||!f()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(v="keyboard",S("keyboard",e))}function A(e){v="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(E=!0,S("pointer",e))}function I(e){(0===e.mozInputSource&&e.isTrusted||(_()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(E=!0,v="virtual")}function D(e){e.target!==window&&e.target!==document&&e.isTrusted&&(E||k||(v="virtual",S("virtual",e)),E=!1,k=!1)}function C(){E=!1,k=!0}function O(e){if("undefined"==typeof window||"undefined"==typeof document||w.get((0,y.mD)(e)))return;let t=(0,y.mD)(e),r=(0,y.TW)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){E=!0,n.apply(this,arguments)},r.addEventListener("keydown",x,!0),r.addEventListener("keyup",x,!0),r.addEventListener("click",I,!0),t.addEventListener("focus",D,!0),t.addEventListener("blur",C,!1),"undefined"!=typeof PointerEvent&&(r.addEventListener("pointerdown",A,!0),r.addEventListener("pointermove",A,!0),r.addEventListener("pointerup",A,!0)),t.addEventListener("beforeunload",()=>{N(e)},{once:!0}),w.set(t,{focus:n})}let N=(e,t)=>{let r=(0,y.mD)(e),n=(0,y.TW)(e);t&&n.removeEventListener("DOMContentLoaded",t),w.has(r)&&(r.HTMLElement.prototype.focus=w.get(r).focus,n.removeEventListener("keydown",x,!0),n.removeEventListener("keyup",x,!0),n.removeEventListener("click",I,!0),r.removeEventListener("focus",D,!0),r.removeEventListener("blur",C,!1),"undefined"!=typeof PointerEvent&&(n.removeEventListener("pointerdown",A,!0),n.removeEventListener("pointermove",A,!0),n.removeEventListener("pointerup",A,!0)),w.delete(r))};function P(){return"pointer"!==v}"undefined"!=typeof document&&function(e){let t,r=(0,y.TW)(void 0);"loading"!==r.readyState?O(void 0):(t=()=>{O(e)},r.addEventListener("DOMContentLoaded",t)),()=>N(e,t)}();let L=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var M=r(86962),R=r(12473);function F(e={}){var t;let{autoFocus:r=!1,isTextInput:n,within:o}=e,a=(0,i.useRef)({isFocused:!1,isFocusVisible:r||P()}),[u,c]=(0,i.useState)(!1),[d,f]=(0,i.useState)(()=>a.current.isFocused&&a.current.isFocusVisible),h=(0,i.useCallback)(()=>f(a.current.isFocused&&a.current.isFocusVisible),[]),p=(0,i.useCallback)(e=>{a.current.isFocused=e,c(e),h()},[h]);t={isTextInput:n},O(),(0,i.useEffect)(()=>{let e=(e,r)=>{(function(e,t,r){let n=(0,y.TW)(null==r?void 0:r.target),i="undefined"!=typeof window?(0,y.mD)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,o="undefined"!=typeof window?(0,y.mD)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,a="undefined"!=typeof window?(0,y.mD)(null==r?void 0:r.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?(0,y.mD)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||n.activeElement instanceof i&&!L.has(n.activeElement.type)||n.activeElement instanceof o||n.activeElement instanceof a&&n.activeElement.isContentEditable)&&"keyboard"===t&&r instanceof s&&!T[r.key])})(!!(null==t?void 0:t.isTextInput),e,r)&&(e=>{a.current.isFocusVisible=e,h()})(P())};return b.add(e),()=>{b.delete(e)}},[]);let{focusProps:g}=function(e){let{isDisabled:t,onFocus:r,onBlur:n,onFocusChange:o}=e,a=(0,i.useCallback)(e=>{if(e.target===e.currentTarget)return n&&n(e),o&&o(!1),!0},[n,o]),s=l(a),u=(0,i.useCallback)(e=>{let t=(0,y.TW)(e.target),n=t?(0,M.bq)(t):(0,M.bq)();e.target===e.currentTarget&&n===(0,M.wt)(e.nativeEvent)&&(r&&r(e),o&&o(!0),s(e))},[o,r,s]);return{focusProps:{onFocus:!t&&(r||o||n)?u:void 0,onBlur:!t&&(n||o)?a:void 0}}}({isDisabled:o,onFocusChange:p}),{focusWithinProps:m}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:n,onFocusWithinChange:o}=e,a=(0,i.useRef)({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:c}=(0,R.A)(),d=(0,i.useCallback)(e=>{e.currentTarget.contains(e.target)&&a.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(a.current.isFocusWithin=!1,c(),r&&r(e),o&&o(!1))},[r,o,a,c]),f=l(d),h=(0,i.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,y.TW)(e.target),r=(0,M.bq)(t);if(!a.current.isFocusWithin&&r===(0,M.wt)(e.nativeEvent)){n&&n(e),o&&o(!0),a.current.isFocusWithin=!0,f(e);let r=e.currentTarget;u(t,"focus",e=>{if(a.current.isFocusWithin&&!(0,M.sD)(r,e.target)){let n=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});Object.defineProperty(n,"target",{value:r}),Object.defineProperty(n,"currentTarget",{value:r}),d(s(n))}},{capture:!0})}},[n,o,f,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,onBlur:d}}}({isDisabled:!o,onFocusWithinChange:p});return{isFocused:u,isFocusVisible:d,focusProps:o?m:g}}},82505:(e,t,r)=>{"use strict";r.d(t,{Ng:()=>o,TW:()=>n,mD:()=>i});let n=e=>{var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document},i=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window;function o(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},82909:(e,t,r)=>{"use strict";var n=r(81370),i=r(87247),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),l=a(o),u=l.write(n,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e)){var c=e;if(D(c,Uint8Array)){var g=new Uint8Array(c);return f(g.buffer,g.byteOffset,g.byteLength)}return d(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(D(e,ArrayBuffer)||e&&D(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(D(e,SharedArrayBuffer)||e&&D(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var m=e.valueOf&&e.valueOf();if(null!=m&&m!==e)return s.from(m,t,r);var _=function(e){if(s.isBuffer(e)){var t=0|h(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(_)return _;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function h(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||D(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return x(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return A(e).length;default:if(i)return n?-1:x(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){var i,o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=C[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function _(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,f=0;f<l;f++)if(u(e,o+f)!==u(t,f)){d=!1;break}if(d)return o}return -1}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}var f=n,h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var p="",g=0;g<h;)p+=String.fromCharCode.apply(String,f.slice(g,g+=4096));return p}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function w(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function E(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function k(e,t,r,n,o){return t*=1,r>>>=0,o||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,o){return t*=1,r>>>=0,o||E(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(D(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),D(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(D(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):g.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(D(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,l=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:+(a<o)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return _(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return _(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,d,f=this.length-t;if((void 0===r||r>f)&&(r=f),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var h=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,l=parseInt(t.substr(2*a,2),16);if((s=l)!=s)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,I(x(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,I(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,u=r,I(A(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,I(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(h)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),h=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;w(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);w(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||w(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return T(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return T(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function x(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function A(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function D(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var C=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},83070:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>u,Mn:()=>s,uR:()=>a});var n=r(4902);r(17318);var i=r(93957),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var l=function(e){var t=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,u=r.errorMessage,c=r.extraInfo,d=e.call(this,u)||this;return d.name="ApolloError",d.graphQLErrors=i||[],d.protocolErrors=o||[],d.clientErrors=a||[],d.networkError=s||null,d.message=u||l(d),d.extraInfo=c,d.cause=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return(0,n.__extends)(t,e),t}(Error)},83792:(e,t,r)=>{"use strict";r.r(t),r.d(t,{LookupSupportedLocales:()=>g,ResolveLocale:()=>p,match:()=>m});var n,i=r(4902),o={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},a={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},s=/-u(?:-[0-9a-z]{2,8})+/gi;function l(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function u(e,t,r){var n=t.split("-"),o=n[0],s=n[1],l=n[2],u=!0;if(l&&"$"===l[0]){var c="!"!==l[1],d=(c?r[l.slice(1)]:r[l.slice(2)]).map(function(e){return a[e]||[e]}).reduce(function(e,t){return(0,i.__spreadArray)((0,i.__spreadArray)([],e,!0),t,!0)},[]);u&&(u=d.indexOf(e.region||"")>-1==c)}else u&&(u=!e.region||"*"===l||l===e.region);return u&&(u=!e.script||"*"===s||s===e.script),u&&(u=!e.language||"*"===o||o===e.language),u}function c(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function d(e,t,r){for(var n=0,i=r.matches;n<i.length;n++){var o=i[n],a=u(e,o.desired,r.matchVariables)&&u(t,o.supported,r.matchVariables);if(o.oneway||a||(a=u(e,o.supported,r.matchVariables)&&u(t,o.desired,r.matchVariables)),a){var s=10*o.distance;if(r.paradigmLocales.indexOf(c(e))>-1!=r.paradigmLocales.indexOf(c(t))>-1)return s-1;return s}}throw Error("No matching distance found")}function f(e){return Intl.getCanonicalLocales(e)[0]}function h(e,t){for(var r=t;;){if(e.indexOf(r)>-1)return r;var n=r.lastIndexOf("-");if(!~n)return;n>=2&&"-"===r[n-2]&&(n-=2),r=r.slice(0,n)}}function p(e,t,r,a,u,c){"lookup"===r.localeMatcher?g=function(e,t,r){for(var n={locale:""},i=0;i<t.length;i++){var o=t[i],a=o.replace(s,""),l=h(e,a);if(l)return n.locale=l,o!==a&&(n.extension=o.slice(a.length,o.length)),n}return n.locale=r(),n}(Array.from(e),t,c):(_=Array.from(e),b=[],w=t.reduce(function(e,t){var r=t.replace(s,"");return b.push(r),e[r]=t,e},{}),(void 0===E&&(E=838),k=1/0,T={matchedDesiredLocale:"",distances:{}},b.forEach(function(e,t){T.distances[e]||(T.distances[e]={}),_.forEach(function(r){var a,s,l,u,c,f,h=(a=new Intl.Locale(e).maximize(),s=new Intl.Locale(r).maximize(),l={language:a.language,script:a.script||"",region:a.region||""},u={language:s.language,script:s.script||"",region:s.region||""},c=0,f=function(){var e,t;if(!n){var r=null==(t=null==(e=o.supplemental.languageMatching["written-new"][0])?void 0:e.paradigmLocales)?void 0:t._locales.split(" "),a=o.supplemental.languageMatching["written-new"].slice(1,5);n={matches:o.supplemental.languageMatching["written-new"].slice(5).map(function(e){var t=Object.keys(e)[0],r=e[t];return{supported:t,desired:r._desired,distance:+r._distance,oneway:"true"===r.oneway}},{}),matchVariables:a.reduce(function(e,t){var r=Object.keys(t)[0],n=t[r];return e[r.slice(1)]=n._value.split("+"),e},{}),paradigmLocales:(0,i.__spreadArray)((0,i.__spreadArray)([],r,!0),r.map(function(e){return new Intl.Locale(e.replace(/_/g,"-")).maximize().toString()}),!0)}}return n}(),l.language!==u.language&&(c+=d({language:a.language,script:"",region:""},{language:s.language,script:"",region:""},f)),l.script!==u.script&&(c+=d({language:a.language,script:l.script,region:""},{language:s.language,script:u.script,region:""},f)),l.region!==u.region&&(c+=d(l,u,f)),c+0+40*t);T.distances[e][r]=h,h<k&&(k=h,T.matchedDesiredLocale=e,T.matchedSupportedLocale=r)})}),k>=E&&(T.matchedDesiredLocale=void 0,T.matchedSupportedLocale=void 0),S=T).matchedSupportedLocale&&S.matchedDesiredLocale&&(y=S.matchedSupportedLocale,v=w[S.matchedDesiredLocale].slice(S.matchedDesiredLocale.length)||void 0),g=y?{locale:y,extension:v}:{locale:c()}),null==g&&(g={locale:c(),extension:""});var p,g,m,_,y,v,b,w,E,k,T,S,x=g.locale,A=u[x],I={locale:"en",dataLocale:x};m=g.extension?function(e){l(e===e.toLowerCase(),"Expected extension to be lowercase"),l("-u-"===e.slice(0,3),"Expected extension to be a Unicode locale extension");for(var t,r=[],n=[],i=e.length,o=3;o<i;){var a=e.indexOf("-",o),s=void 0;s=-1===a?i-o:a-o;var u=e.slice(o,o+s);l(s>=2,"Expected a subtag to have at least 2 characters"),void 0===t&&2!=s?-1===r.indexOf(u)&&r.push(u):2===s?(t={key:u,value:""},void 0===n.find(function(e){return e.key===(null==t?void 0:t.key)})&&n.push(t)):(null==t?void 0:t.value)===""?t.value=u:(l(void 0!==t,"Expected keyword to be defined"),t.value+="-"+u),o+=s+1}return{attributes:r,keywords:n}}(g.extension).keywords:[];for(var D=[],C=function(e){var t,n,i=null!=(p=null==A?void 0:A[e])?p:[];l(Array.isArray(i),"keyLocaleData for ".concat(e," must be an array"));var o=i[0];l(void 0===o||"string"==typeof o,"value must be a string or undefined");var a=void 0,s=m.find(function(t){return t.key===e});if(s){var u=s.value;""!==u?i.indexOf(u)>-1&&(a={key:e,value:o=u}):i.indexOf("true")>-1&&(a={key:e,value:o="true"})}var c=r[e];l(null==c||"string"==typeof c,"optionsValue must be a string or undefined"),"string"==typeof c&&(t=e.toLowerCase(),n=c.toLowerCase(),l(void 0!==t,"ukey must be defined"),""===(c=n)&&(c="true")),c!==o&&i.indexOf(c)>-1&&(o=c,a=void 0),a&&D.push(a),I[e]=o},O=0;O<a.length;O++)C(a[O]);return D.length>0&&(x=function(e,t,r){l(-1===e.indexOf("-u-"),"Expected locale to not have a Unicode locale extension");for(var n,i="-u",o=0;o<t.length;o++){var a=t[o];i+="-".concat(a)}for(var s=0;s<r.length;s++){var u=r[s],c=u.key,d=u.value;i+="-".concat(c),""!==d&&(i+="-".concat(d))}if("-u"===i)return f(e);var h=e.indexOf("-x-");return f(-1===h?e+i:e.slice(0,h)+i+e.slice(h))}(x,[],D)),I.locale=x,I}function g(e,t){for(var r=[],n=0;n<t.length;n++){var i=h(e,t[n].replace(s,""));i&&r.push(i)}return r}function m(e,t,r,n){return p(t,Intl.getCanonicalLocales(e),{localeMatcher:(null==n?void 0:n.algorithm)||"best fit"},[],{},function(){return r}).locale}},83933:(e,t,r)=>{"use strict";r.d(t,{F3:()=>h,GT:()=>f,J9:()=>l,JF:()=>u,MT:()=>c,V1:()=>s});var n=r(4902),i=r(98149),o=r(53279),a=r(56186);function s(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}function l(e,t,r){return void 0===r&&(r={}),t.reduce(function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t},{})}var u={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){},onWarn:function(e){}};function c(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function d(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function f(e){void 0===e&&(e=c());var t=Intl.RelativeTimeFormat,r=Intl.ListFormat,a=Intl.DisplayNames,s=(0,i.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},{cache:d(e.dateTime),strategy:i.W.variadic}),l=(0,i.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},{cache:d(e.number),strategy:i.W.variadic}),u=(0,i.B)(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,n.__spreadArray)([void 0],t,!1)))},{cache:d(e.pluralRules),strategy:i.W.variadic});return{getDateTimeFormat:s,getNumberFormat:l,getMessageFormat:(0,i.B)(function(e,t,r,i){return new o.S(e,t,r,(0,n.__assign)({formatters:{getNumberFormat:l,getDateTimeFormat:s,getPluralRules:u}},i||{}))},{cache:d(e.message),strategy:i.W.variadic}),getRelativeTimeFormat:(0,i.B)(function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new(t.bind.apply(t,(0,n.__spreadArray)([void 0],e,!1)))},{cache:d(e.relativeTime),strategy:i.W.variadic}),getPluralRules:u,getListFormat:(0,i.B)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(r.bind.apply(r,(0,n.__spreadArray)([void 0],e,!1)))},{cache:d(e.list),strategy:i.W.variadic}),getDisplayNames:(0,i.B)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(a.bind.apply(a,(0,n.__spreadArray)([void 0],e,!1)))},{cache:d(e.displayNames),strategy:i.W.variadic})}}function h(e,t,r,n){var i,o=e&&e[t];if(o&&(i=o[r]),i)return i;n(new a.OC("No ".concat(t," format named: ").concat(r)))}},84918:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.13.8"},85210:(e,t)=>{"use strict";function r(e){var t;let{config:r,src:n,width:i,quality:o}=e,a=o||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+i+"&q="+a+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},86158:(e,t,r)=>{"use strict";var n;r.d(t,{Ll:()=>l,aD:()=>a,aZ:()=>i,cE:()=>n,ou:()=>o});class i{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let a={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(a));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={}))},86373:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(96427),i=r(79350),o=r(41547);function a(){let e=(0,n._)(["\n fragment UserFragment on User {\n _id\n lastBillingAddress {\n firstName\n lastName\n company\n addressLine\n addressLine2\n postalCode\n countryCode\n regionCode\n city\n }\n lastContact {\n emailAddress\n telNumber\n }\n lastLogin {\n countryCode\n locale\n remoteAddress\n remotePort\n timestamp\n userAgent\n }\n avatar {\n _id\n name\n size\n type\n url\n }\n allowedActions\n paymentCredentials {\n _id\n isValid\n isPreferred\n paymentProvider {\n _id\n type\n interface {\n _id\n label\n version\n }\n }\n }\n emails {\n verified\n address\n }\n web3Addresses {\n address\n nonce\n verified\n }\n webAuthnCredentials {\n _id\n created\n aaguid\n counter\n mdsMetadata {\n ...MD5MetaDataFragment\n }\n }\n profile {\n displayName\n phoneMobile\n gender\n address {\n firstName\n lastName\n company\n addressLine\n addressLine2\n postalCode\n countryCode\n regionCode\n city\n }\n birthday\n }\n username\n primaryEmail {\n verified\n address\n }\n isGuest\n isInitialPassword\n name\n roles\n tags\n deleted\n cart {\n _id\n items {\n _id\n }\n }\n orders {\n _id\n items {\n _id\n }\n }\n }\n ","\n"]);return a=function(){return e},e}let s=(0,i.J1)(a(),o.A)},86962:(e,t,r)=>{"use strict";r.d(t,{bq:()=>i,wt:()=>o,sD:()=>n}),r(82505);function n(e,t){return!!t&&!!e&&e.contains(t)}let i=(e=document)=>e.activeElement;function o(e){return e.target}},87247:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,f=r?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=f,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=f,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),o-=u}return(h?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,f=5960464477539062e-23*(23===i),h=n?0:o-1,p=n?1:-1,g=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+h]=255&a,h+=p,a/=256,u-=8);e[r+h-p]|=128*g}},87560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartitionRelativeTimePattern=function(e,t,r,a){var s=a.getInternalSlots;if((0,n.invariant)("Number"===(0,n.Type)(t),"value must be number, instead got ".concat(typeof t),TypeError),(0,n.invariant)("String"===(0,n.Type)(r),"unit must be number, instead got ".concat(typeof t),TypeError),isNaN(t)||!isFinite(t))throw RangeError("Invalid value ".concat(t));var l=(0,i.SingularRelativeTimeUnit)(r),u=s(e),c=u.fields,d=u.style,f=u.numeric,h=u.pluralRules,p=u.numberFormat,g=l;"short"===d?g="".concat(l,"-short"):"narrow"===d&&(g="".concat(l,"-narrow")),g in c||(g=l);var m=c[g];if("auto"===f&&(0,n.ToString)(t)in m)return[{type:"literal",value:m[(0,n.ToString)(t)]}];var _="future";((0,n.SameValue)(t,-0)||t<0)&&(_="past");var y=m[_],v="function"==typeof p.formatToParts?p.formatToParts(Math.abs(t)):[{type:"literal",value:p.format(Math.abs(t)),unit:r}],b=y[h.select(t)];return(0,o.MakePartsList)(b,l,v)};var n=r(77262),i=r(22249),o=r(8665)},89048:(e,t,r)=>{"use strict";r.d(t,{B:()=>d,p:()=>f});var n,i,o=r(14232),a=r(21588),s=r(38591),l=r(77e3),u=r(99742);void 0!==u&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&(null==(n=null==u?void 0:u.env)?void 0:n.NODE_ENV)==="test"&&void 0===(null==(i=null==Element?void 0:Element.prototype)?void 0:i.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn("Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.\nPlease install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.\n\nExample usage:\n```js\nimport { mockAnimationsApi } from 'jsdom-testing-mocks'\nmockAnimationsApi()\n```"),[]});var c=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(c||{});function d(e){let t={};for(let r in e)!0===e[r]&&(t["data-".concat(r)]="");return t}function f(e,t,r,n){let[i,u]=(0,o.useState)(r),{hasFlag:c,addFlag:d,removeFlag:f}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,r]=(0,o.useState)(e),n=(0,o.useCallback)(e=>r(e),[t]),i=(0,o.useCallback)(e=>r(t=>t|e),[t]),a=(0,o.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:i,hasFlag:a,removeFlag:(0,o.useCallback)(e=>r(t=>t&~e),[r]),toggleFlag:(0,o.useCallback)(e=>r(t=>t^e),[r])}}(e&&i?3:0),h=(0,o.useRef)(!1),p=(0,o.useRef)(!1),g=(0,s.L)();return(0,l.s)(()=>{var i;if(e){if(r&&u(!0),!t){r&&d(3);return}return null==(i=null==n?void 0:n.start)||i.call(n,r),function(e,t){let{prepare:r,run:n,done:i,inFlight:o}=t,s=(0,a.e)();return function(e,t){let{inFlight:r,prepare:n}=t;if(null!=r&&r.current)return n();let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}(e,{prepare:r,inFlight:o}),s.nextFrame(()=>{n(),s.requestAnimationFrame(()=>{s.add(function(e,t){var r,n;let i=(0,a.e)();if(!e)return i.dispose;let o=!1;i.add(()=>{o=!0});let s=null!=(n=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===s.length?t():Promise.allSettled(s.map(e=>e.finished)).then(()=>{o||t()}),i.dispose}(e,i))})}),s.dispose}(t,{inFlight:h,prepare(){p.current?p.current=!1:p.current=h.current,h.current=!0,p.current||(r?(d(3),f(4)):(d(4),f(2)))},run(){p.current?r?(f(3),d(4)):(f(4),d(3)):r?f(1):d(1)},done(){var e;p.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(h.current=!1,f(7),r||u(!1),null==(e=null==n?void 0:n.end)||e.call(n,r))}})}},[e,r,t,g]),e?[i,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},89099:(e,t,r)=>{e.exports=r(84294)},89356:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GetOperands=function(e){(0,n.invariant)("string"==typeof e,"GetOperands should have been called with a string");var t,r,i,o,a,s=(0,n.ToNumber)(e);(0,n.invariant)(s.isFinite(),"n should be finite");var l=e.indexOf("."),u="";-1===l?(t=s,r=n.ZERO,i=0):(t=e.slice(0,l),u=e.slice(l,e.length),r=(0,n.ToNumber)(u),i=u.length);var c=(0,n.ToNumber)(t).abs();if(r.isZero())o=0,a=n.ZERO;else{var d=u.replace(/0+$/,"");o=d.length,a=(0,n.ToNumber)(d)}return{Number:s,IntegerDigits:c.toNumber(),NumberOfFractionDigits:i,NumberOfFractionDigitsWithoutTrailing:o,FractionDigits:r.toNumber(),FractionDigitsWithoutTrailing:a.toNumber()}};var n=r(77262)},90600:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=function(e){if(void 0===e&&(e="en"),!("PluralRules"in Intl)||"one"===new Intl.PluralRules("en",{minimumFractionDigits:2}).select(1)||!function(e){if(!e)return!0;var t=Array.isArray(e)?e:[e];return Intl.PluralRules.supportedLocalesOf(t).length===t.length}(e))return e?(0,n.match)([e],i.supportedLocales,"en"):void 0};var n=r(83792),i=r(98394)},91325:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),i=r(14232),o=r(77742),a=r(61524),s=r(6014);let l=e=>{let{narrowNav:t=!1}=e,{locale:r,formatMessage:l}=(0,o.A)(),[u,c]=(0,i.useState)(!1),d=["en","de"],f=d.find(e=>e===r)||"en",[,h]=(0,s.A)("preferred-language",f),p=async e=>{try{h(e),window.location.reload(),c(!1)}catch(e){console.error("Failed to change language:",e)}};return(0,i.useEffect)(()=>{let e=e=>{e.target.closest("[data-language-toggle]")||c(!1)};if(u)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[u]),(0,n.jsxs)("div",{className:"relative","data-language-toggle":!0,children:[(0,n.jsx)("button",{onClick:()=>c(!u),className:"flex items-center space-x-1 p-2 text-slate-600 dark:text-sky-400 hover:text-slate-900 dark:hover:text-slate-200 rounded-md hover:bg-slate-100 dark:hover:bg-slate-800 transition-colors focus:outline-hidden focus:ring-2 focus:ring-slate-800",title:l({id:"change_language",defaultMessage:"Change language"}),children:(0,n.jsx)(a.A,{className:"h-6 w-6"})}),u&&(0,n.jsx)("div",{className:"absolute w-48 rounded-md shadow-lg bg-white dark:bg-slate-800 ring-1 ring-black ring-opacity-5 z-[9999] ".concat(t?"left-full ml-2 bottom-0":"right-0 md:left-full md:ml-2 md:bottom-full md:mb-2 mt-2 md:mt-0"),children:(0,n.jsxs)("div",{className:"py-1",role:"menu",children:[(0,n.jsx)("div",{className:"px-4 py-2 text-xs font-semibold text-slate-500 dark:text-slate-400 uppercase tracking-wide border-b border-slate-200 dark:border-slate-700",children:l({id:"select_language",defaultMessage:"Select Language"})}),d.map(e=>(0,n.jsx)("button",{onClick:()=>p(e),className:"w-full text-left px-4 py-2 text-sm hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors ".concat(f===e?"bg-slate-50 dark:bg-slate-700 text-slate-900 dark:text-slate-100 font-medium":"text-slate-700 dark:text-slate-300"),role:"menuitem",children:(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{children:(e=>({en:"English",de:"Deutsch",fr:"Fran\xe7ais",es:"Espa\xf1ol",it:"Italiano"})[e]||e.toUpperCase())(e)}),f===e&&(0,n.jsx)("div",{className:"h-2 w-2 rounded-full bg-slate-800"})]})},e))]})})]})}},92436:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(14232),i=r(22160);let o=()=>(0,n.useContext)(i.A)},93903:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);let i=n.forwardRef(function(e,t){let{title:r,titleId:i,...o}=e;return n.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":i},o),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10.343 3.94c.09-.542.56-.94 1.11-.94h1.093c.55 0 1.02.398 1.11.94l.149.894c.07.424.384.764.78.93.398.164.855.142 1.205-.108l.737-.527a1.125 1.125 0 0 1 1.45.12l.773.774c.39.389.44 1.002.12 1.45l-.527.737c-.25.35-.272.806-.107 1.204.165.397.505.71.93.78l.893.15c.543.09.94.559.94 1.109v1.094c0 .55-.397 1.02-.94 1.11l-.894.149c-.424.07-.764.383-.929.78-.165.398-.143.854.107 1.204l.527.738c.32.447.269 1.06-.12 1.45l-.774.773a1.125 1.125 0 0 1-1.449.12l-.738-.527c-.35-.25-.806-.272-1.203-.107-.398.165-.71.505-.781.929l-.149.894c-.09.542-.56.94-1.11.94h-1.094c-.55 0-1.019-.398-1.11-.94l-.148-.894c-.071-.424-.384-.764-.781-.93-.398-.164-.854-.142-1.204.108l-.738.527c-.447.32-1.06.269-1.45-.12l-.773-.774a1.125 1.125 0 0 1-.12-1.45l.527-.737c.25-.35.272-.806.108-1.204-.165-.397-.506-.71-.93-.78l-.894-.15c-.542-.09-.94-.56-.94-1.109v-1.094c0-.55.398-1.02.94-1.11l.894-.149c.424-.07.765-.383.93-.78.165-.398.143-.854-.108-1.204l-.526-.738a1.125 1.125 0 0 1 .12-1.45l.773-.773a1.125 1.125 0 0 1 1.45-.12l.737.527c.35.25.807.272 1.204.107.397-.165.71-.505.78-.929l.15-.894Z"}),n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))})},93957:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},94162:(e,t,r)=>{"use strict";r.d(t,{l:()=>i});var n=r(66799);function i(e){let t=e.parentElement,r=null;for(;t&&!n.Er(t);)n.Jb(t)&&(r=t),t=t.parentElement;let i=(null==t?void 0:t.getAttribute("disabled"))==="";return!(i&&function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(n.Jb(t))return!1;t=t.previousElementSibling}return!0}(r))&&i}},94410:e=>{"use strict";var t=function(e){var t,n,i;return!!(t=e)&&"object"==typeof t&&(n=e,"[object RegExp]"!==(i=Object.prototype.toString.call(n))&&"[object Date]"!==i&&n.$$typeof!==r)},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function i(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,r,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=n;var u,c,d=Array.isArray(r);return d!==Array.isArray(e)?n(r,l):d?l.arrayMerge(e,r,l):(c={},(u=l).isMergeableObject(e)&&o(e).forEach(function(t){c[t]=n(e[t],u)}),o(r).forEach(function(t){a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(a(e,t)&&u.isMergeableObject(r[t])?c[t]=(function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s})(t,u)(e[t],r[t],u):c[t]=n(r[t],u))}),c)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})},e.exports=s},94587:(e,t,r)=>{"use strict";var n;r.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(n||(n={}))},94655:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(96427),i=r(14232),o=r(79350),a=r(54431),s=r(77742);function l(){let e=(0,n._)(["\n query ShopStatus {\n countriesCount\n currenciesCount\n languagesCount\n productsCount\n assortmentsCount\n filtersCount\n deliveryProvidersCount\n paymentProvidersCount\n }\n"]);return l=function(){return e},e}let u=(0,o.J1)(l()),c=()=>{let{formatMessage:e}=(0,s.A)(),{data:t,loading:r,error:n}=(0,a.IT)(u);return{configuration:(0,i.useMemo)(()=>{let r={...(e=>({currenciesCount:{id:"currencies",title:e({id:"currencies",defaultMessage:"Currencies"}),description:e({id:"currency_config_description",defaultMessage:"Set up currencies for pricing and payments"}),isRequired:!0,setupUrl:"/currency/new",category:"essential",estimatedTime:"2 min",icon:"currency",isComplete:!1},countriesCount:{id:"countries",title:e({id:"countries",defaultMessage:"Countries"}),description:e({id:"countries_config_description",defaultMessage:"Configure countries and assign default currencies"}),isRequired:!0,setupUrl:"/country/new",category:"essential",estimatedTime:"2 min",icon:"globe",isComplete:!1},languagesCount:{id:"languages",title:e({id:"languages",defaultMessage:"Languages"}),description:e({id:"language_config_description",defaultMessage:"Configure languages for content localization"}),isRequired:!0,setupUrl:"/language/new",category:"essential",estimatedTime:"2 min",icon:"language",isComplete:!1},paymentProvidersCount:{id:"payment",title:e({id:"payment_processing",defaultMessage:"Payment Processing"}),description:e({id:"payment_processing_config_description",defaultMessage:"Invoice payment provider is already configured"}),isRequired:!0,setupUrl:"/payment-provider/new",category:"commerce",estimatedTime:"10 min",icon:"credit-card",isComplete:!1},deliveryProvidersCount:{id:"delivery",title:e({id:"delivery_processing",defaultMessage:"Shipping & Delivery"}),description:e({id:"delivery_processing_config_description",defaultMessage:"Delivery methods are already configured"}),isRequired:!0,setupUrl:"/delivery-provider/new",category:"commerce",estimatedTime:"10 min",icon:"truck",isComplete:!1},productsCount:{id:"products",title:e({id:"products",defaultMessage:"Products"}),description:e({id:"products_config_description",defaultMessage:"Create your first products"}),isRequired:!0,setupUrl:"/products/new",category:"content",estimatedTime:"5 min",icon:"cube",isComplete:!1},assortmentsCount:{id:"assortments",title:e({id:"assortments",defaultMessage:"Assortments"}),description:e({id:"assortment_config_description",defaultMessage:"Organize products into categories"}),isRequired:!1,setupUrl:"/assortments/new",category:"content",estimatedTime:"3 min",icon:"folder",isComplete:!1}}))(e)};if(t)for(let e of Object.keys(r))r[e]={...r[e],isComplete:(null==t?void 0:t[e])>0};return(e=>{let t=Object.values(e),r=t.filter(e=>e.isComplete),n=t.filter(e=>e.isRequired),i=n.filter(e=>e.isComplete),o=t.filter(e=>"essential"===e.category),a=t.filter(e=>"commerce"===e.category),s=t.filter(e=>"content"===e.category);return{steps:e,completedSteps:r,overallProgress:Math.round(r.length/t.length*100),isFullyConfigured:i.length===n.length,essentialStepsComplete:o.every(e=>e.isComplete),commerceStepsComplete:a.filter(e=>e.isRequired).every(e=>e.isComplete),contentStepsComplete:s.every(e=>e.isComplete),essentialSteps:o,commerceSteps:a,contentSteps:s}})(r)},[t]),loading:r,error:n}}},94745:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shouldPolyfill=function(e){if(void 0===e&&(e="en"),!("RelativeTimeFormat"in Intl)||!function(e){if(!e)return!0;var t=Array.isArray(e)?e:[e];return Intl.RelativeTimeFormat.supportedLocalesOf(t).length===t.length}(e)||!function(e){try{return"numberingSystem"in new Intl.RelativeTimeFormat(e||"en",{numeric:"auto"}).resolvedOptions()}catch(e){return!1}}(e))return(0,n.match)([e],i.supportedLocales,"en")};var n=r(83792),i=r(4007)},94852:(e,t,r)=>{"use strict";r.d(t,{l:()=>l});var n,i=r(60427),o=r(80542),a=r(17318),s=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function l(){(0,a.V1)("createContext"in(n||(n=r.t(i,2))),54);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},95682:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>l});var n=r(99853),i=r(36898),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},l=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},96427:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:()=>n})},98149:(e,t,r)=>{"use strict";function n(e,t){var r=t&&t.cache?t.cache:l,n=t&&t.serializer?t.serializer:a;return(t&&t.strategy?t.strategy:function(e,t){var r,n,a=1===e.length?i:o;return r=t.cache.create(),n=t.serializer,a.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function i(e,t,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=t.get(i);return void 0===o&&(o=e.call(this,n),t.set(i,o)),o}function o(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return void 0===o&&(o=e.apply(this,n),t.set(i,o)),o}r.d(t,{B:()=>n,W:()=>u});var a=function(){return JSON.stringify(arguments)},s=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),l={create:function(){return new s}},u={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,o.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)}}},98394:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.supportedLocales=void 0,t.supportedLocales=["af","ak","am","an","ar","ars","as","asa","ast","az","bal","be","bem","bez","bg","bho","bm","bn","bo","br","brx","bs","ca","ce","ceb","cgg","chr","ckb","cs","cy","da","de","doi","dsb","dv","dz","ee","el","en","eo","es","et","eu","fa","ff","fi","fil","fo","fr","fur","fy","ga","gd","gl","gsw","gu","guw","gv","ha","haw","he","hi","hnj","hr","hsb","hu","hy","ia","id","ig","ii","io","is","it","iu","ja","jbo","jgo","jmc","jv","jw","ka","kab","kaj","kcg","kde","kea","kk","kkj","kl","km","kn","ko","ks","ksb","ksh","ku","kw","ky","lag","lb","lg","lij","lkt","ln","lo","lt","lv","mas","mg","mgo","mk","ml","mn","mo","mr","ms","mt","my","nah","naq","nb","nd","ne","nl","nn","nnh","no","nqo","nr","nso","ny","nyn","om","or","os","osa","pa","pap","pcm","pl","prg","ps","pt","pt-PT","rm","ro","rof","ru","rwk","sah","saq","sat","sc","scn","sd","sdh","se","seh","ses","sg","sh","shi","si","sk","sl","sma","smi","smj","smn","sms","sn","so","sq","sr","ss","ssy","st","su","sv","sw","syr","ta","te","teo","th","ti","tig","tk","tl","tn","to","tpi","tr","ts","tzm","ug","uk","und","ur","uz","ve","vi","vo","vun","wa","wae","wo","xh","xog","yi","yo","yue","zh","zu"]},99442:(e,t,r)=>{"use strict";function n(e,t){for(var r=arguments.length,i=Array(r>2?r-2:0),o=2;o<r;o++)i[o-2]=arguments[o];if(e in t){let r=t[e];return"function"==typeof r?r(...i):r}let a=Error('Tried to handle "'.concat(e,'" but there is no handler defined. Only defined handlers are: ').concat(Object.keys(t).map(e=>'"'.concat(e,'"')).join(", "),"."));throw Error.captureStackTrace&&Error.captureStackTrace(a,n),a}r.d(t,{Y:()=>n})},99853:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,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 t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(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:e,newer:r}=t;r&&(r.older=e),e&&(e.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 r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.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))}}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(92),t(84294))),_N_E=e.O()}]);
|