1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d2e5e20f-01e4-4ba4-a5bf-d9518985fec2",e._sentryDebugIdIdentifier="sentry-dbid-d2e5e20f-01e4-4ba4-a5bf-d9518985fec2")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9379],{35435:function(e,t,r){"use strict";function n(e,t){var r=t&&t.cache?t.cache:u,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.r(t),r.d(t,{memoize:function(){return n},strategies:function(){return l}});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}(),u={create:function(){return new s}},l={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)}}},63326:function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{g:function(){return n}})},14036:function(e,t,r){"use strict";r.d(t,{default:function(){return u}});var n=r(63326),i=r(12607),a=r(47863),o=r(89987),s=r(1627),u=(0,o.forwardRef)(function(e,t){let{defaultLocale:r,href:u,locale:l,localeCookie:h,onClick:c,prefetch:f,unprefixed:p,...d}=e,m=(0,s.Z)(),y=null!=l&&l!==m,g=l||m,v=function(){let[e,t]=(0,o.useState)();return(0,o.useEffect)(()=>{t(window.location.host)},[]),e}(),b=v&&p&&(p.domains[v]===g||!Object.keys(p.domains).includes(v)&&m===r&&!l)?p.pathname:u,E=(0,a.usePathname)();return y&&(f&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),f=!1),o.createElement(i.default,(0,n.g)({ref:t,href:b,hrefLang:y?l:void 0,onClick:function(e){(function(e,t,r,n){if(!e||!(n!==r&&null!=n)||!t)return;let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(t),{name:a,...o}=e;o.path||(o.path=""!==i?i:"/");let s="".concat(a,"=").concat(n,";");for(let[e,t]of Object.entries(o))s+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(s+="="+t),s+=";";document.cookie=s})(h,E,m,l),c&&c(e)},prefetch:f},d))})},56455:function(e,t,r){"use strict";r.d(t,{default:function(){return c}});var n=r(63326),i=r(47863),a=r(89987),o=r(1627);function s(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function u(e,t){let r;return"string"==typeof e?r=l(t,e):(r={...e},e.pathname&&(r.pathname=l(t,e.pathname))),r}function l(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}r(28070);var h=r(14036);let c=(0,a.forwardRef)(function(e,t){let{href:r,locale:l,localeCookie:c,localePrefixMode:f,prefix:p,...d}=e,m=(0,i.usePathname)(),y=(0,o.Z)(),g=l!==y,[v,b]=(0,a.useState)(()=>s(r)&&("never"!==f||g)?u(r,p):r);return(0,a.useEffect)(()=>{m&&b(function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(!s(e))return e;let a=n===i||n.startsWith("".concat(i,"/"));return(t!==r||a)&&null!=i?u(e,i):e}(r,l,y,m,p))},[y,r,l,m,p]),a.createElement(h.default,(0,n.g)({ref:t,href:v,locale:l,localeCookie:c},d))});c.displayName="ClientLink"},1627:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(47863),i=r(7087);let a="locale",o=!1;function s(){let e;let t=(0,n.useParams)();try{e=(0,i.useLocale)()}catch(r){if("string"!=typeof(null==t?void 0:t[a]))throw r;o||(console.warn("Deprecation warning: `useLocale` has returned a default from `useParams().locale` since no `NextIntlClientProvider` ancestor was found for the calling component. This behavior will be removed in the next major version. Please ensure all Client Components that use `next-intl` are wrapped in a `NextIntlClientProvider`."),o=!0),e=t[a]}return e}},91466:function(e,t,r){"use strict";r.d(t,{default:function(){return o}});var n=r(63326),i=r(89987),a=r(66032);function o(e){let{locale:t,...r}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl.dev/docs/configuration#locale");return i.createElement(a.IntlProvider,(0,n.g)({locale:t},r))}},8185:function(e,t){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=r},39310:function(e,t,r){"use strict";var n=r(73851),i=r(90723),a=r(80563);n.default,i.default,t.os=a.default},55270:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8185),i=r(89987),a=r(60158),o=r(40897),s=r(25481),u=i&&i.__esModule?i:{default:i};let l=i.forwardRef(function(e,t){let{locale:r,localePrefix:i,...l}=e,h=a.default(),c=r||h,f=o.getLocalePrefix(c,i);return u.default.createElement(s.default,n.extends({ref:t,locale:c,localePrefixMode:i.mode,prefix:f},l))});l.displayName="ClientLink",t.default=l},90723:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8185),i=r(89987),a=r(60158),o=r(8635),s=r(64676),u=r(55270),l=r(9147),h=r(58041),c=r(33365),f=i&&i.__esModule?i:{default:i};t.default=function(e){let t=o.receiveRoutingConfig(e),r=o.receiveLocaleCookie(e.localeCookie);function p(){let e=a.default();if(!t.locales.includes(e))throw Error(void 0);return e}let d=i.forwardRef(function(e,i){let{href:a,locale:o,...l}=e,h=p(),c=o||h;return f.default.createElement(u.default,n.extends({ref:i,href:s.compileLocalizedPathname({locale:c,pathname:a,params:"object"==typeof a?a.params:void 0,pathnames:t.pathnames}),locale:o,localeCookie:r,localePrefix:t.localePrefix},l))});function m(e){let{href:r,locale:n}=e;return s.compileLocalizedPathname({...s.normalizeNameOrNameWithParams(r),locale:n,pathnames:t.pathnames})}return d.displayName="Link",{Link:d,redirect:function(e){let r=m({href:e,locale:p()});for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return l.clientRedirect({pathname:r,localePrefix:t.localePrefix},...i)},permanentRedirect:function(e){let r=m({href:e,locale:p()});for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return l.clientPermanentRedirect({pathname:r,localePrefix:t.localePrefix},...i)},usePathname:function(){let e=h.default(t),r=p();return i.useMemo(()=>e?s.getRoute(r,e,t.pathnames):e,[r,e])},useRouter:function(){let e=c.default(t.localePrefix,r),n=p();return i.useMemo(()=>({...e,push(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=m({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.push(s,...a)},replace(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=m({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.replace(s,...a)},prefetch(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let s=m({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.prefetch(s,...a)}}),[e,n])},getPathname:m}}},80563:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(47863),i=r(89987),a=r(60158),o=r(77880),s=r(68134),u=r(64676),l=r(58041);t.default=function(e){function t(){return a.default()}let{Link:r,config:h,getPathname:c,...f}=o.default(t,e);return{...f,Link:r,usePathname:function(){let e=l.default(h),r=t();return i.useMemo(()=>e&&h.pathnames?u.getRoute(r,e,h.pathnames):e,[r,e])},useRouter:function(){let e=n.useRouter(),r=t(),a=n.usePathname();return i.useMemo(()=>{function t(e){return function(t,n){let{locale:i,...o}=n||{},u=[c({href:t,locale:i||r,domain:window.location.host})];Object.keys(o).length>0&&u.push(o),e(...u),s.default(h.localeCookie,a,r,i)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[r,a,e])},getPathname:c}}},73851:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8185),i=r(89987),a=r(8635),o=r(55270),s=r(9147),u=r(58041),l=r(33365),h=i&&i.__esModule?i:{default:i};t.default=function(e){let t=a.receiveLocalePrefixConfig(null==e?void 0:e.localePrefix),r=a.receiveLocaleCookie(null==e?void 0:e.localeCookie),c=i.forwardRef(function(e,i){return h.default.createElement(o.default,n.extends({ref:i,localeCookie:r,localePrefix:t},e))});return c.displayName="Link",{Link:c,redirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return s.clientRedirect({pathname:e,localePrefix:t},...n)},permanentRedirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return s.clientPermanentRedirect({pathname:e,localePrefix:t},...n)},usePathname:function(){return u.default({localePrefix:t,defaultLocale:null==e?void 0:e.defaultLocale})},useRouter:function(){return l.default(t,r)}}}},9147:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(60158),i=r(74454);function a(e){return function(t){let r;try{r=n.default()}catch(e){throw e}for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return e({...t,locale:r},...a)}}let o=a(i.baseRedirect),s=a(i.basePermanentRedirect);t.clientPermanentRedirect=s,t.clientRedirect=o},58041:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(47863),i=r(89987),a=r(60158),o=r(40897);t.default=function(e){let t=n.usePathname(),r=a.default();return i.useMemo(()=>{if(!t)return t;let n=t,i=o.getLocalePrefix(r,e.localePrefix);if(o.hasPathnamePrefixed(i,t))n=o.unprefixPathname(t,i);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=o.getLocaleAsPrefix(r);o.hasPathnamePrefixed(e,t)&&(n=o.unprefixPathname(t,e))}return n},[e.localePrefix,r,t])}},33365:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(47863),i=r(89987),a=r(60158),o=r(40897),s=r(68134),u=r(64676);t.default=function(e,t){let r=n.useRouter(),l=a.default(),h=n.usePathname();return i.useMemo(()=>{function n(r){return function(n,i){let{locale:a,...c}=i||{};s.default(t,h,l,a);let f=[function(t,r){let n=window.location.pathname,i=u.getBasePath(h);i&&(n=n.replace(i,""));let a=r||l,s=o.getLocalePrefix(a,e);return o.localizeHref(t,a,l,n,s)}(n,a)];return Object.keys(c).length>0&&f.push(c),r(...f)}}return{...r,push:n(r.push),replace:n(r.replace),prefetch:n(r.prefetch)}},[l,t,e,h,r])}},37424:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8185),i=r(12607),a=r(47863),o=r(89987),s=r(60158),u=r(68134);function l(e){return e&&e.__esModule?e:{default:e}}var h=l(i),c=l(o),f=o.forwardRef(function(e,t){let{defaultLocale:r,href:i,locale:l,localeCookie:f,onClick:p,prefetch:d,unprefixed:m,...y}=e,g=s.default(),v=null!=l&&l!==g,b=l||g,E=function(){let[e,t]=o.useState();return o.useEffect(()=>{t(window.location.host)},[]),e}(),P=E&&m&&(m.domains[E]===b||!Object.keys(m.domains).includes(E)&&g===r&&!l)?m.pathname:i,_=a.usePathname();return v&&(d=!1),c.default.createElement(h.default,n.extends({ref:t,href:P,hrefLang:v?l:void 0,onClick:function(e){u.default(f,_,g,l),p&&p(e)},prefetch:d},y))});t.default=f},25481:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8185),i=r(47863),a=r(89987),o=r(60158),s=r(40897),u=r(37424),l=a&&a.__esModule?a:{default:a};let h=a.forwardRef(function(e,t){let{href:r,locale:h,localeCookie:c,localePrefixMode:f,prefix:p,...d}=e,m=i.usePathname(),y=o.default(),g=h!==y,[v,b]=a.useState(()=>s.isLocalizableHref(r)&&("never"!==f||g)?s.prefixHref(r,p):r);return a.useEffect(()=>{m&&b(s.localizeHref(r,h,y,m,p))},[y,r,h,m,p]),l.default.createElement(u.default,n.extends({ref:t,href:v,locale:h,localeCookie:c},d))});h.displayName="ClientLink",t.default=h},77880:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8185),i=r(47863),a=r(89987),o=r(8635),s=r(40897),u=r(37424),l=r(64676),h=a&&a.__esModule?a:{default:a};t.default=function(e,t){let r=o.receiveRoutingConfig(t||{}),c=r.pathnames,f="as-needed"===r.localePrefix.mode&&r.domains||void 0,p=a.forwardRef(function(t,i){let o,l,p,{href:m,locale:y,...g}=t;"object"==typeof m?(o=m.pathname,p=m.query,l=m.params):o=m;let v=s.isLocalizableHref(m),b=e(),E=s.isPromise(b)?a.use(b):b,P=v?d({locale:y||E,href:null==c?o:{pathname:o,params:l}},null!=y||f||void 0):o;return h.default.createElement(u.default,n.extends({ref:i,defaultLocale:r.defaultLocale,href:"object"==typeof m?{...m,pathname:P}:P,locale:y,localeCookie:r.localeCookie,unprefixed:f&&v?{domains:r.domains.reduce((e,t)=>(e[t.domain]=t.defaultLocale,e),{}),pathname:d({locale:E,href:null==c?{pathname:o,query:p}:{pathname:o,query:p,params:l}},!1)}:void 0},g))});function d(e,t){let n;let{href:i,locale:a}=e;return null==c?"object"==typeof i?(n=i.pathname,i.query&&(n+=l.serializeSearchParams(i.query))):n=i:n=l.compileLocalizedPathname({locale:a,...l.normalizeNameOrNameWithParams(i),pathnames:r.pathnames}),l.applyPathnamePrefix(n,a,r,e.domain,t)}function m(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(d(t,t.domain?void 0:f),...n)}}return{config:r,Link:p,redirect:m(i.redirect),permanentRedirect:m(i.permanentRedirect),getPathname:d}}},74454:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0});var n=r(47863),i=r(40897);function a(e){return function(t){let r=i.getLocalePrefix(t.locale,t.localePrefix),n="never"!==t.localePrefix.mode&&i.isLocalizableHref(t.pathname)?i.prefixPathname(r,t.pathname):t.pathname;for(var a=arguments.length,o=Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return e(n,...o)}}let o=a(n.redirect),s=a(n.permanentRedirect);t.basePermanentRedirect=s,t.baseRedirect=o},68134:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(64676);t.default=function(e,t,r,i){if(!e||!(i!==r&&null!=i)||!t)return;let a=n.getBasePath(t),{name:o,...s}=e;s.path||(s.path=""!==a?a:"/");let u="".concat(o,"=").concat(i,";");for(let[e,t]of Object.entries(s))u+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(u+="="+t),u+=";";document.cookie=u}},64676:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(40897);function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}t.applyPathnamePrefix=function(e,t,r,i,a){let o;let{mode:s}=r.localePrefix;if(void 0!==a)o=a;else if(n.isLocalizableHref(e)){if("always"===s)o=!0;else if("as-needed"===s){let e=r.defaultLocale;if(r.domains){let t=r.domains.find(e=>e.domain===i);t&&(e=t.defaultLocale)}o=e!==t}}return o?n.prefixPathname(n.getLocalePrefix(t,r.localePrefix),e):e},t.compileLocalizedPathname=function(e){let{pathname:t,locale:r,params:a,pathnames:o,query:s}=e;function u(e){let t=o[e];return t||(t=e),t}function l(e){let t="string"==typeof e?e:e[r];return a&&Object.entries(a).forEach(e=>{let r,n,[i,a]=e;Array.isArray(a)?(r="(\\[)?\\[...".concat(i,"\\](\\])?"),n=a.map(e=>String(e)).join("/")):(r="\\[".concat(i,"\\]"),n=String(a)),t=t.replace(RegExp(r,"g"),n)}),t=t.replace(/\[\[\.\.\..+\]\]/g,""),t=n.normalizeTrailingSlash(t),s&&(t+=i(s)),t}if("string"==typeof t)return l(u(t));{let{pathname:e,...r}=t;return{...r,pathname:l(u(e))}}},t.getBasePath=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")},t.getRoute=function(e,t,r){let i=n.getSortedPathnames(Object.keys(r)),a=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if(n.matchesPathname(i,a))return t}else if(n.matchesPathname(i[e],a))return t}return t},t.normalizeNameOrNameWithParams=function(e){return"string"==typeof e?{pathname:e}:e},t.serializeSearchParams=i},60158:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(47863),i=r(15854),a=r(9620);t.default=function(){let e;let t=n.useParams();try{e=i.useLocale()}catch(r){if("string"!=typeof(null==t?void 0:t[a.LOCALE_SEGMENT_NAME]))throw r;e=t[a.LOCALE_SEGMENT_NAME]}return e}},22067:function(e,t,r){"use strict";var n=r(23200);t.R=n.default},8635:function(e,t){"use strict";function r(e){return!(null!=e&&!e)&&{name:"NEXT_LOCALE",maxAge:31536e3,sameSite:"lax",..."object"==typeof e&&e}}function n(e){return"object"==typeof e?e:{mode:e||"always"}}Object.defineProperty(t,"__esModule",{value:!0}),t.receiveLocaleCookie=r,t.receiveLocalePrefixConfig=n,t.receiveRoutingConfig=function(e){var t,i;return{...e,localePrefix:n(e.localePrefix),localeCookie:r(e.localeCookie),localeDetection:null===(t=e.localeDetection)||void 0===t||t,alternateLinks:null===(i=e.alternateLinks)||void 0===i||i}}},23200:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},9620:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},40897:function(e,t,r){"use strict";var n=r(28070);function i(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function a(e,t){let r;return"string"==typeof e?r=o(t,e):(r={...e},e.pathname&&(r.pathname=o(t,e.pathname))),r}function o(e,t){let r=e;
1return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function s(e,t){return t===e||t.startsWith("".concat(e,"/"))}function u(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch(e){return!1}}();if("/"!==e){let r=e.endsWith("/");t&&!r?e+="/":!t&&r&&(e=e.slice(0,-1))}return e}function l(e){return"/"+e}function h(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))}function c(e){return e.includes("[[...")}function f(e){return e.includes("[...")}function p(e){return e.includes("[")}function d(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!p(t)&&p(i))return -1;if(p(t)&&!p(i))return 1;if(!f(t)&&f(i))return -1;if(f(t)&&!f(i))return 1;if(!c(t)&&c(i))return -1;if(c(t)&&!c(i))return 1}}return 0}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleAsPrefix=l,t.getLocalePrefix=function(e,t){var r;return"never"!==t.mode&&(null===(r=t.prefixes)||void 0===r?void 0:r[e])||l(e)},t.getSortedPathnames=function(e){return e.sort(d)},t.hasPathnamePrefixed=s,t.isLocalizableHref=i,t.isPromise=function(e){return"function"==typeof e.then},t.localizeHref=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(!i(e))return e;let u=s(o,n);return(t!==r||u)&&null!=o?a(e,o):e},t.matchesPathname=function(e,t){let r=u(e),n=u(t);return h(r).test(n)},t.normalizeTrailingSlash=u,t.prefixHref=a,t.prefixPathname=o,t.templateToRegex=h,t.unprefixPathname=function(e,t){return e.replace(new RegExp("^".concat(t)),"")||"/"}},15854:function(e,t,r){"use strict";e.exports=r(7087)},66032:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(89987),i=r(60834),a=r(10461);r(35435);var o=n&&n.__esModule?n:{default:n};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:r,formats:s,getMessageFallback:u,locale:l,messages:h,now:c,onError:f,timeZone:p}=e,d=n.useMemo(()=>i.createCache(),[l]),m=n.useMemo(()=>i.createIntlFormatters(d),[d]),y=n.useMemo(()=>({...i.initializeConfig({locale:l,defaultTranslationValues:r,formats:s,getMessageFallback:u,messages:h,now:c,onError:f,timeZone:p}),formatters:m,cache:d}),[d,r,s,m,u,l,h,c,f,p]);return o.default.createElement(a.IntlContext.Provider,{value:y},t)}},60834:function(e,t,r){"use strict";var n=r(35435);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(".")}function a(e){return i(e.namespace,e.key)}function o(e){console.error(e)}function s(e,t){return n.memoize(e,{cache:{create:()=>({get:e=>t[e],set(e,r){t[e]=r}})},strategy:n.strategies.variadic})}function u(e,t){return s(function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new e(...r)},t)}t.createCache=function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},t.createIntlFormatters=function(e){return{getDateTimeFormat:u(Intl.DateTimeFormat,e.dateTime),getNumberFormat:u(Intl.NumberFormat,e.number),getPluralRules:u(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:u(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:u(Intl.ListFormat,e.list),getDisplayNames:u(Intl.DisplayNames,e.displayNames)}},t.defaultGetMessageFallback=a,t.defaultOnError=o,t.initializeConfig=function(e){let{getMessageFallback:t,messages:r,onError:n,...i}=e;return{...i,messages:r,onError:n||o,getMessageFallback:t||a}},t.joinPath=i,t.memoFn=s},30895:function(e){e.exports={style:{fontFamily:"'__Inter_f367f3', '__Inter_Fallback_f367f3'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},38055:function(e){e.exports={style:{fontFamily:"'__satoshiRegular_a84d44', '__satoshiRegular_Fallback_a84d44'",fontStyle:"normal"},className:"__className_a84d44",variable:"__variable_a84d44"}},62524:function(e){e.exports={style:{fontFamily:"'__satoshiVariable_08d62b', '__satoshiVariable_Fallback_08d62b'",fontStyle:"normal"},className:"__className_08d62b",variable:"__variable_08d62b"}},46565:function(e,t,r){"use strict";function n(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}r.d(t,{Mj:function(){return n}}),"undefined"!=typeof window&&window.document&&window.document.createElement},51598:function(e,t,r){"use strict";r.d(t,{F:function(){return a},e:function(){return o}});var n=r(89987);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function o(...e){return n.useCallback(a(...e),e)}},3179:function(e,t,r){"use strict";r.d(t,{b:function(){return o},k:function(){return a}});var n=r(89987),i=r(52660);function a(e,t){let r=n.createContext(t),a=e=>{let{children:t,...a}=e,o=n.useMemo(()=>a,Object.values(a));return(0,i.jsx)(r.Provider,{value:o,children:t})};return a.displayName=e+"Provider",[a,function(i){let a=n.useContext(r);if(a)return a;
1if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function o(e,t=[]){let r=[],a=()=>{let t=r.map(e=>n.createContext(e));return function(r){let i=r?.[e]||t;return n.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return a.scopeName=e,[function(t,a){let o=n.createContext(a),s=r.length;r=[...r,a];let u=t=>{let{scope:r,children:a,...u}=t,l=r?.[e]?.[s]||o,h=n.useMemo(()=>u,Object.values(u));return(0,i.jsx)(l.Provider,{value:h,children:a})};return u.displayName=t+"Provider",[u,function(r,i){let u=i?.[e]?.[s]||o,l=n.useContext(u);if(l)return l;if(void 0!==a)return a;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return n.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return r.scopeName=t.scopeName,r}(a,...t)]}},29147:function(e,t,r){"use strict";r.d(t,{WV:function(){return s},jH:function(){return u}});var n=r(89987),i=r(72642),a=r(95193),o=r(52660),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let r=(0,a.Z8)(`Primitive.${t}`),i=n.forwardRef((e,n)=>{let{asChild:i,...a}=e,s=i?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(s,{...a,ref:n})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function u(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},95193:function(e,t,r){"use strict";r.d(t,{Z8:function(){return o},sA:function(){return u}});var n=r(89987),i=r(51598),a=r(52660);function o(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...a}=e;if(n.isValidElement(r)){let e,o;let s=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref,u=function(e,t){let r={...t};for(let n in t){let i=e[n],a=t[n];/^on[A-Z]/.test(n)?i&&a?r[n]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...a}:"className"===n&&(r[n]=[i,a].filter(Boolean).join(" "))}return{...e,...r}}(a,r.props);return r.type!==n.Fragment&&(u.ref=t?(0,i.F)(t,s):s),n.cloneElement(r,u)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:i,...o}=e,s=n.Children.toArray(i),u=s.find(l);if(u){let e=u.props.children,i=s.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,a.jsx)(t,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,i):null})}return(0,a.jsx)(t,{...o,ref:r,children:i})});return r.displayName=`${e}.Slot`,r}var s=Symbol("radix.slottable");function u(e){let t=({children:e})=>(0,a.jsx)(a.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function l(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},1805:function(e,t,r){"use strict";r.d(t,{T:function(){return s}});var n,i=r(89987),a=r(92162),o=(n||(n=r.t(i,2)))[" useInsertionEffect ".trim().toString()]||a.b;function s({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){let[a,s,u]=function({defaultProp:e,onChange:t}){let[r,n]=i.useState(e),a=i.useRef(r),s=i.useRef(t);return o(()=>{s.current=t},[t]),i.useEffect(()=>{a.current!==r&&(s.current?.(r),a.current=r)},[r,a]),[r,n,s]}({defaultProp:t,onChange:r}),l=void 0!==e,h=l?e:a;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==l){let t=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,n])}return[h,i.useCallback(t=>{if(l){let r="function"==typeof t?t(e):t;r!==e&&u.current?.(r)}else s(t)},[l,e,s,u])]}Symbol("RADIX:SYNC_STATE")},92162:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(89987),i=globalThis?.document?n.useLayoutEffect:()=>{}},49995:function(e,t,r){"use strict";r.d(t,{Gm:function(){return i},Qy:function(){return s},ZF:function(){return u}});var n=r(94458);function i(e){return{onFetch:(t,r)=>
1{let i=t.options,s=t.fetchOptions?.meta?.fetchMore?.direction,u=t.state.data?.pages||[],l=t.state.data?.pageParams||[],h={pages:[],pageParams:[]},c=0,f=async()=>{let r=!1,f=e=>{(0,n.I4)(e,()=>t.signal,()=>r=!0)},p=(0,n.cG)(t.options,t.fetchOptions),d=async(e,i,a)=>{if(r)return Promise.reject(t.signal.reason);if(null==i&&e.pages.length)return Promise.resolve(e);let o=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:i,direction:a?"backward":"forward",meta:t.options.meta};return f(e),e})(),s=await p(o),{maxPages:u}=t.options,l=a?n.Ht:n.VX;return{pages:l(e.pages,s,u),pageParams:l(e.pageParams,i,u)}};if(s&&u.length){let e="backward"===s,t={pages:u,pageParams:l},r=(e?o:a)(i,t);h=await d(t,r,e)}else{let t=e??u.length;do{let e=0===c?l[0]??i.initialPageParam:a(i,h);if(c>0&&null==e)break;h=await d(h,e),c++}while(c<t)}return h};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r):t.fetchFn=f}}}function a(e,{pages:t,pageParams:r}){let n=t.length-1;return t.length>0?e.getNextPageParam(t[n],t,r[n],r):void 0}function o(e,{pages:t,pageParams:r}){return t.length>0?e.getPreviousPageParam?.(t[0],t,r[0],r):void 0}function s(e,t){return!!t&&null!=a(e,t)}function u(e,t){return!!t&&!!e.getPreviousPageParam&&null!=o(e,t)}},74516:function(e,t,r){"use strict";r.d(t,{R:function(){return s},m:function(){return o}});var n=r(67519),i=r(1091),a=r(73381),o=class extends i.F{#e;#t;#r;#n;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#r=e.mutationCache,this.#t=[],this.state=e.state||s(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#r.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:"continue"})},r={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#n=(0,a.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(e,r):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});let n="pending"===this.state.status,i=!this.#n.canStart();try{if(n)t();else{this.#i({type:"pending",variables:e,isPaused:i}),this.#r.config.onMutate&&await this.#r.config.onMutate(e,this,r);let t=await this.options.onMutate?.(e,r);t!==this.state.context&&this.#i({type:"pending",context:t,variables:e,isPaused:i})}let a=await this.#n.start();return await this.#r.config.onSuccess?.(a,e,this.state.context,this,r),await this.options.onSuccess?.(a,e,this.state.context,r),await this.#r.config.onSettled?.(a,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(a,null,e,this.state.context,r),this.#i({type:"success",data:a}),a}catch(t){try{await this.#r.config.onError?.(t,e,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onError?.(t,e,this.state.context,r)}catch(e){Promise.reject(e)}try{await this.#r.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,r)}catch(e){Promise.reject(e)}try{await this.options.onSettled?.(void 0,t,e,this.state.context,r)}catch(e){Promise.reject(e)}throw this.#i({type:"error",error:t}),t}finally{this.#r.runNext(this)}}#i(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPau
1sed:!1,status:"error"}}})(this.state),n.Vr.batch(()=>{this.#t.forEach(t=>{t.onMutationUpdate(e)}),this.#r.notify({mutation:this,type:"updated",action:e})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},72118:function(e,t,r){"use strict";r.d(t,{A:function(){return u},z:function(){return l}});var n=r(94458),i=r(67519),a=r(73381),o=r(1091),s=r(49995),u=class extends o.F{#a;#o;#s;#u;#e;#n;#l;#h;constructor(e){super(),this.#h=!1,this.#l=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#e=e.client,this.#u=this.#e.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=c(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#a}get promise(){return this.#n?.promise}setOptions(e){if(this.options={...this.#l,...e},e?._type&&(this.#a=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=c(this.options);void 0!==e.data&&(this.setState(h(e.data,e.dataUpdatedAt)),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(e,t){let r=(0,n.oE)(this.state.data,e,this.options);return this.#i({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e){this.#i({type:"setState",state:e})}cancel(e){let t=this.#n?.promise;return this.#n?.cancel(e),t?t.then(n.ZT).catch(n.ZT):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#o}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,n.TD)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===n.CN||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,n.KC)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,n.Kp)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#n&&(this.#h||this.#c()?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#c(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#i({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#n?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let r=new AbortController,i=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#h=!0,r.signal)})},o=()=>{let e=(0,n.cG)(this.options,t),r=(()=>{let e={client:this.#e,queryKey:this.queryKey,meta:this.meta};return i(e),e})();return(this.#h=!1,this.options.persister)?this.options.persister(e,r,this):e(r)},u=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#e,state:this.state,fetchFn:o};return i(e),e})(),l="infinite"===this.#a?(0,s.Gm)(this.options.pages):this.options.behavior;l?.onFetch(u,this),this.#s=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#i({type:"fetch",meta:u.fetchOptions?.meta}),this.#n=(0,a.Mz)({initialPromise:t?.initialPromise,fn:u.fetchFn,onCancel:e=>{e instanceof a.p8&&e.revert&&this.setState({...this.#s,fetchStatus:"idle"}),r.abort()},onFail:(e,t)=>{this.#i({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#i({type:"pause"})},onContinue:()=>{this.#i({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{let e=await this.#n.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#u.config.onSuccess?.(e,this),this.#u.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof a.p8){if(e.silent)return this.#n.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#i({type:"error",error:e}),this.#u.config.onError?.(e,this),this.#u.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#i(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...h(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#s=e.manual?r:void 0,r;case"error":let n=e.error;
1return{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),i.Vr.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:e})})}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,a.Kw)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function h(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function c(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}},31058:function(e,t,r){"use strict";r.d(t,{S:function(){return p}});var n=r(94458),i=r(72118),a=r(67519),o=r(91075),s=class extends o.l{constructor(e={}){super(),this.config=e,this.#f=new Map}#f;build(e,t,r){let a=t.queryKey,o=t.queryHash??(0,n.Rm)(a,t),s=this.get(o);return s||(s=new i.A({client:e,queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(s)),s}add(e){this.#f.has(e.queryHash)||(this.#f.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#f.get(e.queryHash);t&&(e.destroy(),t===e&&this.#f.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){a.Vr.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#f.get(e)}getAll(){return[...this.#f.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n._x)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n._x)(e,t)):t}notify(e){a.Vr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){a.Vr.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){a.Vr.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},u=r(74516),l=class extends o.l{constructor(e={}){super(),this.config=e,this.#p=new Set,this.#d=new Map,this.#m=0}#p;#d;#m;build(e,t,r){let n=new u.m({client:e,mutationCache:this,mutationId:++this.#m,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){this.#p.add(e);let t=h(e);if("string"==typeof t){let r=this.#d.get(t);r?r.push(e):this.#d.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#p.delete(e)){let t=h(e);if("string"==typeof t){let r=this.#d.get(t);if(r){if(r.length>1){let t=r.indexOf(e);-1!==t&&r.splice(t,1)}else r[0]===e&&this.#d.delete(t)}}}this.notify({type:"removed",mutation:e})}canRun(e){let t=h(e);if("string"!=typeof t)return!0;{let r=this.#d.get(t),n=r?.find(e=>"pending"===e.state.status);return!n||n===e}}runNext(e){let t=h(e);if("string"!=typeof t)return Promise.resolve();{let r=this.#d.get(t)?.find(t=>
1t!==e&&t.state.isPaused);return r?.continue()??Promise.resolve()}}clear(){a.Vr.batch(()=>{this.#p.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#p.clear(),this.#d.clear()})}getAll(){return Array.from(this.#p)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.X7)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,n.X7)(e,t))}notify(e){a.Vr.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return a.Vr.batch(()=>Promise.all(e.map(e=>e.continue().catch(n.ZT))))}};function h(e){return e.options.scope?.id}var c=r(42645),f=r(76649),p=class{#y;#r;#l;#g;#v;#b;#E;#P;constructor(e={}){this.#y=e.queryCache||new s,this.#r=e.mutationCache||new l,this.#l=e.defaultOptions||{},this.#g=new Map,this.#v=new Map,this.#b=0}mount(){this.#b++,1===this.#b&&(this.#E=c.j.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#y.onFocus())}),this.#P=f.N.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#y.onOnline())}))}unmount(){this.#b--,0===this.#b&&(this.#E?.(),this.#E=void 0,this.#P?.(),this.#P=void 0)}isFetching(e){return this.#y.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#r.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#y.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),r=this.#y.build(this,t),i=r.state.data;return void 0===i?this.fetchQuery(e):(e.revalidateIfStale&&r.isStaleByTime((0,n.KC)(t.staleTime,r))&&this.prefetchQuery(t),Promise.resolve(i))}getQueriesData(e){return this.#y.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let i=this.defaultQueryOptions({queryKey:e}),a=this.#y.get(i.queryHash),o=a?.state.data,s=(0,n.SE)(t,o);if(void 0!==s)return this.#y.build(this,i).setData(s,{...r,manual:!0})}setQueriesData(e,t,r){return a.Vr.batch(()=>this.#y.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#y.get(t.queryHash)?.state}removeQueries(e){let t=this.#y;a.Vr.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#y;return a.Vr.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let r={revert:!0,...t};return Promise.all(a.Vr.batch(()=>this.#y.findAll(e).map(e=>e.cancel(r)))).then(n.ZT).catch(n.ZT)}invalidateQueries(e,t={}){return a.Vr.batch(()=>(this.#y.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let r={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(a.Vr.batch(()=>this.#y.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.ZT)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(n.ZT)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#y.build(this,t);return r.isStaleByTime((0,n.KC)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.ZT).catch(n.ZT)}fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.ZT).catch(n.ZT)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return f.N.isOnline()?this.#r.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#y}getMutationCache(){return this.#r}getDefaultOptions(){return this.#l}setDefaultOptions(e){this.#l=e}setQueryDefaults(e,t){this.#g.set((0,n.Ym)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#g.values()],r={};return t.forEach(t=>{(0,n.to)(e,t.queryKey)&&Object.assign(r,t.defaultOptions)}),r}setMutationDefaults(e,t){this.#v.set((0,n.Ym)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#v.values()],r={};return t.forEach(t=>{(0,n.to)(e,t.mutationKey)&&Object.assign(r,t.defaultOptions)}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#l.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.Rm)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===n.CN&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#l.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#y.clear(),this.#r.clear()}}},11534:function(e,t,r){"use strict";r.d(t,{V:function(){return eT}});var n,i,a,o,s,u,l,h,c,f,p,d,m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]}
1)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 y(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}m(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var g=function(){return(g=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 v(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 b(e,t){var r=t&&t.cache?t.cache:H,n=t&&t.serializer?t.serializer:_;return(t&&t.strategy?t.strategy:function(e,t){var r,n,i=1===e.length?E:P;return r=t.cache.create(),n=t.serializer,i.bind(this,e,r,n)})(e,{cache:r,serializer:n})}function E(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 P(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}var _=function(){return JSON.stringify(arguments)};function T(){this.cache=Object.create(null)}T.prototype.get=function(e){return this.cache[e]},T.prototype.set=function(e,t){this.cache[e]=t};var H={create:function(){return new T}},C={variadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,P.bind(this,e,r,n)},monadic:function(e,t){var r,n;return r=t.cache.create(),n=t.serializer,E.bind(this,e,r,n)}};function A(e){return e.type===l.literal}function S(e){return e.type===l.number}function B(e){return e.type===l.date}function L(e){return e.type===l.time}function O(e){return e.type===l.select}function R(e){return e.type===l.plural}function N(e){return e.type===l.tag}function M(e){return!!(e&&"object"==typeof e&&e.type===h.number)}function I(e){return!!(e&&"object"==typeof e&&e.type===h.dateTime)}(n=u||(u={}))[n.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",n[n.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",n[n.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",n[n.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",n[n.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",n[n.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",n[n.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",n[n.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",n[n.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",n[n.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",n[n.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",n[n.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",n[n.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",n[n.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",n[n.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",n[n.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",n[n.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",n[n.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",n[n.INVALID_TAG=23]="INVALID_TAG",n[n.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",n[n.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",n[n.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=l||(l={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(a=h||(h={}))[a.number=0]="number",a[a.dateTime=1]="dateTime";var w=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,D=/(?:[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,x=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,U=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,F=/^(@+)?(\+|#+)?[rs]?$/g,G=/(\*)(0+)|(#+)(0+)|(0+)/g,k=/^(0+)$/;function j(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(F,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 q(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 V(e){return q(e)||{}}var K={"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
1:["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"]},Q=new RegExp("^".concat(w.source,"*")),z=new RegExp("".concat(w.source,"*$"));function X(e,t){return{start:e,end:t}}var Z=!!String.prototype.startsWith&&"_a".startsWith("a",1),W=!!String.fromCodePoint,Y=!!Object.fromEntries,$=!!String.prototype.codePointAt,J=!!String.prototype.trimStart,ee=!!String.prototype.trimEnd,et=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},er=!0;try{var en=eh("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");er=(null===(c=en.exec("a"))||void 0===c?void 0:c[0])==="a"}catch(e){er=!1}var ei=Z?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},ea=W?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},eo=Y?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},es=$?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}},eu=J?function(e){return e.trimStart()}:function(e){return e.replace(Q,"")},el=ee?function(e){return e.trimEnd()}:function(e){return e.replace(z,"")};function eh(e,t){return new RegExp(e,t)}if(er){var ec=eh("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");f=function(e,t){var r;return ec.lastIndex=t,null!==(r=ec.exec(e)[1])&&void 0!==r?r:""}}else f=function(e,t){for(var r=[];;){var n,i=es(e,t);if(void 0===i||ed(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>
1=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 ea.apply(void 0,r)};var ef=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 n=[];!this.isEOF();){var i=this.char();if(123===i){var a=this.parseArgument(e,r);if(a.err)return a;n.push(a.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var o=this.clonePosition();this.bump(),n.push({type:l.pound,location:X(o,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&ep(this.peek()||0)){var a=this.parseTag(e,t);if(a.err)return a;n.push(a.val)}else{var a=this.parseLiteral(e,t);if(a.err)return a;n.push(a.val)}}else{if(!r)return this.error(u.UNMATCHED_CLOSING_TAG,X(this.clonePosition(),this.clonePosition()));break}}return{val:n,err:null}},e.prototype.parseTag=function(e,t){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(n,"/>"),location:X(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(u.INVALID_TAG,X(r,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var a=i.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(u.UNCLOSED_TAG,X(r,this.clonePosition()));if(this.isEOF()||!ep(this.char()))return this.error(u.INVALID_TAG,X(o,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(u.UNMATCHED_CLOSING_TAG,X(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:l.tag,value:n,children:a,location:X(r,this.clonePosition())},err:null}:this.error(u.INVALID_TAG,X(o,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 i=this.tryParseQuote(t);if(i){n+=i;continue}var a=this.tryParseUnquoted(e,t);if(a){n+=a;continue}var o=this.tryParseLeftAngleBracket();if(o){n+=o;continue}break}var s=X(r,this.clonePosition());return{val:{type:l.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ep(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(),"'";
1case 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 ea.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(),ea(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,X(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(u.EMPTY_ARGUMENT,X(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(u.MALFORMED_ARGUMENT,X(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,X(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:n,location:X(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,X(r,this.clonePosition()));return this.parseArgumentOptions(e,t,n,r);default:return this.error(u.MALFORMED_ARGUMENT,X(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=f(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:X(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(u.EXPECT_ARGUMENT_TYPE,X(a,s));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var d=el(p.val);if(0===d.length)return this.error(u.EXPECT_ARGUMENT_STYLE,X(this.clonePosition(),this.clonePosition()));c={style:d,styleLocation:X(f,this.clonePosition())}}var m=this.tryParseArgumentClose(n);if(m.err)return m;var y=X(n,this.clonePosition());if(c&&ei(null==c?void 0:c.style,"::",0)){var v,b=eu(c.style.slice(2));if("number"===o){var p=this.parseNumberSkeletonFromString(b,c.styleLocation);if(p.err)return p;return{val:{type:l.number,value:r,location:y,style:p.val},err:null}}if(0===b.length)return this.error(u.EXPECT_DATE_TIME_SKELETON,y);var E=b;this.locale&&(E=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),u=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),(K[t||""]||K[n||""]||K["".concat(n,"-001")]||K["001"])[0]}(t);for(("H"==u||"k"==u)&&(s=0);s-- >0;)r+="a";for(;o-- >0;)r=u+r}else"J"===i?r+="H":r+=i}return r}(b,this.locale));var d={type:h.dateTime,pattern:E,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?(v={},E.replace(D,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"===o?l.date:l.time,value:r,location:y,style:d},err:null}}return{val:{type:"number"===o?l.number:"date"===o?l.date:l.time,value:r,location:y,style:null!==(i=null==c?void 0:c.style)&&void 0!==i?i:null},err:null};
1case"plural":case"selectordinal":case"select":var P=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(u.EXPECT_SELECT_ARGUMENT_OPTIONS,X(P,g({},P)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),T=0;if("select"!==o&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,X(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,u.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),_=this.parseIdentifierIfPossible(),T=p.val}var H=this.tryParsePluralOrSelectOptions(e,o,t,_);if(H.err)return H;var m=this.tryParseArgumentClose(n);if(m.err)return m;var C=X(n,this.clonePosition());if("select"===o)return{val:{type:l.select,value:r,options:eo(H.val),location:C},err:null};return{val:{type:l.plural,value:r,options:eo(H.val),offset:T,pluralType:"plural"===o?"cardinal":"ordinal",location:C},err:null};default:return this.error(u.INVALID_ARGUMENT_TYPE,X(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(u.EXPECT_ARGUMENT_CLOSING_BRACE,X(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(u.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,X(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(x).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(u.INVALID_NUMBER_SKELETON,t)}return{val:{type:h.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=g(g(g({},t),{notation:"scientific"}),n.options.reduce(function(e,t){return g(g({},e),q(t)||{})},{}));continue;case"engineering":t=g(g(g({},t),{notation:"engineering"}),n.options.reduce(function(e,t){return g(g({},e),q(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(G,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(k.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(U.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(U,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];
1"w"===i?t=g(g({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=g(g({},t),j(i)));continue}if(F.test(n.stem)){t=g(g({},t),j(n.stem));continue}var a=q(n.stem);a&&(t=g(g({},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)),!k.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(n.stem);o&&(t=g(g({},t),o))}return t}(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,a=!1,o=[],s=new Set,l=n.value,h=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(u.EXPECT_PLURAL_ARGUMENT_SELECTOR,u.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;h=X(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}else break}if(s.has(l))return this.error("select"===t?u.DUPLICATE_SELECT_ARGUMENT_SELECTOR:u.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:u.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,X(this.clonePosition(),this.clonePosition()));var d=this.parseMessage(e+1,t,r);if(d.err)return d;var m=this.tryParseArgumentClose(p);if(m.err)return m;o.push([l,{value:d.val,location:X(p,this.clonePosition())}]),s.add(l),this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,h=i.location}return 0===o.length?this.error("select"===t?u.EXPECT_SELECT_ARGUMENT_SELECTOR:u.EXPECT_PLURAL_ARGUMENT_SELECTOR,X(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(u.MISSING_OTHER_CLAUSE,X(this.clonePosition(),this.clonePosition())):{val:o,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=X(n,this.clonePosition());return i?et(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=es(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(ei(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()&&ed(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 ep(e){return e>=97&&e<=122||e>=65&&e<=90}function ed(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function em(e,t){void 0===t&&(t={});
1var r=new ef(e,t=g({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(r.err){var n=SyntaxError(u[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,O(t)||R(t))for(var r in t.options)delete t.options[r].location,e(t.options[r].value);else S(t)&&M(t.style)?delete t.style.location:(B(t)||L(t))&&I(t.style)?delete t.style.location:N(t)&&e(t.children)})}(r.val),r.val}(o=p||(p={})).MISSING_VALUE="MISSING_VALUE",o.INVALID_VALUE="INVALID_VALUE",o.MISSING_INTL_API="MISSING_INTL_API";var ey=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return y(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),eg=function(e){function t(t,r,n,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),p.INVALID_VALUE,i)||this}return y(t,e),t}(ey),ev=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),p.INVALID_VALUE,n)||this}return y(t,e),t}(ey),eb=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,'"'),p.MISSING_VALUE,r)||this}return y(t,e),t}(ey);function eE(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}(s=d||(d={}))[s.literal=0]="literal",s[s.object=1]="object";var eP=function(){function e(t,r,n,i){void 0===r&&(r=e.defaultLocale);var a,o,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&t.type===d.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 function e(t,r,n,i,a,o,s){if(1===t.length&&A(t[0]))return[{type:d.literal,value:t[0].value}];for(var u=[],h=0;h<t.length;h++){var c=t[h];if(A(c)){u.push({type:d.literal,value:c.value});continue}if(c.type===l.pound){"number"==typeof o&&u.push({type:d.literal,value:n.getNumberFormat(r).format(o)});continue}var f=c.value;if(!(a&&f in a))throw new eb(f,s);var m=a[f];if(c.type===l.argument){m&&"string"!=typeof m&&"number"!=typeof m||(m="string"==typeof m||"number"==typeof m?String(m):""),u.push({type:"string"==typeof m?d.literal:d.object,value:m});continue}if(B(c)){var y="string"==typeof c.style?i.date[c.style]:I(c.style)?c.style.parsedOptions:void 0;u.push({type:d.literal,value:n.getDateTimeFormat(r,y).format(m)});continue}if(L(c)){var y="string"==typeof c.style?i.time[c.style]:I(c.style)?c.style.parsedOptions:i.time.medium;u.push({type:d.literal,value:n.getDateTimeFormat(r,y).format(m)});continue}if(S(c)){var y="string"==typeof c.style?i.number[c.style]:M(c.style)?c.style.parsedOptions:void 0;y&&y.scale&&(m*=y.scale||1),u.push({type:d.literal,value:n.getNumberFormat(r,y).format(m)});continue}if(N(c)){var g=c.children,v=c.value,b=a[v];if("function"!=typeof b)throw new ev(v,"function",s);var E=b(e(g,r,n,i,a,o).map(function(e){return e.value}));Array.isArray(E)||(E=[E]),u.push.apply(u,E.map(function(e){return{type:"string"==typeof e?d.literal:d.object,value:e}}))}if(O(c)){var P=c.options[m]||c.options.other;if(!P)throw new eg(c.value,m,Object.keys(c.options),s);u.push.apply(u,e(P.value,r,n,i,a));continue}if(R(c)){var P=c.options["=".concat(m)];if(!P){if(!Intl.PluralRules)throw new ey('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',p.MISSING_INTL_API,s);var _=n.getPluralRules(r,{type:c.pluralType}).select(m-(c.offset||0));P=c.options[_]||c.options.other}if(!P)throw new eg(c.value,m,Object.keys(c.options),s);u.push.apply(u,e(P.value,r,n,i,a,m-(c.offset||0)));continue}}return u.length<2?u:u.reduce(function(e,t){var r=e[e.length-1];return r&&r.type===d.literal&&t.type===d.literal?r.value+=t.value:e.push(t),e},[])}(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=s.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.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 u=i||{};u.formatters;var h=function(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}(u,["formatters"]);this.ast=e.__parse(t,g(g({},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=(a=e.formats,n?Object.keys(a).reduce(function(e,t){var r,i;return e[t]=(r=a[t],(i=n[t])?g(g(g({},r||{}),i||{}
1),Object.keys(r).reduce(function(e,t){return e[t]=g(g({},r[t]),i[t]||{}),e},{})):r),e},g({},a)):a),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:b(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,v([void 0],t,!1)))},{cache:eE(o.number),strategy:C.variadic}),getDateTimeFormat:b(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,v([void 0],t,!1)))},{cache:eE(o.dateTime),strategy:C.variadic}),getPluralRules:b(function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,v([void 0],t,!1)))},{cache:eE(o.pluralRules),strategy:C.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=em,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}();let e_=()=>{let e=new Map;function t(t){if(!e.get(t)){let r=String(t).replace(/[^a-zA-Z]/g,"-");for(;!function(e){try{return!!Intl.NumberFormat.supportedLocalesOf(e).length}catch(e){return!1}}(r);)r=r.split("-").slice(0,-1).join("-")||"en";e.set(t,r)}return e.get(t)}return Object.freeze({getLanguage:t,format:({translation:e,language:r,params:n})=>{let i=!Object.values(n||{}).find(e=>"function"==typeof e);return new eP(e,t(r),void 0,{ignoreTag:i}).format(n)}})},eT=()=>(e,t)=>(t.setFinalFormatter(e_()),e)},47005:function(e,t,r){"use strict";r.d(t,{F:function(){return o}});var n=r(89987),i=n.createContext(void 0),a={setTheme:e=>{},themes:[]},o=()=>{var e;return null!=(e=n.useContext(i))?e:a}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.