1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{2746:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(833),i=r(1163);var o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r(7294));function a(){return a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(this,arguments)}var s=["locale"];t.NextIntlProvider=function(e){var t,r=e.locale,u=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)t.indexOf(r=o[n])>=0||(i[r]=e[r]);return i}(e,s);try{t=i.useRouter()}catch(n){}if(!r&&t&&(r=t.locale),!r)throw new Error(void 0);return o.default.createElement(n.IntlProvider,a({locale:r},u))},Object.keys(n).forEach((function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}})}))},1118:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(2301)}])},2301:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"===typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),i.forEach((function(t){n(e,t,r[t])}))}return e}r.r(t),r.d(t,{default:function(){return ae}});var o=r(5893),a=r(7294),s="tq-collapsible-text-overflow-style";function u(e){var t=e.querySelector("[data-tq-collapsible-clamp]");if(t){var r=t.scrollHeight-t.clientHeight>1;e.setAttribute("data-tq-overflows",r?"true":"false")}}function c(){return a.useEffect((function(){if("undefined"!==typeof document){!function(){if("undefined"!==typeof document&&!document.getElementById(s)){var e=document.createElement("style");e.id=s,e.textContent='[data-tq-overflows="false"] [data-tq-collapsible-more]{display:none !important;}',document.head.appendChild(e)}}();var e=0,t=function(){e||(e=window.requestAnimationFrame((function(){e=0,function(){if("undefined"!==typeof document)for(var e=document.querySelectorAll("[data-tq-collapsible-root]"),t=0;t<e.length;t++)u(e[t])}()})))};t(),window.addEventListener("resize",t);var r="undefined"!==typeof MutationObserver?new MutationObserver((function(){t()})):null;return r&&document.body&&r.observe(document.body,{childList:!0,subtree:!0}),function(){e&&window.cancelAnimationFrame(e),window.removeEventListener("resize",t),r&&r.disconnect()}}}),[]),null}var h=r(1163),l=["navigation-link","nav-link","sidebar-link","nav-item","menu-item"];function f(e){if(!e)return"/";var t=e.split("#")[0].split("?")[0].replace(/\/+$/,"");return""===t?"/":t}var p=function(){var e=(0,h.useRouter)();return(0,a.useEffect)((function(){var t=function(){try{var t=f(e.asPath),r=new Set;document.querySelectorAll('nav, [role="navigation"], [class*="navigation"], [class*="sidebar"], [class*="navbar"]').forEach((function(e){e.querySelectorAll("a[href]").forEach((function(e){if(!r.has(e)){r.add(e);var n=e.getAttribute("href")||"",i=n&&"#"!==n.charAt(0)&&!/^(https?:|mailto:|tel:)/i.test(n)&&f(n)===t,o=function(e){for(var t=[e],r=e.querySelectorAll("*"),n=0;n<r.length;n++)for(var i=r[n],o=(i.getAttribute("class")||"").split(/\s+/),a=0;a<o.length;a++)if(-1!==l.indexOf(o[a])){t.push(i);break}return t}(e);o.forEach((function(e){i?e.classList.add("active"):e.classList.remove("active")})),i?e.setAttribute("aria-current","page"):"page"===e.getAttribute("aria-current")&&e.removeAttribute("aria-current")}}))}))}catch(n){}};return t(),e.events.on("routeChangeComplete",t),function(){e.events.off("routeChangeComplete",t)}}),[e.asPath]),null},m="https://analytics-api-production-v1-758748478860.europe-west1.run.app",g="tpa_f7db247c73ea10f7668c11c8b7383a499d4ac42f47329d56",d=[1e3,5e3,15e3],E=!1,v=!1,b=0,y=null,_=null,T=null,A=0,H=null,S=null,B=null,I=0,w=0,N=[],L=null,P=null,O=0;function M(){return"undefined"!==typeof crypto&&crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function R(){if(v)return!1;if(0!==m.indexOf("http")||0===g.indexOf("teleporthq.secrets."))return!1;var e=window.location.hostname;
1return"localhost"!==e&&"127.0.0.1"!==e&&"0.0.0.0"!==e&&("undefined"===typeof navigator||!navigator.webdriver)}function C(){if(!function(){try{return"accepted"===window.localStorage.getItem("cookieConsent")}catch(e){return!1}}())return y=M(),void(_=null);try{(_=window.localStorage.getItem("tp_aid"))||(_=M(),window.localStorage.setItem("tp_aid",_));var e=Date.now(),t=window.sessionStorage.getItem("tp_sid"),r=Number(window.sessionStorage.getItem("tp_sid_t")||0);y=t&&e-r<18e5?t:M(),window.sessionStorage.setItem("tp_sid",y),window.sessionStorage.setItem("tp_sid_t",String(e))}catch(n){y=M(),_=null}}function G(e){return m.replace(/\/$/,"")+"/events/"+g+(e||"")}function U(e){403===e||401===e?(b+=1)>=3&&(v=!0,N=[],L&&clearInterval(L),P&&clearInterval(P)):b=0}function F(e){if(0!==N.length&&!v){var t=N.slice(0,25);N=N.slice(t.length),function(e,t){if(0===e.length)return Promise.resolve(!0);var r=JSON.stringify({events:e}),n=G("/batch");if(t&&"undefined"!==typeof navigator&&navigator.sendBeacon)try{var i=new Blob([r],{type:"text/plain;charset=UTF-8"});return Promise.resolve(navigator.sendBeacon(n,i))}catch(o){}return fetch(n,{method:"POST",headers:{"Content-Type":"text/plain;charset=UTF-8"},body:r,keepalive:!0}).then((function(e){return U(e.status),e.status<400})).catch((function(){return!1}))}(t,e).then((function(e){if(e)O=0;else if(O<d.length&&!v){N=t.concat(N);var r=d[O];O+=1,setTimeout((function(){return F(!1)}),r)}}))}}function D(e){v||(N.push(e),function(){if(null!==_)try{window.sessionStorage.setItem("tp_sid_t",String(Date.now()))}catch(e){}}(),N.length>=10&&F(!1))}function k(e){return{type:e,pageLoadId:T,seq:(A+=1)-1,sessionId:y,visitorId:_,path:H,clientTs:Date.now()}}function x(e){var t=function(e){return"string"===typeof e&&e?e.split("?")[0].split("#")[0]||"/":null}(e);return null!==H&&null!==t&&t===H}function V(e){if(R()){var t=window.location.pathname||"/";if(e||null===H||t!==H){T=M(),A=0,H=t,I=0,B="visible"===document.visibilityState?Date.now():null,w=0;var r=k("pageview");r.referrer=e&&document.referrer||null,r.utm=e?S:null,r.screenW=window.screen&&window.screen.width?window.screen.width:null,D(r)}}}function j(e){if(R()&&T){var t=k("page_leave");t.timeOnPageMs=function(){var e=I;return null!==B&&(e+=Date.now()-B),Math.max(0,Math.round(e))}(),t.maxScrollPct=w,D(t),e&&F(!0)}}function X(){R()&&"visible"===document.visibilityState&&T&&fetch(G("/heartbeat"),{method:"POST",headers:{"Content-Type":"text/plain;charset=UTF-8"},body:JSON.stringify({sessionId:y,visitorId:_,pageLoadId:T,path:H}),keepalive:!0}).then((function(e){return U(e.status)})).catch((function(){}))}function K(e){if(R()&&T)try{var t=e.target&&e.target.closest?e.target.closest('a, button, [role="button"], input[type="submit"], [data-tp-event]'):null;if(!t)return;var r=t.getAttribute("data-tp-event"),n=null;if("A"===t.tagName&&t.getAttribute("href")){var i=t.getAttribute("href");if(0===i.indexOf("http"))try{var o=new URL(i);n=o.origin===window.location.origin?o.pathname:i.slice(0,512)}catch(s){n=i.slice(0,512)}else n=i.split("?")[0].split("#")[0].slice(0,512)||null}var a=k("click");a.click={tag:t.tagName?t.tagName.toLowerCase().slice(0,16):null,id:t.id?t.id.slice(0,64):null,text:t.textContent?t.textContent.trim().slice(0,64):null,href:n,name:r&&/^[a-zA-Z0-9_-]{1,64}$/.test(r)?r:null},D(a)}catch(u){}}function Z(){E||(E=!0,R()&&(C(),S=function(){try{var e=new URLSearchParams(window.location.search),t=function(t){var r=e.get(t);return r?r.slice(0,255):null},r={source:t("utm_source"),medium:t("utm_medium"),campaign:t("utm_campaign"),term:t("utm_term"),content:t("utm_content")};return Object.keys(r).some((function(e){return r[e]}))?r:null}catch(n){return null}}(),document.addEventListener("click",K,!0),document.addEventListener("visibilitychange",(function(){"visible"===document.visibilityState?(B=Date.now(),X()):(null!==B&&(I+=Date.now()-B,B=null),F(!0))})),window.addEventListener("scroll",(function(){var e=function(){try{var e=document.documentElement.scrollHeight-window.innerHeight;return e<=0?100:Math.min(100,Math.round(window.scrollY/e*100))}catch(t){return 0}}();e>w&&(w=e)}),{passive:!0}),window.addEventListener("pagehide",(function(){j(!0)})),L=setInterval((function(){return F(!1)}),5e3),P=setInterval(X,3e4),V(!0),X()))}var q=["view_item","add_to_cart","remove_from_cart","begin_checkout","purchase"],Y="tp_purchases";function z(e){if(!e)return!0;var t=function(){try{var e=window.localStorage.getItem(Y),t=e?JSON.parse(e):[];return Array.isArray(t)?t:[]}catch(r){return[]}}();if(-1!==t.indexOf(e))return!1;t.push(e);try{window.localStorage.setItem(Y,JSON.stringify(t.slice(-50)))}catch(r){}return!0}function W(e,t){try{if(-1===q.indexOf(e))return;if(function(e,t){try{if(!Array.isArray(window.dataLayer))return;var r={event:e};t&&t.currency&&(r.currency=t.currency),t&&null!=t.value&&(r.value=t.value),t&&t.orderId&&(r.transaction_id=t.orderId),t&&t.items&&(r.items=t.items),window.dataLayer.push({ecommerce:null}),window.dataLayer.push(r)}catch(n){}}(e,t),!E||!R())return;if("purchase"===e&&!z(t&&t.orderId))return;var r=k("commerce");r.name=e,D(r),"purchase"!==e&&"begin_checkout"!==e||F(!0)}catch(n){}}var J="data-tq-commerce-view",Q=null;function $(){try{var e=function(){try{return document.querySelector("[data-tq-commerce-view]")}catch(e){return null}}();if(!e)return;var t=e.getAttribute(J);if(-1===q.indexOf(t))return;
1var r=e.getAttribute("data-tq-commerce-id")||null,n=t+"|"+(r||H||"");if(Q===n)return;Q=n;var i=e.getAttribute("data-tq-commerce-value"),o=null!=i&&""!==i?Number(i):null;W(t,{orderId:"purchase"===t?r:null,currency:e.getAttribute("data-tq-commerce-currency")||null,value:null!=o&&isFinite(o)?o:null})}catch(a){}}var ee=function(){var e=(0,h.useRouter)();return(0,a.useEffect)((function(){Z(),window.tpTrackCommerce=W;var t=function(){window.requestAnimationFrame((function(){return $()}))};t();var r=function(e){return function(e){x(e)||j(!1)}(e)},n=function(e){!function(e){x(e)||(V(!1),X())}(e),Q=null,t()};return e.events.on("routeChangeStart",r),e.events.on("routeChangeComplete",n),function(){e.events.off("routeChangeStart",r),e.events.off("routeChangeComplete",n)}}),[]),null},te=(r(8794),r(9008)),re=r.n(te),ne=r(2746),ie=(0,a.createContext)(null),oe=function(e){var t=e.initialLocales,r=e.children,n=(0,ne.useLocale)(),i=(0,a.useState)(null!==t&&void 0!==t?t:[{name:"English",short:"en"}]),s=i[0],u=i[1],c=(0,a.useState)({name:"English",short:"en"}),h=c[0],l=c[1];(0,a.useEffect)((function(){if(s){var e=s.find((function(e){return e.short===n}));l(e)}}),[s,n]);var f=(0,a.useMemo)((function(){return{locales:s,locale:h,setLocales:u,setLocale:l}}),[s,h]);return(0,o.jsx)(ie.Provider,{value:f,children:r})};function ae(e){var t=e.Component,r=e.pageProps;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(re(),{children:(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"})}),(0,o.jsx)(ne.NextIntlProvider,{messages:null===r||void 0===r?void 0:r.messages,locale:null===r||void 0===r?void 0:r.locale,children:(0,o.jsx)(oe,{children:(0,o.jsx)(t,i({},r))})})]}),(0,o.jsx)(ee,{})]}),(0,o.jsx)(p,{})]}),(0,o.jsx)(c,{})]})}},8794:function(){},9008:function(e,t,r){e.exports=r(5443)},1163:function(e,t,r){e.exports=r(387)},833: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)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(this,arguments)}function i(e){return i=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function s(e,t,r){return s=a()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&o(i,r.prototype),i},s.apply(null,arguments)}function u(e){var t="function"===typeof Map?new Map:void 0;return u=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return s(e,arguments,i(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),o(n,e)},u(e)}function c(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var h;r.r(t),r.d(t,{IntlError:function(){return m},IntlErrorCode:function(){return h},IntlProvider:function(){return at},createFormatter:function(){return et},createIntl:function(){return tt},createTranslator:function(){return Ze},useFormatter:function(){return mt},useIntl:function(){return dt},useLocale:function(){return ct},useMessages:function(){return pt},useNow:function(){return lt},useTimeZone:function(){return ft},useTranslations:function(){return ut}}),function(e){e.MISSING_MESSAGE="MISSING_MESSAGE",e.MISSING_FORMAT="MISSING_FORMAT",e.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",e.INSUFFICIENT_PATH="INSUFFICIENT_PATH",e.INVALID_MESSAGE="INVALID_MESSAGE",e.INVALID_KEY="INVALID_KEY",e.FORMATTING_ERROR="FORMATTING_ERROR"}(h||(h={}));var l,f,p,m=function(e){var t,r;function n(t,r){var n,i=t;return r&&(i+=": "+r),(n=e.call(this,i)||this).code=void 0,n.originalMessage=void 0,n.code=t,r&&(n.originalMessage=r),n}return r=e,(t=n).prototype=Object.create(r.prototype),t.prototype.constructor=t,o(t,r),n}(u(Error)),g=r(7582);function d(e){return e.type===f.literal}function E(e){return e.type===f.argument}function v(e){return e.type===f.number}function b(e){return e.type===f.date}function y(e){return e.type===f.time}function _(e){return e.type===f.select}function T(e){return e.type===f.plural}function A(e){return e.type===f.pound}function H(e){return e.type===f.tag}function S(e){return!(!e||"object"!==typeof e||e.type!==p.number)}function B(e){return!(!e||"object"!==typeof e||e.type!==p.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_
vendor: 5,979 bytes, line 1
1NUMBER_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"}(l||(l={})),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"}(f||(f={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(p||(p={}));var I=/[ \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;function N(e){var t={};return e.replace(w,(function(e){var r=e.length;switch(e[0]){case"G":t.era=4===r?"long":5===r?"narrow":"short";break;case"y":t.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===r?"short":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var L=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var P=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,O=/^(@+)?(\+|#+)?[rs]?$/g,M=/(\*)(0+)|(#+)(0+)|(0+)/g,R=/^(0+)$/;function C(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(O,(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 G(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 U(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)),!R.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function F(e){var t=G(e);return t||{}}function D(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.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=i.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;
vendor: 26,901 bytes, line 1
1case"scientific":t=(0,g.__assign)((0,g.__assign)((0,g.__assign)({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return(0,g.__assign)((0,g.__assign)({},e),F(t))}),{}));continue;case"engineering":t=(0,g.__assign)((0,g.__assign)((0,g.__assign)({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return(0,g.__assign)((0,g.__assign)({},e),F(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(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(M,(function(e,r,n,i,o,a){if(r)t.minimumIntegerDigits=n.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(a)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(R.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(P.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(P,(function(e,r,n,i,o,a){return"*"===n?t.minimumFractionDigits=r.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&a?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var o=i.options[0];"w"===o?t=(0,g.__assign)((0,g.__assign)({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=(0,g.__assign)((0,g.__assign)({},t),C(o)))}else if(O.test(i.stem))t=(0,g.__assign)((0,g.__assign)({},t),C(i.stem));else{var a=G(i.stem);a&&(t=(0,g.__assign)((0,g.__assign)({},t),a));var s=U(i.stem);s&&(t=(0,g.__assign)((0,g.__assign)({},t),s))}}return t}var k,x={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function V(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(x[r||""]||x[n||""]||x["".concat(n,"-001")]||x["001"])[0]}var j=new RegExp("^".concat(I.source,"*")),X=new RegExp("".concat(I.source,"*$"));function K(e,t){return{start:e,end:t}}var Z=!!String.prototype.startsWith,q=!!String.fromCodePoint,Y=!!Object.fromEntries,z=!!String.prototype.codePointAt,W=!!String.prototype.trimStart,J=!!String.prototype.trimEnd,Q=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"===typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$=!0;try{$="a"===(null===(k=se("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===k?void 0:k[0])}catch(Et){$=!1}var ee,te=Z?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},re=q?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},ne=Y?Object.fromEntries:function(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r],o=i[0],a=i[1];t[o]=a}return t},ie=z?function(e,t){return e.codePointAt(t)}:function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<55296||i>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?i:n-56320+(i-55296<<10)+65536}},oe=W?function(e){return e.trimStart()}:function(e){return e.replace(j,"")},ae=J?function(e){return e.trimEnd()}:function(e){return e.replace(X,"")};function se(e,t){return new RegExp(e,t)}if($){var ue=se("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ee=function(e,t){var r;return ue.lastIndex=t,null!==(r=ue.exec(e)[1])&&void 0!==r?r:""}}else ee=function(e,t){for(var r=[];;){var n=ie(e,t);if(void 0===n||le(n)||fe(n))break;r.push(n),t+=n>=65536?2:1}return re.apply(void 0,r)};var ce=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){if((o=this.parseArgument(e,r)).err)return o;n.push(o.val)}else{if(125===i&&e>0)break;if(35!==i||"plural"!==t&&"selectordinal"!==t){if(60===i&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(l.UNMATCHED_CLOSING_TAG,K(this.clonePosition(),this.clonePosition()))}if(60===i&&!this.ignoreTag&&he(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;n.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;n.push(o.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:f.pound,location:K(a,this.clonePosition())})}}}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:f.literal,value:"<".concat(n,"/>"),location:K(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!he(this.char()))return this.error(l.INVALID_TAG,K(a,this.clonePosition()));var s=this.clonePosition();return n!==this.parseTagName()?this.error(l.UNMATCHED_CLOSING_TAG,K(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:f.tag,value:n,children:o,location:K(r,this.clonePosition())},err:null}:this.error(l.INVALID_TAG,K(a,this.clonePosition())))}return this.error(l.UNCLOSED_TAG,K(r,this.clonePosition()))}return this.error(l.INVALID_TAG,K(r,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;else{var o=this.tryParseUnquoted(e,t);if(o)n+=o;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=K(r,this.clonePosition());return{val:{type:f.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(he(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e},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()){this.bump();break}t.push(39),this.bump()}else t.push(r);this.bump()}return re.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(),re(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,K(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(l.EMPTY_ARGUMENT,K(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(l.MALFORMED_ARGUMENT,K(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,K(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:f.argument,value:n,location:K(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,K(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(l.MALFORMED_ARGUMENT,K(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=ee(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:K(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(l.EXPECT_ARGUMENT_TYPE,K(o,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((_=this.parseSimpleArgStyleIfPossible()).err)return _;if(0===(E=ae(_.val)).length)return this.error(l.EXPECT_ARGUMENT_STYLE,K(this.clonePosition(),this.clonePosition()));u={style:E,styleLocation:K(c,this.clonePosition())}}if((T=this.tryParseArgumentClose(n)).err)return T;var h=K(n,this.clonePosition());if(u&&te(null===u||void 0===u?void 0:u.style,"::",0)){var m=oe(u.style.slice(2));if("number"===a)return(_=this.parseNumberSkeletonFromString(m,u.styleLocation)).err?_:{val:{type:f.number,value:r,location:h,style:_.val},err:null};if(0===m.length)return this.error(l.EXPECT_DATE_TIME_SKELETON,h);var d=m;this.locale&&(d=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if("j"===i){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),u=V(t);for("H"!=u&&"k"!=u||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=u+r}else r+="J"===i?"H":i}return r}(m,this.locale));var E={type:p.dateTime,pattern:d,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?N(d):{}};return{val:{type:"date"===a?f.date:f.time,value:r,location:h,style:E},err:null}}return{val:{type:"number"===a?f.number:"date"===a?f.date:f.time,value:r,location:h,style:null!==(i=null===u||void 0===u?void 0:u.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(l.EXPECT_SELECT_ARGUMENT_OPTIONS,K(v,(0,g.__assign)({},v)));this.bumpSpace();var b=this.parseIdentifierIfPossible(),y=0;if("select"!==a&&"offset"===b.value){if(!this.bumpIf(":"))return this.error(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,K(this.clonePosition(),this.clonePosition()));var _;if(this.bumpSpace(),(_=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,l.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return _;this.bumpSpace(),b=this.parseIdentifierIfPossible(),y=_.val}var T,A=this.tryParsePluralOrSelectOptions(e,a,t,b);if(A.err)return A;if((T=this.tryParseArgumentClose(n)).err)return T;var H=K(n,this.clonePosition());return"select"===a?{val:{type:f.select,value:r,options:ne(A.val),location:H},err:null}:{val:{type:f.plural,value:r,options:ne(A.val),offset:y,pluralType:"plural"===a?"cardinal":"ordinal",location:H},err:null};default:return this.error(l.INVALID_ARGUMENT_TYPE,K(o,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(l.EXPECT_ARGUMENT_CLOSING_BRACE,K(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(l.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,K(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 new Error("Number skeleton cannot be empty");for(var t=[],r=0,n=e.split(L).filter((function(e){return e.length>0}));r<n.length;r++){var i=n[r].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0,u=a;s<u.length;s++)if(0===u[s].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:a})}return t}(e)}catch(n){return this.error(l.INVALID_NUMBER_SKELETON,t)}return{val:{type:p.number,tokens:r,location:t,parsedOptions:this.shouldParseSkeletons?D(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,r,n){for(var i,o=!1,a=[],s=new Set,u=n.value,c=n.location;;){if(0===u.length){var h=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var f=this.tryParseDecimalInteger(l.EXPECT_PLURAL_ARGUMENT_SELECTOR,l.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;c=K(h,this.clonePosition()),u=this.message.slice(h.offset,this.offset())}if(s.has(u))return this.error("select"===t?l.DUPLICATE_SELECT_ARGUMENT_SELECTOR:l.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===u&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:l.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,K(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,r);if(m.err)return m;var g=this.tryParseArgumentClose(p);if(g.err)return g;a.push([u,{value:m.val,location:K(p,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===a.length?this.error("select"===t?l.EXPECT_SELECT_ARGUMENT_SELECTOR:l.EXPECT_PLURAL_ARGUMENT_SELECTOR,K(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(l.MISSING_OTHER_CLAUSE,K(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(!(a>=48&&a<=57))break;i=!0,o=10*o+(a-48),this.bump()}var s=K(n,this.clonePosition());return i?Q(o*=r)?{val:o,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ie(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(te(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()&&le(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&&void 0!==r?r:null},e}();function he(e){return e>=97&&e<=122||e>=65&&e<=90}function le(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function fe(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function pe(e){e.forEach((function(e){if(delete e.location,_(e)||T(e))for(var t in e.options)delete e.options[t].location,pe(e.options[t].value);else v(e)&&S(e.style)||(b(e)||y(e))&&B(e.style)?delete e.style.location:H(e)&&pe(e.children)}))}function me(e,t){void 0===t&&(t={}),t=(0,g.__assign)({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ce(e,t).parse();if(r.err){var n=SyntaxError(l[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null===t||void 0===t?void 0:t.captureLocation)||pe(r.val),r.val}function ge(e,t){var r=t&&t.cache?t.cache:Ae,n=t&&t.serializer?t.serializer:ye;return(t&&t.strategy?t.strategy:be)(e,{cache:r,serializer:n})}function de(e,t,r,n){var i,o=null==(i=n)||"number"===typeof i||"boolean"===typeof i?n:r(n),a=t.get(o);return"undefined"===typeof a&&(a=e.call(this,n),t.set(o,a)),a}function Ee(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return"undefined"===typeof o&&(o=e.apply(this,n),t.set(i,o)),o}function ve(e,t,r,n,i){return r.bind(t,e,n,i)}function be(e,t){return ve(e,this,1===e.length?de:Ee,t.cache.create(),t.serializer)}var ye=function(){return JSON.stringify(arguments)};function _e(){this.cache=Object.create(null)}_e.prototype.get=function(e){return this.cache[e]},_e.prototype.set=function(e,t){this.cache[e]=t};var Te,Ae={create:function(){return new _e}},He={variadic:function(e,t){return ve(e,this,Ee,t.cache.create(),t.serializer)},monadic:function(e,t){return ve(e,this,de,t.cache.create(),t.serializer)}};!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(Te||(Te={}));var Se,Be=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.code=r,i.originalMessage=n,i}return(0,g.__extends)(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ie=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('", "'),'"'),Te.INVALID_VALUE,i)||this}return(0,g.__extends)(t,e),t}(Be),we=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),Te.INVALID_VALUE,n)||this}return(0,g.__extends)(t,e),t}(Be),Ne=function(e){function t(t,r){return e.call(this,'The intl str
1ing context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),Te.MISSING_VALUE,r)||this}return(0,g.__extends)(t,e),t}(Be);function Le(e){return"function"===typeof e}function Pe(e,t,r,n,i,o,a){if(1===e.length&&d(e[0]))return[{type:Se.literal,value:e[0].value}];for(var s=[],u=0,c=e;u<c.length;u++){var h=c[u];if(d(h))s.push({type:Se.literal,value:h.value});else if(A(h))"number"===typeof o&&s.push({type:Se.literal,value:r.getNumberFormat(t).format(o)});else{var l=h.value;if(!i||!(l in i))throw new Ne(l,a);var f=i[l];if(E(h))f&&"string"!==typeof f&&"number"!==typeof f||(f="string"===typeof f||"number"===typeof f?String(f):""),s.push({type:"string"===typeof f?Se.literal:Se.object,value:f});else if(b(h)){var p="string"===typeof h.style?n.date[h.style]:B(h.style)?h.style.parsedOptions:void 0;s.push({type:Se.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(y(h)){p="string"===typeof h.style?n.time[h.style]:B(h.style)?h.style.parsedOptions:n.time.medium;s.push({type:Se.literal,value:r.getDateTimeFormat(t,p).format(f)})}else if(v(h)){(p="string"===typeof h.style?n.number[h.style]:S(h.style)?h.style.parsedOptions:void 0)&&p.scale&&(f*=p.scale||1),s.push({type:Se.literal,value:r.getNumberFormat(t,p).format(f)})}else{if(H(h)){var m=h.children,g=h.value,I=i[g];if(!Le(I))throw new we(g,"function",a);var w=I(Pe(m,t,r,n,i,o).map((function(e){return e.value})));Array.isArray(w)||(w=[w]),s.push.apply(s,w.map((function(e){return{type:"string"===typeof e?Se.literal:Se.object,value:e}})))}if(_(h)){if(!(N=h.options[f]||h.options.other))throw new Ie(h.value,f,Object.keys(h.options),a);s.push.apply(s,Pe(N.value,t,r,n,i))}else if(T(h)){var N;if(!(N=h.options["=".concat(f)])){if(!Intl.PluralRules)throw new Be('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Te.MISSING_INTL_API,a);var L=r.getPluralRules(t,{type:h.pluralType}).select(f-(h.offset||0));N=h.options[L]||h.options.other}if(!N)throw new Ie(h.value,f,Object.keys(h.options),a);s.push.apply(s,Pe(N.value,t,r,n,i,f-(h.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var r=e[e.length-1];return r&&r.type===Se.literal&&t.type===Se.literal?r.value+=t.value:e.push(t),e}),[])}(s)}function Oe(e,t){return t?Object.keys(e).reduce((function(r,n){var i,o;return r[n]=(i=e[n],(o=t[n])?(0,g.__assign)((0,g.__assign)((0,g.__assign)({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=(0,g.__assign)((0,g.__assign)({},i[t]),o[t]||{}),e}),{})):i),r}),(0,g.__assign)({},e)):e}function Me(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Se||(Se={}));var Re=function(){function e(t,r,n,i){var o,a=this;if(void 0===r&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=a.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce((function(e,t){return e.length&&t.type===Se.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 Pe(a.ast,a.locales,a.formatters,a.formats,e,void 0,a.message)},this.resolvedOptions=function(){return{locale:a.resolvedLocale.toString()}},this.getAst=function(){return a.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),"string"===typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null===i||void 0===i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Oe(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ge((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.NumberFormat).bind.apply(e,(0,g.__spreadArray)([void 0],t,!1)))}),{cache:Me(o.number),strategy:He.variadic}),getDateTimeFormat:ge((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.DateTimeFormat).bind.apply(e,(0,g.__spreadArray)([void 0],t,!1)))}),{cache:Me(o.dateTime),strategy:He.variadic}),getPluralRules:ge((function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new((e=Intl.PluralRules).bind.apply(e,(0,g.__spreadArray)([void 0],t,!1)))}),{cache:Me(o.pluralRules),strategy:He.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale}
1,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"===typeof e?e:e[0])},e.__parse=me,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}(),Ce=Re,Ge=r(7294);function Ue(e,t){return e?Object.keys(e).reduce((function(r,i){return r[i]=n({timeZone:t},e[i]),r}),{}):e}function Fe(e){return[e.namespace,e.key].filter((function(e){return null!=e})).join(".")}function De(e){console.error(e)}function ke(e,t,r){if(!e)throw new Error(void 0);var n=e;return t.split(".").forEach((function(e){var t=n[e];if(null==e||null==t)throw new Error(void 0);n=t})),n}function xe(e){var t=e.messages,r=e.namespace,n=e.onError,i=void 0===n?De:n;try{if(!t)throw new Error(void 0);var o=r?ke(t,r):t;if(!o)throw new Error(void 0);return o}catch(s){var a=new m(h.MISSING_MESSAGE,s.message);return i(a),a}}function Ve(e){var t=e.defaultTranslationValues,r=e.formats,i=e.getMessageFallback,o=void 0===i?Fe:i,a=e.locale,s=e.messageFormatCache,u=e.messagesOrError,c=e.namespace,l=e.onError,f=e.timeZone;function p(e,t,r){var n=new m(t,r);return l(n),o({error:n,key:e,namespace:c})}function g(e,i,l){if(u instanceof m)return o({error:u,key:e,namespace:c});var g,d=u;try{g=ke(d,e)}catch(_){return p(e,h.MISSING_MESSAGE,_.message)}var E,v=[a,c,e,String(g)].filter((function(e){return null!=e})).join(".");if(null!=s&&s.has(v))E=s.get(v);else{if("object"===typeof g)return p(e,Array.isArray(g)?h.INVALID_MESSAGE:h.INSUFFICIENT_PATH,undefined);var b=function(e,t){if(!t){var r=e.replace(/'([{}])/gi,"$1");return/<|{/.test(r)?void 0:r}}(g,i);if(b)return b;try{E=new Ce(g,a,function(e,t){var r=t?n({},e,{dateTime:Ue(e.dateTime,t)}):e,i=Ce.formats.date,o=t?Ue(i,t):i,a=Ce.formats.time,s=t?Ue(a,t):a;return n({},r,{date:n({},o,null==r?void 0:r.dateTime),time:n({},s,null==r?void 0:r.dateTime)})}(n({},r,l),f))}catch(_){return p(e,h.INVALID_MESSAGE,_.message)}null==s||s.set(v,E)}try{var y=E.format(function(e){if(0!==Object.keys(e).length){var t={};return Object.keys(e).forEach((function(r){var n,i=0,o=e[r];n="function"===typeof o?function(e){var t=o(e);return(0,Ge.isValidElement)(t)?(0,Ge.cloneElement)(t,{key:r+i++}):t}:o,t[r]=n})),t}}(n({},t,i)));if(null==y)throw new Error(void 0);return(0,Ge.isValidElement)(y)||Array.isArray(y)||"string"===typeof y?y:String(y)}catch(_){return p(e,h.FORMATTING_ERROR,_.message)}}function d(e,t,r){var n=g(e,t,r);return"string"!==typeof n?p(e,h.INVALID_MESSAGE,void 0):n}return d.rich=g,d.raw=function(e){if(u instanceof m)return o({error:u,key:e,namespace:c});var t=u;try{return ke(t,e)}catch(r){return p(e,h.MISSING_MESSAGE,r.message)}},d}function je(e,t){return e===t?void 0:e.slice((t+".").length)}var Xe=["getMessageFallback","messages","namespace","onError"];var Ke=["getMessageFallback","messages","namespace","onError"];function Ze(e){var t=e.getMessageFallback,r=void 0===t?Fe:t,i=e.messages,o=e.namespace,a=e.onError,s=void 0===a?De:a;return function(e,t){var r=e.getMessageFallback,i=e.messages,o=e.namespace,a=e.onError,s=c(e,Xe);i=i[t],o=je(o,t);var u=Ve(n({},s,{onError:a,getMessageFallback:r,messagesOrError:xe({messages:i,namespace:o,onError:a})})),l=u.rich;function f(){return u.apply(void 0,arguments)}return f.rich=function(e,t,n){var i=l(e,t,n);if("string"!==typeof i){var s=new m(h.FORMATTING_ERROR,void 0);return a(s),r({error:s,key:e,namespace:o})}return i},f.raw=u.raw,f}(n({},c(e,Ke),{onError:s,getMessageFallback:r,messages:{"!":i},namespace:o?"!."+o:"!"}),"!")}var qe=3600,Ye=86400,ze=7*Ye,We=2628e3,Je=7884e3,Qe=365*Ye,$e={second:1,seconds:1,minute:60,minutes:60,hour:qe,hours:qe,day:Ye,days:Ye,week:ze,weeks:ze,month:We,months:We,quarter:Je,quarters:Je,year:Qe,years:Qe};function et(e){var t=e.formats,r=e.locale,i=e.now,o=e.onError,a=void 0===o?De:o,s=e.timeZone;function u(e,t,r,n){var i;try{i=function(e,t){var r;if("string"===typeof t){if(!(r=null==e?void 0:e[t])){var n=new m(h.MISSING_FORMAT,void 0);throw a(n),n}}else r=t;return r}(r,t)}catch(o){return String(e)}try{return n(i)}catch(o){return a(new m(h.FORMATTING_ERROR,o.message)),String(e)}}function c(e){return e instanceof Date||"number"===typeof e?new Date(e):void 0!==(null==e?void 0:e.now)?new Date(e.now):i||(a(new m(h.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:function(e,i){return u(e,i,null==t?void 0:t.dateTime,(function(t){var i;return null!=(i=t)&&i.timeZone||(s?t=n({},t,{timeZone:s}):a(new m(h.ENVIRONMENT_FALLBACK,void 0))),new Intl.DateTimeFormat(r,t).format(e)}))},number:function(e,n){return u(e,n,null==t?void 0:t.number,(function(t){return new Intl.NumberFormat(r,t).format(e)}))},relativeTime:function(e,t){try{var n=new Date(e),i=c(t),o=(n.getTime()-i.getTime())/1e3,s="number"===typeof t||t instanceof Date||void 0===(null==t?void 0:t.unit)?function(e){var t=Math.abs(e);return t<60?"second":t<qe?"minute":t<Ye?"hour":t<ze?"day":t<We?"week":t<Qe?"month":"year"}(o):t.unit,u=function(e,t){return Math.round(e/$e[t])}(o,s);return new Intl.RelativeTimeFormat(r,{numeric:"auto"}).format(u,s)}catch(l){return a(new m(h.FORMATTING_ERROR,l.message)),String(e)}},list:function(e,n){return u(e,n,null==t?void 0:t.list,(function(t){return new Intl.ListFormat(r,t).format(e)}))}}}function tt(){var e=et.apply(void 0,arguments);return{formatDateTime:e.dateTime,formatNumber:e.number,formatRelativeTime:e.relativeTime}}var rt=(0,Ge.createContext)(void 0),nt=["getMessageFallback","messages","onError"];function it(e){var t=e.getMessageFallback,r=e.messages,i=e.onError;return n({},c(e,nt),{messages:r,onError:i||De,getMessageFallback:t||Fe})}var ot=["children"];function at(e){var t=e.children,r=c(e,ot),i=(0,Ge.useState)((function(){return new Map}))[0];return Ge.createElement(rt.Provider,{value:n({},it(r),{messageFormatCache:i}
1)},t)}function st(){var e=(0,Ge.useContext)(rt);if(!e)throw new Error(void 0);return e}function ut(e){return function(e,t,r){var n=st(),i=n.defaultTranslationValues,o=n.formats,a=n.getMessageFallback,s=n.locale,u=n.messageFormatCache,c=n.onError,h=n.timeZone;e=e[r],t=je(t,r);var l=(0,Ge.useMemo)((function(){return xe({messages:e,namespace:t,onError:c})}),[e,t,c]);return(0,Ge.useMemo)((function(){return Ve({messageFormatCache:u,getMessageFallback:a,messagesOrError:l,defaultTranslationValues:i,namespace:t,onError:c,formats:o,locale:s,timeZone:h})}),[u,a,l,i,t,c,o,s,h])}({"!":st().messages},e?"!."+e:"!","!")}function ct(){return st().locale}function ht(){return new Date}function lt(e){var t=null==e?void 0:e.updateInterval,r=st().now,n=(0,Ge.useState)(r||ht()),i=n[0],o=n[1];return(0,Ge.useEffect)((function(){if(t){var e=setInterval((function(){o(ht())}),t);return function(){clearInterval(e)}}}),[r,t]),i}function ft(){return st().timeZone}function pt(){return st().messages}function mt(){var e=st(),t=e.formats,r=e.locale,n=e.now,i=e.onError,o=e.timeZone;return(0,Ge.useMemo)((function(){return et({formats:t,locale:r,now:n,onError:i,timeZone:o})}),[t,n,r,i,o])}var gt=!1;function dt(){var e=st(),t=e.formats,r=e.locale,n=e.now,i=e.onError,o=e.timeZone;return gt||(gt=!0,console.warn("`useIntl()` is deprecated and will be removed in the next major version. Please switch to `useFormatter()`.")),(0,Ge.useMemo)((function(){return tt({formats:t,locale:r,now:n,onError:i,timeZone:o})}),[t,n,r,i,o])}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],(function(){return t(1118),t(387)}));var r=e.O();_N_E=r}]);
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.