@unchainedshop/admin-ui 4.0.11 → 4.0.13
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/README.md +1 -1
- package/dist/express.d.ts +1 -7
- package/dist/express.js +9 -9
- package/dist/fastify.d.ts +1 -6
- package/dist/fastify.js +5 -6
- package/dist/generateImageHandler.d.ts +4 -3
- package/dist/generateImageHandler.js +2 -6
- package/dist/index.d.ts +3 -3
- package/dist/index.js +21 -5
- package/dist/utils.d.ts +10 -0
- 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/{K-CrOGD443zyh7c6f3pNZ → VfAuif9Gz8EDlt3a2r4DY}/_buildManifest.js +1 -1
- package/out/_next/static/chunks/1992-688842cb5a8dc27a.js +1 -0
- package/out/_next/static/chunks/pages/_app-f1a903d318cde6de.js +20 -0
- package/out/_next/static/chunks/pages/index-d152ef3eb4c2cdb0.js +1 -0
- package/out/_next/static/chunks/pages/index.old-ca9913252213f8e7.js +1 -0
- package/out/_next/static/chunks/pages/log-in-ab07b5daea724e34.js +1 -0
- package/out/_next/static/css/{81a0dabe196c7c51.css → 15e6d4853207616b.css} +1 -1
- 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/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/index.old/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/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 +17 -21
- package/dist/types.d.ts +0 -6
- package/dist/types.js +0 -2
- package/out/_next/static/chunks/1992-6cf6cd6aad213191.js +0 -1
- package/out/_next/static/chunks/pages/_app-dd71174e68d4fcef.js +0 -20
- package/out/_next/static/chunks/pages/index-43b0d7b964b1c176.js +0 -1
- package/out/_next/static/chunks/pages/index.old-bca419033104c6c7.js +0 -1
- package/out/_next/static/chunks/pages/log-in-ec525d25028ee8df.js +0 -1
- /package/out/_next/static/{K-CrOGD443zyh7c6f3pNZ → VfAuif9Gz8EDlt3a2r4DY}/_ssgManifest.js +0 -0
- /package/out/_next/static/chunks/{5671-4381658e735df1f6.js → 5671-e0cb07e96c9d3f37.js} +0 -0
- /package/out/_next/static/chunks/{main-ce22bce11b25ace0.js → main-b12018dbe4e28149.js} +0 -0
|
@@ -1,20 +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(44179)}])},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),a=r(37876),o=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),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function g(e,t,r,n,i,a,o){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 o.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,o.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:m,unoptimized:y,fill:v,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:E,setShowAltText:k,sizesInput:T,onLoad:S,onError:x,...A}=e,I=(0,o.useCallback)(e=>{e&&(x&&(e.src=e.src),e.complete&&g(e,h,b,w,E,y,T))},[r,h,b,w,E,x,y,T]),O=(0,p.useMergedRef)(t,I);return(0,a.jsx)("img",{...A,..._(f),loading:m,width:l,height:s,decoding:u,"data-nimg":v?"fill":"1",className:c,style:d,sizes:i,srcSet:n,src:r,ref:O,onLoad:e=>{g(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,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let r=(0,o.useContext)(f.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=m||n||c.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),i=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:a}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,o.useRef)(s);(0,o.useEffect)(()=>{p.current=s},[s]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[_,b]=(0,o.useState)(!1),[w,E]=(0,o.useState)(!1),{props:k,meta:T}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:_,showAltText:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(y,{...k,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:b,setShowAltText:E,sizesInput:e.sizes,ref:t}),T.priority?(0,a.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"]},4301:(e,t,r)=>{"use strict";r.d(t,{N9:()=>B,oR:()=>N});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 a=t.length;for(r=0;r<a;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 a=e=>"number"==typeof e&&!isNaN(e),o=e=>"string"==typeof e,s=e=>"function"==typeof e,l=e=>o(e)||a(e),u=e=>o(e)||s(e)?e:null,c=(e,t)=>!1===e||a(e)&&e>0?e:t,d=e=>(0,n.isValidElement)(e)||o(e)||s(e)||a(e);function f({enter:e,exit:t,appendPosition:r=!1,collapse:i=!0,collapseDuration:a=300}){return function({children:o,position:s,preventExitTransition:l,done:u,nodeRef:c,isIn:d,playToast:f}){let h=r?`${e}--${s}`:e,p=r?`${t}--${s}`:t,m=(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===m.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,a):u()};d||(l?t():(m.current=1,e.className+=` ${p}`,e.addEventListener("animationend",t)))},[d]),n.createElement(n.Fragment,null,o)}}function h(e,t){return{content:p(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 p(e,t,r=!1){return(0,n.isValidElement)(e)&&!o(e.type)?(0,n.cloneElement)(e,{closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:r}):s(e)?e({closeToast:t.closeToast,toastProps:t,data:t.data,isPaused:r}):e}function m({delay:e,isRunning:t,closeToast:r,type:a="default",hide:o,className:l,controlledProgress:u,progress:c,rtl:d,isIn:f,theme:h}){let p=o||u&&0===c,m={animationDuration:`${e}ms`,animationPlayState:t?"running":"paused"};u&&(m.transform=`scaleX(${c})`);let g=i("Toastify__progress-bar",u?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${h}`,`Toastify__progress-bar--${a}`,{"Toastify__progress-bar--rtl":d}),_=s(l)?l({rtl:d,type:a,defaultClassName:g}):i(g,l);return n.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":p},n.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${h} Toastify__progress-bar--${a}`}),n.createElement("div",{role:"progressbar","aria-hidden":p?"true":"false","aria-label":"notification timer",className:_,style:m,...{[u&&c>=1?"onTransitionEnd":"onAnimationEnd"]:u&&c<1?null:()=>{f&&r()}}}))}var g=1,_=()=>`${g++}`,y=new Map,v=[],b=new Set,w=e=>b.forEach(t=>t(e)),E=()=>y.size>0,k=(e,{containerId:t})=>{var r;return null==(r=y.get(t||1))?void 0:r.toasts.get(e)};function T(e,t){var r;if(t)return!!(null!=(r=y.get(t))&&r.isToastActive(e));let n=!1;return y.forEach(t=>{t.isToastActive(e)&&(n=!0)}),n}function S(e,t){d(e)&&(E()||v.push({content:e,options:t}),y.forEach(r=>{r.buildToast(e,t)}))}function x(e,t){y.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 A(e,t){return S(e,t),t.toastId}function I(e,t){return{...t,type:t&&t.type||e,toastId:t&&(o(t.toastId)||a(t.toastId))?t.toastId:_()}}function O(e){return(t,r)=>A(t,I(e,r))}function N(e,t){return A(e,I("default",t))}N.loading=(e,t)=>A(e,I("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),N.promise=function(e,{pending:t,error:r,success:n},i){let a;t&&(a=o(t)?N.loading(t,i):N.loading(t.render,{...i,...t}));let l={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,r)=>{if(null==t)return void N.dismiss(a);let n={type:e,...l,...i,data:r},s=o(t)?{render:t}:t;return a?N.update(a,{...n,...s}):N(s.render,{...n,...s}),r},c=s(e)?e():e;return c.then(e=>u("success",n,e)).catch(e=>u("error",r,e)),c},N.success=O("success"),N.info=O("info"),N.error=O("error"),N.warning=O("warning"),N.warn=N.warning,N.dark=(e,t)=>A(e,I("default",{theme:"dark",...t})),N.dismiss=function(e){!function(e){if(!E()){v=v.filter(t=>null!=e&&t.options.toastId!==e);return}if(null==e||l(e))y.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=y.get(e.containerId);t?t.removeToast(e.id):y.forEach(t=>{t.removeToast(e.id)})}}(e)},N.clearWaitingQueue=(e={})=>{y.forEach(t=>{t.props.limit&&(!e.containerId||t.id===e.containerId)&&t.clearQueue()})},N.isActive=T,N.update=(e,t={})=>{let r=k(e,t);if(r){let{props:n,content:i}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:_()};a.toastId!==e&&(a.staleId=e);let o=a.render||i;delete a.render,A(o,a)}},N.done=e=>{N.update(e,{progress:1})},N.onChange=function(e){return b.add(e),()=>{b.delete(e)}},N.play=e=>x(!0,e),N.pause=e=>x(!1,e);var D="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,C=({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}),P={info:function(e){return n.createElement(C,{...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(C,{...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(C,{...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(C,{...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"})}},L=e=>e in P,R=e=>{let{isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:o,playToast:l}=function(e){var t,r;let[i,a]=(0,n.useState)(!1),[o,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:p}=e;function m(){a(!0)}function g(){a(!1)}function _(t){let r=l.current;if(u.canDrag&&r){u.didMove=!0,i&&g(),"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",_),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:a},null==(r=y.get(t.containerId||1))||r.setToggle(t.id,t.fn),(0,n.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||g(),window.addEventListener("focus",m),window.addEventListener("blur",g),()=>{window.removeEventListener("focus",m),window.removeEventListener("blur",g)}},[e.pauseOnFocusLoss]);let b={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){u.didMove=!1,document.addEventListener("pointermove",_),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:a}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=i&&t.clientX<=a&&t.clientY>=r&&t.clientY<=n?g():m()}};return c&&d&&(b.onMouseEnter=g,e.stacked||(b.onMouseLeave=m)),p&&(b.onClick=e=>{h&&h(e),u.canCloseOnClick&&f(!0)}),{playToast:m,pauseToast:g,isRunning:i,preventExitTransition:o,toastRef:l,eventHandlers:b}}(e),{closeButton:u,children:c,autoClose:d,onClick:f,type:h,hideProgressBar:g,closeToast:_,transition:v,position:b,className:w,style:E,progressClassName:k,updateId:T,role:S,progress:x,rtl:A,toastId:I,deleteToast:O,isIn:N,isLoading:D,closeOnClick:C,theme:R,ariaLabel:M}=e,F=i("Toastify__toast",`Toastify__toast-theme--${R}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":A},{"Toastify__toast--close-on-click":C}),j=s(w)?w({rtl:A,position:b,type:h,defaultClassName:F}):i(F,w),B=function({theme:e,type:t,isLoading:r,icon:i}){let a=null,o={theme:e,type:t};return!1===i||(s(i)?a=i({...o,isLoading:r}):(0,n.isValidElement)(i)?a=(0,n.cloneElement)(i,o):r?a=P.spinner():L(t)&&(a=P[t](o))),a}(e),U=!!x||!d,V={closeToast:_,type:h,theme:R},z=null;return!1===u||(z=s(u)?u(V):(0,n.isValidElement)(u)?(0,n.cloneElement)(u,V):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"})))}(V)),n.createElement(v,{isIn:N,done:O,position:b,preventExitTransition:r,nodeRef:a,playToast:l},n.createElement("div",{id:I,tabIndex:0,onClick:f,"data-in":N,className:j,...o,style:E,ref:a,...N&&{role:S,"aria-label":M}},null!=B&&n.createElement("div",{className:i("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!D})},B),p(c,e,!t),z,!e.customProgressBar&&n.createElement(m,{...T&&!U?{key:`p-${T}`}:{},rtl:A,theme:R,delay:d,isRunning:t,isIn:N,closeToast:_,hide:g,type:h,className:k,controlledProgress:U,progress:x||0})))},M=(e,t=!1)=>({enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}),F=f(M("bounce",!0));f(M("slide",!0)),f(M("zoom")),f(M("flip"));var j={position:"top-right",transition:F,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 B(e){let t={...j,...e},r=e.stacked,[o,l]=(0,n.useState)(!0),f=(0,n.useRef)(null),{getToastToRender:p,isToastActive:m,count:g}=function(e){var t;let r,{subscribe:i,getSnapshot:o,setProps:s}=(0,n.useRef)((r=e.containerId||1,{subscribe(t){let n,i,o,s,l,f,p,m,g,_,b,E,k=(n=1,i=0,o=[],s=[],l=e,f=new Map,p=new Set,m=()=>{s=Array.from(f.values()),p.forEach(e=>e())},g=({containerId:e,toastId:t,updateId:n})=>{let i=f.has(t)&&null==n;return(e?e!==r:1!==r)||i},_=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(_);else{let t=f.get(e);t&&_(t)}m()},E=e=>{var t,r;let{toastId:n,updateId:i}=e.props,a=null==i;e.staleId&&f.delete(e.staleId),e.isActive=!0,f.set(n,e),m(),w(h(e,a?"added":"updated")),a&&(null==(r=(t=e.props).onOpen)||r.call(t))},{id:r,props:l,observe:e=>(p.add(e),()=>p.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-=o.length,o=[]},buildToast:(e,t)=>{if(g(t))return;let{toastId:r,updateId:s,data:p,staleId:_,delay:y}=t,v=null==s;v&&i++;let k={...l,style:l.toastStyle,key:n++,...Object.fromEntries(Object.entries(t).filter(([e,t])=>null!=t)),toastId:r,updateId:s,data:p,isIn:!1,className:u(t.className||l.toastClassName),progressClassName:u(t.progressClassName||l.progressClassName),autoClose:!t.isLoading&&c(t.autoClose,l.autoClose),closeToast(e){f.get(r).removalReason=e,b(r)},deleteToast(){let e=f.get(r);if(null!=e){if(w(h(e,"removed")),f.delete(r),--i<0&&(i=0),o.length>0)return void E(o.shift());m()}}};k.closeButton=l.closeButton,!1===t.closeButton||d(t.closeButton)?k.closeButton=t.closeButton:!0===t.closeButton&&(k.closeButton=!d(l.closeButton)||l.closeButton);let T={content:e,props:k,staleId:_};l.limit&&l.limit>0&&i>l.limit&&v?o.push(T):a(y)?setTimeout(()=>{E(T)},y):E(T)},setProps(e){l=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:()=>s});y.set(r,k);let T=k.observe(t);return v.forEach(e=>S(e.content,e.options)),v=[],()=>{T(),y.delete(r)}},setProps(e){var t;null==(t=y.get(r))||t.setProps(e)},getSnapshot(){var e;return null==(e=y.get(r))?void 0:e.getSnapshot()}})).current;s(e);let l=null==(t=(0,n.useSyncExternalStore)(i,o,o))?void 0:t.slice();return{getToastToRender:function(t){if(!l)return[];let r=new Map;return e.newestOnTop&&l.reverse(),l.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:T,count:null==l?void 0:l.length}}(t),{className:_,style:b,rtl:E,containerId:k,hotKeys:x}=t;function A(){r&&(l(!0),N.play())}return D(()=>{var e;if(r){let r=f.current.querySelectorAll('[data-in="true"]'),n=null==(e=t.position)?void 0:e.includes("top"),i=0,a=0;Array.from(r).reverse().forEach((e,t)=>{e.classList.add("Toastify__toast--stacked"),t>0&&(e.dataset.collapsed=`${o}`),e.dataset.pos||(e.dataset.pos=n?"top":"bot");let r=i*(o?.2:1)+(o?0:12*t);e.style.setProperty("--y",`${n?r:-1*r}px`),e.style.setProperty("--g","12"),e.style.setProperty("--s",`${1-(o?a:0)}`),i+=e.offsetHeight,a+=.025})}},[o,g,r]),(0,n.useEffect)(()=>{function e(e){var t;let r=f.current;x(e)&&(null==(t=r.querySelector('[tabIndex="0"]'))||t.focus(),l(!1),N.pause()),"Escape"===e.key&&(document.activeElement===r||null!=r&&r.contains(document.activeElement))&&(l(!0),N.play())}return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[x]),n.createElement("section",{ref:f,className:"Toastify",id:k,onMouseEnter:()=>{r&&(l(!1),N.pause())},onMouseLeave:A,"aria-live":"polite","aria-atomic":"false","aria-relevant":"additions text","aria-label":t["aria-label"]},p((e,t)=>{let a,o=t.length?{...b}:{...b,pointerEvents:"none"};return n.createElement("div",{tabIndex:-1,className:(a=i("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":E}),s(_)?_({position:e,rtl:E,defaultClassName:a}):i(a,u(_))),"data-stacked":r,style:o,key:`c-${e}`},t.map(({content:e,props:t})=>n.createElement(R,{...t,stacked:r,collapseAll:A,isIn:m(t.toastId,t.containerId),key:`t-${t.key}`},e)))}))}},4361:(e,t,r)=>{e.exports=r(90472)},4902:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__addDisposableResource:()=>R,__assign:()=>a,__asyncDelegator:()=>S,__asyncGenerator:()=>T,__asyncValues:()=>x,__await:()=>k,__awaiter:()=>p,__classPrivateFieldGet:()=>C,__classPrivateFieldIn:()=>L,__classPrivateFieldSet:()=>P,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>F,__esDecorate:()=>u,__exportStar:()=>_,__extends:()=>i,__generator:()=>m,__importDefault:()=>D,__importStar:()=>N,__makeTemplateObject:()=>A,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>v,__rest:()=>o,__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 a=function(){return(a=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 o(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,a=arguments.length,o=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(o=(a<3?i(o):a>3?i(t,r,o):i(t,r))||o);return a>3&&o&&Object.defineProperty(t,r,o),o}function l(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,i,a){function o(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 m in n)p[m]="access"===m?{}:n[m];for(var m in n.access)p.access[m]=n.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");a.push(o(e||null))};var g=(0,r[h])("accessor"===l?{get:d.get,set:d.set}:d[u],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(s=o(g.get))&&(d.get=s),(s=o(g.set))&&(d.set=s),(s=o(g.init))&&i.unshift(s)}else(s=o(g))&&("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,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(o,s)}l((n=n.apply(e,t||[])).next())})}function m(e,t){var r,n,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){var u=[s,l];if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,u[0]&&(a=0)),a;)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 a.label++,{value:u[1],done:!1};case 5:a.label++,n=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){a.label=u[1];break}if(6===u[0]&&a.label<i[1]){a.label=i[1],i=u;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(u);break}i[2]&&a.ops.pop(),a.trys.pop();continue}u=t.call(e,a)}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 g=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)||g(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,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o}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 a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function E(e,t,r){if(r||2==arguments.length)for(var n,i=0,a=t.length;i<a;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||[]),a=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),n[Symbol.asyncIterator]=function(){return this},n;function o(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){a.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(a[0][2],r)}catch(e){c(a[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[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 a,o,s;a=n,o=i,s=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){a({value:e,done:s})},o)})}}}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},O=function(e){return(O=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 N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=O(e),n=0;n<r.length;n++)"default"!==r[n]&&g(t,e,r[n]);return I(t,e),t}function D(e){return e&&e.__esModule?e:{default:e}}function C(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 R(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 M="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 M(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 a=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(a).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,a){return r?t?".jsx":".js":!n||i&&a?n+i+"."+a.toLowerCase()+"js":e}):e}let B={__extends:i,__assign:a,__rest:o,__decorate:s,__param:l,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:_,__values:y,__read:v,__spread:b,__spreadArrays:w,__spreadArray:E,__await:k,__asyncGenerator:T,__asyncDelegator:S,__asyncValues:x,__makeTemplateObject:A,__importStar:N,__importDefault:D,__classPrivateFieldGet:C,__classPrivateFieldSet:P,__classPrivateFieldIn:L,__addDisposableResource:R,__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=a(e,n)),t&&(i.current=a(t,n))},[e,t])}function a(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),a=n._(r(14232)),o=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),m=r(5553);r(43207);let g=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(g.has(i))return;g.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let v=a.default.forwardRef(function(e,t){let r,n,{href:l,as:g,children:v,prefetch:b=null,passHref:w,replace:E,shallow:k,scroll:T,locale:S,onClick:x,onNavigate:A,onMouseEnter:I,onTouchStart:O,legacyBehavior:N=!1,...D}=e;r=v,N&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let C=a.default.useContext(d.RouterContext),P=!1!==b,{href:L,as:R}=a.default.useMemo(()=>{if(!C){let e=y(l);return{href:e,as:g?y(g):e}}let[e,t]=(0,o.resolveHref)(C,l,!0);return{href:e,as:g?(0,o.resolveHref)(C,g):t||e}},[C,l,g]),M=a.default.useRef(L),F=a.default.useRef(R);N&&(n=a.default.Children.only(r));let j=N?n&&"object"==typeof n&&n.ref:t,[B,U,V]=(0,f.useIntersection)({rootMargin:"200px"}),z=a.default.useCallback(e=>{(F.current!==R||M.current!==L)&&(V(),F.current=R,M.current=L),B(e)},[R,L,V,B]),q=(0,m.useMergedRef)(z,j);a.default.useEffect(()=>{C&&U&&P&&_(C,L,R,{locale:S})},[R,L,U,S,P,null==C?void 0:C.locale,C]);let H={ref:q,onClick(e){N||"function"!=typeof x||x(e),N&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),C&&(e.defaultPrevented||function(e,t,r,n,i,a,o,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==o||o;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:l,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,C,L,R,E,k,T,S,A))},onMouseEnter(e){N||"function"!=typeof I||I(e),N&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),C&&_(C,L,R,{locale:S,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){N||"function"!=typeof O||O(e),N&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),C&&_(C,L,R,{locale:S,priority:!0,bypassPrefetchedCheck:!0})}};if((0,u.isAbsoluteUrl)(R))H.href=R;else if(!N||w||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==C?void 0:C.locale;H.href=(null==C?void 0:C.isLocaleDomain)&&(0,h.getDomainLocale)(R,e,null==C?void 0:C.locales,null==C?void 0:C.domainLocales)||(0,p.addBasePath)((0,c.addLocale)(R,e,null==C?void 0:C.defaultLocale))}return N?a.default.cloneElement(n,H):(0,i.jsx)("a",{...D,...H,children:r})}),b=(0,a.createContext)({pending:!1}),w=()=>(0,a.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)},7672:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,Kq:()=>c,ob:()=>d});var n=r(4902),i=r(23520),a=r.n(i),o=r(14232),s=r(37154),l="undefined"==typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?o.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=o.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 o.createElement(u,null,function(r){h&&(0,s.HM)(r);var i,a=((i={})[l]=r,i);return o.createElement(e,(0,n.__assign)({},t,a,{ref:d?t.forwardedRef:null}))})};return(p.displayName="injectIntl(".concat(e.displayName||e.name||"Component",")"),p.WrappedComponent=e,d)?a()(o.forwardRef(function(e,t){return o.createElement(p,(0,n.__assign)({},e,{forwardedRef:t}))}),e):a()(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 a(e){return e>=97&&e<=122||e>=65&&e<=90}function o(e){return a(e)||95===e}function s(e){return a(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>o,xr:()=>s,yp:()=>i})},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),a=[],o=0;o<i.length;o++){var s=i[o];if("literal"===s.type)a.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];a.push({type:u.type,value:u.value,unit:t})}}}return a};var n=r(77262)},9758:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(96427),i=r(79350);function a(){let e=(0,n._)(["\n mutation Logout {\n logout {\n success\n }\n }\n "]);return a=function(){return e},e}let o=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;await e.mutate({mutation:(0,i.J1)(a())}),await e.resetStore(),t?t.push("/log-in"):window.location.href="/log-in"}},10143:(e,t,r)=>{"use strict";r.d(t,{RK:()=>o,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 m=p.value;if(!(u&&m in u))throw new a.Ei(m,d);var g=u[m];if((0,i.Im)(p)){g&&"string"!=typeof g&&"number"!=typeof g||(g="string"==typeof g||"number"==typeof g?String(g):""),f.push({type:"string"==typeof g?n.literal:n.object,value:g});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(g)});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(g)});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&&(g*=_.scale||1),f.push({type:n.literal,value:s.getNumberFormat(r,_).format(g)});continue}if((0,i.xm)(p)){var y=p.children,v=p.value,b=u[v];if(!o(b))throw new a.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[g]||p.options.other;if(!E)throw new a.$x(p.value,g,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(g)];if(!E){if(!Intl.PluralRules)throw new a.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',a.O4.MISSING_INTL_API,d);var k=s.getPluralRules(r,{type:p.pluralType}).select(g-(p.offset||0));E=p.options[k]||p.options.other}if(!E)throw new a.$x(p.value,g,Object.keys(p.options),d);f.push.apply(f,e(E.value,r,s,l,u,g-(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),a=r(26382);function o(e){return"function"==typeof e}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(n||(n={}))},11015:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=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"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%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 a=(null==i?void 0:i.once)?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:a,options:i}),t.addEventListener(r,a,i)},[]),r=(0,n.useCallback)((t,r,n,i)=>{var a;let o=(null==(a=e.current.get(n))?void 0:a.fn)||n;t.removeEventListener(r,o,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:()=>o,Ci:()=>l,FX:()=>h,mK:()=>s,oE:()=>p,v6:()=>f});var n=r(14232),i=r(42038),a=r(99442),o=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static",e))(o||{}),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:o,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!=o?o: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,a.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,a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,{as:s=r,children:l,refName:u="ref",...c}=m(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 g={};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(g["data-headlessui-state"]=r.join(" "),r))g["data-".concat(e)]=""}if(s===n.Fragment&&(Object.keys(p(c)).length>0||Object.keys(p(g)).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(a,' /> is rendering a "Fragment".'),"However we need to passthrough the following props:",Object.keys(p(c)).concat(Object.keys(p(g))).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),a=d(h.props,p(m(c,["ref"])));for(let e in g)e in a&&delete g[e];return(0,n.cloneElement)(h,Object.assign({},a,g,f,{ref:o((_=h,n.version.split(".")[0]>="19"?_.props.ref:_.ref),f.ref)},r?{className:r}:{}))}return(0,n.createElement)(s,Object.assign({},m(c,["ref"]),s!==n.Fragment&&f,s!==n.Fragment&&g),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),a=1;a<r;a++)n[a-1]=arguments[a];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 m(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:()=>a});var n=r(37876),i=r(77742);let a=()=>{let{formatMessage:e}=(0,i.A)();return(0,n.jsx)("div",{className:"my-5 flex h-full w-full items-center justify-center bg-white dark:bg-slate-900 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:()=>o});var n=r(37876),i=r(15039),a=r.n(i);let o=e=>{let{children:t,className:r=""}=e;return(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=a(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=a(t,r));return t}(r)))}return e}function a(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 a(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 o=function(){return"function"==typeof Symbol},s=function(e){return o()&&!!Symbol[e]},l=function(e){return s(e)?Symbol[e]:"@@"+e};o()&&!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 m(e){Promise.resolve().then(function(){try{e()}catch(e){p(e)}})}function g(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?g(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}],m(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),g(this))},a(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")},a(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(){a.unsubscribe(),r()}var a=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),a.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,a=arguments[1],o=a;return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(o),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,a=0;return!function e(o){n=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){a===r.length?(n=void 0,t.complete()):e(i.from(r[a++]))}})}(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=[],a=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var a=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),o()}});i.push(a)},error:function(e){n.error(e)},complete:function(){o()}});function o(){a.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),a.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 a=i.call(t);if(Object(a)!==a)throw TypeError(a+" is not an object");return a instanceof E&&a.constructor===r?a:new r(function(e){return a.subscribe(e)})}if(s("iterator")&&(i=f(t,u)))return new r(function(e){m(function(){if(!e.closed){for(var r,a=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=a()).done;){var o=r.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){m(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){m(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},a(e,null,[{key:d,get:function(){return this}}]),e}();o()&&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,...a}=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},a),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_:()=>o,cM:()=>l,ep:()=>s,tQ:()=>u});var n=r(4902),i=r(80593),a={};function o(e,t){a[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,o,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=a.print)?void 0:e.call(a),parser:null==(t=a.parser)?void 0:t.call(a),canonicalStringify:null==(r=a.canonicalStringify)?void 0:r.call(a),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=(o=this.cache).getMemoryInternals)?void 0:s.call(o))}}: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",a=Object.setPrototypeOf,o=void 0===a?function(e,t){return e.__proto__=t,e}:a,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,o(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 m=r(62091);function g(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:g(l.debug),log:g(l.log),warn:g(l.warn),error:g(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,m.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__},17830:(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,...a}=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},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 13.5h3.86a2.25 2.25 0 0 1 2.012 1.244l.256.512a2.25 2.25 0 0 0 2.013 1.244h3.218a2.25 2.25 0 0 0 2.013-1.244l.256-.512a2.25 2.25 0 0 1 2.013-1.244h3.859m-19.5.338V18a2.25 2.25 0 0 0 2.25 2.25h15A2.25 2.25 0 0 0 21.75 18v-4.162c0-.224-.034-.447-.1-.661L19.24 5.338a2.25 2.25 0 0 0-2.15-1.588H6.911a2.25 2.25 0 0 0-2.15 1.588L2.35 13.177a2.25 2.25 0 0 0-.1.661Z"}))})},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:()=>a});var n=r(4902),i=r(79760);function a(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),a=r(20583),o=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,a.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,o.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,o.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],a=i.data,o=i.locale,s=new Intl.Locale(o).minimize().toString();e.localeData[o]=e.localeData[s]=a,e.availableLocales.add(s),e.availableLocales.add(o),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),a=r(45813),o=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,a){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,a.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 m=Array.isArray(f),g=Array.isArray(h);if(m!==g)return!1;if(m&&g){var _=f.length;if(h.length!==_)return!1;for(var y=0;y<_;++y)if(!e(p,f[y],h[y],a))return!1;return!0}return e(p,f,h,a)}var v=(0,o.HQ)(t,a.fragmentMap);if(v)return!!c(v)||e(v.selectionSet,r,n,a)})}((0,a.Vn)(e).selectionSet,d,h,{fragmentMap:(0,o.JG)((0,a.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,o){var s=o.getInternalSlots,l=o.availableLocales,u=o.relevantExtensionKeys,c=o.localeData,d=o.getDefaultLocale,f=s(e);f.initializedRelativeTimeFormat=!0;var h=(0,n.CanonicalizeLocaleList)(t),p=Object.create(null),m=(0,n.CoerceOptionsToObject)(r);p.localeMatcher=(0,n.GetOption)(m,"localeMatcher","string",["best fit","lookup"],"best fit");var g=(0,n.GetOption)(m,"numberingSystem","string",void 0,void 0);if(void 0!==g&&!a.test(g))throw RangeError("Invalid numbering system ".concat(g));p.nu=g;var _=(0,i.ResolveLocale)(l,h,p,u,c,d),y=_.locale,v=_.nu;f.locale=y,f.style=(0,n.GetOption)(m,"style","string",["long","narrow","short"],"long"),f.numeric=(0,n.GetOption)(m,"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),a=/^[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,a=Function.prototype.toString,o=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let o=n.call(t);if(o!==n.call(r))return!1;switch(o){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),a=u(r),o=n.length;if(o!==a.length)return!1;for(let e=0;e<o;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<o;++i){let a=n[i];if(!e(t[a],r[a]))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]"===o;for(;;){let t=n.next();if(t.done)break;let[a,o]=t.value;if(!r.has(a)||i&&!e(o,r.get(a)))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=a.call(t);if(e!==a.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{o.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=o.get(e);if(r){if(r.has(t))return!0}else o.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])}},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 a={current:!0};return(0,n._)(()=>{a.current&&t[0]()}),r.add(()=>{a.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,a){var o=a.availableLocales,s=a.relevantExtensionKeys,l=a.localeData,u=a.getDefaultLocale,c=a.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)(o,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,...a}=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},a),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"}))})},23520:(e,t,r)=>{"use strict";var n=r(97225),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?o:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=o;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 o=c(r);d&&(o=o.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<o.length;++g){var _=o[g];if(!a[_]&&!(n&&n[_])&&!(m&&m[_])&&!(s&&s[_])){var y=f(r,_);try{u(t,_,y)}catch(e){}}}}return t}},24607:(e,t,r)=>{"use strict";r.d(t,{Y:()=>a});var n=r(14232),i=r(77e3);function a(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),a=r(54431);function o(){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 o=function(){return e},e}let s=(0,i.J1)(o()),l=()=>{let{data:e,loading:t,error:r}=(0,a.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:()=>o,Ei:()=>l,IF:()=>a,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 a=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),o=function(e){function t(t,r,i,a){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),n.INVALID_VALUE,a)||this}return(0,i.__extends)(t,e),t}(a),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}(a),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}(a)},26828:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});var n,i=r(95682),a=r(80593),o=r(17070),s=Object.assign(function(e){return JSON.stringify(e,l)},{reset:function(){n=new i.V(a.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 a=JSON.stringify(i),o=n.get(a);if(!o){i.sort();var s=JSON.stringify(i);o=n.get(s)||i,n.set(a,o),n.set(s,o)}var l=Object.create(r);return o.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,o.D_)("canonicalStringify",function(){return n.size}),s.reset()},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},a=n.useState,o=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=a({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]),o(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},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},32783:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=e=>{var t,r,n,i,a,o,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==(o=e.profile)||null==(a=o.address)?void 0:a.firstName)?"".concat(null==e||null==(l=e.profile)||null==(s=l.address)?void 0:s.lastName," ").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}},33228:(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))}}},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),a=["-moz-initial","fill","none","scale-down",void 0];function o(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:m=!1,loading:g,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:O="async",layout:N,objectFit:D,objectPosition:C,lazyBoundary:P,lazyRoot:L,...R}=e,{imgConf:M,showAltText:F,blurComplete:j,defaultLoader:B}=t,U=M||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 V=R.loader||B;delete R.loader,delete R.srcSet;let z="__next_img_default"in V;if(z){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=V;V=t=>{let{config:r,...n}=t;return e(n)}}if(N){"fill"===N&&(w=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[N];e&&(E={...E,...e});let t={responsive:"100vw",fill:"100vw"}[N];t&&!h&&(h=t)}let q="",H=s(v),G=s(b);if((l=f)&&"object"==typeof l&&(o(l)||void 0!==l.src)){let e=o(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=!m&&("lazy"===g||void 0===g);(!(f="string"==typeof f?f:q)||f.startsWith("data:")||f.startsWith("blob:"))&&(p=!0,W=!1),u.unoptimized&&(p=!0),z&&!u.dangerouslyAllowSVG&&f.split("?",1)[0].endsWith(".svg")&&(p=!0);let K=s(y),Z=Object.assign(w?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:D,objectPosition:C}:{},F?{}:{color:"transparent"},E),Q=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:Z.objectFit})+'")':'url("'+x+'")',$=a.includes(Z.objectFit)?"fill"===Z.objectFit?"100% 100%":"cover":Z.objectFit,Y=Q?{backgroundSize:$,backgroundPosition:Z.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},J=function(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,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,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:s({config:t,src:r,quality:a,width:l[c]})}}({config:u,src:f,unoptimized:p,width:H,quality:K,sizes:h,loader:V});return{props:{...R,loading:W?"lazy":g,fetchPriority:I,width:H,height:G,decoding:O,className:_,style:{...Z,...Y},sizes:J.sizes,srcSet:J.srcSet,src:k||J.src},meta:{unoptimized:p,priority:m,placeholder:x,fill:w}}}},35518:(e,t,r)=>{"use strict";r.d(t,{U:()=>y,y:()=>b});var n=r(4902),i=r(17318),a=r(20996),o=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),m=r(63965),g=Object.assign,_=Object.hasOwnProperty,y=function(e){function t(r){var i=r.queryManager,a=r.queryInfo,o=r.options,l=this,u=t.inactiveOnCreation.getValue();(l=e.call(this,function(e){u&&(i.queries.set(l.queryId,a),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=a,l.queryManager=i,l.waitForOwnResult=w(o.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=o.fetchPolicy,p=void 0===h?f:h,m=o.initialFetchPolicy,g=void 0===m?"standby"===p?f:p:m;l.options=(0,n.__assign)((0,n.__assign)({},o),{initialFetchPolicy:g,fetchPolicy:p}),l.queryId=a.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||o.pT.ready,i=(0,n.__assign)((0,n.__assign)({},t),{loading:(0,o.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,a.L)(i.data,{})&&(i.data=void 0),u.complete?(delete i.partial,u.complete&&i.networkStatus===o.pT.loading&&("cache-first"===l||"cache-only"===l)&&(i.networkStatus=o.pT.ready,i.loading=!1)):i.partial=!0,i.networkStatus===o.pT.ready&&(i.error||i.errors)&&(i.networkStatus=o.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,a.L)(this.last.result,e))||t&&!(0,a.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,a.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,a.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,o.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 a=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,l=s.networkStatus;s.networkStatus=o.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(a,r,o.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(a),s.networkStatus===o.pT.fetchMore&&(s.networkStatus=l),d)t.queryManager.cache.batch({update:function(n){var a=e.updateQuery;a?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return a(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,o.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||{});g(this.options,t)},t.prototype.setVariables=function(e){return(0,a.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},o.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,a=e(n,{variables:this.variables,complete:!!i,previousData:n});a&&(t.cache.writeQuery({query:this.options.query,data:a,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,a=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:a}):"variables-changed"===e?t.fetchPolicy=a: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,o.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?a():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},o.pT.poll).then(a,a))},a=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};a()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,a.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===o.pT.refetch||t===o.pT.fetchMore||t===o.pT.poll,s=this.options.variables,u=this.options.fetchPolicy,c=(0,l.o)(this.options,e||{}),d=i?c:g(this.options,c),f=this.transformDocument(d.query);this.lastQuery=f,!i&&(this.updatePolling(),e&&e.variables&&!(0,a.L)(e.variables,s)&&"standby"!==d.fetchPolicy&&(d.fetchPolicy===u||"function"==typeof d.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",d),void 0===t&&(t=o.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=w(d.fetchPolicy));var p=function(){r.concast===y&&(r.waitForOwnResult=!1)},m=d.variables&&(0,n.__assign)({},d.variables),_=this.fetch(d,t,f),y=_.concast,v=_.fromLink,b={next:function(e){(0,a.L)(r.variables,m)&&(p(),r.reportResult(e,m))},error:function(e){(0,a.L)(r.variables,m)&&((0,h.Mn)(e)||(e=new h.K4({networkError:e})),p(),r.reportError(e,m))}};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:o.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,o.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 m.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),a=r(86962),o=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"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,o.useState)(!1),h=(0,o.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,o.useEffect)(c,[]);let{addGlobalListener:p,removeAllGlobalListeners:m}=(0,n.A)(),{hoverProps:g,triggerHoverEnd:_}=(0,o.useMemo)(()=>{let e=(e,o)=>{if(h.pointerType=o,u||"touch"===o||h.isHovered||!e.currentTarget.contains(e.target))return;h.isHovered=!0;let s=e.currentTarget;h.target=s,p((0,i.TW)(e.target),"pointerover",e=>{h.isHovered&&h.target&&!(0,a.sD)(h.target,e.target)&&n(e,e.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:o}),r&&r(!0),f(!0)},n=(e,t)=>{let n=h.target;h.pointerType="",h.target=null,"touch"!==t&&h.isHovered&&n&&(h.isHovered=!1,m(),l&&l({type:"hoverend",target:n,pointerType:t}),r&&r(!1),f(!1))},o={};return"undefined"!=typeof PointerEvent&&(o.onPointerEnter=t=>{s&&"mouse"===t.pointerType||e(t,t.pointerType)},o.onPointerLeave=e=>{!u&&e.currentTarget.contains(e.target)&&n(e,e.pointerType)}),{hoverProps:o,triggerHoverEnd:n}},[t,r,l,u,h,p,m]);return(0,o.useEffect)(()=>{u&&_({currentTarget:h.target},h.pointerType)},[u]),{hoverProps:g,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)}}},36974:(e,t,r)=>{"use strict";r.d(t,{r:()=>a});var n=r(15072),i=r(80542);function a(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},37154:(e,t,r)=>{"use strict";r.d(t,{HM:()=>o,JF:()=>s,SP:()=>c,bN:()=>f,yU:()=>d});var n=r(4902),i=r(14232),a=r(83933);function o(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)({},a.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 a=0;a<i;a++){var o=r[a];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}},37510:(e,t,r)=>{"use strict";r.d(t,{D$:()=>d,KG:()=>n});var n,i,a=r(17318),o=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 o.A(s.v.parser||1e3));var t,r,l,u=i.get(e);if(u)return u;(0,a.V1)(!!e&&!!e.kind,70,e);for(var c=[],d=[],f=[],h=[],p=0,m=e.definitions;p<m.length;p++){var g=m[p];if("FragmentDefinition"===g.kind){c.push(g);continue}if("OperationDefinition"===g.kind)switch(g.operation){case"query":d.push(g);break;case"mutation":f.push(g);break;case"subscription":h.push(g)}}(0,a.V1)(!c.length||d.length||f.length||h.length,71),(0,a.V1)(d.length+f.length+h.length<=1,72,e,d.length,h.length,f.length),r=d.length?n.Query:n.Mutation,d.length||f.length||(r=n.Subscription);var _=d.length?d:f.length?f:h;(0,a.V1)(1===_.length,73,e,_.length);var y=_[0];t=y.variableDefinitions||[];var v={name:y.name&&"Name"===y.name.kind?y.name.value:"data",type:r,variables:t};return i.set(e,v),v}function d(e,t){var r=c(e),n=u(t),i=u(r.type);(0,a.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:()=>a});var n=r(14232),i=r(21588);function a(){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)},39296:(e,t,r)=>{"use strict";r.d(t,{_:()=>a});var n=r(14232),i=r(24607);let a=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:a}=Array.prototype,{hasOwnProperty:o}=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)),o.call(t,"data")?t.data:t.data=this.makeData(a.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(a.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:()=>a});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 a=(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})},43207:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},44179:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>tz});var n,i=r(37876),a=r(4902),o=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,a.__assign)((0,a.__assign)({},i),{client:t||i.client})},[i,t]);return(0,o.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),m=r(65901);r(51955);let g=JSON.parse('{"ACTIVE":"ACTIVE","Adapter":"Adapter","DELETED":"DELETED","DRAFT":"DRAFT","Reject_alert_header":"Reject offer?","account":"Account","account_notice":"This information will be displayed publicly so be careful what you share.","access_restricted":"Access Restricted","account_status":"Account status","actions":"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_custom_text":"Add Custom Text","add_email":"Add email","add_filter":"Add filter","add_filter_option":"Add option","add_language":"Add Language","add_option":"Add option","add_product":"Add product","add_review":"Add Review","add_tag":"Add tag","add_user":"Add User","add_web3_address":"Add address","add_web_auth":"Add WebAuth","add_work":"Add Work","added_date":"<b>Created :</b> {created}","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.","admin_ui":"Admin UI","all":"All","allocate_work":"Allocate Work","already_got_a_user":"Already got a user?","app_new_version_available":"A newer version of this web app is available, reload to update?","apply":"Apply","apply_filters":"Apply Filters","are_you_sure":"Are you sure?","assigned_products":"Assigned Products","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_count_header_singular":"1 Assortment","assortment_deactivated":"Assortment deactivated successfully","assortment_deleted_success":"Deleted successfully","assortment_detail_header":"Assortment detail <b>({id})</b>","assortment_detail_title":"Assortment {id}","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_media":"Assortment Media","assortment_media_deleted":"Media deleted successfully","assortment_media_reorder":"Media reordered 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_text_form_description":"<ul> <li>A Slug is the unique identifying part of a web address, typically at the end of the URL. </li> <li> You can change the language of text by using the localization dropdown found at top right corner </li> <li> Description area accepts text that are compatible with markdown or HTML format. Tip: in order to add a line break use \\\\ </li></ul>","assortments":"Assortments","assortments_count_header":"{count} Assortments","assortments_list_header":"Assortments","availability":"Product Availability","avatar":"Avatar","back":"Back","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_summary":"Billing Summary","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":"Bundle Product","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>","bundles":"Bundles","cancel":"Cancel","cart":"Cart","cart_detail_title":"Cart {id}","categories":"Categories","category":"Category","chain-id":"Chain ID {chainId}","chain-token-id":"Chain Token ID","change":"Change","change_password":"Change password","child_assortment":"Sub-Assortment","children":"Children:","city":"City","clear_filters":"Clear Filters","close":"Close","close_sidebar":"Close sidebar","code":"Code","commerce":"Commerce","company":"Company","configurable_product":"Configurable Product","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_error":"Configuration error","confirm":"Confirm","confirm_delete_custom_text":"Are you sure you want to delete this custom text?","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":"Connection Status","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","continue":"Continue","continue_to_app":"Continue to App","contract-address-label":"Contract Address","contract-standard":"Contract standard","contract_address":"Contract Address","copied":"Copied","copilot":"Copilot","copy_to_clipboard":"Copy to clipboard","countries":"Countries","countries_count_header":"{count} Countries","country":"Country","country_added":"Country added successfully!","country_code":"Country code","country_count_header_singular":"1 Country","country_currency":"Currency","country_deleted":"Country deleted successfully","country_exists":"Country with the same ISO code already exists","country_updated":"Country updated successfully!","create":"Create","create_filter":"Create Filter","create_new_account":"Create new account?","create_provider":"Create provider","created":"Created","created_at":"Created at","created_colon":"Created:","crossbase":"Crossbase","currencies":"Currencies","currencies_count_header":"{count} Currencies","currencies_list_header":"Currencies","currency":"Currency","currency_added":"Currency added successfully!","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_singular":"1 Currency","currency_deleted":"Currency deleted successfully","currency_exists":"Currency with the same ISO code already exists","currency_updated":"Currency updated successfully!","current_password":"Current password","custom_text":"Custom Text","custom_text_placeholder":"Enter your custom text here...","custom_texts":"Custom Texts","custom_texts_description":"Configure custom text overrides for help messages, labels, and other UI elements.","custom_texts_management":"Custom Text Management","customer_reviews":"Customer Reviews","data":"Data","date":"Date","date_range":"Date Range","datetime":"Date & Time","deactivate":"Deactivate","deactivate_assortment_description":"Will not be visible on search","deactivated":"Deactivated","decimals":"decimals","decreased":"Decreased by","decreased_by":"Increased by","default_currency":"Default currency","delete":"Delete","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_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_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_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_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_products":"Deleted products","deleted_text":"Deleted","deleting":"Deleting...","delivered":"Delivered","deliveryProviders_deleted":"DeliveryProviders deleted successfully","delivery_provider":"Delivery Provider","delivery_provider_count_header_singular":"1 Delivery Provider","delivery_provider_deleted":"Delivery provider deleted successfully","delivery_provider_title":"Delivery provider {id}","delivery_providers":"Delivery providers","delivery_providers_count_header":"{count} Delivery Providers","delivery_providers_header":"Delivery providers","delivery_status":"Status","description":"Description","deselect_all":"Deselect All","deutsch":"German","different_browser":"Visit this page from a browser that supports HTTPS requests to local HTTP endpoints, like Chrome or Firefox.","disabled":"Disabled","discount":"Discount","discount_amount":"Discount Amount","discount_information":"Discounts","discounts":"Discounts","displayName":"Display Name","display_as_graph":"Display as Graph","display_name":"Display name","display_order":"Display Order","dont_have_account":"Don\'t have an account yet?","draft":"Draft","draft_product_description":"Product will not be discoverable and can not be ordered","drop_area_empty":"Target is empty","duplicate":"Duplicate","duration":"Duration","edit":"Edit","edit_tags":"Edit tags","edit_custom_text":"Edit Custom Text","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":"Email Verification Error","email_verification_failed":"Email verification failed","email_verified_default":"All","email_verified_false":"Only unverified","email_verified_label":"E-Mail verified","email_verified_successfully":"Email Verified successfully","email_verified_true":"Only verified","empty_list":"List is empty","enabled":"Enabled","end":"End","end_date":"End Date","endpoint":"endpoint","engine_version":"Engine version","english":"English","enrollment":"enrollment","enrollment_count_header_singular":"1 Enrollment","enrollment_detail":"Enrollment Detail","enrollment_detail_title":"Enrollment {id}","enrollment_error":"Failed sending email, please try again","enrollment_number":"Enrollment number","enrollment_success":"Email sent to the user successfully","enrollment_success_message":"Subscription activation email sent","enrollment_updated_successfully":"Enrollment saved successfully","enrollments":"Enrollments","enrollments_count_header":"{count} Enrollments","enrollments_list_header":"Enrollments","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, unexpected 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_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","event":"Events","event_count_header_singular":"1 Event","event_detail":"Event Detail","event_detail_title":"Event {id}","events":"Events","events_count_header":"{count} Events","events_list_header":"Events","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_url":"Please check url on the endpoint","false":"False","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_singular":"1 Filter","filter_created":"Filter created successfully!","filter_deactivated":"Filter deactivated!","filter_deleted":"Filter deleted successfully","filter_detail":"Filter Detail","filter_detail_title":"Filter {id}","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_text_form_description":"<ul> <li>You can change the language of filter using the dropdown found at top right corner</li> </ul>","filter_type":"Filter Type","filters":"Filters","filters_count_header":"{count} Filters","filters_list_header":"Filters","finished":"Finished","finished_at":"Finished: {time}","first_name":"First name","first_page":"First Page","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","fullName":"FullName","full_name":"Full name","gender":"Gender","general":"General","general_text":"Text","german":"German","go-home":"Go back home","go_back":"Go Back","go_back_home":"Go back home","go_to_home":"Go to home","go_to_login":"Go to login","goodbye_simple":"Goodbye\\\\!","goodbye_user":"Goodbye, {name}\\\\!","graphql_endpoint_label":"GraphQL Endpoint","grid_view":"Grid View","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)","help":"Help","hit_area":"Hit Area","home":"Home","id":"ID","image-not-found":"Image not found","image_detail_title":"Image Details","image_not_available":"Image not available","import":"Import","import_cart_from_json":"Import Cart from JSON","import_duration":"Duration of import","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","increased_by":"Increased by","initial":"Initial","input":"Input","interface":"Interface","internal_server_error":"500 Internal Server Error.","internal_server_error_message":"Sorry, It is not you, it is us. We are working on to fix this. .","invalid_credential_error":"Invalid credential, please try again","invalid_json_input":"Invalid JSON input","invalid_signature_length":"Invalid signature","invalid_url":"Invalid page url","invalidate-token":"Invalidate","invalidated":"Invalidated","ip":"IP Address","ipfs-hash":"IPFS Hash","iso_code":"ISO code","item_quantity":"Quantity:","key":"Key","key_already_exists":"Key already exists","label":"Label","labels":"Labels","language":"Language","language_added":"Language added successfully!","language_count_header_singular":"1 Language","language_delete_error":"Error deleting language","language_deleted":"Language deleted successfully","language_exists":"Language with the same ISO code already exists","language_header":"Languages","language_update_error":"Error updating language","language_updated":"Language updated successfully!","languages":"Languages","languages_count_header":"{count} Languages","languages_saved":"Languages saved","languages_update_error":"Error updating languages","last_Name":"Last name","last_login":"Last Login:","last_month":"Last Month","last_page":"Last Page","last_updated":"Last Updated:","last_week":"Last Week","last_year":"Last Year","latest-reviews":"Latest Reviews","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_all_orders":"List all orders","list_all_work_items":"List all work items","list_view":"List View","load-more-reviews":"Load reviews","load_more":"Load more","loading":"Loading ...","locale":"Locale","log_in":"Log in","log_in_to_complete_order":"Log in to complete order","log_out":"Log out","logged_out":"Logged out","login_date_range":"Login Date Range","login_header":"Log in to your account","login_with":"Login with","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 as Paid.","mark_as_paid_question_header":"Mark as paid ?","max_quantity":"Max Quantity","media":"Media","media_subtitle":"Subtitle:","media_title":"Title:","media_updated":"Media updated","menu":"Menu","message":"message","method":"Method","mobile_phone":"Mobile phone","name":"Name","navision":"Navision","net_price":"Net Price","new":"NEW","new_assortment_header":"New Assortment","new_assortments":"New Assortments","new_country_header":"New country","new_currency_header":"New currency","new_delivery_provider":"New delivery provider","new_filter_header":"New filter","new_filters":"New Filters","new_language_header":"New language","new_password":"New password","new_payment_provider_header":"New payment provider","new_product_header":"New product","new_products":"New Products","new_user_header":"New user","new_warehousing_provider_header":"New warehousing provider","next":"Next","next_page":"Next Page","no":"No","no_available_countries":"No countries available","no_available_currencies":"No currencies available","no_available_languages":"No languages available","no_custom_texts":"No custom texts configured","no_data":"No data","no_data_message":"<p>No <span> {message} available</span> </p>","no_error":"Error","no_internet_access":"You aren\'t connected to a working internet connection","offline_help_message":"Please check your connection and try again","offline_mode":"You\'re Offline","no_items":"No items","no_more_items_to_load":"No more items to load","no_payload":"Payload","no_products":"No products","no_result":"Result","no_result_found":"No result found","no_results":"No results","no_tag":"No Tag","no_users":"No users","none":"None","not-applicable":"N/A","not_access_message":"Sorry, The page you 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","of":"of","off":"Off","ok":"Ok","on":"On","open_sidebar":"Open sidebar","option":"Option","optional_if_unchained_web_only":"Optional if Unchained Web only","options":"Options","or":"or","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_singular":"1 Order","order_date":"Order date","order_deleted":"Order deleted successfully","order_detail":"Order Detail","order_detail_title":"Order {id}","order_documents":"Order documents","order_id":"Order","order_item":"Order item","order_number":"Order #","order_paid":"Order payed successfully","order_payment":"Order payment","order_payment_fees":"Fees","order_positions":"Order positions","order_reject_success":"Order rejected successfully","order_total":"Order total","orders":"Orders","orders_count_header":"{count} Orders","orders_list_header":"Orders","original_work_id":"Original Work Id","page":"Page","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","passkey":"Passkey","passkeys":"Passkeys","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_mismatch":"Password fields don\'t match","password_success":"Password changed successfully.","password_too_short":"Password too short","paused":"Paused","pay":"PAY","payload":"Payload","payment_credentials":"Payment credentials","payment_detail_title":"Payment provider {id}","payment_provider":"Payment provider","payment_provider_count_header_singular":"1 Payment Provider","payment_provider_deleted":"Payment provider deleted successfully","payment_provider_title":"Payment provider","payment_providers":"Payment providers","payment_providers_count_header":"{count} Payment Providers","payment_providers_header":"Payment providers","payments":"Payments","per_page":"Per Page","periods":"Periods","permission_missing":"You don\'t have the required permission","phone":"Phone","photo":"Photo","placeholder-image-alt":"Placeholder image","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>","please_wait":"Please wait...","postal_code":"Postal/ZIP code","preferences":"Preferences","preferred":"Preferred","preview":"preview","previous":"Previous","previous_page":"Previous Page","price":"Price","priority":"Priority","process-quotation-submit":"Mark as processed","processing":"Processing...","product":"Product","product-image":"Product image","product_added":"Product added successfully!","product_attributes":"Product Attributes","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_count_header_singular":"1 Product","product_deleted":"Product deleted successfully","product_deleted_success":"Deleted successfully","product_detail_header":"Product detail <b>({id})</b>","product_detail_title":"Product {id}","product_drafted":"Drafted successfully","product_links":"Product Links","product_media":"Product Media","product_media_deleted":"Media deleted successfully","product_media_upload":"Media uploaded successfully","product_not_found":"Product not found","product_published":"Published successfully","product_quantity":"Quantity","product_review_added":"Review added successfully!","product_review_delete_success":"Review deleted successfully","product_review_updated":"Review updated successfully!","product_reviews":"Product Reviews","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_supply_form_description":"<ul><li> Information that will be used to identify dimensions of a product </li> </ul>","product_text_form_description":"<ul> <li>A Slug is the unique identifying part of a web address, typically at the end of the URL. </li> <li> You can change the language of text by using the localization dropdown found at top right corner </li> <li> Description area accepts text that are compatible with markdown or HTML. Tip: in order to add a line break use \\\\ </li> </ul>","product_title":"Product","product_type":"Product type","product_variation_added":"Product variation added successfully","product_variation_deleted":"Variation deleted successfully","product_variation_option_deleted":"Variation option deleted successfully","product_variations":"Product Variations","product_warehousing_form_description":"<ul><li> Information regarding product storage </li> </ul>","products":"Products","products_count_header":"{count} Products","products_display":"Display Products","products_list_header":"Products","products_saved":"Products saved","profile":"Profile","profile_notice":"This information will be displayed publicly so be careful what you share.","profile_updated":"Profile updated successfully!","provider_configuration":"Provider Configuration","provider_created_success":"Provider created successfully!","public":"Public","publish":"Publish","publish_product_description":"Product will be discoverable and can be ordered","published":"Published","published_date":"<b>Published :</b> {published}","purchased_products":"Purchased products","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_singular":"1 Quotation","quotation_delete_success":"Angebot erfolgreich gel\xf6scht","quotation_detail":"Quotation Detail","quotation_detail_title":"Quotation {id}","quotation_error_message":"Angebotsfehler","quotation_list_header":"Quotations","quotation_number":"Quotation number","quotation_success_message":"Angebot erfolgreich erstellt","quotation_updated":"Quotation updated successfuly","quotations":"Quotations","quotations_count_header":"{count} Quotations","recent_reviews":"Recent reviews","region":"Region","region_Code":"Region","register-with-web3":"Register","registration_successful":"Registration successful","reject-quotation-quotation":"Reject quotation?","reject-quotation-submit":"Reject","reject_order":"Reject order","reject_order_alert_button":"Reject","reject_order_alert_header":"Reject order?","remove":"Remove","remove_account":"Remove Account","remove_all":"Remove All","remove_attachment":"Remove Attachment","removed_assortments":"Removed Assortments","removed_filters":"Removed filters","reorder_original":"Reorder to original location","report-submit":"Submit","reports":"Reports","request_new_reset_link":"Request New Reset Link","request_new_verification":"Request New Verification","requested":"Requested","required":"Required","required-role-not-satisfied":"Current account does not have access, please log in with an account that have the required role. Contact system administrator for further information","reset":"Reset","reset_link_sent":"Password reset link sent to {email}","reset_password":"Reset password","reset_token_error":"Reset Token Error","reset_password_header_description":"Enter your new password and make sure you don\'t forget it this time.","reset_token_expired":"Token link invalid or has expired","reset_token_invalid_warning":"The reset token is either invalid or expired. Please use the last reset link sent in your email or start the process again by going to {link}","resolved_country":"Resolved country","resolved_language":"Resolved language","rest_password":"Reset password","result":"Result","results":"Results","retries":"Retries","retry":"Retry","retry-work":"Retry","review":"Review","review_data":"Review data","review_deleted":"Review deleted successfully","review_summary":"<div> Based on <cta> {total} </cta> reviews</div>","reviews":"Reviews","revoke":"Revoke","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_description":"This makes the assortment is a top level","root_node":"Root node","safari_does_not_support":"Safari does not support network requests from unchained admin on HTTPS to your local HTTP endpoint, so we cannot introspect your endpoint.","save":"Save","saved":"Saved","saving":"Saving...","scheduled":"Scheduled","search":"Search","search_tags":"Search tags","search_anything":"Search anything","search_placeholder":"Search...","search_product":"Search product","search_products":"Search Products","search_tag":"Search tag","see_events":"View Events","select":"Select","select_all":"Select All","select_language":"Select Language","select_options_toggle":"Change {type} status","select_products":"Select Products","select_role":"Select role","select_tab":"Select a tab","select_type":"Select type","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","shipping":"Shipping","shortcuts":"Shortcuts","show_carts":"Show carts","show_error_details":"Show error details","show_guests":"Show Guests","show_inactive":"Show Inactive","show_only_verified_reviews":"Show only verified reviews","showing":"Showing","sign_address_header":"Sign address","sign_in":"Sign In","sign_up":"Sign up","sign_in_with_google":"Sign in with Google","sign_up_header":"Create new account","signature_hash":"Signature hash","signature_not_match_error":"Signature does not match","simple_product":"Simple Product","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","solr":"Solr","solutions":"There are a couple solutions:","something_went_wrong":"Something went wrong","ssl_certificate":"Set up an SSL certificate for your local endpoint.","star_reviews":"Star reviews","start":"Start","start_date":"Start date","started":"Started","started_at":"Started: {time}","status":"Status","stock":"Stock","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","supported-tokens":"Supported Tokens","supported_tokens":"Supported Tokens","switch_off":"off","switch_on":"on","symbol":"Symbol","system":"System settings","system_information":"System Information","system_settings":"System Settings","tags":"Tags","tags_updated":"Tags updated successfully","tax":"Tax","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","terminated":"Terminated","text":"Text","text_key":"Text Key","text_key_placeholder":"e.g. welcome_message","texts":"Texts","thank_you_for_verifying":"Thank you for verifying your email address","this_month":"This Month","this_week":"This Week","this_year":"This Year","thumbnail":"Thumbnail","time":"Time","title":"Title","title_not_found":"Title not found","to":"To","today":"Today","token":"Token","token_invalid_expired":"Token Invalid/Expired","token-id":"Token ID {chainTokenId}","token-id-label":"Token ID","token-supply":"Supply","token_count_header_singular":"1 Token","token_deleted_success":"Token erfolgreich gel\xf6scht","token_detail_title":"Token Details","token_export_success":"Token erfolgreich exportiert","token_import_success":"Token erfolgreich importiert","token_invalidation_date":"Invalidated","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","tokens_count_header":"{count} Tokens","tokens_exported":"{count} Token exportiert","tokens_imported":"{count} Token importiert","tomorrow":"Tomorrow","total":"Total","total_products":"Total products","total_records":"{total} records found","total_variable_category":"Total { categoryName }","trial":"Trial","trial_interval_unit":"Trial interval unit","trial_unit":"Trial Unit","true":"True","try_again":"Try again","two_factor_auth_enabled":"2FA enabled","two_factor_code_not_match":"Two factor authentication code did not match","type":"Type","type_colon":"Type:","unable_server":"Unable to reach server at {endpoint}","unauthorized_page":"forbidden","unchained":"Unchained Admin UI","unchained_admin":"Unchained Admin","unchained_logo":"Unchained Logo","unpublished":"Unpublished","unsaved_changes":"Unsaved Changes","unsupported_file_format":"Unsupported file format","update":"Update","update_configuration":"Update configuration","update_country":"Update Country","update_currency":"Update Currency","update_delivery_configuration":"Update delivery provider","update_failed":"Update failed","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","updated_assortments":"Updated Assortments","updated_at":"Updated at","updated_date":"<b>Updated :</b> {updated}","updated_filters":"Updated filters","updated_products":"Updated Products","updating":"Updating...","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 to verify again","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_singular":"1 User","user_delete_success":"Benutzer erfolgreich gel\xf6scht","user_detail_title":"User {id}","user_password_not_set":"User password not set","user_profile_created":"User profile created successfully!","user_remove_webauthn_success":"WebAuthn erfolgreich entfernt","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_count_header":"{count} Users","users_list_header":"Users","users_setting_list_header":"User settings","valid":"Valid","value":"Value","variation":"Variation product","variation_option_added":"Variation option added successfully!","variation_option_updated":"Variation option updated successfully!","variations":"Variations","vat_suspect":"Vat Suspect","vendor":"Vendor","verification_sent_error":"Error occurred while sending verification email, please try again","verification_failed":"Verification Failed","verification_failed_status":"Verification Failed","verification_sent_success":"Verification email sent successfully","verification_successful":"Verification Successful","verification_token_expired":"Verification token expired","verification_web3_address":"Verify","verify-quotation-quotation":"Verify quotation?","verify-quotation-submit":"Verify","verify_email_token_invalid_error":"The email verification token is either invalid or expired. Please use the last reset link sent in your email or start the process again by going to {link}","view_all":"View all","view_order":"View Order","wallet-address":"Wallet {walletAddress}","warehouse_detail_title":"Warehouse {id}","warehousing":"Warehousing","warehousing_provider":"Warehousing provider","warehousing_provider_count_header_singular":"1 Warehousing Provider","warehousing_provider_deleted":"Warehousing provider deleted successfully","warehousing_provider_title":"Warehousing provider","warehousing_providers_count_header":"{count} Warehousing Providers","warehousing_providers_header":"Warehousing providers","warning":"Warning!","web3-addresses":"Web3 Addresses","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":"Welcome!","welcome_user":"Welcome back, {name}\\\\!","width":"Width (Millimeter)","work_added_success":"Work added successfully!","work_allocated_success":"Allocate work successfully!","work_created":"Created","work_deleted":"Work deleted successfully","work_detail":"Work Detail","work_detail_title":"Work {id}","work_finished":"Finished","work_item_count_header_singular":"1 Work Item","work_management_setting_list_header":"Work Management Settings","work_original":"Original Work","work_priority":"Priority","work_queue":"Work queue","work_queue_count_header":"{count} Work Items","work_queue_header":"Work queue","work_queue_title":"Work queue","work_retries":"Retries","work_scheduled":"Scheduled","work_started":"Started","work_started_success":"Work started successfully\\\\!","work_status":"Work Status","work_type":"Work type","work_type_header":"Type","worker":"Worker","worker_dynamic":"{worker}","write_review":"Write a Review","wrong_file_format":"Wrong file format","wrong_token_import_file_format":"Wrong token import file format","yes":"Yes","yesterday":"Yesterday"}'),_={en:g,de:JSON.parse('{"ACTIVE":"AKTIV","Adapter":"Adapter","DELETED":"GEL\xd6SCHT","DRAFT":"ENTWURF","Reject_alert_header":"Angebot ablehnen?","account":"Konto","account_notice":"Diese Informationen werden \xf6ffentlich angezeigt, seien Sie also vorsichtig, was Sie weitergeben.","access_restricted":"Zugriff beschr\xe4nkt","account_status":"Kontostatus","actions":"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_custom_text":"Benutzerdefinierten Text 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_product":"Produkt hinzuf\xfcgen","add_review":"Bewertung hinzuf\xfcgen","add_tag":"Tag hinzuf\xfcgen","add_user":"Benutzer hinzuf\xfcgen","add_web3_address":"Web3-Adresse hinzuf\xfcgen","add_web_auth":"Web-Authentifizierung hinzuf\xfcgen","add_work":"Arbeit hinzuf\xfcgen","added_date":"<b>Erstellt :</b> {created}","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.","admin_ui":"Admin UI","all":"Alle","allocate_work":"Arbeit zuweisen","already_got_a_user":"Haben Sie bereits einen Benutzer?","app_new_version_available":"Eine neuere Version dieser Webanwendung ist verf\xfcgbar, laden Sie sie neu, um sie zu aktualisieren?","apply":"Anwenden","apply_filters":"Filter anwenden","are_you_sure":"Sind Sie sicher?","assigned_products":"Zugewiesene Produkte","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_count_header_singular":"1 Sortiment","assortment_deactivated":"Sortiment erfolgreich deaktiviert","assortment_deleted_success":"Sortiment erfolgreich gel\xf6scht","assortment_detail_header":"Sortimentsdetail <b>({id})</b>","assortment_detail_title":"Sortiment Details","assortment_filter_deleted":"Sortimentsfilter erfolgreich gel\xf6scht","assortment_filter_form_description":"<ul> <li>Filter zuweisen, die auf das Sortiment angewendet werden sollen </li> </ul>","assortment_filter_list_description":"<ul> <li>Alle Filter, die bei der Suche nach diesem Sortiment angewendet werden </li> <li> Drag and drop von Listenelementen zum Sortieren der Filterreihenfolge </li> </ul>","assortment_filters_form_header":"Filter","assortment_filters_header":"Sortimentsfilter","assortment_link":"Link erfolgreich gel\xf6scht","assortment_link_form_description":"<ul> <li>Zuordnen von Sortimenten, die direkt untergeordnet zu diesem Sortiment sind </li> </ul>","assortment_link_form_header":"Kinder-Sortimente","assortment_link_list_description":"<ul> <li>Alle im Sortimentsbeziehungsbaum gefundenen Sortimente </li> <li> Drag and drop list von Listenelementen zum Sortieren von Sortimentsverkn\xfcpfungen </li> <li> Eltern sind Sortimente die im Baum der Vorfahren auf einer beliebigen Ebene gefunden werden </li> <li> Nachkommen sind Sortimente, die im Kinderbaum auf einer beliebigen Ebene zu finden sind </li> </ul>","assortment_links_header":"Sortiment Links","assortment_made_base":"Sortiment als Hauptkategorie festgelegt","assortment_media":"Sortiment Medien","assortment_media_deleted":"Medien erfolgreich gel\xf6scht","assortment_media_reorder":"Medien erfolgreich neu geordnet","assortment_media_upload":"Medien erfolgreich hochgeladen","assortment_product_form_description":"<ul> <li>Produkte, die zu diesem Sortiment geh\xf6ren </li> </ul>","assortment_product_form_header":"Produkte","assortment_product_list_description":"<ul> <li>Alle Produkte, die zu disem Sortiment geh\xf6ren</li> <li> Drag and drop von Listenelementen zur Sortierung der Produkte </li> </ul>","assortment_products_header":"Sortiment Produkt","assortment_text_form_description":"<ul> <li>Ein Slug ist der eindeutig identifizierende Teil einer Webadresse, normalerweise am Ende der URL.</li> <li>Sie k\xf6nnen die Sprache des Textes \xfcber das Dropdown-Men\xfc in der oberen rechten Ecke \xe4ndern.</li> <li>Der Beschreibungsbereich akzeptiert Text, der mit Markdown oder HTML kompatibel ist. Tipp: Um einen Zeilenumbruch hinzuzuf\xfcgen, verwenden Sie \\\\\\\\.</li> </ul>","assortments":"Sortimente","assortments_count_header":"{count} Sortimente","assortments_list_header":"Sortimente","availability":"Verf\xfcgbarkeit","avatar":"Avatar","back":"Zur\xfcck","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_summary":"Zusammenfassung der Rechnungsstellung","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":"Bundle-Produkt","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>","bundles":"B\xfcndelungen","cancel":"Abbrechen","cart":"Warenkorb","cart_detail_title":"Warenkorb Details","categories":"Kategorien","category":"Kategorie","chain-id":"Chain-ID","chain-token-id":"Chain-Token-ID","change":"\xc4ndern","change_password":"Passwort \xe4ndern","chat_disabled_title":"Chat ist deaktiviert","chat_disabled_message":"Copilot-Chat ist derzeit in diesem Shop deaktiviert. Bitte \xfcberpr\xfcfen Sie Ihre Engine-Konfiguration","child_assortment":"Sub-Kategorie","children":"Unterelemente","city":"Stadt","clear_filters":"Filter l\xf6schen","close":"Schliessen","close_sidebar":"Seitenleiste schliessen","code":"PLZ","commerce":"Commerce","company":"Unternehmen","configurable_product":"Konfigurierbares Produkt","configurable_product_definition":"<h3>Konfigurierbar</h3> <p>Das konfigurierbare Produkt wird verwendet, um Varianten 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_error":"Konfigurationsfehler","confirm":"Best\xe4tigen","confirm_delete_custom_text":"Sind Sie sicher, dass Sie diesen benutzerdefinierten Text l\xf6schen m\xf6chten?","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","continue":"Fortfahren","continue_to_app":"Zur App fortfahren","contract-address-label":"Vertragsadresse","contract-standard":"Vertragsstandard","contract_address":"Vertragsadresse","copied":"Kopiert","copilot":"Copilot","copy_to_clipboard":"In Zwischenablage kopieren","countries":"L\xe4nder","countries_count_header":"{count} L\xe4nder","country":"Land","country_added":"Land erfolgreich hinzugef\xfcgt!","country_code":"L\xe4ndercode","country_count_header_singular":"1 Land","country_currency":"W\xe4hrung","country_deleted":"Land erfolgreich gel\xf6scht","country_exists":"Land mit demselben ISO-Code existiert bereits","country_updated":"Land erfolgreich aktualisiert!","create":"Erstellen","create_filter":"Filter erstellen","create_new_account":"Neues Konto erstellen?","create_provider":"Anbieter erstellen","created":"Erstellt","created_at":"Erstellt am","created_colon":"Erstellt:","crossbase":"Crossbase","currencies":"W\xe4hrungen","currencies_count_header":"{count} W\xe4hrungen","currencies_list_header":"W\xe4hrungen","currency":"W\xe4hrung","currency_added":"W\xe4hrung erfolgreich hinzugef\xfcgt!","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_singular":"1 W\xe4hrung","currency_deleted":"W\xe4hrung erfolgreich gel\xf6scht","currency_exists":"W\xe4hrung mit demselben ISO-Code existiert bereits","currency_updated":"W\xe4hrung erfolgreich aktualisiert!","current_password":"Aktuelles Passwort","custom_text":"Benutzerdefinierter Text","custom_text_placeholder":"Geben Sie hier Ihren benutzerdefinierten Text ein...","custom_texts":"Benutzerdefinierte Texte","custom_texts_description":"Konfigurieren Sie benutzerdefinierte Text\xfcberschreibungen f\xfcr Hilfemeldungen, Beschriftungen und andere UI-Elemente.","custom_texts_management":"Verwaltung benutzerdefinierter Texte","customer_reviews":"Kundenbewertungen","data":"Daten","date":"Datum","date_range":"Datumsbereich","datetime":"Datum & Zeit","deactivate":"Deaktivieren","deactivate_assortment_description":"Wird in der Suche nicht sichtbar sein","deactivated":"Deaktiviert","decimals":"Dezimalstellen","decreased":"Verringert um","decreased_by":"Verringert um","default_currency":"Standardw\xe4hrung","delete":"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_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_variation":"Variation l\xf6schen","delete_product_variation_confirmation":"Sind Sie sicher, dass Sie diese Variation l\xf6schen m\xf6chten?","delete_review":"Bewertung l\xf6schen","delete_review_confirmation":"Sind Sie sicher, dass Sie diese Bewertung l\xf6schen m\xf6chten?","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_products":"Gel\xf6schte Produkte","deleted_text":"Gel\xf6scht","deleting":"L\xf6schen...","delivered":"Geliefert","deliveryProviders_deleted":"Lieferung erfolgreich gel\xf6scht","delivery_provider":"Lieferungsintegrationen","delivery_provider_count_header_singular":"1 Lieferungsintegration","delivery_provider_deleted":"Lieferungsintegration erfolgreich gel\xf6scht","delivery_provider_title":"Lieferungsintegration","delivery_providers":"Lieferungsintegrationen","delivery_providers_count_header":"{count} Lieferungsintegrationen","delivery_providers_header":"Lieferungsintegrationen","delivery_status":"Status","description":"Beschreibung","deselect_all":"Alle abw\xe4hlen","deutsch":"Deutsch","different_browser":"Anderer Browser","disabled":"Deaktiviert","discount":"Rabatt","discount_amount":"Rabattbetrag","discount_information":"Rabatte","discounts":"Rabatte","displayName":"Anzeigename","display_as_graph":"Als Grafik anzeigen","display_name":"Anzeigename","display_order":"Anzeigereihenfolge","dont_have_account":"Haben Sie noch kein Konto?","draft":"Entwurf","draft_product_description":"Produkt wird nicht auffindbar sein und kann nicht bestellt werden","drop_area_empty":"Ziel ist leer","duplicate":"Duplizieren","duration":"Dauer","edit":"Bearbeiten","edit_tags":"Tags bearbeiten","edit_custom_text":"Benutzerdefinierten Text bearbeiten","editor":"Bearbeiter","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","empty_list":"Liste ist leer","enabled":"Aktiviert","end":"Ende","end_date":"Enddatum","endpoint":"Endpunkt","engine_version":"Engine-Version","english":"Englisch","enrollment":"Anmeldung","enrollment_count_header_singular":"1 Anmeldung","enrollment_detail":"Anmeldungsdetails","enrollment_detail_title":"Anmeldung Details","enrollment_error":"Anmeldungsfehler","enrollment_number":"Anmeldungsnummer","enrollment_success":"Anmeldung erfolgreich","enrollment_success_message":"Ihre Anmeldung war erfolgreich","enrollment_updated_successfully":"Anmeldung erfolgreich gespeichert","enrollments":"Abonnemente","enrollments_count_header":"{count} Abonnemente","enrollments_list_header":"Abonnemente","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_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","event":"Events","event_count_header_singular":"1 Events","event_detail":"Event Details","event_detail_title":"Events Details","events":"Events","events_count_header":"{count} Events","events_list_header":"Events","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_url":"Fehlerhafte URL","false":"Falsch","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_singular":"1 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_key":"Key","filter_key_already_exists":"Filterschl\xfcssel existiert bereits","filter_option_added_success":"Filteroption erfolgreich hinzugef\xfcgt","filter_option_title":"Title","filter_option_value":"Value","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","filters":"Filter","filters_count_header":"{count} Filter","filters_list_header":"Filter","finished":"Beendet","finished_at":"Beendet: {time}","first_name":"Vorname","first_page":"Erste Seite","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","fullName":"Vollst\xe4ndiger Name","full_name":"Vollst\xe4ndiger Name","gender":"Geschlecht","general":"Allgemein","general_text":"Text","german":"Deutsch","go-home":"Zur\xfcck zur Startseite","go_back":"Zur\xfcck","go_back_home":"Zur\xfcck zur Startseite","go_to_home":"Zur Startseite","go_to_login":"Zur Anmeldung","goodbye_simple":"Auf Wiedersehen\\\\!","goodbye_user":"Auf Wiedersehen, {name}\\\\!","graphql_endpoint_label":"GraphQL Endpunkt","grid_view":"Rasteransicht","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)","help":"Hilfe","hit_area":"Trefferbereich","home":"Startseite","id":"ID","image-not-found":"Bild nicht gefunden","image_detail_title":"Bild Details","image_not_available":"Bild nicht verf\xfcgbar","import":"Importieren","import_cart_from_json":"Warenkorb aus JSON importieren","import_duration":"Importdauer","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","increased_by":"Erh\xf6ht um","initial":"Anf\xe4nglich","input":"Eingabe","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_json_input":"Ung\xfcltige JSON-Eingabe","invalid_signature_length":"Ung\xfcltige Signatur","invalid_url":"Ung\xfcltige URL","invalidate-token":"Ung\xfcltig machen","invalidated":"Ung\xfcltig gemacht","ip":"IP-Adresse","ipfs-hash":"IPFS-Hash","iso_code":"ISO-Code","item_quantity":"Menge:","key":"Schl\xfcssel","key_already_exists":"Schl\xfcssel existiert bereits","label":"Bezeichnung","labels":"Bezeichnungen","language":"Sprache","language_added":"Sprache erfolgreich hinzugef\xfcgt!","language_count_header_singular":"1 Sprache","language_delete_error":"Fehler beim L\xf6schen der Sprache","language_deleted":"Sprache erfolgreich gel\xf6scht","language_exists":"Sprache mit demselben ISO-Code existiert bereits","language_header":"Languages","language_update_error":"Fehler beim Aktualisieren der Sprache","language_updated":"Sprache erfolgreich aktualisiert!","languages":"Sprachen","languages_count_header":"{count} Sprachen","languages_saved":"Sprachen gespeichert","languages_update_error":"Fehler beim Aktualisieren der Sprachen","last_Name":"Nachname","last_login":"Letzter Login:","last_month":"Letzter Monat","last_page":"Letzte Seite","last_updated":"Zuletzt aktualisiert:","last_week":"Letzte Woche","last_year":"Letztes Jahr","latest-reviews":"Neueste Bewertungen","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_all_orders":"Alle Bestellungen auflisten","list_all_work_items":"Alle Arbeitselemente auflisten","list_view":"Listenansicht","load-more-reviews":"Bewertungen laden","load_more":"Mehr laden","loading":"Laden...","locale":"Gebietsschema","log_in":"Anmelden","log_in_to_complete_order":"Zum Abschliessen der Bestellung anmelden","log_out":"Abmelden","logged_out":"Abgemeldet","login_date_range":"Zuletzt angemeldet","login_header":"Melden Sie sich in Ihrem Konto an","login_with":"Anmelden mit","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_subtitle":"Subtitle:","media_title":"Title:","media_updated":"Medien aktualisiert","menu":"Men\xfc","message":"Nachricht","method":"Methode","mobile_phone":"Mobiltelefon","name":"Name","navision":"Navision","net_price":"Nettopreis","new":"NEU","new_assortment_header":"Neues Sortiment","new_assortments":"Neue Sortimente","new_country_header":"Neues Land","new_currency_header":"Neue W\xe4hrung","new_delivery_provider":"Neuer Lieferung","new_filter_header":"Neuer Filter","new_filters":"Neue Filter","new_language_header":"Neue Sprache","new_password":"Neues Passwort","new_payment_provider_header":"Neue Zahlungsintegration","new_product_header":"Neues Produkt","new_products":"Neue Produkte","new_user_header":"Neuer Benutzer","new_warehousing_provider_header":"Neue Lagerintegration","next":"Weiter","next_page":"N\xe4chste Seite","no":"Nein","no_available_countries":"Keine verf\xfcgbaren L\xe4nder","no_available_currencies":"Keine verf\xfcgbaren W\xe4hrungen","no_available_languages":"Keine verf\xfcgbaren Sprachen","no_custom_texts":"Keine benutzerdefinierten Texte konfiguriert","no_data":"Keine Daten","no_data_message":"<p>Keine <span> {message} verf\xfcgbar</span> </p>","no_error":"Fehler","no_internet_access":"Keine Internetverbindung","offline_help_message":"Bitte \xfcberpr\xfcfen Sie Ihre Verbindung und versuchen Sie es erneut","offline_mode":"Sie sind offline","no_items":"Keine Eintr\xe4ge","no_more_items_to_load":"Keine weiteren Elemente zu laden","no_payload":"Payload","no_products":"Keine Produkte","no_result":"Result","no_result_found":"Kein Ergebnis gefunden","no_results":"Keine Ergebnisse","no_tag":"Kein Tag","no_users":"Keine Benutzer","none":"Keine","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","of":"von","off":"Aus","ok":"OK","on":"Ein","open_sidebar":"Seitenleiste \xf6ffnen","option":"Option","optional_if_unchained_web_only":"Optional, wenn nur Unchained Web","options":"Optionen","or":"oder","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_singular":"1 Bestellung","order_date":"Bestelldatum","order_deleted":"Bestellung erfolgreich gel\xf6scht","order_detail":"Bestelldetails","order_detail_title":"Bestellung Details","order_documents":"Bestelldokumente","order_id":"Bestellung","order_item":"Bestellartikel","order_number":"Bestellung #","order_paid":"Bestellung erfolgreich bezahlt","order_payment":"Bestellzahlung","order_payment_fees":"Bestellgeb\xfchren","order_positions":"Bestellpositionen","order_reject_success":"Bestellung erfolgreich abgelehnt","order_total":"Bestellsumme","orders":"Bestellungen","orders_count_header":"{count} Bestellungen","orders_list_header":"Bestellungen","original_work_id":"Original Arbeits-ID","page":"Seite","page_not_found":"Page not found.","paginated-data":"<p> Zeige <span>{from}</span> bis <span>{to}</span> von <span>{total}</span> Ergebnissen </p>","paid":"Paid","passkey":"Passkey","passkeys":"Passkeys","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_mismatch":"Password fields don\'t match","password_success":"Passwort erfolgreich ge\xe4ndert.","password_too_short":"Passwort zu kurz","paused":"Pausiert","pay":"PAY","payload":"Payload","payment_credentials":"Zahlungsanmeldedaten","payment_detail_title":"Zahlungsintegration {id}","payment_provider":"Zahlungsintegration","payment_provider_count_header_singular":"1 Zahlungsintegration","payment_provider_deleted":"Zahlungsintegration erfolgreich gel\xf6scht","payment_provider_title":"Zahlungsintegrationen","payment_providers":"Zahlungsintegrationen","payment_providers_count_header":"{count} Zahlungsintegrationen","payment_providers_header":"Zahlungsintegrationen","payments":"Zahlungen","per_page":"Pro Seite","periods":"Zeitr\xe4ume","permission_missing":"Berechtigung fehlt","phone":"Telefon","photo":"Foto","placeholder-image-alt":"Platzhalterbild","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>","please_wait":"Bitte warten...","postal_code":"Postal/ZIP code","preferences":"Einstellungen","preferred":"Bevorzugt","preview":"Vorschau","previous":"Zur\xfcck","previous_page":"Vorherige Seite","price":"Preis","priority":"Priorit\xe4t","process-quotation-submit":"Als verarbeitet markieren","processing":"Verarbeiten...","product":"Product","product-image":"Produktbild","product_added":"Produkt erfolgreich hinzugef\xfcgt!","product_attributes":"Produktattribute","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_count_header_singular":"1 Produkt","product_deleted":"Produkt erfolgreich gel\xf6scht","product_deleted_success":"Produkt erfolgreich gel\xf6scht","product_detail_header":"Product detail <b>({id})</b>","product_detail_title":"Produkt Details","product_drafted":"Erfolgreich als Entwurf gespeichert","product_links":"Produktlinks","product_media":"Produktmedien","product_media_deleted":"Medien erfolgreich gel\xf6scht","product_media_upload":"Medien erfolgreich hochgeladen","product_not_found":"Produkt nicht gefunden","product_published":"Erfolgreich ver\xf6ffentlicht","product_quantity":"Quantity","product_review_added":"Bewertung erfolgreich hinzugef\xfcgt!","product_review_delete_success":"Bewertung erfolgreich gel\xf6scht","product_review_updated":"Bewertung erfolgreich aktualisiert!","product_reviews":"Produktbewertungen","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_supply_form_description":"<ul><li> Informationen, die zur Identifizierung der Abmessungen eines Produkts verwendet werden </li> </ul>","product_text_form_description":"<ul> <li>Ein Slug ist der eindeutig identifizierende Teil einer Webadresse, normalerweise am Ende der URL.</li> <li>Sie k\xf6nnen die Sprache des Textes \xfcber das Dropdown-Men\xfc in der oberen rechten Ecke \xe4ndern.</li> <li>Der Beschreibungsbereich akzeptiert Text, der mit Markdown oder HTML kompatibel ist. Tipp: Um einen Zeilenumbruch hinzuzuf\xfcgen, verwenden Sie \\\\\\\\.</li> </ul>","product_title":"Product","product_type":"Produkttyp","product_variation_added":"Produktvariation erfolgreich hinzugef\xfcgt","product_variation_deleted":"Variation erfolgreich gel\xf6scht","product_variation_option_deleted":"Variationsoption erfolgreich gel\xf6scht","product_variations":"Produktvarianten","product_warehousing_form_description":"<ul><li> Information regarding product storage </li> </ul>","products":"Produkte","products_count_header":"{count} Produkte","products_display":"Produkte anzeigen","products_list_header":"Products","products_saved":"Produkte gespeichert","profile":"Profil","profile_notice":"Diese Informationen werden \xf6ffentlich angezeigt, seien Sie also vorsichtig, was Sie weitergeben.","profile_updated":"Profil erfolgreich aktualisiert!","provider_configuration":"Anbieter-Konfiguration","provider_created_success":"Anbieter erfolgreich erstellt!","public":"\xd6ffentlich","publish":"Publish","publish_product_description":"Produkt wird sichtbar sein und kann bestellt werden","published":"Ver\xf6ffentlicht","published_date":"<b>Published :</b> {published}","purchased_products":"Gekaufte Produkte","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_singular":"1 Angebot","quotation_delete_success":"Angebot erfolgreich gel\xf6scht","quotation_detail":"Angebotsdetails","quotation_detail_title":"Angebot Details","quotation_error_message":"Angebotsfehler","quotation_list_header":"Quotations","quotation_number":"Quotation number","quotation_success_message":"Angebot erfolgreich erstellt","quotation_updated":"Angebot erfolgreich aktualisiert","quotations":"Angebotsanfragen","quotations_count_header":"{count} Angebotsanfragen","recent_reviews":"Neueste Bewertungen","region":"Region","region_Code":"Region","register-with-web3":"Registrieren","registration_successful":"Registrierung erfolgreich","reject-quotation-quotation":"Angebot ablehnen?","reject-quotation-submit":"Ablehnen","reject_order":"Reject order","reject_order_alert_button":"Reject","reject_order_alert_header":"Reject order?","remove":"Entfernen","remove_account":"Konto entfernen","remove_all":"Alle entfernen","remove_attachment":"Anhang entfernen","removed_assortments":"Entfernte Sortimente","removed_filters":"Entfernte Filter","reorder_original":"An urspr\xfcngliche Position zur\xfcckordern","report-submit":"Absenden","reports":"Reports","request_new_reset_link":"Neuen Reset-Link anfordern","request_new_verification":"Neue Verifizierung anfordern","requested":"Angefordert","required":"Erforderlich","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","reset":"Zur\xfccksetzen","reset_link_sent":"Password reset link sent to {email}","reset_password":"Passwort zur\xfccksetzen","reset_token_error":"Reset-Token-Fehler","reset_password_header_description":"Gib dein neues Passwort ein und stelle sicher, dass du es diesmal nicht vergisst.","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","results":"Ergebnisse","retries":"Retries","retry":"Wiederholen","retry-work":"Wiederholen","review":"Bewertung","review_data":"Bewertungsdaten","review_deleted":"Bewertung {reviewId} erfolgreich gel\xf6scht","review_summary":"<div> Basiert auf <cta> {total} </cta> Bewertungen</div>","reviews":"Bewertungen","revoke":"Widerrufen","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_description":"Dies macht das Sortiment zu einer Kategorie der obersten Ebene","root_node":"Root node","safari_does_not_support":"Safari unterst\xfctzt keine Netzwerkanfragen von Unchained Admin \xfcber HTTPS an Ihren lokalen HTTP-Endpunkt, daher k\xf6nnen wir Ihren Endpunkt nicht introspektieren.","save":"Speichern","saved":"Gespeichert","saving":"Speichern...","scheduled":"Geplant","search":"Suchen","search_tags":"Tags suchen","search_anything":"Alles durchsuchen","search_placeholder":"Suchen...","search_product":"Search product","search_products":"Produkte suchen","search_tag":"Tag suchen","see_events":"Events anzeigen","select":"Ausw\xe4hlen","select_all":"Alle ausw\xe4hlen","select_language":"Sprache ausw\xe4hlen","select_options_toggle":"\xc4ndere {type} Status","select_products":"Produkte ausw\xe4hlen","select_role":"Rolle ausw\xe4hlen","select_tab":"Tab ausw\xe4hlen","select_type":"Typ ausw\xe4hlen","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","shipping":"Versand","shortcuts":"Shortcuts","show_carts":"Warenk\xf6rbe anzeigen","show_error_details":"Fehlerdetails anzeigen","show_guests":"G\xe4ste anzeigen","show_inactive":"Inaktive anzeigen","show_only_verified_reviews":"Nur verifizierte Bewertungen anzeigen","showing":"Zeige","sign_address_header":"Adresse signieren","sign_in":"Anmelden","sign_up":"Registrieren","sign_in_with_google":"Mit Google anmelden","sign_up_header":"Registrieren Sie sich f\xfcr ein Konto","signature_hash":"Signatur-Hash","signature_not_match_error":"Signatur stimmt nicht \xfcberein","simple_product":"Einfaches Produkt","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","solr":"Solr","solutions":"Es gibt ein paar L\xf6sungen:","something_went_wrong":"Etwas ist schief gelaufen","ssl_certificate":"Richten Sie ein SSL-Zertifikat f\xfcr Ihren lokalen Endpunkt ein.","star_reviews":"Sterne-Bewertungen","start":"Start","start_date":"Startdatum","started":"Gestartet","started_at":"Gestartet: {time}","status":"Status","stock":"Lagerbestand","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":"Bestand","supported-tokens":"Unterst\xfctzte Token","supported_tokens":"Unterst\xfctzte Token","switch_off":"aus","switch_on":"an","symbol":"Symbol","system":"System","system_information":"Systeminformationen","system_settings":"Systemeinstellungen","tags":"Tags","tags_updated":"Tags erfolgreich aktualisiert","tax":"Steuer","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","terminated":"Beendet","text":"Text","text_key":"Textschl\xfcssel","text_key_placeholder":"z.B. Willkomenstext","texts":"Texte","thank_you_for_verifying":"Danke, dass Sie Ihre E-Mail-Adresse verifiziert haben!","this_month":"Dieser Monat","this_week":"Diese Woche","this_year":"Dieses Jahr","thumbnail":"Vorschaubild","time":"Zeit","title":"Titel","title_not_found":"Titel nicht gefunden","to":"Bis","today":"Heute","token":"Token","token_invalid_expired":"Token ung\xfcltig/abgelaufen","token-id":"Token-ID","token-id-label":"Token-ID","token-supply":"Vorrat","token_count_header_singular":"1 Token","token_deleted_success":"Token erfolgreich gel\xf6scht","token_detail_title":"Token Details","token_export_success":"Token erfolgreich exportiert","token_import_success":"Token erfolgreich importiert","token_invalidation_date":"Ung\xfcltig gemacht","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","tokens_count_header":"{count} Token","tokens_exported":"{count} Token exportiert","tokens_imported":"{count} Token importiert","tomorrow":"Morgen","total":"Total","total_products":"Total Produkte","total_records":"{total} Datens\xe4tze gefunden","total_variable_category":"Total { categoryName }","trial":"Testversion","trial_interval_unit":"Testintervall-Einheit","trial_unit":"Testeinheit","true":"Wahr","try_again":"Erneut versuchen","two_factor_auth_enabled":"2FA enabled","two_factor_code_not_match":"Zwei-Faktor-Code stimmt nicht \xfcberein","type":"Type","type_colon":"Type:","unable_server":"Server unter {endpoint} nicht erreichbar","unauthorized_page":"verboten","unchained":"Unchained Admin UI","unchained_admin":"Unchained Admin UI","unchained_logo":"Unchained Logo","unpublished":"Nicht ver\xf6ffentlicht","unsaved_changes":"Ungespeicherte \xc4nderungen","unsupported_file_format":"Nicht unterst\xfctztes Dateiformat","update":"Aktualisieren","update_configuration":"Konfiguration aktualisieren","update_country":"Land aktualisieren","update_currency":"W\xe4hrung aktualisieren","update_delivery_configuration":"Lieferkonfiguration aktualisieren","update_failed":"Aktualisierung fehlgeschlagen","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","updated_assortments":"Aktualisierte Sortimente","updated_at":"Aktualisiert am","updated_date":"<b>Aktualisiert :</b> {updated}","updated_filters":"Aktualisierte Filter","updated_products":"Aktualisierte Produkte","updating":"Aktualisieren...","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_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_singular":"1 Benutzer","user_delete_success":"Benutzer erfolgreich gel\xf6scht","user_detail_title":"Benutzer Details","user_password_not_set":"Benutzerpasswort nicht festgelegt","user_profile_created":"Benutzerprofil erfolgreich erstellt!","user_remove_webauthn_success":"WebAuthn erfolgreich entfernt","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_count_header":"{count} Benutzer","users_list_header":"Benutzer","users_setting_list_header":"Benutzereinstellungen","valid":"G\xfcltig","value":"Wert","variation":"Variation","variation_option_added":"Variationsoption erfolgreich hinzugef\xfcgt!","variation_option_updated":"Variationsoption erfolgreich aktualisiert!","variations":"Variationen","vat_suspect":"MwSt.-Verdacht","vendor":"Anbieter","verification_sent_error":"Fehler beim Senden der Verifizierungs-E-Mail, bitte versuchen Sie es erneut","verification_failed":"Verifizierung fehlgeschlagen","verification_failed_status":"Verifizierung fehlgeschlagen","verification_sent_success":"Verifizierungs-E-Mail erfolgreich gesendet","verification_successful":"Verifizierung erfolgreich","verification_token_expired":"Verification token abgelaufen","verification_web3_address":"Verifizieren","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}","view_all":"Alle anzeigen","view_order":"Bestellung anzeigen","wallet-address":"Wallet {walletAddress}","warehouse_detail_title":"Lager {id}","warehousing":"Lagerung","warehousing_provider":"Lagerintegrationen","warehousing_provider_count_header_singular":"1 Lagerintegration","warehousing_provider_deleted":"Lagerintegration erfolgreich gel\xf6scht","warehousing_provider_title":"Lagerintegrationen","warehousing_providers_count_header":"{count} Lagerintegrationen","warehousing_providers_header":"Lagerintegrationen","warning":"Warnung!","web3-addresses":"Web3-Adressen","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":"Weight (Gram)","welcome":"Willkommen!","welcome_user":"Willkommen zur\xfcck, {name}\\\\!","width":"Breite (Millimeter)","work_added_success":"Arbeit erfolgreich hinzugef\xfcgt!","work_allocated_success":"Arbeit erfolgreich zugewiesen!","work_created":"Erstellt","work_deleted":"Arbeit {workId} erfolgreich gel\xf6scht","work_detail":"Arbeitsdetails","work_detail_title":"Arbeitsdetails {id}","work_finished":"Beendet","work_item_count_header_singular":"1 Arbeitselement","work_management_setting_list_header":"Arbeitsverwaltungseinstellungen","work_original":"Originalarbeit","work_priority":"Priorit\xe4t","work_queue":"Job-Queue","work_queue_count_header":"{count} Arbeitselemente","work_queue_header":"Arbeitsqueue","work_queue_title":"Job-Queue","work_retries":"Wiederholungen","work_scheduled":"Geplant","work_started":"Gestartet","work_started_success":"Arbeit erfolgreich gestartet\\\\!","work_status":"Work Status","work_type":"Work Typ","work_type_header":"Typ","worker":"Arbeiter","worker_dynamic":"{worker}","write_review":"Bewertung schreiben","wrong_file_format":"Falsches Dateiformat","wrong_token_import_file_format":"Falsches Token-Import-Dateiformat","yes":"Ja","yesterday":"Gestern"}')},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,a.__assign)({timeZone:t},e[n]),r},{})}function S(e,t){return Object.keys((0,a.__assign)((0,a.__assign)({},e),t)).reduce(function(r,n){return r[n]=(0,a.__assign)((0,a.__assign)({},e[n]||{}),t[n]||{}),r},{})}function x(e,t){if(!t)return e;var r=E.S.formats;return(0,a.__assign)((0,a.__assign)((0,a.__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 o=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 m=r.id,g=r.defaultMessage;(0,v.V1)(!!m,"[@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(m),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,a.__assign)((0,a.__assign)({},p),n||{}),s=x(s,h),c=x(c,h),!y){if(!1===d&&""===y)return y;if((!g||o&&o.toLowerCase()!==u.toLowerCase())&&f(new k.sb(r,o)),g)try{var b=t.getMessageFormat(g,u,c,i);return b.format(n)}catch(e){return f(new k.Ho('Error formatting default message for: "'.concat(_,'", rendering default message verbatim'),o,r,e)),"string"==typeof g?g:_}return _}try{var b=t.getMessageFormat(y,o,s,(0,a.__assign)({formatters:t},i||{}));return b.format(n)}catch(e){f(new k.Ho('Error formatting message: "'.concat(_,'", using ').concat(g?"default message":"id"," as fallback."),o,r,e))}if(g)try{var b=t.getMessageFormat(g,u,c,i);return b.format(n)}catch(e){f(new k.Ho('Error formatting the default message for: "'.concat(_,'", rendering message verbatim'),o,r,e))}return"string"==typeof y?y:"string"==typeof g?g:_},I=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function O(e,t,r,n){var i=e.locale,o=e.formats,s=e.onError,l=e.timeZone;void 0===n&&(n={});var u=n.format,c=(0,a.__assign)((0,a.__assign)({},l&&{timeZone:l}),u&&(0,v.F3)(o,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,a.__assign)((0,a.__assign)({},d),{hour:"numeric",minute:"numeric"})),r(i,d)}function N(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],a=r[1],o="string"==typeof i?new Date(i||0):i;try{return O(e,"date",t,void 0===a?{}:a).format(o)}catch(t){e.onError(new k.pg("Error formatting date.",e.locale,t))}return String(o)}function D(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],a=r[1],o="string"==typeof i?new Date(i||0):i;try{return O(e,"time",t,void 0===a?{}:a).format(o)}catch(t){e.onError(new k.pg("Error formatting time.",e.locale,t))}return String(o)}function C(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i=r[0],a=r[1],o=r[2],s="string"==typeof i?new Date(i||0):i,l="string"==typeof a?new Date(a||0):a;try{return O(e,"dateTimeRange",t,void 0===o?{}:o).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],a=r[1],o="string"==typeof i?new Date(i||0):i;try{return O(e,"date",t,void 0===a?{}:a).formatToParts(o)}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],a=r[1],o="string"==typeof i?new Date(i||0):i;try{return O(e,"time",t,void 0===a?{}:a).formatToParts(o)}catch(t){e.onError(new k.pg("Error formatting time.",e.locale,t))}return[]}var R=r(26382),M=["style","type","fallback","languageDisplay"];function F(e,t,r,n){var i=e.locale,a=e.onError;Intl.DisplayNames||a(new R.IF('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',R.O4.MISSING_INTL_API));var o=(0,v.J9)(n,M);try{return t(i,o).of(r)}catch(e){a(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=V(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 V(e,t,r,n){var i=e.locale,o=e.onError;void 0===n&&(n={}),Intl.ListFormat||o(new R.IF('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',R.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,a.__assign)((0,a.__assign)({},e),{value:l[e.value]||e.value})})}catch(e){o(new k.pg("Error formatting list.",i,e))}return r}var z=["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,a=e.onError;void 0===r&&(r={});var o=r.format,s=o&&(0,v.F3)(i,"number",o,a)||{};return t(n,(0,v.J9)(r,z,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,a=e.onError;void 0===n&&(n={}),Intl.PluralRules||a(new R.IF('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',R.O4.MISSING_INTL_API));var o=(0,v.J9)(n,W);try{return t(i,o).select(r)}catch(e){a(new k.pg("Error formatting plural.",i,e))}return"other"}var Z=["numeric","style"];function Q(e,t,r,n,i){void 0===i&&(i={}),n||(n="second"),Intl.RelativeTimeFormat||e.onError(new R.IF('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',R.O4.MISSING_INTL_API));try{var a,o,s,l,u,c;return(a=i,o=e.locale,s=e.formats,l=e.onError,void 0===a&&(a={}),c=!!(u=a.format)&&(0,v.F3)(s,"relative",u,l)||{},t(o,(0,v.J9)(a,Z,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=[],o=4;o<arguments.length;o++)i[o-4]=arguments[o];var s=Y(n),l=A.apply(void 0,(0,a.__spreadArray)([e,t,r,s],i,!1));return Array.isArray(l)?(0,b.SP)(l):l},X=function(e,t){var r,n,i,o,s,l,u,c=e.defaultRichTextElements,d=(0,a.__rest)(e,["defaultRichTextElements"]),f=Y(c),h=(r=(0,a.__assign)((0,a.__assign)((0,a.__assign)({},b.JF),d),{defaultRichTextElements:f}),n=(0,v.GT)(t),o=(i=(0,a.__assign)((0,a.__assign)({},v.JF),r)).locale,s=i.defaultLocale,l=i.onError,o?!Intl.NumberFormat.supportedLocalesOf(o).length&&l?l(new k.hr('Missing locale data for locale: "'.concat(o,'" 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(o).length&&l&&l(new k.hr('Missing locale data for locale: "'.concat(o,'" 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,a.__assign)((0,a.__assign)({},i),{formatters:n,formatNumber:H.bind(null,i,n.getNumberFormat),formatNumberToParts:G.bind(null,i,n.getNumberFormat),formatRelativeTime:Q.bind(null,i,n.getRelativeTimeFormat),formatDate:N.bind(null,i,n.getDateTimeFormat),formatDateToParts:P.bind(null,i,n.getDateTimeFormat),formatTime:D.bind(null,i,n.getDateTimeFormat),formatDateTimeRange:C.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:V.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,a.__assign)((0,a.__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,a.__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);let en=e=>{let{children:t,locale:r,messages:n}=e,[a,o]=(0,p.useState)(r),[s,l]=(0,p.useState)(n);return(0,p.useEffect)(()=>{{let e=localStorage.getItem("preferred-language");e&&e!==a&&(o(e),l(y(e)))}},[a]),(0,i.jsx)(er,{onError:()=>{},locale:a,messages:s,textComponent:"span",children:t})};var ei=r(15233),ea=r(17830);let 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:"M9.568 3H5.25A2.25 2.25 0 0 0 3 5.25v4.318c0 .597.237 1.17.659 1.591l9.581 9.581c.699.699 1.78.872 2.607.33a18.095 18.095 0 0 0 5.223-5.223c.542-.827.369-1.908-.33-2.607L11.16 3.66A2.25 2.25 0 0 0 9.568 3Z"}),p.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 6h.008v.008H6V6Z"}))}),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:"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"}))}),el=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:"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"}))}),eu=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:"M6 13.5V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m12-3V3.75m0 9.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 3.75V16.5m-6-9V3.75m0 3.75a1.5 1.5 0 0 1 0 3m0-3a1.5 1.5 0 0 0 0 3m0 9.75V10.5"}))}),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:"M18 18.72a9.094 9.094 0 0 0 3.741-.479 3 3 0 0 0-4.682-2.72m.94 3.198.001.031c0 .225-.012.447-.037.666A11.944 11.944 0 0 1 12 21c-2.17 0-4.207-.576-5.963-1.584A6.062 6.062 0 0 1 6 18.719m12 0a5.971 5.971 0 0 0-.941-3.197m0 0A5.995 5.995 0 0 0 12 12.75a5.995 5.995 0 0 0-5.058 2.772m0 0a3 3 0 0 0-4.681 2.72 8.986 8.986 0 0 0 3.74.477m.94-3.197a5.971 5.971 0 0 0-.94 3.197M15 6.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm6 3a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Zm-13.5 0a2.25 2.25 0 1 1-4.5 0 2.25 2.25 0 0 1 4.5 0Z"}))}),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:"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"}))}),ef=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:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))}),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 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"}))});var ep=r(68739),em=r(23176);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 5.25h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5m-16.5 4.5h16.5"}))});var e_=r(48230),ey=r.n(e_),ev=r(77742),eb=r(65163),ew=r(25602),eE=r(81893),ek=r(36607),eT=r(70620),eS=r(39296),ex=r(21126),eA=r(69904),eI=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 eD=r(71714),eC=r(94162),eP=r(66799),eL=r(99442),eR=r(74540),eM=r(13277);let eF=null!=(n=p.startTransition)?n:function(e){e()};var ej=r(16109),eB=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(eB||{}),eU=(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))(eU||{});let eV={0:e=>({...e,disclosureState:(0,eL.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}},ez=(0,p.createContext)(null);function eq(e){let t=(0,p.useContext)(ez);if(null===t){let t=Error("<".concat(e," /> is missing a parent <Disclosure /> component."));throw Error.captureStackTrace&&Error.captureStackTrace(t,eq),t}return t}ez.displayName="DisclosureContext";let eH=(0,p.createContext)(null);eH.displayName="DisclosureAPIContext";let eG=(0,p.createContext)(null);function eW(e,t){return(0,eL.Y)(t.type,eV,e,t)}eG.displayName="DisclosurePanelContext";let eK=p.Fragment,eZ=eM.Ac.RenderStrategy|eM.Ac.Static,eQ=Object.assign((0,eM.FX)(function(e,t){let{defaultOpen:r=!1,...n}=e,i=(0,p.useRef)(null),a=(0,eA.P)(t,(0,eA.a)(e=>{i.current=e},void 0===e.as||e.as===p.Fragment)),o=(0,p.useReducer)(eW,{disclosureState:+!r,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:s,buttonId:l},u]=o,c=(0,eS._)(e=>{u({type:1});let t=(0,eR.T)(i);if(!t||!l)return;let r=e?eP.Lk(e)?e:"current"in e&&eP.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,eM.Ci)();return p.createElement(ez.Provider,{value:o},p.createElement(eH.Provider,{value:d},p.createElement(eN,{value:c},p.createElement(eD.El,{value:(0,eL.Y)(s,{0:eD.Uw.Open,1:eD.Uw.Closed})},h({ourProps:{ref:a},theirProps:n,slot:f,defaultTag:eK,name:"Disclosure"})))))}),{Button:(0,eM.FX)(function(e,t){let r=(0,p.useId)(),{id:n="headlessui-disclosure-button-".concat(r),disabled:i=!1,autoFocus:a=!1,...o}=e,[s,l]=eq("Disclosure.Button"),u=(0,p.useContext)(eG),c=null!==u&&u===s.panelId,d=(0,p.useRef)(null),f=(0,eA.P)(d,t,(0,eS._)(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,eS._)(e=>{var t;if(c){if(1===s.disclosureState)return;switch(e.key){case ej.D.Space:case ej.D.Enter:e.preventDefault(),e.stopPropagation(),l({type:0}),null==(t=s.buttonElement)||t.focus()}}else switch(e.key){case ej.D.Space:case ej.D.Enter:e.preventDefault(),e.stopPropagation(),l({type:0})}}),m=(0,eS._)(e=>{e.key===ej.D.Space&&e.preventDefault()}),g=(0,eS._)(e=>{var t;(0,eC.l)(e.currentTarget)||i||(c?(l({type:0}),null==(t=s.buttonElement)||t.focus()):l({type:0}))}),{isFocusVisible:_,focusProps:y}=(0,eE.o)({autoFocus:a}),{isHovered:v,hoverProps:b}=(0,ek.M)({isDisabled:i}),{pressed:w,pressProps:E}=(0,eT.Z)({disabled:i}),k=(0,p.useMemo)(()=>({open:0===s.disclosureState,hover:v,active:w,disabled:i,focus:_,autofocus:a}),[s,v,w,_,i,a]),T=(0,ex.c)(e,s.buttonElement),S=c?(0,eM.v6)({ref:f,type:T,disabled:i||void 0,autoFocus:a,onKeyDown:h,onClick:g},y,b,E):(0,eM.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:a,onKeyDown:h,onKeyUp:m,onClick:g},y,b,E);return(0,eM.Ci)()({ourProps:S,theirProps:o,slot:k,defaultTag:"button",name:"Disclosure.Button"})}),Panel:(0,eM.FX)(function(e,t){let r=(0,p.useId)(),{id:n="headlessui-disclosure-panel-".concat(r),transition:i=!1,...a}=e,[o,s]=eq("Disclosure.Panel"),{close:l}=function e(t){let r=(0,p.useContext)(eH);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,eA.P)(t,(0,eS._)(e=>{eF(()=>s({type:5,element:e}))}),c);(0,p.useEffect)(()=>(s({type:3,panelId:n}),()=>{s({type:3,panelId:null})}),[n,s]);let f=(0,eD.O_)(),[h,m]=(0,eI.p)(i,u,null!==f?(f&eD.Uw.Open)===eD.Uw.Open:0===o.disclosureState),g=(0,p.useMemo)(()=>({open:0===o.disclosureState,close:l}),[o.disclosureState,l]),_={ref:d,id:n,...(0,eI.B)(m)},y=(0,eM.Ci)();return p.createElement(eD.$x,null,p.createElement(eG.Provider,{value:o.panelId},y({ourProps:_,theirProps:a,slot:g,defaultTag:"div",features:eZ,visible:h,name:"Disclosure.Panel"})))})});var e$=r(15039),eY=r.n(e$);let eJ=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 eX=r(92436);let e0=e=>{var t,r,n,a;let{item:o,hasRole:s,onSelected:l,narrowView:u}=e,c=(0,f.useRouter)(),[d,h]=(0,p.useState)(!1),[m,g]=(0,p.useState)(!1),_=(0,p.useRef)(null),y=null==(t=o.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=o.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:eY()("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:o.name,onClick:()=>h(!d),children:(null==o?void 0:o.icon)&&(0,i.jsx)(o.icon,{className:eY()("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==(a=_.current)?void 0:a.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:o.name}),o.children.filter(e=>!(null==e?void 0:e.requiredRole)||s(e.requiredRole)).map(e=>(0,i.jsx)(ey(),{href:e.href,className:eY()("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))]})})]},o.name):null:(null==(r=o.children)?void 0:r.some(e=>!(null==e?void 0:e.requiredRole)||s(null==e?void 0:e.requiredRole)))?(0,i.jsx)(eQ,{defaultOpen:!0,as:"div",className:"space-y-1",children:e=>{let{open:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(eQ.Button,{className:eY()("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:()=>g(!0),onMouseLeave:()=>g(!1),children:[(null==o?void 0:o.icon)&&(0,i.jsx)(o.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-400",children:o.name}),(0,i.jsx)(eJ,{className:eY()("h-5 w-5 transition-all duration-200 ease-out",m||t?"opacity-100 text-slate-600 dark:text-slate-300":"opacity-0",t?"rotate-180":"rotate-0")})]}),(0,i.jsx)(eQ.Panel,{className:"pl-6 space-y-1",onClick:l,children:o.children.filter(e=>!(null==e?void 0:e.requiredRole)||s(e.requiredRole)).map(e=>(0,i.jsx)(ey(),{href:e.href,className:eY()("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-400 bg-slate-50 hover:bg-slate-100":c.pathname===e.href}),children:e.name},e.name))})]})}},o.name):null},e1=e=>{let{navigation:t,onClick:r=null,narrowView:n=!1}=e,{formatMessage:a}=(0,ev.A)(),{hasRole:o}=(0,eX.A)(),s=(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)(ey(),{href:(null==e?void 0:e.href)||"#",className:eY()("group flex w-full items-center rounded-md py-2 text-sm font-medium focus:outline-hidden focus:ring-2 focus:ring-slate-800",s.asPath===e.href||s.pathname===e.href?"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",{"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:eY()("h-6 w-6 shrink-0",{"text-slate-900 dark:text-slate-100":s.asPath===e.href||s.pathname===e.href,"text-slate-800 dark:text-slate-300 group-hover:text-slate-900 dark:group-hover:text-slate-100":s.asPath!==e.href&&s.pathname!==e.href,"mr-3":!n}),"aria-hidden":"true"}),!n&&(0,i.jsx)("span",{className:"flex-1 dark:text-slate-400",children:e.name})]})},e.name):(0,i.jsx)(e0,{item:e,hasRole:o,onSelected:r,narrowView:n},e.name))})})};var e2=r(70874),e5=r(32783),e3=r(59863),e4=r(67994),e6=r(9758),e9=r(83015);let e8=e=>{let{avatar:t,...r}=e,{formatMessage:n}=(0,ev.A)(),a=(0,e4.m)(),o=(0,f.useRouter)(),s=async()=>{var e;let t=(null==r?void 0:r.username)||(null==r?void 0:r.displayName)||(null==r||null==(e=r.profile)?void 0:e.displayName)||"";await (0,e6.A)(a,o),h.oR.success(n({id:"goodbye_user",defaultMessage:t?"See you later, {name}!":"See you later!"},{name:t}))};return(0,i.jsx)("a",{href:"#",onClick:s,className:"group block shrink-0 focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md",children:(0,i.jsxs)("div",{className:"flex items-center pl-2",children:[t?(0,i.jsx)(e3.A,{src:null==t?void 0:t.url,loader:e2.A,width:36,height:36,className:"rounded-full mr-3 aspect-square object-cover",alt:n({id:"user_avatar",defaultMessage:"User avatar"})}):(0,i.jsx)("span",{className:"inline-block h-6 w-6 overflow-hidden rounded-full mr-3",children:(0,i.jsx)(e9.A,{className:"h-full w-full text-slate-700 dark:text-slate-300"})}),(0,i.jsxs)("div",{children:[(0,i.jsx)("p",{className:"text-sm font-medium text-slate-700 dark:text-slate-400 group-hover:text-slate-700 dark:group-hover:text-slate-300",children:(0,e5.A)(r)}),(0,i.jsx)("p",{className:"text-sm text-slate-400 dark:text-slate-600 group-hover:text-slate-700 dark:group-hover:text-slate-400",children:n({id:"log_out",defaultMessage:"Log out"})})]})]})})},e7=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:"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"}))}),te=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:"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"}))}),tt=(e,t)=>{let[r,n]=(0,p.useState)(()=>{try{if(window.localStorage)return window.localStorage.getItem(e)||t;return t}catch(e){return console.error(e),t}});return[r,t=>{try{if(window.localStorage){let i=t instanceof Function?t(r):t;n(i),window.localStorage.setItem(e,JSON.stringify(i))}else console.error("localStorage is not available")}catch(e){console.error(e)}}]},tr=(0,p.createContext)({}),tn=e=>{let{children:t}=e,[r,n]=tt("theme","light");(0,p.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,p.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 a=(0,p.useMemo)(()=>[r,n],[r,n]);return(0,i.jsx)(tr.Provider,{value:a,children:t})},ti=()=>{let e=(0,p.useContext)(tr);if(void 0===e)throw Error("Theme Context was used outside of its Provider");return e},ta=()=>{let[e,t]=ti();return(0,i.jsx)("div",{className:"inline-flex items-center z-50",children:(0,i.jsxs)("button",{type:"button",className:"hover:cursor-pointer focus:outline-hidden focus:ring-2 focus:ring-slate-800 rounded-md p-1",id:"theme-toggle",title:"Toggles light & dark","aria-label":"auto","aria-live":"polite",onClick:()=>{"dark"===e?t("light"):t("dark")},children:[(0,i.jsx)(e7,{className:eY()("w-6 h-6 text-slate-600 transition-all ease-out delay-1000",{hidden:"dark"===e})}),(0,i.jsx)(te,{className:eY()("w-6 h-6 text-yellow-200 transition-all ease-out delay-1000",{hidden:"light"===e})})]})})},to=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:"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"}))}),ts=e=>{let{narrowNav:t=!1}=e;(0,f.useRouter)();let{locale:r,formatMessage:n}=(0,ev.A)(),[a,o]=(0,p.useState)(!1),s=["en","de"],l=s.find(e=>e===r)||"en",u=e=>({en:"English",de:"Deutsch",fr:"Fran\xe7ais",es:"Espa\xf1ol",it:"Italiano"})[e]||e.toUpperCase(),c=async e=>{try{localStorage.setItem("preferred-language",e),window.location.reload(),o(!1)}catch(e){console.error("Failed to change language:",e)}};return(0,p.useEffect)(()=>{let e=e=>{e.target.closest("[data-language-toggle]")||o(!1)};if(a)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[a]),(0,i.jsxs)("div",{className:"relative","data-language-toggle":!0,children:[(0,i.jsx)("button",{onClick:()=>o(!a),className:"flex items-center space-x-1 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:n({id:"change_language",defaultMessage:"Change language"}),children:(0,i.jsx)(to,{className:"h-6 w-6"})}),a&&(0,i.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,i.jsxs)("div",{className:"py-1",role:"menu",children:[(0,i.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:n({id:"select_language",defaultMessage:"Select Language"})}),s.map(e=>(0,i.jsx)("button",{onClick:()=>c(e),className:"w-full text-left px-4 py-2 text-sm hover:bg-slate-100 dark:hover:bg-slate-700 transition-colors ".concat(l===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,i.jsxs)("div",{className:"flex items-center justify-between",children:[(0,i.jsx)("span",{children:u(e)}),l===e&&(0,i.jsx)("div",{className:"h-2 w-2 rounded-full bg-slate-800"})]})},e))]})})]})},tl=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};var tu=r(22160);let tc=()=>{var e;return(null==(e=window)?void 0:e.AdminUiPermissions)?window.AdminUiPermissions():{}};var td=r(13437),tf=r(99742);let th=e=>{let{children:t}=e,r=(0,f.useRouter)(),{currentUser:n,loading:a}=(0,eb.A)(),{checkAccess:o,isUserAuthenticated:s,isUserAdmin:l,checkRole:u,isPublicOnlyPage:c}=(0,p.useMemo)(()=>tc(),[]),d=(0,p.useMemo)(()=>({isAdmin:()=>!!l&&l(n),hasRole:e=>!!u&&u(n,e)}),[n,u,l]);return(0,p.useEffect)(()=>{let e;!a&&(s(n)?o(n,r.pathname)?c(r.pathname)?e="/":!l(n)&&tf.env.NEXT_PUBLIC_ONLY_ADMIN&&"/423"!==r.pathname&&(e="/423"):e="/403":o(n)||(e="/log-in"),e&&r.pathname!==e&&(console.log("Redirecting to:",e),r.replace(e)))},[n,a,l,s,c,r,o]),(0,i.jsx)(tu.A.Provider,{value:d,children:a&&!n?(0,i.jsx)(td.A,{}):t})},tp=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"})})},tm=e=>{var t,r,n;let{children:a,pageHeader:o="",componentName:s}=e,{formatMessage:l}=(0,ev.A)(),{currentUser:u}=(0,eb.A)(),{shopInfo:c}=(0,ew.A)(),[d,f]=(0,p.useState)(!0),[h,m]=(0,p.useState)(!1),g=[{name:l({id:"copilot",defaultMessage:"Copilot"}),icon:ei.A,href:"/"},{name:l({id:"orders",defaultMessage:"Orders"}),requiredRole:"manageOrders",icon:ea.A,href:"/orders"},{name:l({id:"products",defaultMessage:"Products"}),requiredRole:"manageProducts",icon:eo,href:"/products"},{name:l({id:"tokens",defaultMessage:"Tokens"}),icon:es,href:"/tokens",requiredRole:"viewTokens"},{name:l({id:"assortments",defaultMessage:"Assortments"}),icon:el,href:"/assortments",requiredRole:"manageAssortments"},{name:l({id:"filters",defaultMessage:"Filters"}),icon:eu,requiredRole:"manageFilters",href:"/filters"},{name:l({id:"users",defaultMessage:"Users"}),icon:ec,href:"/users",requiredRole:"viewUsers"},{name:l({id:"quotations",defaultMessage:"Quotations"}),href:"/quotations",icon:tp,requiredRole:"viewQuotations"},{name:l({id:"enrollments",defaultMessage:"Enrollments"}),href:"/enrollments",requiredRole:"viewEnrollments",icon:ed},{name:l({id:"system",defaultMessage:"System settings"}),icon:ef,children:[{name:l({id:"currencies",defaultMessage:"Currencies"}),requiredRole:"manageCurrencies",href:"/currency"},{name:l({id:"countries",defaultMessage:"Countries"}),href:"/country",requiredRole:"manageCountries"},{name:l({id:"languages",defaultMessage:"Languages"}),href:"/language",requiredRole:"manageLanguages"},{name:l({id:"delivery_providers",defaultMessage:"Delivery providers"}),requiredRole:"manageDeliveryProviders",href:"/delivery-provider"},{name:l({id:"payment_providers",defaultMessage:"Payment providers"}),requiredRole:"managePaymentProviders",href:"/payment-provider"},{name:l({id:"warehousing_provider",defaultMessage:"Warehousing provider"}),requiredRole:"manageWarehousingProviders",href:"/warehousing-provider"}]},{name:l({id:"activities",defaultMessage:"Activities"}),icon:eh,children:[{name:l({id:"work_queue",defaultMessage:"Work queue"}),requiredRole:"manageWorker",href:"/works"},{name:l({id:"event",defaultMessage:"Events"}),href:"/events",requiredRole:"showEvents"}]},{name:l({id:"account",defaultMessage:"Account"}),icon:ep.A,href:"/account"},(null==c||null==(r=c.adminUiConfig)||null==(t=r.externalLinks)?void 0:t.length)&&{name:l({id:"extensions",defaultMessage:"Extensions"}),icon:em.A,href:"/",children:null==(n=c.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),_=tl(()=>{f(!0)});return(0,i.jsxs)(th,{children:[(0,i.jsxs)("div",{className:"fixed inset-0 z-40 flex md:hidden ".concat(d?"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:()=>f(!d),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:l({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)(ey(),{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)(e3.A,{src:"/logo-light.svg",width:41,height:25,alt:l({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})})}),(0,i.jsx)(e1,{navigation:g,onClick:()=>f(!d)})]}),(0,i.jsxs)("div",{className:"flex items-center shrink-0 border-t border-slate-300 dark:border-slate-800",children:[(0,i.jsx)(e8,{avatar:null==u?void 0:u.avatar,...u}),(0,i.jsx)("div",{className:"ml-auto",children:(0,i.jsx)(ta,{})})]})]})]}),(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(h?"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(h?"px-2 justify-center":"px-2 lg:px-4 2xl:px-6"),children:(0,i.jsx)(ey(),{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)(e3.A,{src:"/logo-light.svg",width:h?25:41,height:25,alt:l({id:"unchained_logo",defaultMessage:"Unchained Logo"})})})})}),(0,i.jsx)(e1,{navigation:g,narrowView:h})]}),(0,i.jsxs)("div",{className:"flex items-center shrink-0 py-2 ".concat(h?"justify-center px-2":"border-t border-slate-200 dark:border-slate-800 px-2 lg:px-4 2xl:px-6"),children:[!h&&(0,i.jsx)(e8,{avatar:null==u?void 0:u.avatar,...u}),h&&(0,i.jsxs)("div",{className:"flex items-center flex-col space-y-2",children:[(0,i.jsx)(ts,{narrowNav:h}),(0,i.jsx)(ta,{})]})]}),(0,i.jsx)("div",{className:"flex shrink-0 p-2 ".concat(h?"":"border-t border-slate-200 dark:border-slate-800"),children:h?(0,i.jsx)("button",{onClick:()=>m(!h),className:"w-full flex items-center justify-center 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:l({id:"expand_navigation",defaultMessage:"Expand navigation"}),children:(0,i.jsx)(eg,{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:()=>m(!h),className:"flex items-center 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:l({id:"collapse_navigation",defaultMessage:"Collapse navigation"}),children:(0,i.jsx)(eg,{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)(ts,{narrowNav:h}),(0,i.jsx)(ta,{})]})]})})]})}),(0,i.jsxs)("div",{className:"flex flex-1 flex-col ".concat(h?"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:_,onClick:()=>f(!d),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:l({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)(e3.A,{src:"/logo-light.svg",width:41,height:25,alt:l({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)(ts,{narrowNav:!1}),(0,i.jsx)(ta,{})]})]}),(0,i.jsxs)("main",{className:"container mx-auto max-w-7xl flex-1 px-4 py-5 md:pt-10 lg:pt-5 sm:px-6 md:px-8",children:[(0,i.jsx)("h3",{className:"ml-8 text-lg font-medium leading-6 text-slate-900",children:o}),p.cloneElement(a)]})]})]})};var tg=r(98477);let t_=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?tg.createPortal(t,r.current):null},ty=(0,ee.Ay)(e=>{let{onClose:t,children:r,visible:n,closeOnOutsideClick:a=!1,intl:o}=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)(t_,{intl:o,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:o.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 tv=r(71988);let tb=e=>{let{children:t}=e,[r,n]=(0,p.useState)(null),[a,o]=(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),o(t),n(()=>e),u(()=>()=>{s(),r(!0)})})}}),[]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(ty,{visible:!!r,onClose:l,closeOnOutsideClick:a,children:r}),(0,i.jsx)(tv.A.Provider,{value:c,children:t})]})},tw=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},tE=e=>e.substr(3).padStart(16,"0"),tk=function(e,t){let{username:r,clientId:n,emailAddress:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=tw();a&&((i||r)&&a.setVisitorId(tE(i||r)),n&&a.setUserId(n),a.setCustomUrl(e),a.setDocumentTitle(t),a.trackPageView())};var tT=r(96427),tS=r(79350),tx=r(21737);function tA(){let e=(0,tT._)(["fragment CustomProperty on ExtendedUnchainedSchema { "," }"]);return tA=function(){return e},e}let tI=(e,t)=>{let r={};return Object.keys(t).forEach(n=>{let i=null==e?void 0:e[n],a=null==t?void 0:t[n];"object"==typeof a?r[n]=tI(i,a):r[n]=i}),r},tO=e=>e.reduce((e,t)=>{switch(t.kind){case"InlineFragment":Object.assign(e,tO(t.selectionSet.selections));break;case"Field":{let r,n=t.name.value;r=t.selectionSet?tO(t.selectionSet.selections):t.value,e[n]=r}}return e},{}),tN=(e,t)=>{var r,n;if(!e||!t)return null;let i=(0,tS.J1)(tA(),e);return tI(t,tO(null==i||null==(n=i.definitions[0])||null==(r=n.selectionSet)?void 0:r.selections))},tD=e=>{let{children:t}=e,{shopInfo:r}=(0,ew.A)();return(0,i.jsx)(tx.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:tN}},[r]),children:t})};var tC=r(75769);class tP extends p.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,t){console.error({error:e,errorInfo:t})}render(){return this.state.hasError?(0,i.jsx)(tC.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}}}var tL=r(77328),tR=r.n(tL),tM=r(45105),tF=r.n(tM),tj=r(46366),tB=r(99742);let tU=e=>{tk(document.location.origin+e,document.title)},tV=e=>{let{Component:t,componentName:r,pageProps:n,router:a}=e,o=(0,m.L)(n),s=t.getLayout?e=>(0,i.jsxs)(th,{children:[(0,i.jsx)("div",{className:"absolute top-4 left-4",children:(0,i.jsx)(e3.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)(ta,{})}),t.getLayout(e)]}):e=>(0,i.jsx)(tm,{componentName:r,children:e}),l=y("en");return(0,p.useEffect)(()=>(f.Router.events.on("routeChangeComplete",tU),()=>{f.Router.events.off("routeChangeComplete",tU)}),[o]),(0,i.jsx)(en,{locale:"en",messages:l,children:(0,i.jsxs)(tP,{children:[(0,i.jsxs)(tR(),{children:[(0,i.jsx)("title",{children:"Unchained: Admin UI"}),tB.env.NEXT_PUBLIC_MATOMO_SITE_ID?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(tF(),{id:"matomo-script",src:"".concat(tB.env.NEXT_PUBLIC_MATOMO_URL,"/matomo.js")}),(0,i.jsx)(tF(),{id:"matomo-config",dangerouslySetInnerHTML:{__html:"\n var _paq = window._paq = window._paq || [];\n _paq.push(['trackPageView']);\n _paq.push(['enableLinkTracking']);\n _paq.push(['setTrackerUrl', '".concat(tB.env.NEXT_PUBLIC_MATOMO_URL,"/matomo.php']);\n _paq.push(['setSiteId', '").concat(tB.env.NEXT_PUBLIC_MATOMO_SITE_ID,"']);\n ")}})]}):null]}),(0,i.jsx)(u,{client:o,children:(0,i.jsx)(tD,{children:(0,i.jsx)(tn,{children:(0,i.jsxs)(tj.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)(tb,{children:s((0,i.jsx)(t,{...n}))})]})})})})]})},"intl-provider")};tV.getInitialProps=async e=>{let t=await d().getInitialProps(e),r=e.Component.displayName||e.Component.name||"Unknown";return{...t,componentName:r}};let tz=tV},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),a=r(1650),o=n._(r(85210));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.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=a.Image},45105:(e,t,r)=>{e.exports=r(3996)},45813:(e,t,r)=>{"use strict";r.d(t,{AT:()=>u,E4:()=>c,Vn:()=>d,Vu:()=>o,n4:()=>s,sw:()=>a,wY:()=>f,zK:()=>l});var n=r(17318),i=r(58851);function a(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 o(e){return a(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=o(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){a(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var o=i[r];if("OperationDefinition"===o.kind){var s=o.operation;if("query"===s||"mutation"===s||"subscription"===s)return o}"FragmentDefinition"!==o.kind||t||(t=o)}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}},46366:(e,t,r)=>{"use strict";r.d(t,{k:()=>l,v:()=>s});var n=r(37876),i=r(14232),a=r(51333);let o=(0,i.createContext)(void 0),s=()=>{let e=(0,i.useContext)(o);if(!e)throw Error("useChatContext must be used within a ChatProvider");return e},l=e=>{let{children:t}=e,r=(0,a.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};return(0,n.jsx)(o.Provider,{value:i,children:t})}},47518:(e,t,r)=>{"use strict";r.d(t,{OC:()=>i,yo:()=>a});var n=r(7743);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,a=null,o=-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&&(a=null!=(r=a)?r:t,o=t,0!==t&&l<i&&(i=l))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=a)?t:0,o+1)}function a(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),a=1===i.length,o=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)&&(!a||e.length>70||c||o||s),f="",h=a&&(0,n.i0)(e.charCodeAt(0));return(d&&!h||o)&&(f+="\n"),f+=r,(d||c)&&(f+="\n"),'"""'+f+'"""'}},48230:(e,t,r)=>{e.exports=r(5939)},51333:(e,t,r)=>{"use strict";let n,i,a;r.d(t,{b:()=>rO});var o,s,l,u,c,d,f,h,p=r(14232),m="vercel.ai.error",g=Symbol.for(m),_=class e extends Error{constructor({name:e,message:t,cause:r}){super(t),this[o]=!0,this.name=e,this.cause=r}static isInstance(t){return e.hasMarker(t,m)}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]}};o=g;var y=_,v=Symbol.for("vercel.ai.error.AI_APICallError"),b=Symbol.for("vercel.ai.error.AI_EmptyResponseBodyError");function w(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}var E="AI_InvalidArgumentError",k=`vercel.ai.error.${E}`,T=Symbol.for(k),S=class extends y{constructor({message:e,cause:t,argument:r}){super({name:E,message:e,cause:t}),this[s]=!0,this.argument=r}static isInstance(e){return y.hasMarker(e,k)}};s=T;var x=Symbol.for("vercel.ai.error.AI_InvalidPromptError"),A=Symbol.for("vercel.ai.error.AI_InvalidResponseDataError"),I="AI_JSONParseError",O=`vercel.ai.error.${I}`,N=Symbol.for(O),D=class extends y{constructor({text:e,cause:t}){super({name:I,message:`JSON parsing failed: Text: ${e}.
|
|
3
|
-
Error message: ${w(t)}`,cause:t}),this[l]=!0,this.text=e}static isInstance(e){return y.hasMarker(e,O)}};l=N;var C=Symbol.for("vercel.ai.error.AI_LoadAPIKeyError"),P=Symbol.for("vercel.ai.error.AI_LoadSettingError"),L=Symbol.for("vercel.ai.error.AI_NoContentGeneratedError"),R=Symbol.for("vercel.ai.error.AI_NoSuchModelError"),M=Symbol.for("vercel.ai.error.AI_TooManyEmbeddingValuesForCallError"),F="AI_TypeValidationError",j=`vercel.ai.error.${F}`,B=Symbol.for(j),U=class e extends y{constructor({value:e,cause:t}){super({name:F,message:`Type validation failed: Value: ${JSON.stringify(e)}.
|
|
4
|
-
Error message: ${w(t)}`,cause:t}),this[u]=!0,this.value=e}static isInstance(e){return y.hasMarker(e,j)}static wrap({value:t,cause:r}){return e.isInstance(r)&&r.value===t?r:new e({value:t,cause:r})}};u=B;var V=Symbol.for("vercel.ai.error.AI_UnsupportedFunctionalityError");function z(e){return null===e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e||(Array.isArray(e)?e.every(z):"object"==typeof e&&Object.entries(e).every(([e,t])=>"string"==typeof e&&z(t)))}let q=(e,t=21)=>(r=t)=>{let n="",i=0|r;for(;i--;)n+=e[Math.random()*e.length|0];return n};var H=r(67056);r(99742);var G=(({prefix:e,size:t=16,alphabet:r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:n="-"}={})=>{let i=q(r,t);if(null==e)return i;if(r.includes(n))throw new S({argument:"separator",message:`The separator "${n}" must not be part of the alphabet "${r}".`});return t=>`${e}${n}${i(t)}`})();function W(e){return e instanceof Error&&("AbortError"===e.name||"TimeoutError"===e.name)}var K=Symbol.for("vercel.ai.validator");function Z({text:e,schema:t}){try{let r=H.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&&K in t&&!0===t[K]&&"validate"in t?t:(r=t,{[K]:!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:U.wrap({value:e,cause:t.error})}}catch(t){return{success:!1,error:U.wrap({value:e,cause:t})}}}({value:r,schema:t});return n.success?{...n,rawValue:r}:n}catch(t){return{success:!1,error:D.isInstance(t)?t:new D({text:e,cause:t})}}}var Q=()=>globalThis.fetch,{btoa:$,atob:Y}=globalThis;Symbol("Let zodToJsonSchema decide on which parser to use"),function(e){e.assertEqual=e=>{},e.assertIs=function(e){},e.assertNever=function(e){throw Error()},e.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},e.getValidEnumValues=t=>{let r=e.objectKeys(t).filter(e=>"number"!=typeof t[t[e]]),n={};for(let e of r)n[e]=t[e];return e.objectValues(n)},e.objectValues=t=>e.objectKeys(t).map(function(e){return t[e]}),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},e.find=(e,t)=>{for(let r of e)if(t(r))return r},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(c||(c={})),(d||(d={})).mergeShapes=(e,t)=>({...e,...t});let J=c.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),X=e=>{switch(typeof e){case"undefined":return J.undefined;case"string":return J.string;case"number":return Number.isNaN(e)?J.nan:J.number;case"boolean":return J.boolean;case"function":return J.function;case"bigint":return J.bigint;case"symbol":return J.symbol;case"object":if(Array.isArray(e))return J.array;if(null===e)return J.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return J.promise;if("undefined"!=typeof Map&&e instanceof Map)return J.map;if("undefined"!=typeof Set&&e instanceof Set)return J.set;if("undefined"!=typeof Date&&e instanceof Date)return J.date;return J.object;default:return J.unknown}},ee=c.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class et extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof et))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,c.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},r=[];for(let n of this.issues)n.path.length>0?(t[n.path[0]]=t[n.path[0]]||[],t[n.path[0]].push(e(n))):r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}et.create=e=>new et(e);let er=(e,t)=>{let r;switch(e.code){case ee.invalid_type:r=e.received===J.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case ee.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,c.jsonStringifyReplacer)}`;break;case ee.unrecognized_keys:r=`Unrecognized key(s) in object: ${c.joinValues(e.keys,", ")}`;break;case ee.invalid_union:r="Invalid input";break;case ee.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${c.joinValues(e.options)}`;break;case ee.invalid_enum_value:r=`Invalid enum value. Expected ${c.joinValues(e.options)}, received '${e.received}'`;break;case ee.invalid_arguments:r="Invalid function arguments";break;case ee.invalid_return_type:r="Invalid function return type";break;case ee.invalid_date:r="Invalid date";break;case ee.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:c.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case ee.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case ee.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case ee.custom:r="Invalid input";break;case ee.invalid_intersection_types:r="Intersection results could not be merged";break;case ee.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case ee.not_finite:r="Number must be finite";break;default:r=t.defaultError,c.assertNever(e)}return{message:r}},en=e=>{let{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],o={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let s="";for(let e of n.filter(e=>!!e).slice().reverse())s=e(o,{data:t,defaultError:s}).message;return{...i,path:a,message:s}};function ei(e,t){let r=en({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,er,er==er?void 0:er].filter(e=>!!e)});e.common.issues.push(r)}class ea{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let n of t){if("aborted"===n.status)return eo;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return ea.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let n of t){let{key:t,value:i}=n;if("aborted"===t.status||"aborted"===i.status)return eo;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||n.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let eo=Object.freeze({status:"aborted"}),es=e=>({status:"dirty",value:e}),el=e=>({status:"valid",value:e}),eu=e=>"aborted"===e.status,ec=e=>"dirty"===e.status,ed=e=>"valid"===e.status,ef=e=>"undefined"!=typeof Promise&&e instanceof Promise;!function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:e?.message}(f||(f={}));class eh{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let ep=(e,t)=>{if(ed(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new et(e.common.issues);return this._error=t,this._error}}};function em(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return"invalid_enum_value"===t.code?{message:a??i.defaultError}:void 0===i.data?{message:a??n??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:a??r??i.defaultError}},description:i}}class eg{get description(){return this._def.description}_getType(e){return X(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:X(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new ea,ctx:{common:e.parent.common,data:e.data,parsedType:X(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(ef(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){let r={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:X(e)},n=this._parseSync({data:e,path:r.path,parent:r});return ep(r,n)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:X(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:t});return ed(r)?{value:r.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>ed(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:X(e)},n=this._parse({data:e,path:r.path,parent:r});return ep(r,await (ef(n)?n:Promise.resolve(n)))}refine(e,t){let r=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,n)=>{let i=e(t),a=()=>n.addIssue({code:ee.custom,...r(t)});return"undefined"!=typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new e7({schema:this,typeName:h.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return te.create(this,this._def)}nullable(){return tt.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return eW.create(this)}promise(){return e8.create(this,this._def)}or(e){return eZ.create([this,e],this._def)}and(e){return eY.create(this,e,this._def)}transform(e){return new e7({...em(this._def),schema:this,typeName:h.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new tr({...em(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:h.ZodDefault})}brand(){return new ta({typeName:h.ZodBranded,type:this,...em(this._def)})}catch(e){return new tn({...em(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:h.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return to.create(this,e)}readonly(){return ts.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let e_=/^c[^\s-]{8,}$/i,ey=/^[0-9a-z]+$/,ev=/^[0-9A-HJKMNP-TV-Z]{26}$/i,eb=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,ew=/^[a-z0-9_-]{21}$/i,eE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,ek=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,eT=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,eS=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ex=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,eA=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,eI=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,eO=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,eN=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,eD="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",eC=RegExp(`^${eD}$`);function eP(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}class eL extends eg{_parse(e){var t,r,i,a;let o;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==J.string){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.string,received:t.parsedType}),eo}let s=new ea;for(let l of this._def.checks)if("min"===l.kind)e.data.length<l.value&&(ei(o=this._getOrReturnCtx(e,o),{code:ee.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),s.dirty());else if("max"===l.kind)e.data.length>l.value&&(ei(o=this._getOrReturnCtx(e,o),{code:ee.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),s.dirty());else if("length"===l.kind){let t=e.data.length>l.value,r=e.data.length<l.value;(t||r)&&(o=this._getOrReturnCtx(e,o),t?ei(o,{code:ee.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):r&&ei(o,{code:ee.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),s.dirty())}else if("email"===l.kind)eT.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"email",code:ee.invalid_string,message:l.message}),s.dirty());else if("emoji"===l.kind)n||(n=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),n.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"emoji",code:ee.invalid_string,message:l.message}),s.dirty());else if("uuid"===l.kind)eb.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"uuid",code:ee.invalid_string,message:l.message}),s.dirty());else if("nanoid"===l.kind)ew.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"nanoid",code:ee.invalid_string,message:l.message}),s.dirty());else if("cuid"===l.kind)e_.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"cuid",code:ee.invalid_string,message:l.message}),s.dirty());else if("cuid2"===l.kind)ey.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"cuid2",code:ee.invalid_string,message:l.message}),s.dirty());else if("ulid"===l.kind)ev.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"ulid",code:ee.invalid_string,message:l.message}),s.dirty());else if("url"===l.kind)try{new URL(e.data)}catch{ei(o=this._getOrReturnCtx(e,o),{validation:"url",code:ee.invalid_string,message:l.message}),s.dirty()}else"regex"===l.kind?(l.regex.lastIndex=0,l.regex.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"regex",code:ee.invalid_string,message:l.message}),s.dirty())):"trim"===l.kind?e.data=e.data.trim():"includes"===l.kind?e.data.includes(l.value,l.position)||(ei(o=this._getOrReturnCtx(e,o),{code:ee.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),s.dirty()):"toLowerCase"===l.kind?e.data=e.data.toLowerCase():"toUpperCase"===l.kind?e.data=e.data.toUpperCase():"startsWith"===l.kind?e.data.startsWith(l.value)||(ei(o=this._getOrReturnCtx(e,o),{code:ee.invalid_string,validation:{startsWith:l.value},message:l.message}),s.dirty()):"endsWith"===l.kind?e.data.endsWith(l.value)||(ei(o=this._getOrReturnCtx(e,o),{code:ee.invalid_string,validation:{endsWith:l.value},message:l.message}),s.dirty()):"datetime"===l.kind?(function(e){let t=`${eD}T${eP(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)})(l).test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{code:ee.invalid_string,validation:"datetime",message:l.message}),s.dirty()):"date"===l.kind?eC.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{code:ee.invalid_string,validation:"date",message:l.message}),s.dirty()):"time"===l.kind?RegExp(`^${eP(l)}$`).test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{code:ee.invalid_string,validation:"time",message:l.message}),s.dirty()):"duration"===l.kind?ek.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"duration",code:ee.invalid_string,message:l.message}),s.dirty()):"ip"===l.kind?(t=e.data,!(("v4"===(r=l.version)||!r)&&eS.test(t)||("v6"===r||!r)&&eA.test(t))&&1&&(ei(o=this._getOrReturnCtx(e,o),{validation:"ip",code:ee.invalid_string,message:l.message}),s.dirty())):"jwt"===l.kind?!function(e,t){if(!eE.test(e))return!1;try{let[r]=e.split("."),n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));if("object"!=typeof i||null===i||"typ"in i&&i?.typ!=="JWT"||!i.alg||t&&i.alg!==t)return!1;return!0}catch{return!1}}(e.data,l.alg)&&(ei(o=this._getOrReturnCtx(e,o),{validation:"jwt",code:ee.invalid_string,message:l.message}),s.dirty()):"cidr"===l.kind?(i=e.data,!(("v4"===(a=l.version)||!a)&&ex.test(i)||("v6"===a||!a)&&eI.test(i))&&1&&(ei(o=this._getOrReturnCtx(e,o),{validation:"cidr",code:ee.invalid_string,message:l.message}),s.dirty())):"base64"===l.kind?eO.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"base64",code:ee.invalid_string,message:l.message}),s.dirty()):"base64url"===l.kind?eN.test(e.data)||(ei(o=this._getOrReturnCtx(e,o),{validation:"base64url",code:ee.invalid_string,message:l.message}),s.dirty()):c.assertNever(l);return{status:s.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:ee.invalid_string,...f.errToObj(r)})}_addCheck(e){return new eL({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...f.errToObj(e)})}url(e){return this._addCheck({kind:"url",...f.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...f.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...f.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...f.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...f.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...f.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...f.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...f.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...f.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...f.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...f.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...f.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...f.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...f.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...f.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...f.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...f.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...f.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...f.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...f.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...f.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...f.errToObj(t)})}nonempty(e){return this.min(1,f.errToObj(e))}trim(){return new eL({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new eL({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new eL({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}eL.create=e=>new eL({checks:[],typeName:h.ZodString,coerce:e?.coerce??!1,...em(e)});class eR extends eg{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==J.number){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.number,received:t.parsedType}),eo}let r=new ea;for(let n of this._def.checks)"int"===n.kind?c.isInteger(e.data)||(ei(t=this._getOrReturnCtx(e,t),{code:ee.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(e.data,n.value)&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(ei(t=this._getOrReturnCtx(e,t),{code:ee.not_finite,message:n.message}),r.dirty()):c.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,f.toString(t))}gt(e,t){return this.setLimit("min",e,!1,f.toString(t))}lte(e,t){return this.setLimit("max",e,!0,f.toString(t))}lt(e,t){return this.setLimit("max",e,!1,f.toString(t))}setLimit(e,t,r,n){return new eR({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:f.toString(n)}]})}_addCheck(e){return new eR({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:f.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:f.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:f.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:f.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:f.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&c.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value);return Number.isFinite(t)&&Number.isFinite(e)}}eR.create=e=>new eR({checks:[],typeName:h.ZodNumber,coerce:e?.coerce||!1,...em(e)});class eM extends eg{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==J.bigint)return this._getInvalidInput(e);let r=new ea;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):c.assertNever(n);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.bigint,received:t.parsedType}),eo}gte(e,t){return this.setLimit("min",e,!0,f.toString(t))}gt(e,t){return this.setLimit("min",e,!1,f.toString(t))}lte(e,t){return this.setLimit("max",e,!0,f.toString(t))}lt(e,t){return this.setLimit("max",e,!1,f.toString(t))}setLimit(e,t,r,n){return new eM({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:f.toString(n)}]})}_addCheck(e){return new eM({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:f.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:f.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:f.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:f.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:f.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}eM.create=e=>new eM({checks:[],typeName:h.ZodBigInt,coerce:e?.coerce??!1,...em(e)});class eF extends eg{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==J.boolean){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.boolean,received:t.parsedType}),eo}return el(e.data)}}eF.create=e=>new eF({typeName:h.ZodBoolean,coerce:e?.coerce||!1,...em(e)});class ej extends eg{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==J.date){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.date,received:t.parsedType}),eo}if(Number.isNaN(e.data.getTime()))return ei(this._getOrReturnCtx(e),{code:ee.invalid_date}),eo;let r=new ea;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(ei(t=this._getOrReturnCtx(e,t),{code:ee.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):c.assertNever(n);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ej({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:f.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:f.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}ej.create=e=>new ej({checks:[],coerce:e?.coerce||!1,typeName:h.ZodDate,...em(e)});class eB extends eg{_parse(e){if(this._getType(e)!==J.symbol){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.symbol,received:t.parsedType}),eo}return el(e.data)}}eB.create=e=>new eB({typeName:h.ZodSymbol,...em(e)});class eU extends eg{_parse(e){if(this._getType(e)!==J.undefined){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.undefined,received:t.parsedType}),eo}return el(e.data)}}eU.create=e=>new eU({typeName:h.ZodUndefined,...em(e)});class eV extends eg{_parse(e){if(this._getType(e)!==J.null){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.null,received:t.parsedType}),eo}return el(e.data)}}eV.create=e=>new eV({typeName:h.ZodNull,...em(e)});class ez extends eg{constructor(){super(...arguments),this._any=!0}_parse(e){return el(e.data)}}ez.create=e=>new ez({typeName:h.ZodAny,...em(e)});class eq extends eg{constructor(){super(...arguments),this._unknown=!0}_parse(e){return el(e.data)}}eq.create=e=>new eq({typeName:h.ZodUnknown,...em(e)});class eH extends eg{_parse(e){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.never,received:t.parsedType}),eo}}eH.create=e=>new eH({typeName:h.ZodNever,...em(e)});class eG extends eg{_parse(e){if(this._getType(e)!==J.undefined){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.void,received:t.parsedType}),eo}return el(e.data)}}eG.create=e=>new eG({typeName:h.ZodVoid,...em(e)});class eW extends eg{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==J.array)return ei(t,{code:ee.invalid_type,expected:J.array,received:t.parsedType}),eo;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,i=t.data.length<n.exactLength.value;(e||i)&&(ei(t,{code:e?ee.too_big:ee.too_small,minimum:i?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&(ei(t,{code:ee.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&(ei(t,{code:ee.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>n.type._parseAsync(new eh(t,e,t.path,r)))).then(e=>ea.mergeArray(r,e));let i=[...t.data].map((e,r)=>n.type._parseSync(new eh(t,e,t.path,r)));return ea.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new eW({...this._def,minLength:{value:e,message:f.toString(t)}})}max(e,t){return new eW({...this._def,maxLength:{value:e,message:f.toString(t)}})}length(e,t){return new eW({...this._def,exactLength:{value:e,message:f.toString(t)}})}nonempty(e){return this.min(1,e)}}eW.create=(e,t)=>new eW({type:e,minLength:null,maxLength:null,exactLength:null,typeName:h.ZodArray,...em(t)});class eK extends eg{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=c.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==J.object){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.object,received:t.parsedType}),eo}let{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof eH&&"strip"===this._def.unknownKeys))for(let e in r.data)i.includes(e)||a.push(e);let o=[];for(let e of i){let t=n[e],i=r.data[e];o.push({key:{status:"valid",value:e},value:t._parse(new eh(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof eH){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)o.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)a.length>0&&(ei(r,{code:ee.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let n=r.data[t];o.push({key:{status:"valid",value:t},value:e._parse(new eh(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of o){let r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>ea.mergeObjectSync(t,e)):ea.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return f.errToObj,new eK({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{let n=this._def.errorMap?.(t,r).message??r.defaultError;return"unrecognized_keys"===t.code?{message:f.errToObj(e).message??n}:{message:n}}}:{}})}strip(){return new eK({...this._def,unknownKeys:"strip"})}passthrough(){return new eK({...this._def,unknownKeys:"passthrough"})}extend(e){return new eK({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new eK({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:h.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new eK({...this._def,catchall:e})}pick(e){let t={};for(let r of c.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new eK({...this._def,shape:()=>t})}omit(e){let t={};for(let r of c.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new eK({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof eK){let r={};for(let n in t.shape){let i=t.shape[n];r[n]=te.create(e(i))}return new eK({...t._def,shape:()=>r})}if(t instanceof eW)return new eW({...t._def,type:e(t.element)});if(t instanceof te)return te.create(e(t.unwrap()));if(t instanceof tt)return tt.create(e(t.unwrap()));if(t instanceof eJ)return eJ.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let r of c.objectKeys(this.shape)){let n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}return new eK({...this._def,shape:()=>t})}required(e){let t={};for(let r of c.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof te;)e=e._def.innerType;t[r]=e}return new eK({...this._def,shape:()=>t})}keyof(){return e4(c.objectKeys(this.shape))}}eK.create=(e,t)=>new eK({shape:()=>e,unknownKeys:"strip",catchall:eH.create(),typeName:h.ZodObject,...em(t)}),eK.strictCreate=(e,t)=>new eK({shape:()=>e,unknownKeys:"strict",catchall:eH.create(),typeName:h.ZodObject,...em(t)}),eK.lazycreate=(e,t)=>new eK({shape:e,unknownKeys:"strip",catchall:eH.create(),typeName:h.ZodObject,...em(t)});class eZ extends eg{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new et(e.ctx.common.issues));return ei(t,{code:ee.invalid_union,unionErrors:r}),eo});{let e,n=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=n.map(e=>new et(e));return ei(t,{code:ee.invalid_union,unionErrors:i}),eo}}get options(){return this._def.options}}eZ.create=(e,t)=>new eZ({options:e,typeName:h.ZodUnion,...em(t)});let eQ=e=>{if(e instanceof e5)return eQ(e.schema);if(e instanceof e7)return eQ(e.innerType());if(e instanceof e3)return[e.value];if(e instanceof e6)return e.options;if(e instanceof e9)return c.objectValues(e.enum);else if(e instanceof tr)return eQ(e._def.innerType);else if(e instanceof eU)return[void 0];else if(e instanceof eV)return[null];else if(e instanceof te)return[void 0,...eQ(e.unwrap())];else if(e instanceof tt)return[null,...eQ(e.unwrap())];else if(e instanceof ta)return eQ(e.unwrap());else if(e instanceof ts)return eQ(e.unwrap());else if(e instanceof tn)return eQ(e._def.innerType);else return[]};class e$ extends eg{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==J.object)return ei(t,{code:ee.invalid_type,expected:J.object,received:t.parsedType}),eo;let r=this.discriminator,n=t.data[r],i=this.optionsMap.get(n);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(ei(t,{code:ee.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),eo)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let n=new Map;for(let r of t){let t=eQ(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(n.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);n.set(i,r)}}return new e$({typeName:h.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...em(r)})}}class eY extends eg{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if(eu(e)||eu(n))return eo;let i=function e(t,r){let n=X(t),i=X(r);if(t===r)return{valid:!0,data:t};if(n===J.object&&i===J.object){let n=c.objectKeys(r),i=c.objectKeys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};a[n]=i.data}return{valid:!0,data:a}}if(n===J.array&&i===J.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}if(n===J.date&&i===J.date&&+t==+r)return{valid:!0,data:t};return{valid:!1}}(e.value,n.value);return i.valid?((ec(e)||ec(n))&&t.dirty(),{status:t.value,value:i.data}):(ei(r,{code:ee.invalid_intersection_types}),eo)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>n(e,t)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}eY.create=(e,t,r)=>new eY({left:e,right:t,typeName:h.ZodIntersection,...em(r)});class eJ extends eg{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==J.array)return ei(r,{code:ee.invalid_type,expected:J.array,received:r.parsedType}),eo;if(r.data.length<this._def.items.length)return ei(r,{code:ee.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),eo;!this._def.rest&&r.data.length>this._def.items.length&&(ei(r,{code:ee.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...r.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new eh(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(n).then(e=>ea.mergeArray(t,e)):ea.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new eJ({...this._def,rest:e})}}eJ.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new eJ({items:e,typeName:h.ZodTuple,rest:null,...em(t)})};class eX extends eg{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==J.object)return ei(r,{code:ee.invalid_type,expected:J.object,received:r.parsedType}),eo;let n=[],i=this._def.keyType,a=this._def.valueType;for(let e in r.data)n.push({key:i._parse(new eh(r,e,r.path,e)),value:a._parse(new eh(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?ea.mergeObjectAsync(t,n):ea.mergeObjectSync(t,n)}get element(){return this._def.valueType}static create(e,t,r){return new eX(t instanceof eg?{keyType:e,valueType:t,typeName:h.ZodRecord,...em(r)}:{keyType:eL.create(),valueType:e,typeName:h.ZodRecord,...em(t)})}}class e0 extends eg{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==J.map)return ei(r,{code:ee.invalid_type,expected:J.map,received:r.parsedType}),eo;let n=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([e,t],a)=>({key:n._parse(new eh(r,e,r.path,[a,"key"])),value:i._parse(new eh(r,t,r.path,[a,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of a){let n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return eo;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of a){let n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return eo;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}e0.create=(e,t,r)=>new e0({valueType:t,keyType:e,typeName:h.ZodMap,...em(r)});class e1 extends eg{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==J.set)return ei(r,{code:ee.invalid_type,expected:J.set,received:r.parsedType}),eo;let n=this._def;null!==n.minSize&&r.data.size<n.minSize.value&&(ei(r,{code:ee.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&r.data.size>n.maxSize.value&&(ei(r,{code:ee.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let r=new Set;for(let n of e){if("aborted"===n.status)return eo;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let o=[...r.data.values()].map((e,t)=>i._parse(new eh(r,e,r.path,t)));return r.common.async?Promise.all(o).then(e=>a(e)):a(o)}min(e,t){return new e1({...this._def,minSize:{value:e,message:f.toString(t)}})}max(e,t){return new e1({...this._def,maxSize:{value:e,message:f.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}e1.create=(e,t)=>new e1({valueType:e,minSize:null,maxSize:null,typeName:h.ZodSet,...em(t)});class e2 extends eg{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==J.function)return ei(t,{code:ee.invalid_type,expected:J.function,received:t.parsedType}),eo;function r(e,r){return en({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,er,er].filter(e=>!!e),issueData:{code:ee.invalid_arguments,argumentsError:r}})}function n(e,r){return en({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,er,er].filter(e=>!!e),issueData:{code:ee.invalid_return_type,returnTypeError:r}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof e8){let e=this;return el(async function(...t){let o=new et([]),s=await e._def.args.parseAsync(t,i).catch(e=>{throw o.addIssue(r(t,e)),o}),l=await Reflect.apply(a,this,s);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw o.addIssue(n(l,e)),o})})}{let e=this;return el(function(...t){let o=e._def.args.safeParse(t,i);if(!o.success)throw new et([r(t,o.error)]);let s=Reflect.apply(a,this,o.data),l=e._def.returns.safeParse(s,i);if(!l.success)throw new et([n(s,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new e2({...this._def,args:eJ.create(e).rest(eq.create())})}returns(e){return new e2({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new e2({args:e||eJ.create([]).rest(eq.create()),returns:t||eq.create(),typeName:h.ZodFunction,...em(r)})}}class e5 extends eg{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}e5.create=(e,t)=>new e5({getter:e,typeName:h.ZodLazy,...em(t)});class e3 extends eg{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return ei(t,{received:t.data,code:ee.invalid_literal,expected:this._def.value}),eo}return{status:"valid",value:e.data}}get value(){return this._def.value}}function e4(e,t){return new e6({values:e,typeName:h.ZodEnum,...em(t)})}e3.create=(e,t)=>new e3({value:e,typeName:h.ZodLiteral,...em(t)});class e6 extends eg{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return ei(t,{expected:c.joinValues(r),received:t.parsedType,code:ee.invalid_type}),eo}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return ei(t,{received:t.data,code:ee.invalid_enum_value,options:r}),eo}return el(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return e6.create(e,{...this._def,...t})}exclude(e,t=this._def){return e6.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}e6.create=e4;class e9 extends eg{_parse(e){let t=c.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==J.string&&r.parsedType!==J.number){let e=c.objectValues(t);return ei(r,{expected:c.joinValues(e),received:r.parsedType,code:ee.invalid_type}),eo}if(this._cache||(this._cache=new Set(c.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=c.objectValues(t);return ei(r,{received:r.data,code:ee.invalid_enum_value,options:e}),eo}return el(e.data)}get enum(){return this._def.values}}e9.create=(e,t)=>new e9({values:e,typeName:h.ZodNativeEnum,...em(t)});class e8 extends eg{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==J.promise&&!1===t.common.async?(ei(t,{code:ee.invalid_type,expected:J.promise,received:t.parsedType}),eo):el((t.parsedType===J.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}e8.create=(e,t)=>new e8({type:e,typeName:h.ZodPromise,...em(t)});class e7 extends eg{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===h.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,i={addIssue:e=>{ei(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===n.type){let e=n.transform(r.data,i);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return eo;let n=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===n.status?eo:"dirty"===n.status||"dirty"===t.value?es(n.value):n});{if("aborted"===t.value)return eo;let n=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===n.status?eo:"dirty"===n.status||"dirty"===t.value?es(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?eo:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?eo:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>ed(e)?Promise.resolve(n.transform(e.value,i)).then(e=>({status:t.value,value:e})):eo);else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!ed(e))return eo;let a=n.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}c.assertNever(n)}}e7.create=(e,t,r)=>new e7({schema:e,typeName:h.ZodEffects,effect:t,...em(r)}),e7.createWithPreprocess=(e,t,r)=>new e7({schema:t,effect:{type:"preprocess",transform:e},typeName:h.ZodEffects,...em(r)});class te extends eg{_parse(e){return this._getType(e)===J.undefined?el(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}te.create=(e,t)=>new te({innerType:e,typeName:h.ZodOptional,...em(t)});class tt extends eg{_parse(e){return this._getType(e)===J.null?el(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}tt.create=(e,t)=>new tt({innerType:e,typeName:h.ZodNullable,...em(t)});class tr extends eg{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===J.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}tr.create=(e,t)=>new tr({innerType:e,typeName:h.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...em(t)});class tn extends eg{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ef(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new et(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new et(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}tn.create=(e,t)=>new tn({innerType:e,typeName:h.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...em(t)});class ti extends eg{_parse(e){if(this._getType(e)!==J.nan){let t=this._getOrReturnCtx(e);return ei(t,{code:ee.invalid_type,expected:J.nan,received:t.parsedType}),eo}return{status:"valid",value:e.data}}}ti.create=e=>new ti({typeName:h.ZodNaN,...em(e)}),Symbol("zod_brand");class ta extends eg{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class to extends eg{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?eo:"dirty"===e.status?(t.dirty(),es(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?eo:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new to({in:e,out:t,typeName:h.ZodPipeline})}}class ts extends eg{_parse(e){let t=this._def.innerType._parse(e),r=e=>(ed(e)&&(e.value=Object.freeze(e.value)),e);return ef(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}ts.create=(e,t)=>new ts({innerType:e,typeName:h.ZodReadonly,...em(t)}),eK.lazycreate,function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(h||(h={})),eL.create,eR.create,ti.create,eM.create,eF.create,ej.create,eB.create,eU.create,eV.create,ez.create,eq.create,eH.create,eG.create,eW.create,eK.create,eK.strictCreate,eZ.create,e$.create,eY.create,eJ.create,eX.create,e0.create,e1.create,e2.create,e5.create,e3.create,e6.create,e9.create,e8.create,e7.create,te.create,tt.create,e7.createWithPreprocess,to.create;let tl=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function tu(e,t){if(!t.applyRegexFlags||!e.flags)return e.source;let r={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},n=r.i?e.source.toLowerCase():e.source,i="",a=!1,o=!1,s=!1;for(let e=0;e<n.length;e++){if(a){i+=n[e],a=!1;continue}if(r.i){if(o){if(n[e].match(/[a-z]/)){s?(i+=n[e],i+=`${n[e-2]}-${n[e]}`.toUpperCase(),s=!1):"-"===n[e+1]&&n[e+2]?.match(/[a-z]/)?(i+=n[e],s=!0):i+=`${n[e]}${n[e].toUpperCase()}`;continue}}else if(n[e].match(/[a-z]/)){i+=`[${n[e]}${n[e].toUpperCase()}]`;continue}}if(r.m){if("^"===n[e]){i+=`(^|(?<=[\r
|
|
5
|
-
]))`;continue}else if("$"===n[e]){i+=`($|(?=[\r
|
|
6
|
-
]))`;continue}}if(r.s&&"."===n[e]){i+=o?`${n[e]}\r
|
|
7
|
-
`:`[${n[e]}\r
|
|
8
|
-
]`;continue}i+=n[e],"\\"===n[e]?a=!0:o&&"]"===n[e]?o=!1:o||"["!==n[e]||(o=!0)}try{new RegExp(i)}catch{return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return i}let tc=(e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")};var td={code:"0",name:"text",parse:e=>{if("string"!=typeof e)throw Error('"text" parts expect a string value.');return{type:"text",value:e}}},tf={code:"3",name:"error",parse:e=>{if("string"!=typeof e)throw Error('"error" parts expect a string value.');return{type:"error",value:e}}},th={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}}},tp={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}}}},tm={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}}},tg=[td,tf,th,tp,tm],t_={[td.code]:td,[tf.code]:tf,[th.code]:th,[tp.code]:tp,[tm.code]:tm};td.name,td.code,tf.name,tf.code,th.name,th.code,tp.name,tp.code,tm.name,tm.code;var ty=tg.map(e=>e.code),tv=[{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:Number.NaN,completionTokens:"number"==typeof e.usage.completionTokens?e.usage.completionTokens:Number.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:Number.NaN,completionTokens:"number"==typeof e.usage.completionTokens?e.usage.completionTokens:Number.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}}}],tb=Object.fromEntries(tv.map(e=>[e.code,e]));Object.fromEntries(tv.map(e=>[e.name,e.code]));var tw=tv.map(e=>e.code),tE=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(!tw.includes(r))throw Error(`Failed to parse stream string. Invalid code ${r}.`);let n=JSON.parse(e.slice(t+1));return tb[r].parse(n)};async function tk({stream:e,onTextPart:t,onReasoningPart:r,onReasoningSignaturePart:n,onRedactedReasoningPart:i,onSourcePart:a,onFilePart:o,onDataPart:s,onErrorPart:l,onToolCallStreamingStartPart:u,onToolCallDeltaPart:c,onToolCallPart:d,onToolResultPart:f,onMessageAnnotationsPart:h,onFinishMessagePart:p,onFinishStepPart:m,onStartStepPart:g}){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(tE)))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==o?void 0:o(_));break;case"source":await (null==a?void 0:a(_));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==m?void 0:m(_));break;case"start_step":await (null==g?void 0:g(_));break;default:throw Error(`Unknown stream part type: ${e}`)}}}async function tT({stream:e,update:t,onToolCall:r,onFinish:n,generateId:i=G,getCurrentDate:a=()=>new Date,lastMessage:o}){var s,l;let u,c,d,f=(null==o?void 0:o.role)==="assistant",h=f?1+(null!=(l=null==(s=o.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(o):{id:i(),createdAt:a(),role:"assistant",content:"",parts:[]};function m(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 g=[],_=f?null==o?void 0:o.annotations:void 0,y={},v={completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},b="unknown";function w(){let e=[...g];(null==_?void 0:_.length)&&(p.annotations=_),t({message:{...structuredClone(p),revisionId:i()},data:e,replaceLastMessage:f})}await tk({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),m(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=Z({text:e});return t.success?{value:t.value,state:"successful-parse"}:(t=Z({text:function(e){let t=["ROOT"],r=-1,n=null;function i(e,i,a){switch(e){case'"':r=i,t.pop(),t.push(a),t.push("INSIDE_STRING");break;case"f":case"t":case"n":r=i,n=i,t.pop(),t.push(a),t.push("INSIDE_LITERAL");break;case"-":t.pop(),t.push(a),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(a),t.push("INSIDE_NUMBER");break;case"{":r=i,t.pop(),t.push(a),t.push("INSIDE_OBJECT_START");break;case"[":r=i,t.pop(),t.push(a),t.push("INSIDE_ARRAY_START")}}function a(e,n){switch(e){case",":t.pop(),t.push("INSIDE_OBJECT_AFTER_COMMA");break;case"}":r=n,t.pop()}}function o(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":a(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]&&o(l,s),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&a(l,s);break;case"}":t.pop(),"INSIDE_OBJECT_AFTER_VALUE"===t[t.length-1]&&a(l,s);break;case"]":t.pop(),"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&o(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]?a(l,s):"INSIDE_ARRAY_AFTER_VALUE"===t[t.length-1]&&o(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,m(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)),m(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,m(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,m(e.toolCallId,n),w()},onDataPart(e){g.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 tS({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 tx({stream:e,update:t,onFinish:r,getCurrentDate:n=()=>new Date,generateId:i=G}){let a={type:"text",text:""},o={id:i(),createdAt:n(),role:"assistant",content:"",parts:[a]};await tS({stream:e,onTextPart:e=>{o.content+=e,a.text+=e,t({message:{...o},data:[],replaceLastMessage:!1})}}),null==r||r(o,{usage:{completionTokens:NaN,promptTokens:NaN,totalTokens:NaN},finishReason:"unknown"})}var tA=()=>fetch;async function tI({api:e,body:t,streamProtocol:r="data",credentials:n,headers:i,abortController:a,restoreMessagesOnFailure:o,onResponse:s,onUpdate:l,onFinish:u,onToolCall:c,generateId:d,fetch:f=tA(),lastMessage:h,requestType:p="generate"}){var m,g,_;let y="resume"===p?f(`${e}?chatId=${t.id}`,{method:"GET",headers:{"Content-Type":"application/json",...i},signal:null==(m=null==a?void 0:a())?void 0:m.signal,credentials:n}):f(e,{method:"POST",body:JSON.stringify(t),headers:{"Content-Type":"application/json",...i},signal:null==(g=null==a?void 0:a())?void 0:g.signal,credentials:n}),v=await y.catch(e=>{throw o(),e});if(s)try{await s(v)}catch(e){throw e}if(!v.ok)throw o(),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 tx({stream:v.body,update:l,onFinish:u,generateId:d});case"data":return void await tT({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 tO(e){return null==e?void 0:e.reduce((e,t)=>{var r;return Math.max(e,null!=(r=t.step)?r:0)},0)}function tN(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 tD(e){return e.map(e=>({...e,parts:tN(e)}))}async function tC(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 tP(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 tL=r(38806),tR=Object.prototype.hasOwnProperty;let tM=new WeakMap,tF=()=>{},tj=tF(),tB=Object,tU=e=>e===tj,tV=e=>"function"==typeof e,tz=(e,t)=>({...e,...t}),tq=e=>tV(e.then),tH={},tG={},tW="undefined",tK=typeof window!=tW,tZ=typeof document!=tW,tQ=tK&&"Deno"in window,t$=()=>tK&&typeof window.requestAnimationFrame!=tW,tY=(e,t)=>{let r=tM.get(e);return[()=>!tU(t)&&e.get(t)||tH,n=>{if(!tU(t)){let i=e.get(t);t in tG||(tG[t]=i),r[5](t,tz(i,n),i||tH)}},r[6],()=>!tU(t)&&t in tG?tG[t]:!tU(t)&&e.get(t)||tH]},tJ=!0,[tX,t0]=tK&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[tF,tF],t1={initFocus:e=>(tZ&&document.addEventListener("visibilitychange",e),tX("focus",e),()=>{tZ&&document.removeEventListener("visibilitychange",e),t0("focus",e)}),initReconnect:e=>{let t=()=>{tJ=!0,e()},r=()=>{tJ=!1};return tX("online",t),tX("offline",r),()=>{t0("online",t),t0("offline",r)}}},t2=!p.useId,t5=!tK||tQ,t3=e=>t$()?window.requestAnimationFrame(e):setTimeout(e,1),t4=t5?p.useEffect:p.useLayoutEffect,t6="undefined"!=typeof navigator&&navigator.connection,t9=!t5&&t6&&(["slow-2g","2g"].includes(t6.effectiveType)||t6.saveData),t8=new WeakMap,t7=(e,t)=>tB.prototype.toString.call(e)===`[object ${t}]`,re=0,rt=e=>{let t,r,n=typeof e,i=t7(e,"Date"),a=t7(e,"RegExp"),o=t7(e,"Object");if(tB(e)!==e||i||a)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=t8.get(e))return t;if(t=++re+"~",t8.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=rt(e[r])+",";t8.set(e,t)}if(o){t="#";let n=tB.keys(e).sort();for(;!tU(r=n.pop());)tU(e[r])||(t+=r+":"+rt(e[r])+",");t8.set(e,t)}}return t},rr=e=>{if(tV(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?rt(e):"",t]},rn=0,ri=()=>++rn;async function ra(...e){let[t,r,n,i]=e,a=tz({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),o=a.populateCache,s=a.rollbackOnError,l=a.optimisticData,u=e=>"function"==typeof s?s(e):!1!==s,c=a.throwOnError;if(tV(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(d))}return d(r);async function d(r){let i,[s]=rr(r);if(!s)return;let[d,f]=tY(t,s),[h,p,m,g]=tM.get(t),_=()=>{let e=h[s];return(tV(a.revalidate)?a.revalidate(d().data,r):!1!==a.revalidate)&&(delete m[s],delete g[s],e&&e[0])?e[0](2).then(()=>d().data):d().data};if(e.length<3)return _();let y=n,v=ri();p[s]=[v,0];let b=!tU(l),w=d(),E=w.data,k=w._c,T=tU(k)?E:k;if(b&&f({data:l=tV(l)?l(T,E):l,_c:T}),tV(y))try{y=y(T)}catch(e){i=e}if(y&&tq(y)){if(y=await y.catch(e=>{i=e}),v!==p[s][0]){if(i)throw i;return y}i&&b&&u(i)&&(o=!0,f({data:T,_c:tj}))}if(o&&!i&&(tV(o)?f({data:o(y,T),error:tj,_c:tj}):f({data:y,error:tj,_c:tj})),p[s][1]=ri(),Promise.resolve(_()).then(()=>{f({_c:tj})}),i){if(c)throw i;return}return y}}let ro=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},rs=(e,t)=>{if(!tM.has(e)){let r=tz(t1,t),n=Object.create(null),i=ra.bind(tj,e),a=tF,o=Object.create(null),s=(e,t)=>{let r=o[e]||[];return o[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},l=(t,r,n)=>{e.set(t,r);let i=o[t];if(i)for(let e of i)e(r,n)},u=()=>{if(!tM.has(e)&&(tM.set(e,[n,Object.create(null),Object.create(null),Object.create(null),i,l,s]),!t5)){let t=r.initFocus(setTimeout.bind(tj,ro.bind(tj,n,0))),i=r.initReconnect(setTimeout.bind(tj,ro.bind(tj,n,1)));a=()=>{t&&t(),i&&i(),tM.delete(e)}}};return u(),[e,i,u,a]}return[e,tM.get(e)[4]]},[rl,ru]=rs(new Map),rc=tz({onLoadingSlow:tF,onSuccess:tF,onError:tF,onErrorRetry:(e,t,r,n,i)=>{let a=r.errorRetryCount,o=i.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(tU(a)||!(o>a))&&setTimeout(n,s,i)},onDiscarded:tF,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:t9?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:t9?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(tR.call(t,n)&&++i&&!tR.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:rl,mutate:ru,fallback:{}},{isOnline:()=>tJ,isVisible:()=>{let e=tZ&&document.visibilityState;return tU(e)||"hidden"!==e}}),rd=(e,t)=>{let r=tz(e,t);if(t){let{use:n,fallback:i}=e,{use:a,fallback:o}=t;n&&a&&(r.use=n.concat(a)),i&&o&&(r.fallback=tz(i,o))}return r},rf=(0,p.createContext)({}),rh=tK&&window.__SWR_DEVTOOLS_USE__,rp=rh?window.__SWR_DEVTOOLS_USE__:[],rm=e=>tV(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],rg=()=>tz(rc,(0,p.useContext)(rf)),r_=rp.concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=rr(t),[,,,i]=tM.get(rl);if(n.startsWith("$inf$"))return r(...e);let a=i[n];return tU(a)?r(...e):(delete i[n],a)});return e(t,i,n)}),ry=(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())}};rh&&(window.__SWR_DEVTOOLS_REACT__=p);let rv=()=>{},rb=rv();new WeakMap;let rw=p.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}}),rE={dedupe:!0};tB.defineProperty(e=>{let{value:t}=e,r=(0,p.useContext)(rf),n=tV(t),i=(0,p.useMemo)(()=>n?t(r):t,[n,r,t]),a=(0,p.useMemo)(()=>n?i:rd(r,i),[n,r,i]),o=i&&i.provider,s=(0,p.useRef)(tj);o&&!s.current&&(s.current=rs(o(a.cache||rl),i));let l=s.current;return l&&(a.cache=l[0],a.mutate=l[1]),t4(()=>{if(l)return l[2]&&l[2](),l[3]},[]),(0,p.createElement)(rf.Provider,tz(e,{value:a}))},"defaultValue",{value:rc});let rk=(a=(e,t,r)=>{let{cache:n,compare:i,suspense:a,fallbackData:o,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:c,refreshWhenOffline:d,keepPreviousData:f}=r,[h,m,g,_]=tM.get(n),[y,v]=rr(e),b=(0,p.useRef)(!1),w=(0,p.useRef)(!1),E=(0,p.useRef)(y),k=(0,p.useRef)(t),T=(0,p.useRef)(r),S=()=>T.current,x=()=>S().isVisible()&&S().isOnline(),[A,I,O,N]=tY(n,y),D=(0,p.useRef)({}).current,C=tU(o)?tU(r.fallback)?tj:r.fallback[y]:o,P=(e,t)=>{for(let r in D)if("data"===r){if(!i(e[r],t[r])&&(!tU(e[r])||!i(z,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},L=(0,p.useMemo)(()=>{let e=!!y&&!!t&&(tU(s)?!S().isPaused()&&!a&&!1!==l:s),r=t=>{let r=tz(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=A(),i=N(),o=r(n),u=n===i?o:r(i),c=o;return[()=>{let e=r(A());return P(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>u]},[n,y]),R=(0,tL.useSyncExternalStore)((0,p.useCallback)(e=>O(y,(t,r)=>{P(r,t)||e()}),[n,y]),L[0],L[1]),M=!b.current,F=h[y]&&h[y].length>0,j=R.data,B=tU(j)?C&&tq(C)?rw(C):C:j,U=R.error,V=(0,p.useRef)(B),z=f?tU(j)?tU(V.current)?B:V.current:j:B,q=(!F||!!tU(U))&&(M&&!tU(s)?s:!S().isPaused()&&(a?!tU(B)&&l:tU(B)||l)),H=!!(y&&t&&M&&q),G=tU(R.isValidating)?H:R.isValidating,W=tU(R.isLoading)?H:R.isLoading,K=(0,p.useCallback)(async e=>{let t,n,a=k.current;if(!y||!a||w.current||S().isPaused())return!1;let o=!0,s=e||{},l=!g[y]||!s.dedupe,u=()=>t2?!w.current&&y===E.current&&b.current:y===E.current,c={isValidating:!1,isLoading:!1},d=()=>{I(c)},f=()=>{let e=g[y];e&&e[1]===n&&delete g[y]},p={isValidating:!0};tU(A().data)&&(p.isLoading=!0);try{if(l&&(I(p),r.loadingTimeout&&tU(A().data)&&setTimeout(()=>{o&&u()&&S().onLoadingSlow(y,r)},r.loadingTimeout),g[y]=[a(v),ri()]),[t,n]=g[y],t=await t,l&&setTimeout(f,r.dedupingInterval),!g[y]||g[y][1]!==n)return l&&u()&&S().onDiscarded(y),!1;c.error=tj;let e=m[y];if(!tU(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return d(),l&&u()&&S().onDiscarded(y),!1;let s=A().data;c.data=i(s,t)?s:t,l&&u()&&S().onSuccess(t,y,r)}catch(r){f();let e=S(),{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,l&&u()&&(e.onError(r,y,e),(!0===t||tV(t)&&t(r))&&(!S().revalidateOnFocus||!S().revalidateOnReconnect||x())&&e.onErrorRetry(r,y,e,e=>{let t=h[y];t&&t[0]&&t[0](3,e)},{retryCount:(s.retryCount||0)+1,dedupe:!0})))}return o=!1,d(),!0},[y,n]),Z=(0,p.useCallback)((...e)=>ra(n,E.current,...e),[]);if(t4(()=>{k.current=t,T.current=r,tU(j)||(V.current=j)}),t4(()=>{if(!y)return;let e=K.bind(tj,rE),t=0;S().revalidateOnFocus&&(t=Date.now()+S().focusThrottleInterval);let r=ry(y,h,(r,n={})=>{if(0==r){let r=Date.now();S().revalidateOnFocus&&r>t&&x()&&(t=r+S().focusThrottleInterval,e())}else if(1==r)S().revalidateOnReconnect&&x()&&e();else if(2==r)return K();else if(3==r)return K(n)});return w.current=!1,E.current=y,b.current=!0,I({_k:v}),q&&(tU(B)||t5?e():t3(e)),()=>{w.current=!0,r()}},[y]),t4(()=>{let e;function t(){let t=tV(u)?u(A().data):u;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!A().error&&(c||S().isVisible())&&(d||S().isOnline())?K(rE).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[u,c,d,y]),(0,p.useDebugValue)(z),a&&tU(B)&&y){if(!t2&&t5)throw Error("Fallback data is required when using Suspense in SSR.");k.current=t,T.current=r,w.current=!1;let e=_[y];if(tU(e)||rw(Z(e)),tU(U)){let e=K(rE);tU(z)||(e.status="fulfilled",e.value=!0),rw(e)}else throw U}return{mutate:Z,get data(){return D.data=!0,z},get error(){return D.error=!0,U},get isValidating(){return D.isValidating=!0,G},get isLoading(){return D.isLoading=!0,W}}},function(...e){let t=rg(),[r,n,i]=rm(e),o=rd(t,i),s=a,{use:l}=o,u=(l||[]).concat(r_);for(let e=u.length;e--;)s=u[e](s);return s(r,n||o.fetcher||null,o)});var rT=r(66253);function rS(e,t){return null!=t?rT(e,t):e}var rx=r(73192),rA=r(33228);function rI(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 rO=()=>{let e=(0,p.useRef)(!1),{messages:t,input:r,handleInputChange:n,isLoading:i,error:a,status:o,setMessages:s,stop:l,reload:u,append:c}=function({api:e="/api/chat",id:t,initialMessages:r,initialInput:n="",sendExtraMessageFields:i,onToolCall:a,experimental_prepareRequestBody:o,maxSteps:s=1,streamProtocol:l="data",onResponse:u,onFinish:c,onError:d,credentials:f,headers:h,body:m,generateId:g=G,fetch:_,keepLastMessageOnError:y=!0,experimental_throttle:v}={}){let[b]=(0,p.useState)(g),w=null!=t?t:b,E="string"==typeof e?[e,w]:w,k=function(e){let[t,r]=(0,p.useState)(e);return(0,p.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 a of n)if(!i.includes(a)||!e(t[a],r[a]))return!1;return!0}(e,t)&&r(e)},[e,t]),t}(null!=r?r:[]),{data:T,mutate:S}=rk([E,"messages"],null,{fallbackData:(0,p.useMemo)(()=>tD(k),[k])}),x=(0,p.useRef)(T||[]);(0,p.useEffect)(()=>{x.current=T||[]},[T]);let{data:A,mutate:I}=rk([E,"streamData"],null),O=(0,p.useRef)(A);(0,p.useEffect)(()=>{O.current=A},[A]);let{data:N="ready",mutate:D}=rk([E,"status"],null),{data:C,mutate:P}=rk([E,"error"],null),L=(0,p.useRef)(null),R=(0,p.useRef)({credentials:f,headers:h,body:m});(0,p.useEffect)(()=>{R.current={credentials:f,headers:h,body:m}},[f,h,m]);let M=(0,p.useCallback)(async(t,r="generate")=>{var n,f;D("submitted"),P(void 0);let h=tD(t.messages),p=h.length,m=tO(null==(n=h[h.length-1])?void 0:n.toolInvocations);try{L.current=new AbortController;let n=rS(S,v),s=rS(I,v),d=x.current;n(h,!1);let p=i?h:h.map(({role:e,content:t,experimental_attachments:r,data:n,annotations:i,toolInvocations:a,parts:o})=>({role:e,content:t,...void 0!==r&&{experimental_attachments:r},...void 0!==n&&{data:n},...void 0!==i&&{annotations:i},...void 0!==a&&{toolInvocations:a},...void 0!==o&&{parts:o}})),m=O.current;await tI({api:e,body:null!=(f=null==o?void 0:o({id:w,messages:h,requestData:t.data,requestBody:t.body}))?f:{id:w,messages:p,data:t.data,...R.current.body,...t.body},streamProtocol:l,credentials:R.current.credentials,headers:{...R.current.headers,...t.headers},abortController:()=>L.current,restoreMessagesOnFailure(){y||n(d,!1)},onResponse:u,onUpdate({message:e,data:t,replaceLastMessage:r}){D("streaming"),n([...r?h.slice(0,h.length-1):h,e],!1),(null==t?void 0:t.length)&&s([...null!=m?m:[],...t],!1)},onToolCall:a,onFinish:c,generateId:g,fetch:_,lastMessage:h[h.length-1],requestType:r}),L.current=null,D("ready")}catch(e){if("AbortError"===e.name)return L.current=null,D("ready"),null;d&&e instanceof Error&&d(e),P(e),D("error")}let b=x.current;(function({originalMaxToolInvocationStep:e,originalMessageCount:t,maxSteps:r,messages:n}){var i;let a=n[n.length-1];return r>1&&null!=a&&(n.length>t||tO(a.toolInvocations)!==e)&&tP(a)&&(null!=(i=tO(a.toolInvocations))?i:0)<r})({originalMaxToolInvocationStep:m,originalMessageCount:p,maxSteps:s,messages:b})&&await M({messages:b})},[S,D,e,R,u,c,d,P,I,O,l,i,o,a,s,x,L,g,_,y,v,w]),F=(0,p.useCallback)(async(e,{data:t,headers:r,body:n,experimental_attachments:i=e.experimental_attachments}={})=>{var a,o;let s=await tC(i);return M({messages:x.current.concat({...e,id:null!=(a=e.id)?a:g(),createdAt:null!=(o=e.createdAt)?o:new Date,experimental_attachments:s.length>0?s:void 0,parts:tN(e)}),headers:r,body:n,data:t})},[M,g]),j=(0,p.useCallback)(async({data:e,headers:t,body:r}={})=>{let n=x.current;return 0===n.length?null:M({messages:"assistant"===n[n.length-1].role?n.slice(0,-1):n,headers:t,body:r,data:e})},[M]),B=(0,p.useCallback)(()=>{L.current&&(L.current.abort(),L.current=null)},[]),U=(0,p.useCallback)(async()=>{M({messages:x.current},"resume")},[M]),V=(0,p.useCallback)(e=>{"function"==typeof e&&(e=e(x.current));let t=tD(e);S(t,!1),x.current=t},[S]),z=(0,p.useCallback)(e=>{"function"==typeof e&&(e=e(O.current)),I(e,!1),O.current=e},[I]),[q,H]=(0,p.useState)(n),W=(0,p.useCallback)(async(e,t={},r)=>{var n;if(null==(n=null==e?void 0:e.preventDefault)||n.call(e),!q&&!t.allowEmptySubmit)return;r&&(R.current={...R.current,...r});let i=await tC(t.experimental_attachments);M({messages:x.current.concat({id:g(),createdAt:new Date,role:"user",content:q,experimental_attachments:i.length>0?i:void 0,parts:[{type:"text",text:q}]}),headers:t.headers,body:t.body,data:t.data}),H("")},[q,g,M]),K=(0,p.useCallback)(({toolCallId:e,result:t})=>{let r=x.current;!function({messages:e,toolCallId:t,toolResult:r}){var n;let i=e[e.length-1],a=i.parts.find(e=>"tool-invocation"===e.type&&e.toolInvocation.toolCallId===t);if(null==a)return;let o={...a.toolInvocation,state:"result",result:r};a.toolInvocation=o,i.toolInvocations=null==(n=i.toolInvocations)?void 0:n.map(e=>e.toolCallId===t?o:e)}({messages:r,toolCallId:e,toolResult:t}),S([...r.slice(0,r.length-1),{...r[r.length-1]}],!1),"submitted"!==N&&"streaming"!==N&&tP(r[r.length-1])&&M({messages:r})},[S,N,M]);return{messages:null!=T?T:[],id:w,setMessages:V,data:A,setData:z,error:C,append:F,reload:j,stop:B,experimental_resume:U,input:q,setInput:H,handleInputChange:e=>{H(e.target.value)},handleSubmit:W,isLoading:"submitted"===N||"streaming"===N,status:N,addToolResult:K}}({streamProtocol:"data",maxSteps:5,credentials:"include",api:"/chat",initialMessages:rx.K.loadMessages(),onError:e=>{var t;if(console.error("Chat error:",e),null==(t=e.message)?void 0:t.includes("fetch")){let e={id:"error-".concat(Date.now()),role:"assistant",content:"\uD83D\uDEAB **Connection Error**\n\nCannot connect to the chat API server at `localhost:4010`.\n\n**This app uses static export mode, so API routes are disabled.**\n\n**To enable chat functionality:**\n1. Start the proper chat API server on localhost:4010\n2. The server should implement the AI SDK streaming format\n3. Include tool calling for product management\n\n**Current status:**\n- Chat interface: ✅ Ready\n- Backend integration: ❌ Required\n\n*Please set up the backend chat service to use this feature.*"};s(t=>[...t,e])}}});(0,p.useEffect)(()=>{rx.K.saveMessages(t)},[t]);let d=async(e,t)=>{var i;e.preventDefault();let a=[r.trim(),null!=(i=null==t?void 0:t.map(rI).join("\n"))?i:""].filter(Boolean).join("\n");n({target:{value:""}}),a&&await c({id:"msg-".concat(Date.now()),role:"user",content:a})};return{messages:t,input:r,handleInputChange:n,handleSubmit:d,isLoading:i,error:a,status:o,clearHistory:()=>{s([]),rx.K.clearMessages(),e.current=!1},stop:l,addInterruptionMessage:e=>{let t=rA.W.createInterruptionMessage(e);s(e=>[...e,t])},reload:u}}},51452:(e,t,r)=>{"use strict";r.d(t,{_:()=>s});var n=Object.defineProperty,i=(e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,a=(e,t,r)=>(i(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(){a(this,"current",this.detect()),a(this,"handoffState","pending"),a(this,"currentId",0)}}let s=new o},51955:()=>{},53279:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(4902),i=r(98149),a=r(74769),o=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,a,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===o.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,o.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,a?Object.keys(u).reduce(function(e,t){var r,i;return e[t]=(r=u[t],(i=a[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=a.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),a=r(23045),o=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,a=n.NumberOfFractionDigits,o=n.FractionDigits;return c.localeData[e].fn(a?"".concat(i,".").concat(o):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,a.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,o.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],a=i.data,o=i.locale;e.localeData[o]=a,e.availableLocales.add(o),e.__defaultLocale||(e.__defaultLocale=o)}},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),a=r(60427),o=r.t(a,2),s=r(80542),l=!1,u=o.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||l||n===t()||(l=!0,!1!==globalThis.__DEV__&&i.V1.error(68));var o=a.useState({inst:{value:n,getSnapshot:t}}),u=o[0].inst,d=o[1];return s.JR?a.useLayoutEffect(function(){Object.assign(u,{value:n,getSnapshot:t}),c(u)&&d({inst:u})},[e,n,t]):Object.assign(u,{value:n,getSnapshot:t}),a.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),m=r(35518),g=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,a;return void 0===t&&(t=Object.create(null)),(r=A,(a=(i=(n=(0,y.m)(t&&t.client).queryManager)&&n[E])&&i.useQuery)?a(r):r)(e,t)}function A(e,t){var r,i,o,s,l,c,f,p,v,b,w,E,x,A,R,M,F,j,B,U,V,z,q,H,G,W,K,Z,Q,$,Y,J,X,ee,et,er,en,ei,ea,eo,es,el,eu,ec,ed,ef=(r=e,i=t,b=(0,y.m)(i.client),E=!!(w=a.useContext((0,h.l)()).renderPromises),x=b.disableNetworkFetches,A=!1!==i.ssr&&!i.skip,R=i.partialRefetch,M=(o=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||D(p,o.defaultOptions),t.fetchPolicy="standby"):t.fetchPolicy||(t.fetchPolicy=(null==e?void 0:e.options.initialFetchPolicy)||D(p,o.defaultOptions)),t}),B=(j=(F=function(e,t,r,i,o){function s(n){var a;return(0,_.D$)(t,_.KG.Query),{client:e,query:t,observable:i&&i.getSSRObservable(o())||m.U.inactiveOnCreation.withValue(!i,function(){return e.watchQuery(I(void 0,e,r,o()))}),resultData:{previousData:null==(a=null==n?void 0:n.resultData.current)?void 0:a.data}}}var l=a.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,M))[0]).observable,U=j.resultData,V=F[1],z=M(B),q=U,H=B,G=b,W=i,K=z,H[S]&&!(0,d.L)(H[S],K)&&(H.reobserve(I(H,G,W,K)),q.previousData=(null==(Z=q.current)?void 0:Z.data)||q.previousData,q.current=void 0),H[S]=K,Q=a.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=z,ei=x,ea=R,eo=E,es={onCompleted:i.onCompleted||T,onError:i.onError||T},el=a.useRef(es),a.useEffect(function(){el.current=es}),eu=(eo||ei)&&!1===er.ssr&&!er.skip?P:er.skip||"standby"===en.fetchPolicy?L:void 0,ec=X.previousData,ed=a.useMemo(function(){return eu&&C(eu,ec,ee,et)},[et,ee,eu,ec]),u(a.useCallback(function(e){if(eo)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)||O(r,X,ee,et,ea,e,el.current)},r=function(i){if(n.current.unsubscribe(),n.current=ee.resubscribeAfterError(t,r),!k.call(i,"graphQLErrors"))throw i;var a=X.current;(!a||a&&a.loading||!(0,d.L)(i,a.error))&&O({data:a&&a.data,error:i,loading:!1,networkStatus:g.pT.error},X,ee,et,ea,e,el.current)},n={current:ee.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[ei,eo,ee,X,ea,et]),function(){return ed||N(X,ee,el.current,ea,et)},function(){return ed||N(X,ee,el.current,ea,et)})),obsQueryFields:Q,observable:B,resultData:U,client:b,onQueryExecuted:V}),eh=ef.result,ep=ef.obsQueryFields;return a.useMemo(function(){return(0,n.__assign)((0,n.__assign)({},eh),ep)},[eh,ep])}function I(e,t,r,n){var i=[],a=t.defaultOptions.watchQuery;return a&&i.push(a),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,v.o)(e&&e.options,n)),i.reduce(f.l)}function O(e,t,r,a,o,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=C((u=e,c=r,d=o,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:g.pT.refetch})):u),t.previousData,r,a),s(),function(e,t,r){if(!e.loading){var n,a=(n=e,(0,b.E)(n.errors)?new p.K4({graphQLErrors:n.errors}):n.error);Promise.resolve().then(function(){a?r.onError(a):e.data&&t!==e.networkStatus&&e.networkStatus===g.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 N(e,t,r,n,i){return e.current||O(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function D(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 C(e,t,r,i){var a=e.data,o=(e.partial,(0,n.__rest)(e,["data","partial"]));return(0,n.__assign)((0,n.__assign)({data:a},o),{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:g.pT.loading}),L=(0,w.G)({loading:!1,data:void 0,error:void 0,networkStatus:g.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 a=Object.create(Object.getPrototypeOf(t));return r.set(t,a),Object.keys(t).forEach(function(n){a[n]=e(t[n],r)}),a;default:return t}}(e)}},56186:(e,t,r)=>{"use strict";r.d(t,{Ho:()=>c,OC:()=>o,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 a=function(e){function t(r,n,i){var a=this,o=i?i instanceof Error?i:Error(String(i)):void 0;return(a=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(o?"\n".concat(o.message,"\n").concat(o.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(a,t),a}return(0,i.__extends)(t,e),t}(Error),o=function(e){function t(t,r){return e.call(this,n.UNSUPPORTED_FORMATTER,t,r)||this}return(0,i.__extends)(t,e),t}(a),s=function(e){function t(t,r){return e.call(this,n.INVALID_CONFIG,t,r)||this}return(0,i.__extends)(t,e),t}(a),l=function(e){function t(t,r){return e.call(this,n.MISSING_DATA,t,r)||this}return(0,i.__extends)(t,e),t}(a),u=function(e){function t(t,r,i){var a=e.call(this,n.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),i)||this;return a.locale=r,a}return(0,i.__extends)(t,e),t}(a),c=function(e){function t(t,r,n,i){var a=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 a.descriptor=n,a.locale=r,a}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}(a)},56392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ResolvePlural=function(e,t,r){var a=r.getInternalSlots,o=r.PluralRuleSelect,s=a(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 o(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,o=0,s=r.selections;o<s.length;o++){var l=s[o];if(_(l)){if("__typename"===l.name.value)return t[g(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,a.HQ)(l,n).selectionSet,n);if("string"==typeof d)return d}},Ii:()=>d,J:()=>c,Kc:()=>u,MB:()=>m,WU:()=>s,dt:()=>_,kd:()=>y,o5:()=>p,ue:()=>g});var n=r(17318),i=r(93957),a=r(68922),o=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 a={};r.fields.map(function(e){return c(a,e.name,e.value,i)}),e[t.value]=a}else if("Variable"===r.kind){var o=(i||{})[r.name.value];e[t.value]=o}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,a=n.value;return c(r[e.name.value],i,a,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=o.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 a=e;if(t){var o=h(t);a+="(".concat(o,")")}return r&&Object.keys(r).forEach(function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@".concat(e,"(").concat(h(r[e]),")"):a+="@".concat(e))}),a},{setStringify:function(e){var t=h;return h=e,t}});function m(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 g(e){return e.alias?e.alias.value:e.name.value}function _(e){return"Field"===e.kind}function y(e){return"InlineFragment"===e.kind}},59863:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(37876),i=r(54587),a=r.n(i),o=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,o.useState)(r),[f,h]=(0,o.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)(a(),{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))},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),a=r(36898);let o=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=o;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==o&&(o.slots[this.id]=t),!0}return o&&(o.slots[this.id]=s),!1}getValue(){if(this.hasValue())return o.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},a=o;o={parent:a,slots:i};try{return t.apply(n,r)}finally{o=a}}static bind(e){let t=o;return function(){let r=o;try{return o=t,e.apply(this,arguments)}finally{o=r}}}static noContext(e,t,r){if(!o)return e.apply(r,t);{let n=o;try{return o=null,e.apply(r,t)}finally{o=n}}}}),{bind:h,noContext:p}=f,m=new f,{hasOwnProperty:g}=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,D(t),m.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,O)}(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(),D(this),A(this,(e,t)=>{e.setDirty(),C(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=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),x(e)?I(t,e):O(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 O(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(),N(e,t),x(e)||A(e,O)}function N(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(v.length<100&&v.push(r),e.dirtyChildren=null))}function D(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{C(e,r)}),e.forgetDeps(),b(null===e.dirtyChildren)}function C(e,t){t.parents.delete(e),e.childValues.delete(t),N(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=m.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&&g.call(P,r)?r:"setDirty";_(n).forEach(e=>e[i]()),t.delete(e),y(n)}},n}function R(...e){return(n||(n=new i.b("function"==typeof WeakMap))).lookupArray(e)}let M=new Set;function F(e,{max:t=65536,keyArgs:r,makeCacheKey:n=R,normalizeResult:i,subscribe:o,cache:s=a.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 a=l.get(t);a||(l.set(t,a=new k(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>l.delete(t));let s=a.recompute(Array.prototype.slice.call(arguments));return l.set(t,a),M.add(l),m.hasValue()||(M.forEach(e=>e.clean()),M.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:o,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)}},65163:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(96427),i=r(79350),a=r(54431),o=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,o.A)(),{data:n,loading:i,error:s}=(0,a.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:()=>t2});var i,a=r(14232),o=r(94410),s=r.n(o),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 m(e){return"function"==typeof e?new _(e):e}function g(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(m).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i,a=m(r),o=m(n||new e(p));return Object.assign(new e(g(a)&&g(o)?function(e){return t(e)?a.request(e)||f.c.of():o.request(e)||f.c.of()}:function(e,r){return t(e)?a.request(e,r)||f.c.of():o.request(e,r)||f.c.of()}),{left:a,right:o})},e.execute=function(e,t){var r,n,i,a,o;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:""),a=n,o=(0,c.__assign)({},i),Object.defineProperty(a,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,c.__assign)((0,c.__assign)({},o),e(o)):(0,c.__assign)((0,c.__assign)({},o),e)}}),Object.defineProperty(a,"getContext",{enumerable:!1,value:function(){return(0,c.__assign)({},o)}}),a))||f.c.of()},e.concat=function(t,r){var n,i=m(t);if(g(i))return!1!==globalThis.__DEV__&&d.V1.warn(38,i),i;var a=m(r);return Object.assign(new e(g(a)?function(e){return i.request(e,function(e){return a.request(e)||f.c.of()})||f.c.of()}:function(e,t){return i.request(e,function(e){return a.request(e,t)||f.c.of()})||f.c.of()}),{left:i,right:a})},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 O(e)}function O(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new D,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var N=function(e,t,r){return this.merge(e[r],t[r])},D=function(){function e(e){void 0===e&&(e=N),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 a=e[i];if(t[i]!==a){var o=r.reconciler.apply(r,(0,c.__spreadArray)([e,t,i],n,!1));o!==a&&((e=r.shallowCopyForMerge(e))[i]=o)}}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 C(e){return"incremental"in e}function P(e,t){var r=e,n=new D;return C(t)&&(0,x.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,a=i.length-1;a>=0;--a){var o=i[a],s=isNaN(+o)?{}:[];s[o]=t,t=s}r=n.merge(r,t)}),r}var L=Object.prototype.hasOwnProperty;function R(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 M=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 V=r(74968);let z={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 a=G("",e,": ")+t,o=a+G("(",q(r,", "),")");return o.length>80&&(o=a+G("(\n",W(q(r,"\n")),"\n)")),q([o,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 Z=r(95682),Q=r(80593),$=r(17070),Y=Object.assign(function(e){var t=i.get(e);return t||(t=(0,V.YR)(e,z),i.set(e,t)),t},{reset:function(){i=new Z.A(Q.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 ea(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 eo(e,t){(0,h.sw)(t);for(var r,n,i,a,o=ea(""),s=ea(""),l=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 s(r.name.value)}return!1!==globalThis.__DEV__&&d.V1.error(97),null},u=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===et.b.OPERATION_DEFINITION&&++u;var p=(r=e,n=new Map,i=new Map,r.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&i.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&i.size&&i.forEach(function(r,n){n(e)&&(t=r)}),t}),m=function(e){return(0,x.E)(e)&&e.map(p).some(function(e){return e&&e.remove})},g=new Map,_=!1,y={enter:function(e){if(m(e.directives))return _=!0,null}},v=(0,V.YR)(t,{Field:y,InlineFragment:y,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var a=l(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(m(e.directives))return _=!0,null;var a=l(i);a&&a.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:u>0&&e.selectionSet.selections.every(function(e){return e.kind===et.b.FIELD&&"__typename"===e.name.value})?(s(e.name.value).removed=!0,_=!0,null):void 0}},Directive:{leave:function(e){if(p(e))return _=!0,null}}});if(!_)return t;var b=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){b(s(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},w=new Set;v.definitions.forEach(function(e){e.kind===et.b.OPERATION_DEFINITION?b(o(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){w.add(e)}):e.kind!==et.b.FRAGMENT_DEFINITION||0!==u||s(e.name.value).removed||w.add(e.name.value)}),w.forEach(function(e){b(s(e)).fragmentSpreads.forEach(function(e){w.add(e)})});var E={enter:function(e){var t;if(t=e.name.value,!w.has(t)||s(t).removed)return null}};return a=(0,V.YR)(v,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=b(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)(a)||(0,h.E4)(a),(0,en.JG)((0,h.zK)(a)))?a:null}var es=Object.assign(function(e){return(0,V.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),eo([{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,a=void 0===i?X:i,o=e.includeExtensions,s=e.preserveHeaderCase,l=e.useGETForQueries,u=e.includeUnusedVariables,p=void 0!==u&&u,m=(0,c.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&M(n||eu);var g={http:{includeExtensions:o,preserveHeaderCase:s},options:m.fetchOptions,credentials:m.credentials,headers:m.headers};return new _(function(e){var t,i,o,s,u,m,_=b(e,r),x=e.getContext(),A={};if(x.clientAwareness){var I=x.clientAwareness,O=I.name,N=I.version;O&&(A["apollographql-client-name"]=O),N&&(A["apollographql-client-version"]=N)}var D=(0,c.__assign)((0,c.__assign)({},A),x.headers),C={http:x.http,options:x.fetchOptions,credentials:x.credentials,headers:D};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 M=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},a={};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),a=(0,c.__assign)((0,c.__assign)({},a),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,a.preserveHeaderCase));var o=e.operationName,s=e.extensions,l=e.variables,u=e.query,d={operationName:o,variables:l};return a.includeExtensions&&(d.extensions=s),a.includeQuery&&(d.query=t(u,Y)),{options:i,body:d}}(e,a,J,g,C),F=M.options,j=M.body;j.variables&&!p&&(t=j.variables,i=e.query,o=(0,c.__assign)({},t),s=new Set(Object.keys(t)),(0,V.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&s.delete(e.name.value)}}),s.forEach(function(e){delete o[e]}),j.variables=o),F.signal||"undefined"==typeof AbortController||(F.signal=(m=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 z="multipart/mixed;";B&&U&&!1!==globalThis.__DEV__&&d.V1.warn(41),B?z+="boundary=graphql;subscriptionSpec=1.0,application/json":U&&(z+="deferSpec=20220824,application/json"),F.headers.accept=z}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 a=void 0;try{a=v(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",a)}var o="",s=e,l=e.indexOf("#");-1!==l&&(o=e.substr(l),s=e.substr(0,l));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+r.join("&")+o}}(_,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,a,o,s,l,u,d,f,h,p,m,g,_,y,v,b,k,x,A,I,O;return(0,c.__generator)(this,function(N){switch(N.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==(O=e.headers)?void 0:O.get("content-type"),i="boundary=",a=(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():"-",o="\r\n--".concat(a),s="",l=function(e){var t,r,n,i,a,o,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(),a=!1,o={next:function(){return a?Promise.resolve({value:void 0,done:!0}):(a=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},w.uJ&&(o[Symbol.asyncIterator]=function(){return this}),o;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],a=[];function o(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function l(){n=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",s),e.removeListener("end",l),e.removeListener("finish",l),e.removeListener("close",l)},e.on("data",o),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 a.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,N.label=1;case 1:if(!u)return[3,3];return[4,l.next()];case 2:for(f=(d=N.sent()).value,h=d.done,p="string"==typeof f?f:r.decode(f),m=s.length-o.length+1,u=!h,s+=p,g=s.indexOf(o,m);g>-1;){if(_=void 0,_=(A=[s.slice(0,g),s.slice(g+o.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=R(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]}g=s.indexOf(o)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return R(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(){m=void 0,t.complete()}).catch(function(e){m=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){m&&m.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),em=r(26828),eg=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 eg.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:Q.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 a(e,t){return function(r){if(e){var a=function(){return n.closed?0:e(r)};i=i.then(a,a).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var o={next:a(t,"next"),error:a(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(o);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 C(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 eO=r(35518),eN=r(66434),eD=new(w.et?WeakMap:Map);function eC(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return eD.set(e,(eD.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;eD.has(r)||(eD.set(r,0),eC(r,"evict"),eC(r,"modify"),eC(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||eN.pT.loading;return this.variables&&this.networkStatus!==eN.pT.loading&&!(0,ep.L)(this.variables,e.variables)&&(t=eN.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===eD.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,a=this,o=new D,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=o.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(a.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),a.lastWrite={result:e,variables:r.variables,dmCount:eD.get(a.cache)};else if(a.lastDiff&&a.lastDiff.diff.complete){e.data=a.lastDiff.diff.result;return}var o=a.getDiffOptions(r.variables),s=i.diff(o);!a.stopped&&(0,ep.L)(a.variables,r.variables)&&a.updateWatch(r.variables),a.updateLastDiff(s,o),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=eN.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=eN.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 eR=r(21500),eM=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 eV(e,t,r){return ej.withValue(!0,function(){var n=function e(t,r,n,i,a){var o,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 m=e(p,r,n,i,!1!==globalThis.__DEV__?"".concat(a||"","[").concat(h,"]"):void 0);s.has(m)&&s.add(l),l[h]=m}return s.has(l)?l:t}for(var g=0,_=r.selections;g<_.length;g++){var v=_[g],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 m=e(t[w],E,n,i,!1!==globalThis.__DEV__?"".concat(a||"",".").concat(w):void 0);s.has(m)&&(b=m)}!1===globalThis.__DEV__&&(l[w]=b),!1!==globalThis.__DEV__&&(!i||"__typename"===w||(null==(o=Object.getOwnPropertyDescriptor(l,w))?void 0:o.value)?(delete l[w],l[w]=b):Object.defineProperty(l,w,function(e,t,r,n,i){var a=function(){return ej.getValue()||(!1!==globalThis.__DEV__&&d.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),a=function(){return t}),t};return{get:function(){return a()},set:function(e){a=function(){return e}},enumerable:!0,configurable:!0}}(w,b,a||"",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,a)),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,a))}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,eR.G)(n),n})}function ez(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 a=i.find(function(e){return e.name.value===n});return((0,d.V1)(!!a,50,n),null==e||(0,ep.A)(e,{}))?e:eV(e,a.selectionSet,{operationType:"fragment",operationName:a.name.value,fragmentMap:(0,en.JG)((0,h.zK)(t)),cache:r,mutableTargets:new eM,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 Z.A(Q.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new eg.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,a,o,s,l=e.mutation,u=e.variables,f=e.optimisticResponse,h=e.updateQueries,p=e.refetchQueries,m=void 0===p?[]:p,g=e.awaitRefetchQueries,_=void 0!==g&&g,y=e.update,v=e.onQueryUpdated,b=e.fetchPolicy,w=void 0===b?(null==(o=this.defaultOptions.mutate)?void 0:o.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(),a=this,[2,new Promise(function(e,r){return ew(a.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 m&&(m=m(r)),"ignore"===k&&eE(r)&&delete r.errors,a.markMutationResult({mutationId:t,result:r,document:l,variables:u,fetchPolicy:w,errorPolicy:k,context:x,update:y,updateQueries:h,awaitRefetchQueries:_,refetchQueries:m,removeOptimistic:i?t:void 0,onQueryUpdated:v,keepRootFields:S})}).subscribe({next:function(r){a.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,c.__assign)((0,c.__assign)({},r),{data:a.maskOperation({document:l,data:r.data,fetchPolicy:w,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&a.cache.removeOptimistic(t),a.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=[],a="no-cache"===e.fetchPolicy;if(!a&&eL(n,e.errorPolicy)){if(C(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),C(n)&&(0,x.E)(n.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;o.result&&(s=P(o.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,a){var o=e.observableQuery,s=o&&o.queryName;if(s&&eq.call(l,s)){var u=l[s],c=r.queries.get(a),d=c.document,f=c.variables,p=t.diff({query:d,variables:f,returnPartialData:!0,optimistic:!1}),m=p.result;if(p.complete&&m){var g=u(m,{mutationResult:n,queryName:d&&(0,h.n4)(d)||void 0,queryVariables:f});g&&i.push({result:g,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){a||i.forEach(function(e){return t.write(e)});var o,s=e.update,l=!(C(o=n)||"hasNext"in o&&"data"in o)||C(n)&&!n.hasNext;if(s){if(!a){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})}a||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,V.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:eo([{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 eO.U({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,eO.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=eN.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,a=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&&a.add(e)}),this.queries.forEach(function(t,n){var a=t.observableQuery,o=t.document;if(a){if("all"===e)return void r.set(n,a);var s=a.queryName;if("standby"===a.options.fetchPolicy||"active"===e&&!a.hasObservers())return;("active"===e||s&&i.has(s)||o&&i.has(Y(o)))&&(r.set(n,a),s&&i.set(s,!0),o&&i.set(Y(o),!0))}}),a.size&&a.forEach(function(e){var n=(0,eT.v)("legacyOneTimeQuery"),i=t.getOrCreateQuery(n).init({document:e.query,variables:e.variables}),a=new eO.U({queryManager:t,queryInfo:i,options:(0,c.__assign)((0,c.__assign)({},e),{fetchPolicy:"network-only"})});(0,d.V1)(a.queryId===n),i.setObservableQuery(a),r.set(n,a)}),!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 a=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==a&&"cache-only"!==a)&&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,a=e.errorPolicy,o=void 0===a?"none":a,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,o)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=eE(n),s=(0,T.uR)(n);if(a||s){var l={};if(a&&(l.graphQLErrors=n.errors),s&&(l.protocolErrors=n.extensions[T.K$]),"none"===o||s)throw new T.K4(l)}return"ignore"===o&&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 a,o,s=this;void 0===i&&(i=null!=(a=null==t?void 0:t.queryDeduplication)?a:this.queryDeduplication);var l=this.getDocumentInfo(e),u=l.serverQuery,d=l.clientQuery;if(u){var p=this.inFlightLinkObservables,m=this.link,g={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=g.context,i){var _=Y(u),y=(0,em.M)(r),v=p.lookup(_,y);if(!(o=v.observable)){var b=new eI([ef(m,g)]);o=v.observable=b,b.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?b.beforeNext(e):p.remove(_,y)})}}else o=new eI([ef(m,g)])}else o=new eI([f.c.of({data:{}})]),t=this.prepareContext(t);return d&&(o=ew(o,function(e){return s.localState.runResolvers({document:d,remoteResult:e,context:t,variables:r})})),o},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(a){var o=ek(a),s=o.length>0,l=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===l)throw e.markError(new T.K4({graphQLErrors:o}));e.markResult(a,i,r,t),e.markReady()}var u={data:a.data,loading:!1,networkStatus:eN.pT.ready};return s&&"none"===l&&(u.data=void 0),s&&"ignore"!==l&&(u.errors=o,u.networkStatus=eN.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,a,o=this;void 0===r&&(r=eN.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,m=t.context,g=Object.assign({},t,{query:n,variables:s,fetchPolicy:c,errorPolicy:f,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===m?{}:m}),_=function(n){g.variables=n;var i=o.fetchQueryByPolicy(e,g,r);return"standby"!==g.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},y=function(){return o.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){y(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(g.query).hasClientExports)i=new eI(this.localState.addExportedVariables(g.query,g.variables,g.context).then(_).then(function(e){return e.sources})),a=!0;else{var v=_(g.variables);a=v.fromLink,i=new eI(v.sources)}return i.promise.then(y,y),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,a=void 0!==i&&i,o=e.removeOptimistic,s=void 0===o?a?(0,eT.v)("refetchQueries"):void 0:o,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:a&&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,a=e.lastDiff,o=e.diff;l&&(o||(o=t.cache.diff(i.queryInfo.getDiffOptions())),n=l(i,o,a)),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,a=e.data;if(!1!==globalThis.__DEV__){var o=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"!==o||(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:eV(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 eM,knownChanged:new eF})}(a,i,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?ez(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,a=t.variables,o=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:a,networkStatus:r});var m=function(){return e.getDiff()},g=function(t,r){void 0===r&&(r=e.networkStatus||eN.pT.loading);var o=t.result;!1===globalThis.__DEV__||u||(0,ep.L)(o,{})||(0,eO.y)(t.missing);var s=function(e){return f.c.of((0,c.__assign)({data:e,loading:(0,eN.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return o&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:o},context:d,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===l&&r===eN.pT.refetch&&Array.isArray(t.missing)?s(void 0):s(o)},_="no-cache"===o?0:r===eN.pT.refetch&&"merge"!==s?1:2,y=function(){return n.getResultsFromLink(e,_,{query:i,variables:a,context:d,fetchPolicy:o,errorPolicy:l})},v=h&&"number"==typeof p&&p!==r&&(0,eN.bi)(r);switch(o){default:case"cache-first":var b=m();if(b.complete)return{fromLink:!1,sources:[g(b,e.markReady())]};if(u||v)return{fromLink:!0,sources:[g(b),y()]};return{fromLink:!0,sources:[y()]};case"cache-and-network":var b=m();if(b.complete||u||v)return{fromLink:!0,sources:[g(b),y()]};return{fromLink:!0,sources:[y()]};case"cache-only":return{fromLink:!1,sources:[g(m(),e.markReady())]};case"network-only":if(v)return{fromLink:!0,sources:[g(m()),y()]};return{fromLink:!0,sources:[y()]};case"no-cache":if(v)return{fromLink:!0,sources:[g(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}function eK(e){return(e.kind===Kind.VARIABLE||e.kind===Kind.INT||e.kind===Kind.FLOAT||e.kind===Kind.STRING||e.kind===Kind.BOOLEAN||e.kind===Kind.NULL||e.kind===Kind.ENUM||e.kind===Kind.LIST||e.kind===Kind.OBJECT)&&(e.kind===Kind.LIST?e.values.some(eK):e.kind===Kind.OBJECT?e.fields.some(e=>eK(e.value)):e.kind!==Kind.VARIABLE)}var eZ=new ey.DX,eQ=new WeakMap;function e$(e){var t=eQ.get(e);return t||eQ.set(e,t={vars:new Set,dep:(0,ey.yN)()}),t}function eY(e){e$(e).vars.forEach(function(t){return t.forgetCache(e)})}function eJ(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(function(e){var t;e$(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var s=eZ.getValue();s&&(i(s),e$(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),e$(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var eX=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,a=e.onlyRunForcedResolvers,o=void 0!==a&&a;return(0,c.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,o).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,V.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 V.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===(0,h.Vn)(e).operation?e:(0,V.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,a){var o,s,l,u,d,f,p,m,g,_;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),(0,c.__generator)(this,function(y){return o=(0,h.Vn)(e),s=(0,h.zK)(e),l=(0,en.JG)(s),u=this.collectSelectionsToResolve(o,l),f=(d=o.operation)?d.charAt(0).toUpperCase()+d.slice(1):"Query",p=this,m=p.cache,g=p.client,_={fragmentMap:l,context:(0,c.__assign)((0,c.__assign)({},r),{cache:m,client:g}),variables:n,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(o.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,a,o,s,l,u=this;return(0,c.__generator)(this,function(f){return i=n.fragmentMap,a=n.context,o=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,o)?(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,a)))?[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 O(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,c.__awaiter)(this,void 0,void 0,function(){var i,a,o,s,l,u,d,f,h,p=this;return(0,c.__generator)(this,function(c){return r?(i=n.variables,s=(a=e.name.value)!==(o=(0,er.ue)(e)),u=Promise.resolve(l=r[o]||r[a]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(d=r.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[d])&&(h=f[s?a:o])&&(u=Promise.resolve(eZ.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,a,o=null!=(a=null==(i=e.directives)?void 0:i.some(function(e){return"client"===e.name.value}))&&a;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||o,r,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||o,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 a=new Set;n.set(i,a),(0,V.YR)(i,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&eW(e)&&a.add(e)})},FragmentSpread:function(n,i,o,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)&&a.add(e)}),a.add(n),c.forEach(function(e){a.add(e)}))}})}return n.get(i)}(e)},e}(),e0=r(18877),e1=!1,e2=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,a=e.headers,o=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,m=e.queryDeduplication,g=void 0===m||m,y=e.defaultOptions,v=e.defaultContext,b=e.assumeImmutableResults,w=void 0===b?o.assumeImmutableResults:b,E=e.resolvers,k=e.typeDefs,T=e.fragmentMatcher,S=e.name,x=e.version,A=e.devtools,I=e.dataMasking,O=e.link;O||(O=n?new ed({uri:n,credentials:i,headers:a}):_.empty()),this.link=O,this.cache=o,this.disableNetworkFetches=u||h>0,this.queryDeduplication=g,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 eX({cache:o,client:this,resolvers:E,fragmentMatcher:T}),this.queryManager=new eG({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:v,documentTransform:s,queryDeduplication:g,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,!e1&&!1!==globalThis.__DEV__&&(e1=!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,e0.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,e0.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,e0.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 e5(e){return new _(function(t,r){return new f.c(function(n){var i,a,o;try{i=r(t).subscribe({next:function(i){if(i.errors?o=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}):(0,T.uR)(i)&&(o=e({protocolErrors:i.extensions[T.K$],response:i,operation:t,forward:r})),o){a=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(o=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){a=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){o||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),a&&i.unsubscribe()}})})}!1!==globalThis.__DEV__&&(e2.prototype.getMemoryInternals=$.ep),!function(e){function t(t){var r=e.call(this)||this;return r.link=e5(t),r}(0,c.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(_);var e3=r(19221),e4=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,ey.LV)(en.ct,{max:Q.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,a=e.from,o=e.optimistic,s=(0,c.__rest)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(n,i),u=void 0===a||"string"==typeof a?a:this.identify(a),p=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var m=i||(0,h.E4)(n).name.value;u||!1===globalThis.__DEV__||d.V1.warn(1,m)}var g=(0,c.__assign)((0,c.__assign)({},s),{returnPartialData:!0,id:u,query:l,optimistic:void 0===o||o});return new f.c(function(a){return r.watch((0,c.__assign)((0,c.__assign)({},g),{immediate:!0,callback:function(o){var s=p?ez(o.result,n,r,i):o.result;if(!(t&&(0,e3.a)(l,{data:t.result},{data:s},e.variables))){var u={data:s,complete:!!o.complete};o.missing&&(u.missing=O(o.missing.map(function(e){return e.missing}))),t=(0,c.__assign)((0,c.__assign)({},o),{result:s}),a.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,a=(0,c.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{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__&&(e4.prototype.getMemoryInternals=$.tQ);var e6=function(e){function t(r,n,i,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var l=s.path.length-1;l>=0;--l)(o={})[s.path[l]]=s.missing,s.missing=o}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,c.__extends)(t,e),t}(Error),e9=r(79760),e8=Object.prototype.hasOwnProperty;function e7(e){return null==e}function te(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 tt={dataIdFromObject:te,addTypename:!0,resultCaching:!0,canonizeResults:!1};function tr(e){var t=e.canonizeResults;return void 0===t?tt.canonizeResults:t}var tn=/^[_a-z][_0-9a-z]*/i;function ti(e){var t=e.match(tn);return t?t[0]:e}function ta(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 ts=Object.create(null),tl=function(){return ts},tu=Object.create(null),tc=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,eR.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 th?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 th?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,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,d.V1)("string"==typeof r,2);var o=new D(tm).merge(i,a);if(this.data[r]=o,o!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(a).forEach(function(e){if(!i||i[e]!==o[e]){s[e]=1;var t=ti(e);t===e||n.policies.hasKeyArgs(o.__typename,t)||(s[t]=1),void 0!==o[e]||n instanceof th||delete o[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===o.__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),a=!1,o=!0,s={DELETE:ts,INVALIDATE:tu,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=ti(l),f=n[l];if(void 0!==f){var h="function"==typeof t?t:t[l]||t[u];if(h){var p=h===tl?ts:h((0,eR.G)(f),(0,c.__assign)((0,c.__assign)({},s),{fieldName:u,storeFieldName:l,storage:r.getStorage(e,l)}));if(p===tu)r.group.dirty(e,l);else if(p===ts&&(p=void 0),p!==f&&(i[l]=p,a=!0,f=p,!1!==globalThis.__DEV__)){var m=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&d.V1.warn(3,e),!0};if((0,er.A_)(p))m(p);else if(Array.isArray(p))for(var g=!1,_=void 0,y=0,v=p;y<v.length;y++){var b=v[y];if((0,er.A_)(b)){if(g=!0,m(b))break}else"object"==typeof b&&b&&r.policies.identify(b)[0]&&(_=b);if(g&&void 0!==_){!1!==globalThis.__DEV__&&d.V1.warn(4,_);break}}}}void 0!==f&&(o=!1)}}),a)return this.merge(e,i),o&&(this instanceof th?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 a=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=tl,n):tl)}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 th&&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 th?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 th;)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}(),td=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 eg.b(w.et)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=ti(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 tf(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,a=e.call(this,r,new td(void 0===n||n))||this;return a.stump=new tp(a),a.storageTrie=new eg.b(w.et),i&&a.replace(i),a}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}(tc||(tc={}));var th=function(e){function t(t,r,n,i){var a=e.call(this,r.policies,i)||this;return a.id=t,a.parent=r,a.replay=n,a.group=i,n(a),a}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}(tc),tp=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new td(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}(th);function tm(e,t,r){var n=e[r],i=t[r];return(0,ep.L)(n,i)?n:i}function tg(e){return!!(e instanceof tc&&e.group.caching)}var t_=function(){function e(){this.known=new(w.En?WeakSet:Set),this.pool=new eg.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 a=Object.getPrototypeOf(e),o=[a],s=this.sortedKeys(e);o.push(s.json);var l=o.length;s.sorted.forEach(function(r){o.push(t.admit(e[r]))});var i=this.pool.lookupArray(o);if(!i.object){var u=i.object=Object.create(a);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=o[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 ty(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var tv=function(){function e(e){var t=this;this.knownResults=new(w.et?WeakMap:Map),this.config=(0,e9.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:tr(e)}),this.canon=e.canon||new t_,this.executeSelectionSet=(0,ey.LV)(function(e){var r,n=e.context.canonizeResults,i=ty(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?(0,c.__assign)((0,c.__assign)({},a),{result:t.canon.admit(a.result)}):a:(tf(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:ty,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 tf(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||Q.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 t_},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,a=e.variables,o=e.returnPartialData,s=e.canonizeResults,l=void 0===s?this.config.canonizeResults:s,u=this.config.cache.policies;a=(0,c.__assign)((0,c.__assign)({},(0,h.wY)((0,h.AT)(n))),a);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:a,varString:(0,em.M)(a),canonizeResults:l},to(n,this.config.fragments))});if(f.missing&&(t=[new e6(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,a)],!(void 0===o||o)))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,a=e.enclosingRef,o=e.context;if((0,er.A_)(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=o.variables,l=o.policies,u=o.store.getFieldValue(i,"__typename"),c=[],f=new D;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,m;if((0,y.MS)(e,s))if((0,er.dt)(e)){var g=l.readField({fieldName:e.name.value,field:e,variables:o.variables,from:i},o),_=(0,er.ue)(e);void 0===g?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)(g)?g.length>0&&(g=h(r.executeSubSelectedArray({field:e,array:g,enclosingRef:a,context:o}),_)):e.selectionSet?null!=g&&(g=h(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,er.A_)(g)?g:a,context:o}),_)):o.canonizeResults&&(g=r.canon.pass(g)),void 0!==g&&c.push(((m={})[_]=g,m))}else{var v=(0,en.HQ)(e,o.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 m={result:O(c),missing:t},g=o.canonizeResults?this.canon.admit(m):(0,eR.G)(m);return g.result&&this.knownResults.set(g.result,n),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,a=e.enclosingRef,o=e.context,s=new D;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(o.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,x.c)(e)?l(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:o}),t):n.selectionSet?l(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,er.A_)(e)?e:a,context:o}),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))})}}(o.store,n,e),e)}),{result:o.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),tb=r(54962),tw=r(62091),tE=Object.create(null);function tk(e){var t=JSON.stringify(e);return tE[t]||(tE[t]=Object.create(null))}function tT(e){var t=tk(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=tx(e,function(e){var i=tI(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&e8.call(t,e[0])&&(i=tI(t,e,tA)),(0,d.V1)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function tS(e){var t=tk(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,a=r.fieldName,o=JSON.stringify(tx(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(n&&(0,x.E)(n.directives)){var o=r.slice(1),s=n.directives.find(function(e){return e.name.value===o}),l=s&&(0,er.MB)(s,i);return l&&tI(l,e.slice(1))}return}if("$"===a){var u=r.slice(1);if(i&&e8.call(i,u)){var c=e.slice(0);return c[0]=u,tI(i,c)}return}if(t)return tI(t,e)}));return(t||"{}"!==o)&&(a+=":"+o),a})}function tx(e,t){var r=new D;return(function e(t){var r=tk(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,a){(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[a+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,a=t(n);if(void 0!==a){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=a,a=i;e=r.merge(e,a)}return e},Object.create(null))}function tA(e,t){return e[t]}function tI(e,t,r){return r=r||tA,function e(t){return(0,S.U)(t)?(0,x.c)(t)?t.map(e):tx(Object.keys(t).sort(),function(e){return tI(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 tO(e){return void 0!==e.args?e.args:e.field?(0,er.MB)(e.field,e.variables):null}var tN=function(){},tD=function(e,t){return t.fieldName},tC=function(e,t,r){return(0,r.mergeObjects)(e,t)},tP=function(e,t){return t},tL=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:te},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,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var o=t&&t.storeObject||e,s=(0,c.__assign)((0,c.__assign)({},t),{typename:a,storeObject:o,readField:t&&t.readField||function(){var e=tM(arguments,o);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),u=l&&l.keyFn||this.config.dataIdFromObject;return ej.withValue(!0,function(){for(;u;){var t=u((0,c.__assign)((0,c.__assign)({},e),o),s);if((0,x.c)(t))u=tT(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,a=n.mutationType,o=n.subscriptionType,s=(0,c.__rest)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),o&&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,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?tC:!1===t?tP:e.merge}o(n,t.merge),n.keyFn=!1===i?tN:(0,x.c)(i)?tT(i):"function"==typeof i?i:n.keyFn,a&&Object.keys(a).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=a[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,l=i.read,u=i.merge;n.keyFn=!1===s?tD:(0,x.c)(s)?tS(s):"function"==typeof s?s:n.keyFn,"function"==typeof l&&(n.read=l),o(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||tD)})},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(tn);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 a=t.supertypeMap.get(i);a&&a.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 a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var o=this.getSupertypeSet(t,!0),s=[o],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(a))return o.has(a)||(c&&!1!==globalThis.__DEV__&&d.V1.warn(7,t,a),o.add(a)),!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),a=i&&i.keyFn;if(a&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=tO(e);a;){var l=a(s,o);if((0,x.c)(l))a=tS(l);else{t=l||n;break}}return(void 0===t&&(t=e.field?(0,er.Ii)(e.field,e.variables):(0,er.o5)(n,tO(e))),!1===t)?n:n===ti(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),a=ti(i),o=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,a,!1),l=s&&s.read;if(l){var u=tR(this,r,e,t,t.store.getStorage((0,er.A_)(r)?r.__ref:r,i));return eZ.withValue(this.cache,l,[o,u])}return o}},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 a=r.field,o=r.typename,s=r.merge;return s===tC?tF(n.store)(e,t):s===tP?t:(n.overwrite&&(e=void 0),s(e,t,tR(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:n.variables},n,i||Object.create(null))))},e}();function tR(e,t,r,n,i){var a=e.getStoreFieldName(r),o=ti(a),s=r.variables||n.variables,l=n.store,u=l.toReference,c=l.canRead;return{args:tO(r),field:r.field||null,fieldName:o,storeFieldName:a,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:tF(n.store)}}function tM(e,t,r){var n,i=e[0],a=e[1],o=e.length;return"string"==typeof i?n={fieldName:i,from:o>1?a: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,tw.p)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function tF(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)&&ta(r))return e.merge(t.__ref,r),t;if(ta(t)&&(0,er.A_)(r))return e.merge(t,r.__ref),r;if(ta(t)&&ta(r))return(0,c.__assign)((0,c.__assign)({},t),r)}return r}}function tj(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 tB=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,a=t.dataId,o=t.variables,s=t.overwrite,l=(0,h.Vu)(n),u=new D;o=(0,c.__assign)((0,c.__assign)({},(0,h.wY)(l)),o);var f=(0,c.__assign)((0,c.__assign)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:o,varString:(0,em.M)(o)},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:a,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,a=t.mergeTree,o=t.fieldNodeSet,s=(0,er.WU)(n);if(a&&a.map.size){var l=r.applyMerges(a,s,i,f);if((0,er.A_)(l))return;i=l}if(!1!==globalThis.__DEV__&&!f.overwrite){var u=Object.create(null);o.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});var h=function(e){var t=a&&a.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==u[ti(e)]||h(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},a=i(e);if(a){var o=i(t);if(!(!o||(0,er.A_)(a)||(0,ep.L)(a,o)||Object.keys(a).every(function(e){return void 0!==n.getFieldValue(o,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=ti(r),u="".concat(s,".").concat(l);if(!tH.has(u)){tH.add(u);var f=[];(0,x.c)(a)||(0,x.c)(o)||[a,o].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)({},a),(0,c.__assign)({},o))}}}}(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,a=e.context,o=e.mergeTree,s=this.cache.policies,l=Object.create(null),u=r&&s.rootTypenamesById[r]||(0,er.D$)(n,i,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof u&&(l.__typename=u);var f=function(){var e=tM(arguments,l,a.variables);if((0,er.A_)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,c.__assign)((0,c.__assign)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return s.readField(e,a)},h=new Set;this.flattenFields(i,n,a,u).forEach(function(e,r){var i,a=n[(0,er.ue)(r)];if(h.add(r),void 0!==a){var c=s.getStoreFieldName({typename:u,fieldName:r.name.value,field:r,variables:e.variables}),p=tV(o,c),m=t.processFieldValue(a,r,r.selectionSet?tj(e,!1,!1):e,p),g=void 0;r.selectionSet&&((0,er.A_)(m)||ta(m))&&(g=f("__typename",m));var _=s.getMergeFunction(u,r.name.value,g);_?p.info={field:r,typename:u,merge:_}:tq(o,c),l=e.merge(l,((i={})[c]=m,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:a.fragmentMap,storeObject:l,readField:f}),m=p[0],g=p[1];r=r||m,g&&(l=a.merge(l,g))}catch(e){if(!r)throw e}if("string"==typeof r){var _=(0,er.WU)(r),y=a.written[r]||(a.written[r]=[]);if(y.indexOf(i)>=0||(y.push(i),this.reader&&this.reader.isFresh(n,_,i,a)))return _;var v=a.incomingById.get(r);return v?(v.storeObject=a.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,a={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var o=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),o.delete(n)}),o.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(v.mergeTree,o),h.forEach(function(e){return v.fieldNodeSet.add(e)})):a.incomingById.set(r,{storeObject:l,mergeTree:tz(o)?void 0:o,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,a){var o=i.processFieldValue(e,t,r,tV(n,a));return tq(n,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,tb.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,a=this.cache.policies,o=new eg.b(!1);return!function e(s,l){var u=o.lookup(s,l.clientOnly,l.deferred);u.visited||(u.visited=!0,s.selections.forEach(function(o){if((0,y.MS)(o,r.variables)){var s=l.clientOnly,u=l.deferred;if(!(s&&u)&&(0,x.E)(o.directives)&&o.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)(o)){var c=i.get(o);c&&(s=s&&c.clientOnly,u=u&&c.deferred),i.set(o,tj(r,s,u))}else{var f=(0,en.HQ)(o,r.lookupFragment);if(!f&&o.kind===et.b.FRAGMENT_SPREAD)throw(0,d.vA)(14,o.name.value);f&&a.fragmentMatches(f,n,t,r.variables)&&e(f.selectionSet,tj(r,s,u))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var a=this;if(e.map.size&&!(0,er.A_)(r)){var o,s,l=!(0,x.c)(r)&&((0,er.A_)(t)||ta(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),o=f(u,t);if(void 0!==o){i&&i.push(t);var c=a.applyMerges(e,r,o,n,i);c!==o&&(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&&(o=n.store).getStorage.apply(o,i)):r},e}(),tU=[];function tV(e,t){var r=e.map;return r.has(t)||r.set(t,tU.pop()||{map:new Map}),r.get(t)}function tz(e){return!e||!(e.info||e.map.size)}function tq(e,t){var r=e.map,n=r.get(t);n&&tz(n)&&(tU.push(n),r.delete(t))}var tH=new Set,tG=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=eJ,n.txCount=0,r=t,n.config=(0,e9.o)(tt,r),n.addTypename=!!n.config.addTypename,n.policies=new tL({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 tc.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 tB(this,this.storeReader=new tv({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:tr(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||Q.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,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,em.M)({optimistic:n,id:i,variables:a}))}}}),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 e6)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,e$(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&&eY(r),r.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){em.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(),em.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),eY(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,a=void 0===i||i,o=e.removeOptimistic,s=e.onWatchUpdated,l=function(e){var i=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=a}},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 a?this.optimisticData=this.optimisticData.addLayer(a,l):!1===a?l(this.data):l(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),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}(e4);!1!==globalThis.__DEV__&&(tG.prototype.getMemoryInternals=$.cM);let tW=JSON.parse('{"Product":["ConfigurableProduct","SimpleProduct","BundleProduct","PlanProduct","TokenizedProduct"],"OrderDiscountable":["OrderGlobalDiscount","OrderPaymentDiscount","OrderDeliveryDiscount","OrderItemDiscount"],"OrderDelivery":["OrderDeliveryPickUp","OrderDeliveryShipping"],"OrderPayment":["OrderPaymentInvoice","OrderPaymentCard","OrderPaymentGeneric"]}');function tK(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 a=n.offset,o=void 0===a?0:a,s=0;s<t.length;++s)i[o+s]=t[s];else i.push.apply(i,t);return i}}}var tZ=null;let tQ={...{Query:{fields:{assortments:{...tK(["includeLeaves","includeInactive","tags","queryString","slugs","limit"])},products:{...tK(["includeDrafts","tags","queryString","sort","limit"])},product:{keyArgs:["productId","slug"],fields:{reviews:tK()}},user:{keyArgs:["userId"],fields:{reviews:tK()}},countries:{...tK(["includeInactive","queryString","sort","limit"])},currencies:{...tK(["includeInactive","queryString","sort","limit"])},enrollments:{...tK(["queryString","status","sort","limit"])},quotations:{...tK(["queryString","sort","limit"])},workQueue:{...tK(["status","types","created","queryString","limit"])},languages:{...tK(["includeInactive","queryString","sort","limit"])},events:{...tK(["types","queryString","sort","limit"])},users:{...tK(["includeGuests","queryString","emailVerified","lastLogin","limit"])},filters:{...tK(["queryString","includeInactive","sort","limit"])},orders:{...tK(["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},t$=e=>new tG({typePolicies:tQ,possibleTypes:tW}),tY=["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"],tJ=(e,t)=>({headers:{...Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return tY.includes(null==t?void 0:t.toLowerCase())})),"accept-language":(null==e?void 0:e.forceLocale)||t}}),tX=()=>"".concat(window.location.origin,"/graphql"),t0=e=>{var t;let{headers:r={},locale:n}=e,i=(t=(e,t)=>{let{headers:i={}}=t;return tJ({...r,...i},n)},new _(function(e,r){var n=(0,c.__rest)(e,[]);return new f.c(function(i){var a,o=!1;return Promise.resolve(n).then(function(r){return t(r,e.getContext())}).then(e.setContext).then(function(){o||(a=r(e).subscribe({next:i.next.bind(i),error:i.error.bind(i),complete:i.complete.bind(i)}))}).catch(i.error.bind(i)),function(){o=!0,a&&a.unsubscribe()}})})),a=new ed({uri:tX(),credentials:"include",includeExtensions:!0}),o=e5(e=>{let{response:t,graphQLErrors:r,networkError:n,operation:i,forward:a}=e;r&&r.forEach(e=>{let{message:t,locations:r,path:n,extensions:a}=e;console.error("[GraphQL error]: Message: ".concat(t,", Location: ").concat(JSON.stringify(r),", Path: ").concat(n,", Extensions: ").concat(JSON.stringify(a),", Operation: ").concat(i.operationName))}),n&&console.error("[Network error]: ".concat(n,", Operation: ").concat(i.operationName))}),s=t$(n);return new e2({connectToDevTools:!0,defaultOptions:{watchQuery:{fetchPolicy:"cache-and-network",errorPolicy:"all"},mutate:{errorPolicy:"all"}},ssrMode:!1,link:_.from([o,i,a].filter(Boolean)),cache:s})},t1=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:t0({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 t2(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,a.useMemo)(()=>t1(n,{...r}),[n,t])}},66253: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 a=Date.now(),o=t-(a-n);o<=0?(n=a,e.apply(this,i)):r=setTimeout(()=>{n=Date.now(),e.apply(this,i)},o)}}},66400:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(14232),i=r(21737);let a=()=>(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 a(e){return i(e)&&"accessKey"in e}function o(e){return i(e)&&"tabIndex"in e}function s(e){return i(e)&&"style"in e}function l(e){return a(e)&&"IFRAME"===e.nodeName}function u(e){return a(e)&&"INPUT"===e.nodeName}function c(e){return a(e)&&"LABEL"===e.nodeName}function d(e){return a(e)&&"FIELDSET"===e.nodeName}function f(e){return a(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:()=>o,Ll:()=>n,kS:()=>c,pv:()=>s,sb:()=>a})},67056:(e,t,r)=>{"use strict";var n=r(82909).hp;let i=void 0!==n,a=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,o=/"(?: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===a.test(e)&&!1===o.test(e))return s}else if("ignore"!==u&&"ignore"===c){if(!1===a.test(e))return s}else if(!1===o.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 a of(i=[],e)){if("ignore"!==t&&Object.prototype.hasOwnProperty.call(a,"__proto__")){if(!0===n)return null;if("error"===t)throw SyntaxError("Object contains forbidden prototype property");delete a.__proto__}if("ignore"!==r&&Object.prototype.hasOwnProperty.call(a,"constructor")&&Object.prototype.hasOwnProperty.call(a.constructor,"prototype")){if(!0===n)return null;if("error"===r)throw SyntaxError("Object contains forbidden prototype property");delete a.constructor}for(let e in a){let t=a[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},67994:(e,t,r)=>{"use strict";r.d(t,{m:()=>o});var n=r(17318),i=r(60427),a=r(94852);function o(e){var t=i.useContext((0,a.l)()),r=e||t.client;return(0,n.V1)(!!r,58),r}},68739:(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,...a}=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},a),r?n.createElement("title",{id:i},r):null,n.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"}))})},68922:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>l,JG:()=>s,ct:()=>o,s6:()=>u});var n=r(4902),i=r(17318),a=r(74968);function o(e,t){var r=t,a=[];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&&a.push(e)}),void 0===r&&((0,i.V1)(1===a.length,86,a.length),r=a[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,a.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return a.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:()=>o});var n=r(14232),i=r(39296);let a=Symbol();function o(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Object.assign(e,{[a]:t})}function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let o=(0,n.useRef)(t);(0,n.useEffect)(()=>{o.current=t},[t]);let s=(0,i._)(e=>{for(let t of o.current)null!=t&&("function"==typeof t?t(e):t.current=e)});return t.every(e=>null==e||(null==e?void 0:e[a]))?void 0:s}},69964:(e,t,r)=>{e=r.nmd(e);var n,i,a="__lodash_hash_undefined__",o="[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]",m="[object Promise]",g="[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[o]=T[s]=T[b]=T[l]=T[w]=T[u]=T[c]=T[d]=T[f]=T[h]=T[p]=T[g]=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,O=I&&e&&!e.nodeType&&e,N=O&&O.exports===I,D=N&&S.process,C=function(){try{return D&&D.binding&&D.binding("util")}catch(e){}}(),P=C&&C.isTypedArray;function L(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function R(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var M=Array.prototype,F=Function.prototype,j=Object.prototype,B=A["__core-js_shared__"],U=F.toString,V=j.hasOwnProperty,z=function(){var e=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),q=j.toString,H=RegExp("^"+U.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=N?A.Buffer:void 0,W=A.Symbol,K=A.Uint8Array,Z=j.propertyIsEnumerable,Q=M.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"),ea=eT(Object,"create"),eo=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 em(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.__data__=new em;++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=V.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 eR(e)&&ev(e)==o}function ew(e,t,r,n,i,a){var o=1&r,s=e.length,l=t.length;if(s!=l&&!(o&&l>s))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var c=-1,d=!0,f=2&r?new eg:void 0;for(a.set(e,t),a.set(t,e);++c<s;){var h=e[c],p=t[c];if(n)var m=o?n(p,h,c,t,e,a):n(h,p,c,e,t,a);if(void 0!==m){if(m)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,a)))return f.push(t)})){d=!1;break}}else if(!(h===p||i(h,p,r,n,a))){d=!1;break}}return a.delete(e),a.delete(t),d}function eE(e){var t;return t=eF(e),eN(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,z&&z in r))&&(eC(n)?H:E).test(eA(n))?n:void 0}eh.prototype.clear=function(){this.__data__=ea?ea(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(ea){var r=t[e];return r===a?void 0:r}return V.call(t,e)?t[e]:void 0},eh.prototype.has=function(e){var t=this.__data__;return ea?void 0!==t[e]:V.call(t,e)},eh.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=ea&&void 0===t?a: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():Q.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},em.prototype.clear=function(){this.size=0,this.__data__={hash:new eh,map:new(et||ep),string:new eh}},em.prototype.delete=function(e){var t=ek(this,e).delete(e);return this.size-=!!t,t},em.prototype.get=function(e){return ek(this,e).get(e)},em.prototype.has=function(e){return ek(this,e).has(e)},em.prototype.set=function(e,t){var r=ek(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this},eg.prototype.add=eg.prototype.push=function(e){return this.__data__.set(e,a),this},eg.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 em(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,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}(Y(e=Object(e)),function(t){return Z.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())!=m||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 eo:return w;case es:return f;case el:return m;case eu:return _;case ec:return v}return t});var eO=eb(function(){return arguments}())?eb:function(e){return eR(e)&&V.call(e,"callee")&&!Z.call(e,"callee")},eN=Array.isArray,eD=J||function(){return!1};function eC(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 eR(e){return null!=e&&"object"==typeof e}var eM=P?function(e){return P(e)}:function(e){return eR(e)&&eP(e.length)&&!!T[ev(e)]};function eF(e){return null!=e&&eP(e.length)&&!eC(e)?function(e,t){var r,n,i=eN(e),a=!i&&eO(e),o=!i&&!a&&eD(e),s=!i&&!a&&!o&&eM(e),l=i||a||o||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){V.call(e,d)&&!(l&&("length"==d||o&&("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))V.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e)}e.exports=function(e,t){return function e(t,r,n,i,a){return t===r||(null!=t&&null!=r&&(eR(t)||eR(r))?function(e,t,r,n,i,a){var d=eN(e),m=eN(t),v=d?s:ex(e),E=m?s:ex(t);v=v==o?p:v,E=E==o?p:E;var k=v==p,T=E==p,S=v==E;if(S&&eD(e)){if(!eD(t))return!1;d=!0,k=!1}if(S&&!k)return a||(a=new e_),d||eM(e)?ew(e,t,r,n,i,a):function(e,t,r,n,i,a,o){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||!a(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 g:case y:return e==t+"";case f:var s=L;case _:var d=1&n;if(s||(s=R),e.size!=t.size&&!d)break;var p=o.get(e);if(p)return p==t;n|=2,o.set(e,t);var m=ew(s(e),s(t),n,i,a,o);return o.delete(e),m;case"[object Symbol]":if(ef)return ef.call(e)==ef.call(t)}return!1}(e,t,v,r,n,i,a);if(!(1&r)){var x=k&&V.call(e,"__wrapped__"),A=T&&V.call(t,"__wrapped__");if(x||A){var I=x?e.value():e,O=A?t.value():t;return a||(a=new e_),i(I,O,r,n,a)}}return!!S&&(a||(a=new e_),function(e,t,r,n,i,a){var o=1&r,s=eE(e),l=s.length;if(l!=eE(t).length&&!o)return!1;for(var u=l;u--;){var c=s[u];if(!(o?c in t:V.call(t,c)))return!1}var d=a.get(e);if(d&&a.get(t))return d==t;var f=!0;a.set(e,t),a.set(t,e);for(var h=o;++u<l;){var p=e[c=s[u]],m=t[c];if(n)var g=o?n(m,p,c,t,e,a):n(p,m,c,e,t,a);if(!(void 0===g?p===m||i(p,m,r,n,a):g)){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 a.delete(e),a.delete(t),f}(e,t,r,n,i,a))}(t,r,n,i,e,a):t!=t&&r!=r)}(e,t)}},70620:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(14232),i=r(74540),a=r(38591),o=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,a.L)(),u=(0,o._)(()=>{t.current=null,s(!1),l.dispose()}),c=(0,o._)(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,a;s((i=e.width/2,a=e.height/2,r={top:e.clientY-a,right:e.clientX+i,bottom:e.clientY+a,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}}}},70789:(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,a=r?Symbol.for("react.fragment"):60107,o=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,m=r?Symbol.for("react.memo"):60115,g=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 a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m: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=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,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)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===v||e.$$typeof===b||e.$$typeof===_)},t.typeOf=w},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"}},71211:(e,t,r)=>{"use strict";r.d(t,{MS:()=>o,d8:()=>s,f2:()=>l,s7:()=>u});var n=r(17318),i=r(74968),a=r(94587);function o(e,t){var r,i,a=e.directives;return!a||!a.length||(i=[],(r=a)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,a=e.name.value;(0,n.V1)(r&&1===r.length,79,a);var o=r[0];(0,n.V1)(o.name&&"if"===o.name.value,80,a);var s=o.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,a),i.push({directive:e,ifArgument:o})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,a=!1;return"Variable"===i.value.kind?(a=t&&t[i.value.name.value],(0,n.V1)(void 0!==a,78,r.name.value)):a=i.value.value,"skip"===r.name.value?!a:a})}function s(e,t,r){var n=new Set(e),a=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<a}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 o=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&o&&(o.value.kind===a.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(82):o.value.kind!==a.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(83):"migrate"!==o.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(84,o.value.value)),o&&"value"in o.value&&"migrate"===o.value.value)?"migrate":"unmask"}},71714:(e,t,r)=>{"use strict";r.d(t,{$x:()=>l,El:()=>s,O_:()=>o,Uw:()=>a});var n=r(14232);let i=(0,n.createContext)(null);i.displayName="OpenClosedContext";var a=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(a||{});function o(){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})},73192:(e,t,r)=>{"use strict";r.d(t,{K:()=>i});let n="copilot-chat-history",i={loadMessages(){try{let e=localStorage.getItem(n);return(e?JSON.parse(e):[]).filter(e=>"assistant"!==e.role||!e.parts||!e.parts.some(e=>"tool-invocation"===e.type&&e.toolInvocation&&(!e.toolInvocation.result||"call"===e.toolInvocation.state)))}catch(e){return console.error("Error loading chat history:",e),[]}},saveMessages(e){if(e&&0!==e.length)try{localStorage.setItem(n,JSON.stringify(e))}catch(e){console.error("Error saving chat history:",e)}},clearMessages(){try{localStorage.removeItem(n)}catch(e){console.error("Error clearing chat history:",e)}}}},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:()=>m,jA:()=>g,Jp:()=>p,xm:()=>_,Qh:()=>h,qg:()=>X});var n,i,a,o,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 m(e){return e.type===i.plural}function g(e){return e.type===i.pound}function _(e){return e.type===i.tag}function y(e){return!!(e&&"object"==typeof e&&e.type===a.number)}function v(e){return!!(e&&"object"==typeof e&&e.type===a.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"}(a||(a={}));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 O(e){var t=I(e);return t||{}}var N={"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"]},D=new RegExp("^".concat(b.source,"*")),C=new RegExp("".concat(b.source,"*$"));function P(e,t){return{start:e,end:t}}var L=!!String.prototype.startsWith&&"_a".startsWith("a",1),R=!!String.fromCodePoint,M=!!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)},V=!0;try{V=(null==(o=Z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:o[0])==="a"}catch(e){V=!1}var z=L?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},q=R?String.fromCodePoint:function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,a=0;i>a;){if((e=t[a++])>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=M?Object.fromEntries:function(e){for(var t={},r=0;r<e.length;r++){var n=e[r],i=n[0],a=n[1];t[i]=a}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(D,"")},K=B?function(e){return e.trimEnd()}:function(e){return e.replace(C,"")};function Z(e,t){return new RegExp(e,t)}if(V){var Q=Z("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");s=function(e,t){var r;return Q.lastIndex=t,null!=(r=Q.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 a=[];!this.isEOF();){var o=this.char();if(123===o){var s=this.parseArgument(e,r);if(s.err)return s;a.push(s.val)}else if(125===o&&e>0)break;else if(35===o&&("plural"===t||"selectordinal"===t)){var l=this.clonePosition();this.bump(),a.push({type:i.pound,location:P(l,this.clonePosition())})}else if(60!==o||this.ignoreTag||47!==this.peek())if(60===o&&!this.ignoreTag&&Y(this.peek()||0)){var s=this.parseTag(e,t);if(s.err)return s;a.push(s.val)}else{var s=this.parseLiteral(e,t);if(s.err)return s;a.push(s.val)}else if(!r)return this.error(n.UNMATCHED_CLOSING_TAG,P(this.clonePosition(),this.clonePosition()));else break}return{val:a,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var a=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:i.literal,value:"<".concat(a,"/>"),location:P(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(n.INVALID_TAG,P(r,this.clonePosition()));var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var s=o.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 a!==this.parseTagName()?this.error(n.UNMATCHED_CLOSING_TAG,P(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:i.tag,value:a,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 a=this.tryParseQuote(t);if(a){n+=a;continue}var o=this.tryParseUnquoted(e,t);if(o){n+=o;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 a=this.parseIdentifierIfPossible().value;if(!a)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:a,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,a,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,o){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 m=K(p.val);if(0===m.length)return this.error(n.EXPECT_ARGUMENT_STYLE,P(this.clonePosition(),this.clonePosition()));f={style:m,styleLocation:P(h,this.clonePosition())}}var g=this.tryParseArgumentClose(o);if(g.err)return g;var _=P(o,this.clonePosition());if(f&&z(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 a=0;n+1<e.length&&e.charAt(n+1)===i;)a++,n++;var o=1+(1&a),s=a<2?1:3+(a>>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),(N[t||""]||N[n||""]||N["".concat(n,"-001")]||N["001"])[0]}(t);for(("H"==l||"k"==l)&&(s=0);s-- >0;)r+="a";for(;o-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(y,this.locale));var m={type:a.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:m},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 g=this.tryParseArgumentClose(o);if(g.err)return g;var x=P(o,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 a=i[0],o=i.slice(1),s=0;s<o.length;s++)if(0===o[s].length)throw Error("Invalid number skeleton");r.push({stem:a,options:o})}return r}(e)}catch(e){return this.error(n.INVALID_NUMBER_SKELETON,t)}return{val:{type:a.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),O(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),O(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,a,o){if(r)t.minimumIntegerDigits=n.length;else if(i&&a)throw Error("We currently do not support maximum integer digits");else if(o)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,a,o){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.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 a=I(n.stem);a&&(t=(0,l.__assign)((0,l.__assign)({},t),a));var o=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);o&&(t=(0,l.__assign)((0,l.__assign)({},t),o))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,i){for(var a,o=!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&&(o=!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 m=this.tryParseArgumentClose(h);if(m.err)return m;s.push([u,{value:p.val,location:P(h,this.clonePosition())}]),l.add(u),this.bumpSpace(),u=(a=this.parseIdentifierIfPossible()).value,c=a.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&&!o?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,a=0;!this.isEOF();){var o=this.char();if(o>=48&&o<=57)i=!0,a=10*a+(o-48),this.bump();else break}var s=P(n,this.clonePosition());return i?U(a*=r)?{val:a,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(z(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)||m(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),a=r(86158),o=r(94587);let s=Object.freeze({});function l(e,t,r=a.aD){let u,c,d,f=new Map;for(let e of Object.values(o.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],m=-1,g=[],_=e,y=[],v=[];do{var b,w,E;let e,o=++m===p.length,l=o&&0!==g.length;if(o){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 g){let n=t-e;null===r?(_.splice(n,1),e++):_[n]=r}}else for(let[e,t]of(_={..._},g))_[e]=t;m=u.index,p=u.keys,g=u.edits,h=u.inArray,u=u.prev}else if(d){if(null==(_=d[c=h?m:p[m]]))continue;y.push(c)}if(!Array.isArray(_)){(0,a.Ll)(_)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(_)}.`);let r=o?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(!o){y.pop();continue}}else if(void 0!==e&&(g.push([c,e]),!o))if((0,a.Ll)(e))_=e;else{y.pop();continue}}void 0===e&&l&&g.push([c,_]),o?y.pop():(u={inArray:h,index:m,keys:p,edits:g,prev:u},p=(h=Array.isArray(_))?_:null!=(E=r[_.kind])?E:[],m=-1,g=[],d&&v.push(d),d=_)}while(void 0!==u);return 0!==g.length?g[g.length-1][1]:e}},75769:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(37876),i=r(48230),a=r.n(i),o=r(77742),s=r(14866);let l=e=>{let{error:t=null,resetError:r=null}=e,{formatMessage:i}=(0,o.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)(a(),{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:()=>a});var n=r(14232),i=r(51452);let a=(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,a=n;if(0===i.length)return"[]";if(a.length>2)return"[Array]";let r=Math.min(10,i.length),o=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],a));return 1===o?s.push("... 1 more item"):o>1&&s.push(`... ${o} more items`),"["+s.join(", ")+"]"}var o=t,s=n;let l=Object.entries(o);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}(o)+"]":"{ "+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(),a=r.reduce(function(e,t){return e[t.toUpperCase()]=t,e},{}),o=n[i]||a[i];return"Etc/UTC"===o||"Etc/GMT"===o?"UTC":o}r.r(t),r.d(t,{ApplyUnsignedRoundingMode:()=>tC,ArrayCreate:()=>e9,CanonicalizeLocaleList:()=>n,CanonicalizeTimeZoneName:()=>i,CoerceOptionsToObject:()=>ty,CollapseNumberRange:()=>tL,ComputeExponent:()=>tq,ComputeExponentForMagnitude:()=>tR,CurrencyDigits:()=>tH,DateFromTime:()=>tc,Day:()=>tt,DayFromYear:()=>tn,DayWithinYear:()=>ts,DaysInYear:()=>to,FormatApproximately:()=>tX,FormatNumeric:()=>t1,FormatNumericRange:()=>t5,FormatNumericRangeToParts:()=>t3,FormatNumericToParts:()=>t4,FormatNumericToString:()=>tz,GetNumberOption:()=>tb,GetOption:()=>tw,GetOptionsObject:()=>tE,GetStringOrBooleanOption:()=>tk,GetUnsignedRoundingMode:()=>tj,HasOwnProperty:()=>e8,HourFromTime:()=>td,InLeapYear:()=>tl,InitializeNumberFormat:()=>re,IsSanctionedSimpleUnitIdentifier:()=>tA,IsValidTimeZoneName:()=>tI,IsWellFormedCurrencyCode:()=>tN,IsWellFormedUnitIdentifier:()=>tD,MinFromTime:()=>tf,MonthFromTime:()=>tu,OrdinaryHasInstance:()=>tm,PartitionNumberPattern:()=>t0,PartitionNumberRangePattern:()=>t2,PartitionPattern:()=>rt,RangePatternType:()=>a,SANCTIONED_UNITS:()=>tT,SIMPLE_UNITS:()=>tx,SameValue:()=>e6,SecFromTime:()=>th,SetNumberFormatDigitOptions:()=>t8,SetNumberFormatUnitOptions:()=>t7,SupportedLocales:()=>rr,TimeClip:()=>e3,TimeFromYear:()=>ti,ToIntlMathematicalValue:()=>ri,ToNumber:()=>e5,ToObject:()=>e4,ToPrimitive:()=>t_,ToRawFixed:()=>tU,ToRawPrecision:()=>tV,ToString:()=>e2,Type:()=>e7,WeekDay:()=>tr,YearFromTime:()=>ta,ZERO:()=>ej,_formatToParts:()=>t$,createDataProperty:()=>eQ,createMemoizedDateTimeFormat:()=>eJ,createMemoizedListFormat:()=>e1,createMemoizedLocale:()=>e0,createMemoizedNumberFormat:()=>eY,createMemoizedPluralRules:()=>eX,defineProperty:()=>eZ,getInternalSlot:()=>eG,getMultiInternalSlots:()=>eW,invariant:()=>e$,isLiteralPart:()=>eK,isMissingLocaleDataError:()=>rn,msFromTime:()=>tg,removeUnitNamespace:()=>tS,setInternalSlot:()=>eq,setMultiInternalSlots:()=>eH});var a,o,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: ",m=h+"Precision limit exceeded",g=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,a="",o=e[0];if(i>0){for(a+=o,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(a+=j(r)),a+=n;(r=7-(n=(o=e[t])+"").length)&&(a+=j(r))}else if(0===o)return"0";for(;o%10==0;)o/=10;return a+o}function I(e,t,r){if(e!==~~e||e<t||e>r)throw Error(p+e)}function O(e,t,r,n){var i,a,o,s;for(a=e[0];a>=10;a/=10)--t;return--t<0?(t+=7,i=0):(i=Math.ceil((t+1)/7),t%=7),a=v(10,7-t),s=e[i]%a|0,null==n?t<3?(0==t?s=s/100|0:1==t&&(s=s/10|0),o=r<4&&99999==s||r>3&&49999==s||5e4==s||0==s):o=(r<4&&s+1==a||r>3&&s+1==a/2)&&(e[i+1]/a/100|0)==v(10,t-2)-1||(s==a/2||0==s)&&(e[i+1]/a/100|0)==0:t<4?(0==t?s=s/1e3|0:1==t?s=s/100|0:2==t&&(s=s/10|0),o=(n||r<4)&&9999==s||!n&&r>3&&4999==s):o=((n||r<4)&&s+1==a||!n&&r>3&&s+1==a/2)&&(e[i+1]/a/1e3|0)==v(10,t-3)-1,o}function N(e,t,r){for(var n,i,a=[0],o=0,s=e.length;o<s;){for(i=a.length;i--;)a[i]*=t;for(a[0]+=l.indexOf(e.charAt(o++)),n=0;n<a.length;n++)a[n]>r-1&&(void 0===a[n+1]&&(a[n+1]=0),a[n+1]+=a[n]/r|0,a[n]%=r)}return a.reverse()}x.absoluteValue=x.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),C(e)},x.ceil=function(){return C(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,a=this.d,o=(e=new this.constructor(e)).d,s=this.s,l=e.s;if(!a||!o)return s&&l?s!==l?s:a===o?0:!a^s<0?1:-1:NaN;if(!a[0]||!o[0])return a[0]?s:o[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=a.length)<(i=o.length)?n:i;t<r;++t)if(a[t]!==o[t])return a[t]>o[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 a=r;a--;){var o=t.times(t);t=o.times(o).minus(o).times(8).plus(1)}return e.precision-=r,t}(n,Z(n,r)),n.precision=e,n.rounding=t,C(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,a,o,s,l,u,c=this.constructor;if(!this.isFinite()||this.isZero())return new c(this);for(f=!1,(a=this.s*v(this.s*this,1/3))&&Math.abs(a)!=1/0?n=new c(a.toString()):(r=A(this.d),(a=((e=this.e)-r.length+1)%3)&&(r+=1==a||-2==a?"0":"00"),a=v(r,1/3),e=y((e+1)/3)-(e%3==(e<0?-1:2)),(n=new c(r=a==1/0?"5e"+e:(r=a.toExponential()).slice(0,r.indexOf("e")+1)+e)).s=this.s),o=(e=c.precision)+3;;)if(n=D((u=(l=(s=n).times(s).times(s)).plus(this)).plus(this).times(s),u.plus(l),o+2,1),A(s.d).slice(0,o)===(r=A(n.d)).slice(0,o)){if("9999"!=(r=r.slice(o-3,o+1))&&(i||"4999"!=r)){+r&&(+r.slice(1)||"5"!=r.charAt(0))||(C(n,e+1,1),t=!n.times(n).times(n).eq(this));break}if(!i&&(C(s,e+1,0),s.times(s).times(s).eq(this))){n=s;break}o+=4,i=1}return f=!0,C(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 D(this,new this.constructor(e))},x.dividedToIntegerBy=x.divToInt=function(e){var t=this.constructor;return C(D(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 C(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,a=this,o=a.constructor,s=new o(1);if(!a.isFinite())return new o(a.s?1/0:NaN);if(a.isZero())return s;r=o.precision,n=o.rounding,o.precision=r+Math.max(a.e,a.sd())+4,o.rounding=1,(i=a.d.length)<32?t=(1/K(4,e=Math.ceil(i/3))).toString():(e=16,t="2.3283064365386962890625e-10"),a=W(o,1,a.times(t),new o(1),!0);for(var l,u=e,c=new o(8);u--;)l=a.times(a),a=s.minus(l.times(c.minus(l.times(c))));return C(a,o.precision=r,o.rounding=n,!0)},x.hyperbolicSine=x.sinh=function(){var e,t,r,n,i=this,a=i.constructor;if(!i.isFinite()||i.isZero())return new a(i);if(t=a.precision,r=a.rounding,a.precision=t+Math.max(i.e,i.sd())+4,a.rounding=1,(n=i.d.length)<3)i=W(a,2,i,i,!0);else{e=(e=1.4*Math.sqrt(n))>16?16:0|e,i=W(a,2,i=i.times(1/K(5,e)),i,!0);for(var o,s=new a(5),l=new a(16),u=new a(20);e--;)o=i.times(i),i=i.times(s.plus(o.times(l.times(o).plus(u))))}return a.precision=t,a.rounding=r,C(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,D(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()?M(t,n,i):new t(0):new t(NaN):e.isZero()?M(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,a=i.constructor;return i.isFinite()?i.e>=0?new a(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=a.precision,t=a.rounding,Math.max(n=i.sd(),e)<-(2*i.e)-1)?C(new a(i),e,t,!0):(a.precision=r=n-i.e,i=D(i.plus(1),new a(1).minus(i),r+e,1),a.precision=e+4,a.rounding=1,i=i.ln(),a.precision=e,a.rounding=t,i.times(.5)):new a(NaN)},x.inverseSine=x.asin=function(){var e,t,r,n,i=this,a=i.constructor;return i.isZero()?new a(i):(t=i.abs().cmp(1),r=a.precision,n=a.rounding,-1!==t)?0===t?((e=M(a,r+4,n).times(.5)).s=i.s,e):new a(NaN):(a.precision=r+6,a.rounding=1,i=i.div(new a(1).minus(i.times(i)).sqrt().plus(1)).atan(),a.precision=r,a.rounding=n,i.times(2))},x.inverseTangent=x.atan=function(){var e,t,r,n,i,a,o,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(o=M(c,d+4,h).times(.25)).s=u.s,o}else{if(!u.s)return new c(NaN);if(d+4<=S)return(o=M(c,d+4,h).times(.5)).s=u.s,o}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),o=new c(u),i=u;-1!==e;)if(i=i.times(l),a=o.minus(i.div(n+=2)),i=i.times(l),void 0!==(o=a.plus(i.div(n+=2))).d[t])for(e=t;o.d[e]===a.d[e]&&e--;);return r&&(o=o.times(2<<r-1)),f=!0,C(o,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,a,o,s,l,u=this.constructor,c=u.precision,d=u.rounding;if(null==e)e=new u(10),t=!0;else{if(r=(e=new u(e)).d,e.s<0||!r||!r[0]||e.eq(1))return new u(NaN);t=e.eq(10)}if(r=this.d,this.s<0||!r||!r[0]||this.eq(1))return new u(r&&!r[0]?-1/0:1!=this.s?NaN:r?0:1/0);if(t)if(r.length>1)a=!0;else{for(i=r[0];i%10==0;)i/=10;a=1!==i}if(f=!1,O((l=D(o=q(this,s=c+5),t?R(u,s+10):q(e,s),s,1)).d,i=c,d))do if(s+=10,l=D(o=q(this,s),t?R(u,s+10):q(e,s),s,1),!a){+A(l.d).slice(i+1,i+15)+1==1e14&&(l=C(l,c+1,0));break}while(O(l.d,i+=10,d));return f=!0,C(l,c,d)},x.minus=x.sub=function(e){var t,r,n,i,a,o,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?C(e,s,l):e}if(r=y(e.e/7),c=y(this.e/7),u=u.slice(),a=c-r){for((d=a<0)?(t=u,a=-a,o=h.length):(t=h,r=c,o=u.length),a>(n=Math.max(Math.ceil(s/7),o)+2)&&(a=n,t.length=1),t.reverse(),n=a;n--;)t.push(0);t.reverse()}else{for((d=(n=u.length)<(o=h.length))&&(o=n),n=0;n<o;n++)if(u[n]!=h[n]){d=u[n]<h[n];break}a=0}for(d&&(t=u,u=h,h=t,e.s=-e.s),o=u.length,n=h.length-o;n>0;--n)u[o++]=0;for(n=h.length;n>a;){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[--o];)u.pop();for(;0===u[0];u.shift())--r;return u[0]?(e.d=u,e.e=L(u,r),f?C(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=D(this,e.abs(),0,3,1),t.s*=e.s):t=D(this,e,0,r.modulo,1),t=t.times(e),f=!0,this.minus(t)):C(new r(this),r.precision,r.rounding):new r(NaN)},x.naturalExponential=x.exp=function(){return z(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,C(e)},x.plus=x.add=function(e){var t,r,n,i,a,o,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?C(e,s,l):e;if(a=y(this.e/7),n=y(e.e/7),u=u.slice(),i=a-n){for(i<0?(r=u,i=-i,o=c.length):(r=c,n=a,o=u.length),i>(o=(a=Math.ceil(s/7))>o?a+1:o+1)&&(i=o,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((o=u.length)-(i=c.length)<0&&(i=o,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),o=u.length;0==u[--o];)u.pop();return e.d=u,e.e=L(u,n),f?C(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 C(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,a=new e(5),o=new e(16),s=new e(20);r--;)i=t.times(t),t=t.times(a.plus(i.times(o.times(i).minus(s))));return t}(n,Z(n,r)),n.precision=e,n.rounding=t,C(s>2?r.neg():r,e,t,!0)):new n(NaN)},x.squareRoot=x.sqrt=function(){var e,t,r,n,i,a,o=this.d,s=this.e,l=this.s,u=this.constructor;if(1!==l||!o||!o[0])return new u(!l||l<0&&(!o||o[0])?NaN:o?this:1/0);for(f=!1,0==(l=Math.sqrt(+this))||l==1/0?(((t=A(o)).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=(a=n).plus(D(this,a,r+2,1)).times(.5),A(a.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))||(C(n,s+1,1),e=!n.times(n).eq(this));break}if(!i&&(C(a,s+1,0),a.times(a).eq(this))){n=a;break}r+=4,i=1}return f=!0,C(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=D(r,new n(1).minus(r.times(r)).sqrt(),e+10,0),n.precision=e,n.rounding=t,C(2==s||4==s?r.neg():r,e,t,!0)):new n(NaN)},x.times=x.mul=function(e){var t,r,n,i,a,o,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)&&(a=d,d=h,h=a,o=l,l=u,u=o),a=[],n=o=l+u;n--;)a.push(0);for(n=u;--n>=0;){for(t=0,i=l+n;i>n;)s=a[i]+h[n]*d[i-n-1]+t,a[i--]=s%1e7|0,t=s/1e7|0;a[i]=(a[i]+t)%1e7|0}for(;!a[--o];)a.pop();return t?++r:a.shift(),e.d=a,e.e=L(a,r),f?C(e,c.precision,c.rounding):e},x.toBinary=function(e,t){return Q(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),C(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=C(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=C(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,a,o,s,l,u,c,d,h,m=this.d,g=this.constructor;if(!m)return new g(this);if(u=r=new g(1),n=l=new g(0),o=(a=(t=new g(n)).e=F(m)-this.e-1)%7,t.d[0]=v(10,o<0?7+o:o),null==e)e=a>0?t:u;else{if(!(s=new g(e)).isInt()||s.lt(u))throw Error(p+s);e=s.gt(t)?a>0?t:u:s}for(f=!1,s=new g(A(m)),c=g.precision,g.precision=a=7*m.length*2;d=D(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=D(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>D(u,n,a,1).minus(this).abs().cmp(D(l,r,a,1).minus(this).abs())?[u,n]:[l,r],g.precision=c,f=!0,h},x.toHexadecimal=x.toHex=function(e,t){return Q(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=D(r,e,0,t,1).times(e),f=!0,C(r)):(e.s=r.s,r=e),r},x.toNumber=function(){return+this},x.toOctal=function(e,t){return Q(this,8,e,t)},x.toPower=x.pow=function(e){var t,r,n,i,a,o,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,a=l.rounding,e.eq(1))return C(s,n,a);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):C(i,n,a);if((o=s.s)<0){if(t<e.d.length-1)return new l(NaN);if((1&e.d[t])==0&&(o=1),0==s.e&&1==s.d[0]&&1==s.d.length)return s.s=o,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?o/0:0):(f=!1,l.rounding=s.s=1,r=Math.min(12,(t+"").length),(i=z(e.times(q(s,n+r)),n)).d&&O((i=C(i,n+5,1)).d,n,a)&&(t=n+10,+A((i=C(z(e.times(q(s,t+r)),t),t+5,1)).d).slice(n+1,n+15)+1==1e14&&(i=C(i,n+1,0))),i.s=o,f=!0,l.rounding=a,C(i,n,a))},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=C(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)),C(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 C(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 D=function(){function e(e,t,r){var n,i=0,a=e.length;for(e=e.slice();a--;)n=e[a]*t+i,e[a]=n%r|0,i=n/r|0;return i&&e.unshift(i),e}function t(e,t,r,n){var i,a;if(r!=n)a=r>n?1:-1;else for(i=a=0;i<r;i++)if(e[i]!=t[i]){a=e[i]>t[i]?1:-1;break}return a}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,a,s,l,u){var c,d,f,h,p,m,g,_,v,b,w,E,k,T,S,x,A,I,O,N,D=n.constructor,P=n.s==i.s?1:-1,L=n.d,R=i.d;if(!L||!L[0]||!R||!R[0])return new D(!n.s||!i.s||(L?R&&L[0]==R[0]:!R)?NaN:L&&0==L[0]||!R?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)),O=R.length,A=L.length,b=(v=new D(P)).d=[],f=0;R[f]==(L[f]||0);f++);if(R[f]>(L[f]||0)&&d--,null==a?(T=a=D.precision,s=D.rounding):T=l?a+(n.e-i.e)+1:a,T<0)b.push(1),m=!0;else{if(T=T/p+2|0,f=0,1==O){for(h=0,R=R[0],T++;(f<A||h)&&T--;f++)S=h*u+(L[f]||0),b[f]=S/R|0,h=S%R|0;m=h||f<A}else{for((h=u/(R[0]+1)|0)>1&&(R=e(R,h,u),L=e(L,h,u),O=R.length,A=L.length),x=O,E=(w=L.slice(0,O)).length;E<O;)w[E++]=0;(N=R.slice()).unshift(0),I=R[0],R[1]>=u/2&&++I;do h=0,(c=t(R,w,O,E))<0?(k=w[0],O!=E&&(k=k*u+(w[1]||0)),(h=k/I|0)>1?(h>=u&&(h=u-1),_=(g=e(R,h,u)).length,E=w.length,1==(c=t(g,w,_,E))&&(h--,r(g,O<_?N:R,_,u))):(0==h&&(c=h=1),g=R.slice()),(_=g.length)<E&&g.unshift(0),r(w,g,E,u),-1==c&&(E=w.length,(c=t(R,w,O,E))<1&&(h++,r(w,O<E?N:R,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--);m=void 0!==w[0]}b[0]||b.shift()}if(1==p)v.e=d,o=m;else{for(f=1,h=b[0];h>=10;h/=10)f++;v.e=f+d*p-1,C(v,l?a+v.e+1:a,s,m)}return v}}();function C(e,t,r,n){var i,a,o,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((a=t-i)<0)a+=7,o=t,l=(c=d[h=0])/v(10,i-o-1)%10|0;else if((h=Math.ceil((a+1)/7))>=(s=d.length))if(n){for(;s++<=h;)d.push(0);c=l=0,i=1,a%=7,o=a-7+1}else break e;else{for(i=1,c=s=d[h];s>=10;s/=10)i++;a%=7,l=(o=a-7+i)<0?0:c/v(10,i-o-1)%10|0}if(n=n||t<0||void 0!==d[h+1]||(o<0?c:c%v(10,i-o-1)),u=r<4?(l||n)&&(0==r||r==(e.s<0?3:2)):l>5||5==l&&(4==r||n||6==r&&(a>0?o>0?c/v(10,i-o):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==a?(d.length=h,s=1,h--):(d.length=h+1,s=v(10,7-a),d[h]=o>0?(c/v(10,i-o)%v(10,o)|0)*s:0),u)for(;;)if(0==h){for(a=1,o=d[0];o>=10;o/=10)a++;for(o=d[0]+=s,s=1;o>=10;o/=10)s++;a!=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(a=d.length;0===d[--a];)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,a=A(e.d),o=a.length;return t?(r&&(n=r-o)>0?a=a.charAt(0)+"."+a.slice(1)+j(n):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(e.e<0?"e":"e+")+e.e):i<0?(a="0."+j(-i-1)+a,r&&(n=r-o)>0&&(a+=j(n))):i>=o?(a+=j(i+1-o),r&&(n=r-i-1)>0&&(a=a+"."+j(n))):((n=i+1)<o&&(a=a.slice(0,n)+"."+a.slice(n)),r&&(n=r-o)>0&&(i+1===o&&(a+="."),a+=j(n))),a}function L(e,t){var r=e[0];for(t*=7;r>=10;r/=10)t++;return t}function R(e,t,r){if(t>T)throw f=!0,r&&(e.precision=r),Error(m);return C(new e(u),t,1,!0)}function M(e,t,r){if(t>S)throw Error(m);return C(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,a=new e(1),o=Math.ceil(n/7+4);for(f=!1;;){if(r%2&&$((a=a.times(t)).d,o)&&(i=!0),0===(r=y(r/2))){r=a.d.length-1,i&&0===a.d[r]&&++a.d[r];break}$((t=t.times(t)).d,o)}return f=!0,a}function U(e){return 1&e.d[e.d.length-1]}function V(e,t,r){for(var n,i,a=new e(t[0]),o=0;++o<t.length;){if(!(i=new e(t[o])).s){a=i;break}((n=a.cmp(i))===r||0===n&&a.s===r)&&(a=i)}return a}function z(e,t){var r,n,i,a,o,s,l,u=0,c=0,d=0,h=e.constructor,p=h.rounding,m=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=m):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=a=o=new h(1),h.precision=l;;){if(a=C(a.times(e),l,1),r=r.times(++c),A((s=o.plus(D(a,r,l,1))).d).slice(0,l)===A(o.d).slice(0,l)){for(i=d;i--;)o=C(o.times(o),l,1);if(null!=t)return h.precision=m,o;if(!(u<3&&O(o.d,l-n,p,u)))return C(o,h.precision=m,p,f=!0);h.precision=l+=10,r=a=s=new h(1),c=0,u++}o=s}}function q(e,t){var r,n,i,a,o,s,l,u,c,d,h,p=1,m=e,g=m.d,_=m.constructor,y=_.rounding,v=_.precision;if(m.s<0||!g||!g[0]||!m.e&&1==g[0]&&1==g.length)return new _(g&&!g[0]?-1/0:1!=m.s?NaN:g?0:m);if(null==t?(f=!1,c=v):c=t,_.precision=c+=10,n=(r=A(g)).charAt(0),!(15e14>Math.abs(a=m.e)))return u=R(_,c+2,v).times(a+""),m=q(new _(n+"."+r.slice(1)),c-10).plus(u),_.precision=v,null==t?C(m,v,y,f=!0):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=A((m=m.times(e)).d)).charAt(0),p++;for(a=m.e,n>1?(m=new _("0."+r),a++):m=new _(n+"."+r.slice(1)),d=m,l=o=m=D(m.minus(1),m.plus(1),c,1),h=C(m.times(m),c,1),i=3;;){if(o=C(o.times(h),c,1),A((u=l.plus(D(o,new _(i),c,1))).d).slice(0,c)===A(l.d).slice(0,c)){if(l=l.times(2),0!==a&&(l=l.plus(R(_,c+2,v).times(a+""))),l=D(l,new _(p),c,1),null!=t)return _.precision=v,l;if(!O(l.d,c-10,y,s))return C(l,_.precision=v,y,f=!0);_.precision=c+=10,u=o=m=D(d.minus(1),d.plus(1),c,1),h=C(m.times(m),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 a,o,s,l,u=e.precision,c=Math.ceil(u/7);for(f=!1,l=r.times(r),s=new e(n);;){if(o=D(s.times(l),new e(t++*t++),u,1),s=i?n.plus(o):n.minus(o),n=D(o.times(l),new e(t++*t++),u,1),void 0!==(o=s.plus(n)).d[c]){for(a=c;o.d[a]===s.d[a]&&a--;);if(-1==a)break}a=s,s=n,n=o,o=a}return f=!0,o.d.length=c+1,o}function K(e,t){for(var r=e;--t;)r*=e;return r}function Z(e,t){var r,n=t.s<0,i=M(e,e.precision,1),a=i.times(.5);if((t=t.abs()).lte(a))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(a))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 Q(e,t,r,n){var i,a,s,u,c,d,f,h,p,m=e.constructor,g=void 0!==r;if(g?(I(r,1,1e9),void 0===n?n=m.rounding:I(n,0,8)):(r=m.precision,n=m.rounding),e.isFinite()){for(s=(f=P(e)).indexOf("."),g?(i=2,16==t?r=4*r-3:8==t&&(r=3*r-2)):i=t,s>=0&&(f=f.replace(".",""),(p=new m(1)).e=f.length-s,p.d=N(P(p),10,i),p.e=p.d.length),a=c=(h=N(f,10,i)).length;0==h[--c];)h.pop();if(h[0]){if(s<0?a--:((e=new m(e)).d=h,e.e=a,h=(e=D(e,p,r,n,0,i)).d,a=e.e,d=o),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||(++a,h.unshift(1));for(c=h.length;!h[c-1];--c);for(s=0,f="";s<c;s++)f+=l.charAt(h[s]);if(g){if(c>1)if(16==t||8==t){for(s=16==t?4:3,--c;c%s;c++)f+="0";for(c=(h=N(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+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)f="0"+f;f="0."+f}else if(++a>c)for(a-=c;a--;)f+="0";else a<c&&(f=f.slice(0,a)+"."+f.slice(a))}else f=g?"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 ea(e,t){e=new this(e),t=new this(t);var r,n=this.precision,i=this.rounding,a=n+4;return e.s&&t.s?e.d||t.d?!t.d||e.isZero()?(r=t.s<0?M(this,n,i):new this(0)).s=e.s:!e.d||t.isZero()?(r=M(this,a,1).times(.5)).s=e.s:t.s<0?(this.precision=a,this.rounding=1,r=this.atan(D(e,t,a,1)),t=M(this,a,1),this.precision=n,this.rounding=i,r=e.s<0?r.minus(t):r.plus(t)):r=this.atan(D(e,t,a,1)):(r=M(this,a,1).times(t.s>0?.25:.75)).s=e.s:r=new this(NaN),r}function eo(e){return new this(e).cbrt()}function es(e){return C(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,a=["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<a.length;t+=3)if(r=a[t],i&&(this[r]=d[r]),void 0!==(n=e[r]))if(y(n)===n&&n>=a[t+1]&&n<=a[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(g);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 C(e=new this(e),e.e+1,3)}function em(){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 eg(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 V(this,arguments,-1)}function eE(){return V(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,a=0,o=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));a<n;)(i=t[a])>=429e7?t[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=i%1e7;else if(crypto.randomBytes){for(t=crypto.randomBytes(n*=4);a<n;)(i=t[a]+(t[a+1]<<8)+(t[a+2]<<16)+((127&t[a+3])<<24))>=214e7?crypto.randomBytes(4).copy(t,a):(s.push(i%1e7),a+=4);a=n/4}else throw Error(g);else for(;a<n;)s[a++]=1e7*Math.random()|0;for(n=s[--a],e%=7,n&&e&&(i=v(10,7-e),s[a]=(n/i|0)*i);0===s[a];a--)s.pop();if(a<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 o.e=r,o.d=s,o}function eA(e){return C(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 eO(e){return new this(e).sin()}function eN(e){return new this(e).sinh()}function eD(e){return new this(e).sqrt()}function eC(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,C(r,this.precision,this.rounding)}function eL(e){return new this(e).tan()}function eR(e){return new this(e).tanh()}function eM(e){return C(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 a(e){var t,r,n;if(!(this instanceof a))return new a(e);if(this.constructor=a,eg(e)){this.s=e.s,f?!e.d||e.e>a.maxE?(this.e=NaN,this.d=null):e.e<a.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>a.maxE?(this.e=NaN,this.d=null):t<a.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,a,o,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((a=t.search(/p/i))>0?(l=+t.slice(a+1),t=t.substring(2,a)):t=t.slice(2),o=(a=t.indexOf("."))>=0,n=e.constructor,o&&(a=(s=(t=t.replace(".","")).length)-a,i=B(n,new n(r),a,2*a)),a=c=(u=N(t,r,1e7)).length-1;0===u[a];--a)u.pop();return a<0?new n(0*e.s):(e.e=L(u,c),e.d=u,f=!1,o&&(e=D(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(a.prototype=x,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.EUCLID=9,a.config=a.set=eu,a.clone=e,a.isDecimal=eg,a.abs=Y,a.acos=J,a.acosh=X,a.add=ee,a.asin=et,a.asinh=er,a.atan=en,a.atanh=ei,a.atan2=ea,a.cbrt=eo,a.ceil=es,a.clamp=el,a.cos=ec,a.cosh=ed,a.div=ef,a.exp=eh,a.floor=ep,a.hypot=em,a.ln=e_,a.log=ey,a.log10=eb,a.log2=ev,a.max=ew,a.min=eE,a.mod=ek,a.mul=eT,a.pow=eS,a.random=ex,a.round=eA,a.sign=eI,a.sin=eO,a.sinh=eN,a.sqrt=eD,a.sub=eC,a.sum=eP,a.tan=eL,a.tanh=eR,a.trunc=eM,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 a.config(t),a}(d);u=new eF(u),c=new eF(c),new eF(10);var ej=new eF(0),eB=new eF(-0),eU=r(4902),eV=r(98149);function ez(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 a=i[n];eq(e,t,a,r[a])}}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 eZ(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:r.value})}function eQ(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,eV.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:eV.W.variadic}),eJ=(0,eV.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:eV.W.variadic}),eX=(0,eV.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:eV.W.variadic}),e0=(0,eV.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:eV.W.variadic}),e1=(0,eV.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:eV.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 e9(e){return Array(e)}function e8(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function e7(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 ta(e){return new Date(e).getUTCFullYear()}function to(e){return e%4!=0?365:e%100!=0?366:e%400!=0?365:366}function ts(e){return tt(e)-tn(ta(e))}function tl(e){return+(365!==to(ta(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 tm(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 tg(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 a=i.call(e);if("object"!=typeof a)return a}}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 a=e[t];if(void 0!==a){if("boolean"!==r&&"string"!==r)throw TypeError("invalid type");if("boolean"===r&&(a=!!a),"string"===r&&(a=e2(a)),void 0!==n&&!n.filter(function(e){return e==a}).length)throw RangeError("".concat(a," is not within ").concat(n.join(", ")));return a}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,a){var o=e[t];if(void 0===o)return a;if(!0===o)return n;if(!1==!!o)return i;if("true"===(o=e2(o))||"false"===o)return a;if(-1===(r||[]).indexOf(o))throw RangeError("Invalid value ".concat(o));return o}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(),a=new Set,o=new Set;return r.map(function(e){return e.toUpperCase()}).forEach(function(e){return a.add(e)}),Object.keys(n).forEach(function(e){o.add(e.toUpperCase()),a.add(n[e].toUpperCase())}),a.has(i)||o.has(i)}var tO=/[^A-Z]/;function tN(e){return!(3!==(e=e.replace(/([a-z])/g,function(e,t){return t.toUpperCase()})).length||tO.test(e))}function tD(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 tC(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),a=r.minus(e);return i.lessThan(a)?t:a.lessThan(i)?r:(e$(i.eq(a),"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],a=new RegExp("s?[".concat(i.rangeSign,"]s?")),o=t.findIndex(function(e){return"literal"===e.type&&a.test(e.value)}),s=[],l=o-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(o-s.length,s.length),u}for(var c=[],l=o+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(o+1,c.length),u}return t}function tR(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 a=e.compactDisplay,o=e.style,s=e.currencyDisplay,l=void 0;if("currency"===o&&"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"===a?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 tM={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?tM[e]:tF[e]}function tB(e,t){return e.times(eF.pow(10,-t))}function tU(e,t,r,n,i){var a,o,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,m=h.r1,g=(f=tB(d=e.times(eF.pow(10,r)).ceil().div(n).ceil().times(n),r),{n2:d,r2:f}),_=g.n2,y=g.r2;if(tC(e,m,y,i).eq(m)?(a=p,o=m):(a=_,o=y),s=a.isZero()?"0":a.toString(),0!==r){var v=s.length;v<=r&&(s=ez("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:o,integerDigitsCount:l,roundingMagnitude:-r}}function tV(e,t,r,n){var i,a,o,s;if(e.isZero())i=ez("0",r),a=0,o=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 a=e.div(eF.pow(10,i.minus(t).plus(1))).floor();if(a.lessThan(r)&&a.greaterThanOrEqualTo(n)){var o=a.times(eF.pow(10,i.minus(t).plus(1)));if(o.lessThanOrEqualTo(e))return{n1:a,e1:i,r1:o}}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 a=e.div(eF.pow(10,i.minus(t).plus(1))).ceil();if(a.lessThan(r)&&a.greaterThanOrEqualTo(n)){var o=a.times(eF.pow(10,i.minus(t).plus(1)));if(o.greaterThanOrEqualTo(e))return{n2:a,e2:i,r2:o}}i=i.plus(1)}}(e,r),h=f.n2,p=f.e2,m=f.r2,g=tC(e,d,m,n),_=void 0;g.eq(d)?(_=u,a=c.toNumber(),o=d):(_=h,a=p.toNumber(),o=m),i=_.toString()}if(a>=r-1?(i+=ez("0",a-r+1),s=a+1):a>=0?(i=i.slice(0,a+1)+"."+i.slice(i.length-(r-(a+1))),s=a+1):(e$(a<0,"e should be less than 0"),i="0."+ez("0",-a-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:o,integerDigitsCount:s,roundingMagnitude:a}}function tz(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 a=e.roundingType,o=tj(e.roundingMode,"negative"===r);switch(a){case"significantDigits":n=tV(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o);break;case"fractionDigits":n=tU(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);break;default:var s=tV(i,e.minimumSignificantDigits,e.maximumSignificantDigits,o),l=tU(i,e.minimumFractionDigits,e.maximumFractionDigits,e.roundingIncrement,o);"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=ez("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=tR(e,r),i=tz(e,t=t.times(eF.pow(10,-n)));return i.roundedNumber.isZero()||i.roundedNumber.log(10).floor().eq(r.minus(n))?[n,r.toNumber()]:[tR(e,r.plus(1)),r.plus(1).toNumber()]}function tH(e,t){var r=t.currencyDigitsData;return e8(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)),tZ=new RegExp("".concat(tG.source,"$")),tQ=/[#0](?:[\.,][#0]+)*/g;function t$(e,t,r,n){var i,a,o,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,a,o){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"!==a){var h=r.numbers.currency,p=null==(s=(h[o]||h[f]).short)?void 0:s[d];if(!p)return null;l=tJ(t,u.toNumber(),p)}else{var h=r.numbers.decimal,m=(h[o]||h[f])[i][d];if(!m)return null;l=tJ(t,u.toNumber(),m)}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 m=t.currencies[n.currency];if(m)switch(n.currencyDisplay){case"code":a=n.currency;break;case"symbol":a=m.symbol;break;default:a=m.narrow}else a=n.currency}if(p)o=p;else if("decimal"===d||"unit"===d||"currency"===d&&"name"===n.currencyDisplay)o=tY((t.numbers.decimal[f]||t.numbers.decimal[h]).standard,s);else if("currency"===d){var g=t.numbers.currency[f]||t.numbers.currency[h];o=tY(g[n.currencySign],s)}else o=tY(t.numbers.percent[f]||t.numbers.percent[h],s);var _=tQ.exec(o)[0];if(o=o.replace(tQ,"{0}").replace(/'(.)'/g,"$1"),"currency"===d&&"name"!==n.currencyDisplay){var g=t.numbers.currency[f]||t.numbers.currency[h],y=g.currencySpacing.afterInsertBetween;y&&!tZ.test(a)&&(o=o.replace("\xa4{0}","\xa4".concat(y,"{0}")));var v=g.currencySpacing.beforeInsertBetween;v&&!tK.test(a)&&(o=o.replace("{0}\xa4","{0}".concat(v,"\xa4")))}for(var b=o.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,a,o,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 m=tW[i];m&&(h=h.replace(/\d/g,function(e){return m[+e]||e}));var g=h.indexOf(".");g>0?(c=h.slice(0,g),d=h.slice(g+1)):c=h;var _=!1;if("always"===a?_=!0:"min2"===a?_=p.greaterThanOrEqualTo(1e4):("auto"===a||a)&&(_="compact"!==r||p.greaterThanOrEqualTo(1e4)),_){var y="currency"===s&&null!=e.currencyGroup?e.currencyGroup:e.group,v=[],b=o.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:a});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),O=[],N=0;N<I.length;N++){var T=I[N];switch(T){case"{0}":O.push.apply(O,w);break;case"{1}":O.push({type:"currency",value:x});break;default:T&&O.push({type:"literal",value:T})}}return O;case"unit":var D=n.unit,C=n.unitDisplay,P=t.units.simple[D],S=void 0;if(P)S=tJ(r,e.roundedNumber.times(eF.pow(10,l)).toNumber(),t.units.simple[D][C]);else{var L=D.split("-per-"),R=L[0],M=L[1];P=t.units.simple[R];var F=tJ(r,e.roundedNumber.times(eF.pow(10,l)).toNumber(),t.units.simple[R][C]),j=t.units.simple[M].perUnit[C];if(j)S=j.replace("{0}",F);else{var B=t.units.compound.per[C],U=tJ(r,1,t.units.simple[M][C]);S=S=B.replace("{0}",F).replace("{1}",U.replace("{0}",""))}}for(var O=[],V=0,z=S.split(/(\s*\{0\}\s*)/);V<z.length;V++){var T=z[V],q=/^(\s*)\{0\}(\s*)$/.exec(T);q?(q[1]&&O.push({type:"literal",value:q[1]}),O.push.apply(O,w),q[2]&&O.push({type:"literal",value:q[2]})):T&&O.push({type:"unit",value:T})}return O;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,a=t,o=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(a.isNaN())n=c.nan;else if(a.isFinite()){a.isZero()||(e$(a.isFinite(),"Input must be a mathematical value"),"percent"==e.style&&(a=a.times(100)),d=(r=tq(e,a))[0],o=r[1],a=a.times(eF.pow(10,-d)));var f=tz(e,a);n=f.formattedString,a=f.roundedNumber}else n=c.infinity;var h=e.signDisplay;switch(h){case"never":i=0;break;case"auto":i=a.isPositive()||a.isNaN()?0:-1;break;case"always":i=a.isPositive()||a.isNaN()?1:-1;break;case"exceptZero":i=a.isZero()?0:a.isNegative()?-1:1;break;default:e$("negative"===h,'signDisplay must be "negative"'),i=a.isNegative()&&!a.isZero()?-1:0}return t$({roundedNumber:a,formattedString:n,exponent:d,magnitude:o,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 a=i(e),o=t0(a,t),s=t0(a,r);if(t1(a,t)===t1(a,r)){var l=tX(a,o);return l.forEach(function(e){e.source="shared"}),l}var u=[];o.forEach(function(e){e.source="startRange",u.push(e)});var c=a.dataLocaleData.numbers.symbols[a.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=e9(0),a=0;a<n.length;a++){var o=n[a];i.push({type:o.type,value:o.value})}return i}var t6=r(83792),t9=new Set([1,2,5,10,20,25,50,100,200,250,500,1e3,2e3,2500,5e3]);function t8(e,t,r,n,i){var a=tb(t,"minimumIntegerDigits",1,21,1),o=t.minimumFractionDigits,s=t.maximumFractionDigits,l=t.minimumSignificantDigits,u=t.maximumSignificantDigits;e.minimumIntegerDigits=a;var c=tb(t,"roundingIncrement",1,5e3,1);e$(t9.has(c),"Invalid rounding increment value: ".concat(c,".\nValid values are ").concat(Array.from(t9).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,m=void 0!==o||void 0!==s,g=!0,_=!0;if("auto"===f&&(g=p,(p||!m&&"compact"===i)&&(_=!1)),g&&(p?(e.minimumSignificantDigits=tv(l,1,21,1),e.maximumSignificantDigits=tv(u,e.minimumSignificantDigits,21,21)):(e.minimumSignificantDigits=1,e.maximumSignificantDigits=21)),_)if(m){if(o=tv(o,0,100,void 0),s=tv(s,0,100,void 0),void 0===o)e$(void 0!==s,"maximumFractionDigits must be defined"),o=Math.min(r,s);else if(void 0===s)s=Math.max(n,o);else if(o>s)throw RangeError("Invalid range, ".concat(o," > ").concat(s));e.minimumFractionDigits=o,e.maximumFractionDigits=s}else e.minimumFractionDigits=r,e.maximumFractionDigits=n;g||_?"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 t7(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||tN(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"),a=tw(t,"currencySign","string",["standard","accounting"],"standard"),o=tw(t,"unit","string",void 0,void 0);e$(void 0===o||tD(o),"Invalid unit argument for Intl.NumberFormat()",RangeError),e$("unit"!==r||void 0!==o,"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=a),"unit"===r&&(e.unit=o,e.unitDisplay=s)}function re(e,t,r,i){var a,o,s=i.getInternalSlots,l=i.localeData,u=i.availableLocales,c=i.numberingSystemNames,d=i.getDefaultLocale,f=i.currencyDigitsData,h=n(t),p=ty(r),m=Object.create(null);m.localeMatcher=tw(p,"localeMatcher","string",["lookup","best fit"],"best fit");var g=tw(p,"numberingSystem","string",void 0,void 0);if(void 0!==g&&0>c.indexOf(g))throw RangeError("Invalid numberingSystems: ".concat(g));m.nu=g;var _=(0,t6.ResolveLocale)(Array.from(u),h,m,["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,t7(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});a=E,o=E}else a=0,o=3*("percent"!==b);t8(v,p,a,o,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,a=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<a&&t.push({type:"literal",value:e.substring(i,a)}),t}function rr(e,t,r){var n="best fit";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"}(a||(a={}))},77328:(e,t,r)=>{e.exports=r(5679)},77742:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(14232),i=r(37154),a=r(7672);function o(){var e=n.useContext(a.ob);return(0,i.HM)(e),e}},79350:(e,t,r)=>{"use strict";r.d(t,{J1:()=>B});var n,i,a=r(4902);let o=/\r\n|[\n\r]/g;function s(e,t){let r=0,n=1;for(let i of e.body.matchAll(o)){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,a=e.locationOffset.line-1,o=t.line+a,s=1===t.line?r:0,l=t.column+s,c=`${e.name}:${o}:${l}
|
|
9
|
-
`,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([[`${o} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+u([[`${o-1} |`,d[i-1]],[`${o} |`,f],["|","^".padStart(l)],[`${o+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:a,source:o,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(a)?a:a?[a]:void 0);let p=d(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=o?o: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&&o?l.map(e=>s(o,e)):null==p?void 0:p.map(e=>s(e.source,e.start));let m=!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:m)?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),m=r(47518),g=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,a=t;for(;a<n;){let t=r.charCodeAt(a);switch(t){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:10===r.charCodeAt(a+1)?a+=2:++a,++e.line,e.lineStart=a;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,a=t+1;for(;a<n;){let e=r.charCodeAt(a);if(10===e||13===e)break;if(y(e))++a;else if(v(r,a))a+=2;else break}return k(e,i.COMMENT,t,a,r.slice(t+1,a))}(e,a);case 33:return k(e,i.BANG,a,a+1);case 36:return k(e,i.DOLLAR,a,a+1);case 38:return k(e,i.AMP,a,a+1);case 40:return k(e,i.PAREN_L,a,a+1);case 41:return k(e,i.PAREN_R,a,a+1);case 46:if(46===r.charCodeAt(a+1)&&46===r.charCodeAt(a+2))return k(e,i.SPREAD,a,a+3);break;case 58:return k(e,i.COLON,a,a+1);case 61:return k(e,i.EQUALS,a,a+1);case 64:return k(e,i.AT,a,a+1);case 91:return k(e,i.BRACKET_L,a,a+1);case 93:return k(e,i.BRACKET_R,a,a+1);case 123:return k(e,i.BRACE_L,a,a+1);case 124:return k(e,i.PIPE,a,a+1);case 125:return k(e,i.BRACE_R,a,a+1);case 34:if(34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2))return function(e,t){let r=e.source.body,n=r.length,a=e.lineStart,o=t+3,s=o,l="",u=[];for(;o<n;){let n=r.charCodeAt(o);if(34===n&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)){l+=r.slice(s,o),u.push(l);let n=k(e,i.BLOCK_STRING,t,o+3,(0,m.OC)(u).join("\n"));return e.line+=u.length-1,e.lineStart=a,n}if(92===n&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)&&34===r.charCodeAt(o+3)){l+=r.slice(s,o),s=o+1,o+=4;continue}if(10===n||13===n){l+=r.slice(s,o),u.push(l),13===n&&10===r.charCodeAt(o+1)?o+=2:++o,l="",s=o,a=o;continue}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,a);return function(e,t){let r=e.source.body,n=r.length,a=t+1,o=a,s="";for(;a<n;){let n=r.charCodeAt(a);if(34===n)return s+=r.slice(o,a),k(e,i.STRING,t,a+1,s);if(92===n){s+=r.slice(o,a);let t=117===r.charCodeAt(a+1)?123===r.charCodeAt(a+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,a):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,a):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,a);s+=t.value,a+=t.size,o=a;continue}if(10===n||13===n)break;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,a)}if((0,g.yp)(t)||45===t)return function(e,t,r){let n=e.source.body,a=t,o=r,s=!1;if(45===o&&(o=n.charCodeAt(++a)),48===o){if(o=n.charCodeAt(++a),(0,g.yp)(o))throw f(e.source,a,`Invalid number, unexpected digit after 0: ${E(e,a)}.`)}else a=T(e,a,o),o=n.charCodeAt(a);if(46===o&&(s=!0,o=n.charCodeAt(++a),a=T(e,a,o),o=n.charCodeAt(a)),(69===o||101===o)&&(s=!0,(43===(o=n.charCodeAt(++a))||45===o)&&(o=n.charCodeAt(++a)),a=T(e,a,o),o=n.charCodeAt(a)),46===o||(0,g.un)(o))throw f(e.source,a,`Invalid number, expected digit but got: ${E(e,a)}.`);return k(e,s?i.FLOAT:i.INT,t,a,n.slice(t,a))}(e,a,t);if((0,g.un)(t))return function(e,t){let r=e.source.body,n=r.length,a=t+1;for(;a<n;){let e=r.charCodeAt(a);if((0,g.xr)(e))++a;else break}return k(e,i.NAME,t,a,r.slice(t,a))}(e,a);throw f(e.source,a,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":y(t)||v(r,a)?`Unexpected character: ${E(e,a)}.`:`Invalid character: ${E(e,a)}.`)}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 a=e.line,o=1+r-e.lineStart;return new h.ou(t,r,n,a,o,i)}function T(e,t,r){if(!(0,g.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,g.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 O=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.
|
|
10
|
-
|
|
11
|
-
Ensure that there is only one instance of "graphql" in the node_modules
|
|
12
|
-
directory. If different versions of "graphql" are the dependencies of other
|
|
13
|
-
relied on modules, use "resolutions" to ensure only one version is installed.
|
|
14
|
-
|
|
15
|
-
https://yarnpkg.com/en/docs/selective-version-resolutions
|
|
16
|
-
|
|
17
|
-
Duplicate "graphql" modules cannot be used at the same time since different
|
|
18
|
-
versions may have different capabilities and behavior. The data from one
|
|
19
|
-
version used in the function from another could produce confusing and
|
|
20
|
-
spurious results.`)}}return!1};class N{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 D{constructor(e,t={}){let r=O(e,N)?e:new N(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(),a=this.parseFieldsDefinition();return this.node(e,{kind:p.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:a})}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 a=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:p.b.FIELD_DEFINITION,description:t,name:r,arguments:n,type:a,directives:o})}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 a=this.parseTypeReference();this.expectOptionalToken(i.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:p.b.INPUT_VALUE_DEFINITION,description:r,name:n,type:a,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:p.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:a})}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,`${C(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(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:p.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:a,locations:o})}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 ${C(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 ${C(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 ${C(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 C(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,R=new Map,M=!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,o,s,l=function(e,t){let r=new D(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,((o=new Set((r=new Set,n=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,a=j((t=e.loc).source.body.substring(t.start,t.end)),o=R.get(i);o&&!o.has(a)?M&&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"):o||R.set(i,o=new Set),o.add(a),r.has(a)||(r.add(a),n.push(e))}else n.push(e)}),i=(0,a.__assign)((0,a.__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&&o.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(),R.clear()},disableFragmentWarnings:function(){M=!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:()=>o,JR:()=>d,Sw:()=>u,et:()=>a,ol:()=>s,uJ:()=>l});var n=r(17318),i="ReactNative"==(0,n.no)(function(){return navigator.product}),a="function"==typeof WeakMap&&!(i&&!global.HermesInternal),o="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:()=>o});var n=r(4902),i=r(17318),a=Symbol.for("apollo.cacheSize"),o=(0,n.__assign)({},i.Sf[a])},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),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let{rootRef:t,rootMargin:r,disabled:l}=e,u=l||!a,[c,d]=(0,n.useState)(!1),f=(0,n.useRef)(null),h=(0,n.useCallback)(e=>{f.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(u||c)return;let e=f.current;if(e&&e.tagName)return function(e,t,r){let{id:n,observer:i,elements:a}=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=o.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),o.set(r,t),t}(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.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,a=l(e),o=a[0],s=a[1],u=new i((o+s)*3/4-s),c=0,d=s>0?o-4:o;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,a=[],o=0,s=n-i;o<s;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;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:()=>R});var n=r(14232);let i="undefined"!=typeof document?n.useLayoutEffect:()=>{};function a(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function o(e){let t=(0,n.useRef)({isFocused:!1,observer:null});i(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]);let r=function(e){let t=(0,n.useRef)(null);return i(()=>{t.current=e},[e]),(0,n.useCallback)((...e)=>{let r=t.current;return null==r?void 0:r(...e)},[])}(t=>{null==e||e(t)});return(0,n.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(a(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 s(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null==(t=window.navigator.userAgentData)?void 0:t.brands.some(t=>e.test(t.brand)))||e.test(window.navigator.userAgent))}function l(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 u(e){let t=null;return()=>(null==t&&(t=e()),t)}let c=u(function(){return l(/^Mac/i)}),d=u(function(){return l(/^iPhone/i)}),f=u(function(){return l(/^iPad/i)||c()&&navigator.maxTouchPoints>1}),h=u(function(){return d()||f()});u(function(){return c()||h()}),u(function(){return s(/AppleWebKit/i)&&!p()});let p=u(function(){return s(/Chrome/i)}),m=u(function(){return s(/Android/i)});u(function(){return s(/Firefox/i)});var g=r(82505);let _=null,y=new Set,v=new Map,b=!1,w=!1,E={Tab:!0,Escape:!0};function k(e,t){for(let r of y)r(e,t)}function T(e){b=!0,e.metaKey||!c()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(_="keyboard",k("keyboard",e))}function S(e){_="pointer",("mousedown"===e.type||"pointerdown"===e.type)&&(b=!0,k("pointer",e))}function x(e){(0===e.mozInputSource&&e.isTrusted||(m()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType))&&(b=!0,_="virtual")}function A(e){e.target!==window&&e.target!==document&&e.isTrusted&&(b||w||(_="virtual",k("virtual",e)),b=!1,w=!1)}function I(){b=!1,w=!0}function O(e){if("undefined"==typeof window||"undefined"==typeof document||v.get((0,g.mD)(e)))return;let t=(0,g.mD)(e),r=(0,g.TW)(e),n=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){b=!0,n.apply(this,arguments)},r.addEventListener("keydown",T,!0),r.addEventListener("keyup",T,!0),r.addEventListener("click",x,!0),t.addEventListener("focus",A,!0),t.addEventListener("blur",I,!1),"undefined"!=typeof PointerEvent&&(r.addEventListener("pointerdown",S,!0),r.addEventListener("pointermove",S,!0),r.addEventListener("pointerup",S,!0)),t.addEventListener("beforeunload",()=>{N(e)},{once:!0}),v.set(t,{focus:n})}let N=(e,t)=>{let r=(0,g.mD)(e),n=(0,g.TW)(e);t&&n.removeEventListener("DOMContentLoaded",t),v.has(r)&&(r.HTMLElement.prototype.focus=v.get(r).focus,n.removeEventListener("keydown",T,!0),n.removeEventListener("keyup",T,!0),n.removeEventListener("click",x,!0),r.removeEventListener("focus",A,!0),r.removeEventListener("blur",I,!1),"undefined"!=typeof PointerEvent&&(n.removeEventListener("pointerdown",S,!0),n.removeEventListener("pointermove",S,!0),n.removeEventListener("pointerup",S,!0)),v.delete(r))};function D(){return"pointer"!==_}"undefined"!=typeof document&&function(e){let t,r=(0,g.TW)(void 0);"loading"!==r.readyState?O(void 0):(t=()=>{O(e)},r.addEventListener("DOMContentLoaded",t)),()=>N(e,t)}();let C=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var P=r(86962),L=r(12473);function R(e={}){var t,r,i;let{autoFocus:s=!1,isTextInput:l,within:u}=e,c=(0,n.useRef)({isFocused:!1,isFocusVisible:s||D()}),[d,f]=(0,n.useState)(!1),[h,p]=(0,n.useState)(()=>c.current.isFocused&&c.current.isFocusVisible),m=(0,n.useCallback)(()=>p(c.current.isFocused&&c.current.isFocusVisible),[]),_=(0,n.useCallback)(e=>{c.current.isFocused=e,f(e),m()},[m]);t=e=>{c.current.isFocusVisible=e,m()},r=[],i={isTextInput:l},O(),(0,n.useEffect)(()=>{let e=(e,r)=>{(function(e,t,r){let n=(0,g.TW)(null==r?void 0:r.target),i="undefined"!=typeof window?(0,g.mD)(null==r?void 0:r.target).HTMLInputElement:HTMLInputElement,a="undefined"!=typeof window?(0,g.mD)(null==r?void 0:r.target).HTMLTextAreaElement:HTMLTextAreaElement,o="undefined"!=typeof window?(0,g.mD)(null==r?void 0:r.target).HTMLElement:HTMLElement,s="undefined"!=typeof window?(0,g.mD)(null==r?void 0:r.target).KeyboardEvent:KeyboardEvent;return!((e=e||n.activeElement instanceof i&&!C.has(n.activeElement.type)||n.activeElement instanceof a||n.activeElement instanceof o&&n.activeElement.isContentEditable)&&"keyboard"===t&&r instanceof s&&!E[r.key])})(!!(null==i?void 0:i.isTextInput),e,r)&&t(D())};return y.add(e),()=>{y.delete(e)}},r);let{focusProps:v}=function(e){let{isDisabled:t,onFocus:r,onBlur:i,onFocusChange:a}=e,s=(0,n.useCallback)(e=>{if(e.target===e.currentTarget)return i&&i(e),a&&a(!1),!0},[i,a]),l=o(s),u=(0,n.useCallback)(e=>{let t=(0,g.TW)(e.target),n=t?(0,P.bq)(t):(0,P.bq)();e.target===e.currentTarget&&n===(0,P.wt)(e.nativeEvent)&&(r&&r(e),a&&a(!0),l(e))},[a,r,l]);return{focusProps:{onFocus:!t&&(r||a||i)?u:void 0,onBlur:!t&&(i||a)?s:void 0}}}({isDisabled:u,onFocusChange:_}),{focusWithinProps:b}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:i,onFocusWithinChange:s}=e,l=(0,n.useRef)({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:c}=(0,L.A)(),d=(0,n.useCallback)(e=>{e.currentTarget.contains(e.target)&&l.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(l.current.isFocusWithin=!1,c(),r&&r(e),s&&s(!1))},[r,s,l,c]),f=o(d),h=(0,n.useCallback)(e=>{if(!e.currentTarget.contains(e.target))return;let t=(0,g.TW)(e.target),r=(0,P.bq)(t);if(!l.current.isFocusWithin&&r===(0,P.wt)(e.nativeEvent)){i&&i(e),s&&s(!0),l.current.isFocusWithin=!0,f(e);let r=e.currentTarget;u(t,"focus",e=>{if(l.current.isFocusWithin&&!(0,P.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(a(n))}},{capture:!0})}},[i,s,f,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:h,onBlur:d}}}({isDisabled:!u,onFocusWithinChange:_});return{isFocused:d,isFocusVisible:h,focusProps:u?b:v}}},82505:(e,t,r)=>{"use strict";r.d(t,{Ng:()=>a,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 a(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),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(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 a=0|p(n,i),l=o(a),u=l.write(n,i);return u!==a&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e)){var c=e;if(O(c,Uint8Array)){var m=new Uint8Array(c);return f(m.buffer,m.byteOffset,m.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(O(e,ArrayBuffer)||e&&O(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(O(e,SharedArrayBuffer)||e&&O(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 g=e.valueOf&&e.valueOf();if(null!=g&&g!==e)return s.from(g,t,r);var _=function(e){if(s.isBuffer(e)){var t=0|h(e.length),r=o(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)?o(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),o(e<0?0:0|h(e))}function d(e){for(var t=e.length<0?0:0|h(e.length),r=o(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)||O(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 m(e,t,r){var i,a,o,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="",a=t;a<r;++a)i+=N[e[a]];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,a=t,o=r,0===a&&o===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(a,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function _(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(a=r*=1)!=a&&(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 a,o=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;o=2,s/=2,l/=2,r/=2}function u(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var c=-1;for(a=r;a<s;a++)if(u(e,a)===u(t,-1===c?0:a-c)){if(-1===c&&(c=a),a-c+1===l)return c*o}else -1!==c&&(a-=a-c),c=-1}else for(r+l>s&&(r=s-l),a=r;a>=0;a--){for(var d=!0,f=0;f<l;f++)if(u(e,a+f)!==u(t,f)){d=!1;break}if(d)return a}return -1}function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,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&(a=e[i+1]))==128&&(l=(31&u)<<6|63&a)>127&&(c=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&u)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&u)<<18|(63&a)<<12|(63&o)<<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="",m=0;m<h;)p+=String.fromCharCode.apply(String,f.slice(m,m+=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,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)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,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function k(e,t,r,n,a){return t*=1,r>>>=0,a||E(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function T(e,t,r,n,a){return t*=1,r>>>=0,a||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)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(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(O(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),O(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,a=Math.min(r,n);i<a;++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 a=e[r];if(O(a,Uint8Array))i+a.length>n.length?s.from(a).copy(n,i):Uint8Array.prototype.set.call(n,a,i);else if(s.isBuffer(a))a.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=a.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)g(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)g(this,t,t+3),g(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)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(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):m.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+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(O(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 a=i-n,o=r-t,l=Math.min(a,o),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){a=u[d],o=c[d];break}return a<o?-1:+(o<a)},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,a,o,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 a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var s,l=parseInt(t.substr(2*o,2),16);if((s=l)!=s)break;e[r+o]=l}return o}(this,e,t,r);case"utf8":case"utf-8":return i=t,a=r,I(x(e,this.length-i),this,i,a);case"ascii":case"latin1":case"binary":return o=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,o,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=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>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,a=0;++a<t&&(i*=256);)n+=this[e+a]*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,a=0;++a<t&&(i*=256);)n+=this[e+a]*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,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},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 a=1,o=0;for(this[t]=255&e;++o<r&&(a*=256);)this[t+o]=e/a&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 a=r-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&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 a=0,o=1,s=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o|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 a=r-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o|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,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}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 o=s.isBuffer(e)?e:s.from(e,n),l=o.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[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,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}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 O(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var N=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}()},83015:(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,...a}=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},a),r?n.createElement("title",{id:i},r):null,n.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.982 18.725A7.488 7.488 0 0 0 12 15.75a7.488 7.488 0 0 0-5.982 2.975m11.963 0a9 9 0 1 0-11.963 0m11.963 0A8.966 8.966 0 0 1 12 21a8.966 8.966 0 0 1-5.982-2.275M15 9.75a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))})},83070:(e,t,r)=>{"use strict";r.d(t,{K$:()=>a,K4:()=>u,Mn:()=>s,uR:()=>o});var n=r(4902);r(17318);var i=r(93957),a=Symbol();function o(e){return!!e.extensions&&Array.isArray(e.extensions[a])}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,a=r.protocolErrors,o=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=a||[],d.clientErrors=o||[],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),a||[],!0),o||[],!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:()=>m,ResolveLocale:()=>p,match:()=>g});var n,i=r(4902),a={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"}}]}}},o={"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("-"),a=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 o[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||"*"===a||a===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 a=i[n],o=u(e,a.desired,r.matchVariables)&&u(t,a.supported,r.matchVariables);if(a.oneway||o||(o=u(e,a.supported,r.matchVariables)&&u(t,a.desired,r.matchVariables)),o){var s=10*a.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,o,u,c){"lookup"===r.localeMatcher?m=function(e,t,r){for(var n={locale:""},i=0;i<t.length;i++){var a=t[i],o=a.replace(s,""),l=h(e,o);if(l)return n.locale=l,a!==o&&(n.extension=a.slice(o.length,a.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 o,s,l,u,c,f,h=(o=new Intl.Locale(e).maximize(),s=new Intl.Locale(r).maximize(),l={language:o.language,script:o.script||"",region:o.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=a.supplemental.languageMatching["written-new"][0])?void 0:e.paradigmLocales)?void 0:t._locales.split(" "),o=a.supplemental.languageMatching["written-new"].slice(1,5);n={matches:a.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:o.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:o.language,script:"",region:""},{language:s.language,script:"",region:""},f)),l.script!==u.script&&(c+=d({language:o.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),m=y?{locale:y,extension:v}:{locale:c()}),null==m&&(m={locale:c(),extension:""});var p,m,g,_,y,v,b,w,E,k,T,S,x=m.locale,A=u[x],I={locale:"en",dataLocale:x};g=m.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,a=3;a<i;){var o=e.indexOf("-",a),s=void 0;s=-1===o?i-a:o-a;var u=e.slice(a,a+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),a+=s+1}return{attributes:r,keywords:n}}(m.extension).keywords:[];for(var O=[],N=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 a=i[0];l(void 0===a||"string"==typeof a,"value must be a string or undefined");var o=void 0,s=g.find(function(t){return t.key===e});if(s){var u=s.value;""!==u?i.indexOf(u)>-1&&(o={key:e,value:a=u}):i.indexOf("true")>-1&&(o={key:e,value:a="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!==a&&i.indexOf(c)>-1&&(a=c,o=void 0),o&&O.push(o),I[e]=a},D=0;D<o.length;D++)N(o[D]);var C=[];return O.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",a=0;a<t.length;a++){var o=t[a];i+="-".concat(o)}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,[],O)),I.locale=x,I}function m(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 g(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),a=r(53279),o=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,o=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 a.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(o.bind.apply(o,(0,n.__spreadArray)([void 0],e,!1)))},{cache:d(e.displayNames),strategy:i.W.variadic})}}function h(e,t,r,n){var i,a=e&&e[t];if(a&&(i=a[r]),i)return i;n(new o.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:a}=e,o=a||(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="+o+(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:()=>o,aZ:()=>i,cE:()=>n,ou:()=>a});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 a{constructor(e,t,r,n,i,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,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 o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},s=new Set(Object.keys(o));function 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),a=r(41547);function o(){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 o=function(){return e},e}let s=(0,i.J1)(o(),a.A)},86962:(e,t,r)=>{"use strict";r.d(t,{bq:()=>a,wt:()=>o,sD:()=>i});var n=r(82505);function i(e,t){1;return!!t&&!!e&&e.contains(t)}let a=(e=document)=>{var t;1;return e.activeElement};function o(e){return 0,e.target}},87247:(e,t)=>{t.read=function(e,t,r,n,i){var a,o,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,a=h&(1<<-c)-1,h>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=f,c-=8);for(o=a&(1<<-c)-1,a>>=-c,c+=n;c>0;o=256*o+e[t+d],d+=f,c-=8);if(0===a)a=1-u;else{if(a===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,n),a-=u}return(h?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,s,l,u=8*a-i-1,c=(1<<u)-1,d=c>>1,f=5960464477539062e-23*(23===i),h=n?0:a-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),o=c):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=c?(s=0,o=c):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[r+h]=255&s,h+=p,s/=256,i-=8);for(o=o<<i|s,u+=i;u>0;e[r+h]=255&o,h+=p,o/=256,u-=8);e[r+h-p]|=128*m}},87560:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PartitionRelativeTimePattern=function(e,t,r,o){var s=o.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,m=l;"short"===d?m="".concat(l,"-short"):"narrow"===d&&(m="".concat(l,"-narrow")),m in c||(m=l);var g=c[m];if("auto"===f&&(0,n.ToString)(t)in g)return[{type:"literal",value:g[(0,n.ToString)(t)]}];var _="future";((0,n.SameValue)(t,-0)||t<0)&&(_="past");var y=g[_],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,a.MakePartsList)(b,l,v)};var n=r(77262),i=r(22249),a=r(8665)},89048:(e,t,r)=>{"use strict";r.d(t,{B:()=>d,p:()=>f});var n,i,a=r(14232),o=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,a.useState)(r),{hasFlag:c,addFlag:d,removeFlag:f}=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,[t,r]=(0,a.useState)(e),n=(0,a.useCallback)(e=>r(e),[t]),i=(0,a.useCallback)(e=>r(t=>t|e),[t]),o=(0,a.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:i,hasFlag:o,removeFlag:(0,a.useCallback)(e=>r(t=>t&~e),[r]),toggleFlag:(0,a.useCallback)(e=>r(t=>t^e),[r])}}(e&&i?3:0),h=(0,a.useRef)(!1),p=(0,a.useRef)(!1),m=(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:a}=t,s=(0,o.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:a}),s.nextFrame(()=>{n(),s.requestAnimationFrame(()=>{s.add(function(e,t){var r,n;let i=(0,o.e)();if(!e)return i.dispose;let a=!1;i.add(()=>{a=!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(()=>{a||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,m]),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,a,o,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())a=0,o=n.ZERO;else{var d=u.replace(/0+$/,"");a=d.length,o=(0,n.ToNumber)(d)}return{Number:s,IntegerDigits:c.toNumber(),NumberOfFractionDigits:i,NumberOfFractionDigitsWithoutTrailing:a,FractionDigits:r.toNumber(),FractionDigitsWithoutTrailing:o.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)},92436:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(14232),i=r(22160);let a=()=>(0,n.useContext)(i.A)},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 a(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function o(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)&&a(e).forEach(function(t){c[t]=n(e[t],u)}),a(r).forEach(function(t){o(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(o(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={}))},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),a=r(80542),o=r(17318),s=a.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function l(){(0,o.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),a=new WeakSet;function o(e){!(e.size<=(e.max||-1))&&(a.has(e)||(a.add(e),setTimeout(function(){e.clean(),a.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 o(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 o(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})},97225:(e,t,r)=>{"use strict";e.exports=r(70789)},98149:(e,t,r)=>{"use strict";function n(e,t){var r=t&&t.cache?t.cache:l,n=t&&t.serializer?t.serializer:o;return(t&&t.strategy?t.strategy:function(e,t){var r,n,o=1===e.length?i:a;return r=t.cache.create(),n=t.serializer,o.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),a=t.get(i);return void 0===a&&(a=e.call(this,n),t.set(i,a)),a}function a(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return void 0===a&&(a=e.apply(this,n),t.set(i,a)),a}r.d(t,{B:()=>n,W:()=>u});var o=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,a.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),a=2;a<r;a++)i[a-2]=arguments[a];if(e in t){let r=t[e];return"function"==typeof r?r(...i):r}let o=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(o,n),o}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}},a="undefined"!=typeof WeakMap?WeakMap:Map,o="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 a,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 o(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()}]);
|