1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="b02cb5bf-7a69-f52e-cb92-8d6b662f04bd")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63951,t=>{"use strict";var e=t.i(89280),r=t.i(57680),n=t.i(28849),i=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function o(t,r,o,a){var s=t.locale,l=t.formats,h=t.onError,u=t.timeZone;void 0===a&&(a={});var c=a.format,f=(0,e.__assign)((0,e.__assign)({},u&&{timeZone:u}),c&&(0,n.getNamedFormat)(l,r,c,h)),m=(0,n.filterProps)(a,i,f);return"time"!==r||m.hour||m.minute||m.second||m.timeStyle||m.dateStyle||(m=(0,e.__assign)((0,e.__assign)({},m),{hour:"numeric",minute:"numeric"})),o(s,m)}function a(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=n[0],s=n[1],l="string"==typeof a?new Date(a||0):a;try{return o(t,"date",e,void 0===s?{}:s).format(l)}catch(e){t.onError(new r.IntlFormatError("Error formatting date.",t.locale,e))}return String(l)}function s(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=n[0],s=n[1],l="string"==typeof a?new Date(a||0):a;try{return o(t,"time",e,void 0===s?{}:s).format(l)}catch(e){t.onError(new r.IntlFormatError("Error formatting time.",t.locale,e))}return String(l)}function l(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=n[0],s=n[1],l=n[2],h="string"==typeof a?new Date(a||0):a,u="string"==typeof s?new Date(s||0):s;try{return o(t,"dateTimeRange",e,void 0===l?{}:l).formatRange(h,u)}catch(e){t.onError(new r.IntlFormatError("Error formatting date time range.",t.locale,e))}return String(h)}function h(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=n[0],s=n[1],l="string"==typeof a?new Date(a||0):a;try{return o(t,"date",e,void 0===s?{}:s).formatToParts(l)}catch(e){t.onError(new r.IntlFormatError("Error formatting date.",t.locale,e))}return[]}function u(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=n[0],s=n[1],l="string"==typeof a?new Date(a||0):a;try{return o(t,"time",e,void 0===s?{}:s).formatToParts(l)}catch(e){t.onError(new r.IntlFormatError("Error formatting time.",t.locale,e))}return[]}var c=t.i(98581),f=["style","type","fallback","languageDisplay"];function m(t,e,i,o){var a=t.locale,s=t.onError;Intl.DisplayNames||s(new c.FormatError('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',c.ErrorCode.MISSING_INTL_API));var l=(0,n.filterProps)(o,f);try{return e(a,l).of(i)}catch(t){s(new r.IntlFormatError("Error formatting display name.",a,t))}}var p=["type","style"],g=Date.now();function E(t,e,r,n){void 0===n&&(n={});var i=d(t,e,r,n).reduce(function(t,e){var r=e.value;return"string"!=typeof r?t.push(r):"string"==typeof t[t.length-1]?t[t.length-1]+=r:t.push(r),t},[]);return 1===i.length?i[0]:0===i.length?"":i}function d(t,i,o,a){var s=t.locale,l=t.onError;void 0===a&&(a={}),Intl.ListFormat||l(new c.FormatError('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',c.ErrorCode.MISSING_INTL_API));var h=(0,n.filterProps)(a,p);try{var u={},f=Array.from(o).map(function(t,e){if("object"==typeof t&&null!==t){var r="".concat(g,"_").concat(e,"_").concat(g);return u[r]=t,r}return String(t)});return i(s,h).formatToParts(f).map(function(t){return"literal"===t.type?t:(0,e.__assign)((0,e.__assign)({},t),{value:u[t.value]||t.value})})}catch(t){l(new r.IntlFormatError("Error formatting list.",s,t))}return o}t.i(1607);var y=t.i(35658),b=t.i(51928);function v(t,r){return Object.keys(t).reduce(function(n,i){return n[i]=(0,e.__assign)({timeZone:r},t[i]),n},{})}function T(t,r){return Object.keys((0,e.__assign)((0,e.__assign)({},t),r)).reduce(function(n,i){return n[i]=(0,e.__assign)((0,e.__assign)({},t[i]||{}),r[i]||{}),n},{})}function _(t,r){if(!r)return t;var n=b.IntlMessageFormat.formats;return(0,e.__assign)((0,e.__assign)((0,e.__assign)({},n),t),{date:T(v(n.date,r),v(t.date||{},r)),time:T(v(n.time,r),v(t.time||{},r))})}var H=function(t,i,o,a,s){var l=t.locale,h=t.formats,u=t.messages,c=t.defaultLocale,f=t.defaultFormats,m=t.fallbackOnEmptyString,p=t.onError,g=t.timeZone,E=t.defaultRichTextElements;void 0===o&&(o={id:""});var d=o.id,b=o.defaultMessage;(0,n.invariant)(!!d,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");var v=String(d),T=u&&Object.prototype.hasOwnProperty.call(u,v)&&u[v];if(Array.isArray(T)&&1===T.length&&T[0].type===y.TYPE.literal)return T[0].value;if(!a&&T&&"string"==typeof T&&!E)return T.replace(/'\{(.*?)\}'/gi,"{$1}");if(a=(0,e.__assign)((0,e.__assign)({},E),a||{}),h=_(h,g),f=_(f,g),!T){if(!1===m&&""===T)return T;if((!b||l&&l.toLowerCase()!==c.toLowerCase())&&p(new r.MissingTranslationError(o,l)),b)try{var H=i.getMessageFormat(b,c,f,s);return H.format(a)}catch(t){return p(new r.MessageFormatError('Error formatting default message for: "'.concat(v,'", rendering default message verbatim'),l,o,t)),"string"==typeof b?b:v}return v}try{var H=i.getMessageFormat(T,l,h,(0,e.__assign)({formatters:i},s||{}));return H.format(a)}catch(t){p(new r.MessageFormatError('Error formatting message: "'.concat(v,'", using ').concat(b?"default message":"id"," as fallback."),l,o,t))}if(b)try{var H=i.getMessageFormat(b,c,f,s);return H.format(a)}catch(t){p(new r.MessageFormatError('Error formatting the default message for: "'.concat(v,'", rendering message verbatim'),l,o,t))}return"string"==typeof T?T:"string"==typeof b?b:v},S=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function I(t,e,r){var i=t.locale,o=t.formats,a=t.onError;void 0===r&&(r={});var s=r.format,l=s&&(0,n.getNamedFormat)(o,"number",s,a)||{};return e(i,(0,n.filterProps)(r,S,l))}function A(t,e,n,i){void 0===i&&(i={});try{return I(t,e,i).format(n)}catch(e){t.onError(new r.IntlFormatError("Error formatting number.",t.locale,e))}return String(n)}function P(t,e,n,i){void 0===i&&(i={});try{return I(t,e,i).formatToParts(n)}catch(e){t.onError(new r.IntlFormatError("Error formatting number.",t.locale,e))}return[]}var B=["type"];function N(t,e,i,o){var a=t.locale,s=t.onError;void 0===o&&(o={}),Intl.PluralRules||s(new c.FormatError('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',c.ErrorCode.MISSING_INTL_API));var l=(0,n.filterProps)(o,B);try{return e(a,l).select(i)}catch(t){s(new r.IntlFormatError("Error formatting plural.",a,t))}return"other"}var L=["numeric","style"];function R(t,e,i,o,a){void 0===a&&(a={}),o||(o="second"),Intl.RelativeTimeFormat||t.onError(new c.FormatError('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',c.ErrorCode.MISSING_INTL_API));try{var s,l,h,u,f,m;return(s=a,l=t.locale,h=t.formats,u=t.onError,void 0===s&&(s={}),m=!!(f=s.format)&&(0,n.getNamedFormat)(h,"relative",f,u)||{},e(l,(0,n.filterProps)(s,L,m))).format(i,o)}catch(e){t.onError(new r.IntlFormatError("Error formatting relative time.",t.locale,e))}return String(i)}
2var C=t.i(17169),M=t.i(60136);function O(t){return t?Object.keys(t).reduce(function(e,r){var n=t[r];return e[r]=(0,C.isFormatXMLElementFn)(n)?(0,M.assignUniqueKeysToParts)(n):n,e},{}):t}var F=function(t,r,n,i){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var s=O(i),l=H.apply(void 0,(0,e.__spreadArray)([t,r,n,s],o,!1));return Array.isArray(l)?(0,M.toKeyedReactNodeArray)(l):l};t.s(["createIntl",0,function(t,i){var o,c,f,p,g,y,b,v=t.defaultRichTextElements,T=(0,e.__rest)(t,["defaultRichTextElements"]),_=O(v),S=(o=(0,e.__assign)((0,e.__assign)((0,e.__assign)({},M.DEFAULT_INTL_CONFIG),T),{defaultRichTextElements:_}),c=(0,n.createFormatters)(i),p=(f=(0,e.__assign)((0,e.__assign)({},n.DEFAULT_INTL_CONFIG),o)).locale,g=f.defaultLocale,y=f.onError,p?!Intl.NumberFormat.supportedLocalesOf(p).length&&y?y(new r.MissingDataError('Missing locale data for locale: "'.concat(p,'" in Intl.NumberFormat. Using default locale: "').concat(g,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(p).length&&y&&y(new r.MissingDataError('Missing locale data for locale: "'.concat(p,'" in Intl.DateTimeFormat. Using default locale: "').concat(g,'" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))):(y&&y(new r.InvalidConfigError('"locale" was not configured, using "'.concat(g,'" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))),f.locale=f.defaultLocale||"en"),f.onWarn&&f.defaultRichTextElements&&"string"==typeof(b=f.messages||{})[Object.keys(b)[0]]&&f.onWarn('[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. \nPlease consider using "@formatjs/cli" to pre-compile your messages for performance.\nFor more details see https://formatjs.github.io/docs/getting-started/message-distribution'),(0,e.__assign)((0,e.__assign)({},f),{formatters:c,formatNumber:A.bind(null,f,c.getNumberFormat),formatNumberToParts:P.bind(null,f,c.getNumberFormat),formatRelativeTime:R.bind(null,f,c.getRelativeTimeFormat),formatDate:a.bind(null,f,c.getDateTimeFormat),formatDateToParts:h.bind(null,f,c.getDateTimeFormat),formatTime:s.bind(null,f,c.getDateTimeFormat),formatDateTimeRange:l.bind(null,f,c.getDateTimeFormat),formatTimeToParts:u.bind(null,f,c.getDateTimeFormat),formatPlural:N.bind(null,f,c.getPluralRules),formatMessage:H.bind(null,f,c),$t:H.bind(null,f,c),formatList:E.bind(null,f,c.getListFormat),formatListToParts:d.bind(null,f,c.getListFormat),formatDisplayName:m.bind(null,f,c.getDisplayNames)})),I={locale:S.locale,timeZone:S.timeZone,fallbackOnEmptyString:S.fallbackOnEmptyString,formats:S.formats,defaultLocale:S.defaultLocale,defaultFormats:S.defaultFormats,messages:S.messages,onError:S.onError,defaultRichTextElements:_};return(0,e.__assign)((0,e.__assign)({},S),{formatMessage:F.bind(null,I,S.formatters),$t:F.bind(null,I,S.formatters)})}],63951)},90363,t=>{"use strict";var e=t.i(91788),r=t.i(60136),n=t.i(6482);t.s(["default",0,function(){var t=e.useContext(n.Context);return(0,r.invariantIntlContext)(t),t}])},7705,(t,e,r)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,i=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,h=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,m=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.suspense_list"):60120,E=n?Symbol.for("react.memo"):60115,d=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118,T=n?Symbol.for("react.scope"):60119;function _(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case c:case f:case a:case l:case s:case p:return t;default:switch(t=t&&t.$$typeof){case u:case m:case d:case E:case h:return t;default:return e}}case o:return e}}}function H(t){return _(t)===f}r.AsyncMode=c,r.ConcurrentMode=f,r.ContextConsumer=u,r.ContextProvider=h,r.Element=i,r.ForwardRef=m,r.Fragment=a,r.Lazy=d,r.Memo=E,r.Portal=o,r.Profiler=l,r.StrictMode=s,r.Suspense=p,r.isAsyncMode=function(t){return H(t)||_(t)===c},r.isConcurrentMode=H,r.isContextConsumer=function(t){return _(t)===u},r.isContextProvider=function(t){return _(t)===h},r.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},r.isForwardRef=function(t){return _(t)===m},r.isFragment=function(t){return _(t)===a},r.isLazy=function(t){return _(t)===d},r.isMemo=function(t){return _(t)===E},r.isPortal=function(t){return _(t)===o},r.isProfiler=function(t){return _(t)===l},r.isStrictMode=function(t){return _(t)===s},r.isSuspense=function(t){return _(t)===p},r.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===f||t===l||t===s||t===p||t===g||"object"==typeof t&&null!==t&&(t.$$typeof===d||t.$$typeof===E||t.$$typeof===h||t.$$typeof===u||t.$$typeof===m||t.$$typeof===b||t.$$typeof===v||t.$$typeof===T||t.$$typeof===y)},r.typeOf=_},67875,(t,e,r)=>{"use strict";e.exports=t.r(7705)},34980,(t,e,r)=>{"use strict";var n=t.r(67875),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return n.isMemo(t)?a:s[t.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var h=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,p=Object.prototype;e.exports=function t(e,r,n){if("string"!=typeof r){if(p){var i=m(r);i&&i!==p&&t(e,i,n)}var a=u(r);c&&(a=a.concat(c(r)));for(var s=l(e),g=l(r),E=0;E<a.length;++E){var d=a[E];if(!o[d]&&!(n&&n[d])&&!(g&&g[d])&&!(s&&s[d])){var y=f(r,d);try{h(e,d,y)}catch(t){}}}}return e}},6482,t=>{"use strict";t.i(89280),t.i(34980);var e=t.i(91788);t.i(60136);var r="u"<typeof window||window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?e.createContext(null):window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=e.createContext(null));r.Consumer;var n=r.Provider;t.s(["Context",0,r,"Provider",0,n])},89280,35658,1607,98581,17169,51928,57680,28849,60136,t=>{"use strict";var e,r,n,i,o,a,s,l,h,u,c,f,m,p,g=function(t,e){return(g=Object.setPrototypeOf||({__proto__:[]}
2)instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)};function E(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}g(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var d=function(){return(d=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function y(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&0>e.indexOf(n)&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)0>e.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function b(t,e,r){if(r||2==arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError,t.s(["__assign",()=>d,"__extends",0,E,"__rest",0,y,"__spreadArray",0,b],89280);var v=t.i(91788);function T(t,e){var r=e&&e.cache?e.cache:A,n=e&&e.serializer?e.serializer:S;return(e&&e.strategy?e.strategy:function(t,e){var r,n,i=1===t.length?_:H;return r=e.cache.create(),n=e.serializer,i.bind(this,t,r,n)})(t,{cache:r,serializer:n})}function _(t,e,r,n){var i=null==n||"number"==typeof n||"boolean"==typeof n?n:r(n),o=e.get(i);return void 0===o&&(o=t.call(this,n),e.set(i,o)),o}function H(t,e,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=e.get(i);return void 0===o&&(o=t.apply(this,n),e.set(i,o)),o}var S=function(){return JSON.stringify(arguments)},I=function(){function t(){this.cache=Object.create(null)}return t.prototype.get=function(t){return this.cache[t]},t.prototype.set=function(t,e){this.cache[t]=e},t}(),A={create:function(){return new I}},P={variadic:function(t,e){var r,n;return r=e.cache.create(),n=e.serializer,H.bind(this,t,r,n)},monadic:function(t,e){var r,n;return r=e.cache.create(),n=e.serializer,_.bind(this,t,r,n)}};function B(t){return t.type===l.literal}function N(t){return t.type===l.argument}function L(t){return t.type===l.number}function R(t){return t.type===l.date}function C(t){return t.type===l.time}function M(t){return t.type===l.select}function O(t){return t.type===l.plural}function F(t){return t.type===l.pound}function D(t){return t.type===l.tag}function w(t){return!!(t&&"object"==typeof t&&t.type===h.number)}function U(t){return!!(t&&"object"==typeof t&&t.type===h.dateTime)}(e=s||(s={}))[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG",(r=l||(l={}))[r.literal=0]="literal",r[r.argument=1]="argument",r[r.number=2]="number",r[r.date=3]="date",r[r.time=4]="time",r[r.select=5]="select",r[r.plural=6]="plural",r[r.pound=7]="pound",r[r.tag=8]="tag",(n=h||(h={}))[n.number=0]="number",n[n.dateTime=1]="dateTime",t.s(["SKELETON_TYPE",0,h,"TYPE",0,l,"isArgumentElement",0,N,"isDateElement",0,R,"isDateTimeSkeleton",0,U,"isLiteralElement",0,B,"isNumberElement",0,L,"isNumberSkeleton",0,w,"isPluralElement",0,O,"isPoundElement",0,F,"isSelectElement",0,M,"isTagElement",0,D,"isTimeElement",0,C],35658);var G=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,k=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,x=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,j=/^(@+)?(\+|#+)?[rs]?$/g,V=/(\*)(0+)|(#+)(0+)|(0+)/g,X=/^(0+)$/;function K(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(j,function(t,r,n){return"string"!=typeof n?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===n?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof n?n.length:0)),""}),e}function Z(t){switch(t){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 $(t){var e=Z(t);return e||{}}var Y=/(?:[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,W={"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
2:["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"]},z=new RegExp("^".concat(G.source,"*")),q=new RegExp("".concat(G.source,"*$"));function J(t,e){return{start:t,end:e}}var Q=!!String.prototype.startsWith&&"_a".startsWith("a",1),tt=!!String.fromCodePoint,te=!!Object.fromEntries,tr=!!String.prototype.codePointAt,tn=!!String.prototype.trimStart,ti=!!String.prototype.trimEnd,to=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&0x1fffffffffffff>=Math.abs(t)},ta=!0;try{ta=(null==(u=tm("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))?void 0:u[0])==="a"}catch(t){ta=!1}
2var ts=Q?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},tl=tt?String.fromCodePoint:function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];for(var n="",i=e.length,o=0;i>o;){if((t=e[o++])>1114111)throw RangeError(t+" is not a valid code point");n+=t<65536?String.fromCharCode(t):String.fromCharCode(((t-=65536)>>10)+55296,t%1024+56320)}return n},th=te?Object.fromEntries:function(t){for(var e={},r=0;r<t.length;r++){var n=t[r],i=n[0],o=n[1];e[i]=o}return e},tu=tr?function(t,e){return t.codePointAt(e)}:function(t,e){var r,n=t.length;if(!(e<0)&&!(e>=n)){var i=t.charCodeAt(e);return i<55296||i>56319||e+1===n||(r=t.charCodeAt(e+1))<56320||r>57343?i:(i-55296<<10)+(r-56320)+65536}},tc=tn?function(t){return t.trimStart()}:function(t){return t.replace(z,"")},tf=ti?function(t){return t.trimEnd()}:function(t){return t.replace(q,"")};function tm(t,e){return new RegExp(t,e)}if(ta){var tp=tm("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");c=function(t,e){var r;return tp.lastIndex=e,null!=(r=tp.exec(t)[1])?r:""}}else c=function(t,e){for(var r=[];;){var n,i=tu(t,e);if(void 0===i||td(i)||(n=i)>=33&&n<=35||36===n||n>=37&&n<=39||40===n||41===n||42===n||43===n||44===n||45===n||n>=46&&n<=47||n>=58&&n<=59||n>=60&&n<=62||n>=63&&n<=64||91===n||92===n||93===n||94===n||96===n||123===n||124===n||125===n||126===n||161===n||n>=162&&n<=165||166===n||167===n||169===n||171===n||172===n||174===n||176===n||177===n||182===n||187===n||191===n||215===n||247===n||n>=8208&&n<=8213||n>=8214&&n<=8215||8216===n||8217===n||8218===n||n>=8219&&n<=8220||8221===n||8222===n||8223===n||n>=8224&&n<=8231||n>=8240&&n<=8248||8249===n||8250===n||n>=8251&&n<=8254||n>=8257&&n<=8259||8260===n||8261===n||8262===n||n>=8263&&n<=8273||8274===n||8275===n||n>=8277&&n<=8286||n>=8592&&n<=8596||n>=8597&&n<=8601||n>=8602&&n<=8603||n>=8604&&n<=8607||8608===n||n>=8609&&n<=8610||8611===n||n>=8612&&n<=8613||8614===n||n>=8615&&n<=8621||8622===n||n>=8623&&n<=8653||n>=8654&&n<=8655||n>=8656&&n<=8657||8658===n||8659===n||8660===n||n>=8661&&n<=8691||n>=8692&&n<=8959||n>=8960&&n<=8967||8968===n||8969===n||8970===n||8971===n||n>=8972&&n<=8991||n>=8992&&n<=8993||n>=8994&&n<=9e3||9001===n||9002===n||n>=9003&&n<=9083||9084===n||n>=9085&&n<=9114||n>=9115&&n<=9139||n>=9140&&n<=9179||n>=9180&&n<=9185||n>=9186&&n<=9254||n>=9255&&n<=9279||n>=9280&&n<=9290||n>=9291&&n<=9311||n>=9472&&n<=9654||9655===n||n>=9656&&n<=9664||9665===n||n>=9666&&n<=9719||n>=9720&&n<=9727||n>=9728&&n<=9838||9839===n||n>=9840&&n<=10087||10088===n||10089===n||10090===n||10091===n||10092===n||10093===n||10094===n||10095===n||10096===n||10097===n||10098===n||10099===n||10100===n||10101===n||n>=10132&&n<=10175||n>=10176&&n<=10180||10181===n||10182===n||n>=10183&&n<=10213||10214===n||10215===n||10216===n||10217===n||10218===n||10219===n||10220===n||10221===n||10222===n||10223===n||n>=10224&&n<=10239||n>=10240&&n<=10495||n>=10496&&n<=10626||10627===n||10628===n||10629===n||10630===n||10631===n||10632===n||10633===n||10634===n||10635===n||10636===n||10637===n||10638===n||10639===n||10640===n||10641===n||10642===n||10643===n||10644===n||10645===n||10646===n||10647===n||10648===n||n>=10649&&n<=10711||10712===n||10713===n||10714===n||10715===n||n>=10716&&n<=10747||10748===n||10749===n||n>=10750&&n<=11007||n>=11008&&n<=11055||n>=11056&&n<=11076||n>=11077&&n<=11078||n>=11079&&n<=11084||n>=11085&&n<=11123||n>=11124&&n<=11125||n>=11126&&n<=11157||11158===n||n>=11159&&n<=11263||n>=11776&&n<=11777||11778===n||11779===n||11780===n||11781===n||n>=11782&&n<=11784||11785===n||11786===n||11787===n||11788===n||11789===n||n>=11790&&n<=11798||11799===n||n>=11800&&n<=11801||11802===n||11803===n||11804===n||11805===n||n>=11806&&n<=11807||11808===n||11809===n||11810===n||11811===n||11812===n||11813===n||11814===n||11815===n||11816===n||11817===n||n>=11818&&n<=11822||11823===n||n>=11824&&n<=11833||n>=11834&&n<=11835||n>=11836&&n<=11839||11840===n||11841===n||11842===n||n>=11843&&n<=11855||n>=11856&&n<=11857||11858===n||n>=11859&&n<=11903||n>=12289&&n<=12291||12296===n||12297===n||12298===n||12299===n||12300===n||12301===n||12302===n||12303===n||12304===n||12305===n||n>=12306&&n<=12307||12308===n||12309===n||12310===n||12311===n||12312===n||12313===n||12314===n||12315===n||12316===n||12317===n||n>=12318&&n<=12319||12320===n||12336===n||64830===n||64831===n||n>=65093&&n<=65094)break;r.push(i),e+=i>=65536?2:1}return tl.apply(void 0,r)};var tg=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var n=[];!this.isEOF();){var i=this.char();if(123===i){var o=this.parseArgument(t,r);
2if(o.err)return o;n.push(o.val)}else if(125===i&&t>0)break;else if(35===i&&("plural"===e||"selectordinal"===e)){var a=this.clonePosition();this.bump(),n.push({type:l.pound,location:J(a,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek())if(60===i&&!this.ignoreTag&&tE(this.peek()||0)){var o=this.parseTag(t,e);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(t,e);if(o.err)return o;n.push(o.val)}else if(!r)return this.error(s.UNMATCHED_CLOSING_TAG,J(this.clonePosition(),this.clonePosition()));else break}return{val:n,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:l.literal,value:"<".concat(n,"/>"),location:J(r,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(s.INVALID_TAG,J(r,this.clonePosition()));var i=this.parseMessage(t+1,e,!0);if(i.err)return i;var o=i.val,a=this.clonePosition();if(!this.bumpIf("</"))return this.error(s.UNCLOSED_TAG,J(r,this.clonePosition()));if(this.isEOF()||!tE(this.char()))return this.error(s.INVALID_TAG,J(a,this.clonePosition()));var h=this.clonePosition();return n!==this.parseTagName()?this.error(s.UNMATCHED_CLOSING_TAG,J(h,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:l.tag,value:n,children:o,location:J(r,this.clonePosition())},err:null}:this.error(s.INVALID_TAG,J(a,this.clonePosition()))},t.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),n="";;){var i=this.tryParseQuote(e);if(i){n+=i;continue}var o=this.tryParseUnquoted(t,e);if(o){n+=o;continue}var a=this.tryParseLeftAngleBracket();if(a){n+=a;continue}break}var s=J(r,this.clonePosition());return{val:{type:l.literal,value:n,location:s},err:null}},t.prototype.tryParseLeftAngleBracket=function(){var t;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(tE(t=this.peek()||0)||47===t)?null:(this.bump(),"<")},t.prototype.tryParseQuote=function(t){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"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r)if(39===this.peek())e.push(39),this.bump();else{this.bump();break}else e.push(r);this.bump()}return tl.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),tl(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(s.EMPTY_ARGUMENT,J(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(s.MALFORMED_ARGUMENT,J(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:l.argument,value:n,location:J(r,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,J(r,this.clonePosition()));return this.parseArgumentOptions(t,e,n,r);default:return this.error(s.MALFORMED_ARGUMENT,J(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=c(this.message,e),n=e+r.length;return this.bumpTo(n),{value:r,location:J(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,n){var i,o=this.clonePosition(),a=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(a){case"":return this.error(s.EXPECT_ARGUMENT_TYPE,J(o,u));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var p=tf(m.val);if(0===p.length)return this.error(s.EXPECT_ARGUMENT_STYLE,J(this.clonePosition(),this.clonePosition()));c={style:p,styleLocation:J(f,this.clonePosition())}}var g=this.tryParseArgumentClose(n);if(g.err)return g;var E=J(n,this.clonePosition());if(c&&ts(null==c?void 0:c.style,"::",0)){var y=tc(c.style.slice(2));
2if("number"===a){var m=this.parseNumberSkeletonFromString(y,c.styleLocation);if(m.err)return m;return{val:{type:l.number,value:r,location:E,style:m.val},err:null}}if(0===y.length)return this.error(s.EXPECT_DATE_TIME_SKELETON,E);var b,v=y;this.locale&&(v=function(t,e){for(var r="",n=0;n<t.length;n++){var i=t.charAt(n);if("j"===i){for(var o=0;n+1<t.length&&t.charAt(n+1)===i;)o++,n++;var a=1+(1&o),s=o<2?1:3+(o>>1),l=function(t){var e,r=t.hourCycle;if(void 0===r&&t.hourCycles&&t.hourCycles.length&&(r=t.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=t.language;return"root"!==n&&(e=t.maximize().region),(W[e||""]||W[n||""]||W["".concat(n,"-001")]||W["001"])[0]}(e);for(("H"==l||"k"==l)&&(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else"J"===i?r+="H":r+=i}return r}(y,this.locale));var p={type:h.dateTime,pattern:v,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?(b={},v.replace(Y,function(t){var e=t.length;switch(t[0]){case"G":b.era=4===e?"long":5===e?"narrow":"short";break;case"y":b.year=2===e?"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":b.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":b.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":b.weekday=4===e?"long":5===e?"narrow":"short";break;case"e":if(e<4)throw RangeError("`e..eee` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][e-4];break;case"c":if(e<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");b.weekday=["short","long","narrow","short"][e-4];break;case"a":b.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":b.hourCycle="h12",b.hour=["numeric","2-digit"][e-1];break;case"H":b.hourCycle="h23",b.hour=["numeric","2-digit"][e-1];break;case"K":b.hourCycle="h11",b.hour=["numeric","2-digit"][e-1];break;case"k":b.hourCycle="h24",b.hour=["numeric","2-digit"][e-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":b.minute=["numeric","2-digit"][e-1];break;case"s":b.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":b.timeZoneName=e<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""}),b):{}};return{val:{type:"date"===a?l.date:l.time,value:r,location:E,style:p},err:null}}return{val:{type:"number"===a?l.number:"date"===a?l.date:l.time,value:r,location:E,style:null!=(i=null==c?void 0:c.style)?i:null},err:null};case"plural":case"selectordinal":case"select":var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(s.EXPECT_SELECT_ARGUMENT_OPTIONS,J(T,d({},T)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),H=0;if("select"!==a&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(s.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(s.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,s.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),_=this.parseIdentifierIfPossible(),H=m.val}var S=this.tryParsePluralOrSelectOptions(t,a,e,_);if(S.err)return S;var g=this.tryParseArgumentClose(n);if(g.err)return g;var I=J(n,this.clonePosition());if("select"===a)return{val:{type:l.select,value:r,options:th(S.val),location:I},err:null};return{val:{type:l.plural,value:r,options:th(S.val),offset:H,pluralType:"plural"===a?"cardinal":"ordinal",location:I},err:null};default:return this.error(s.INVALID_ARGUMENT_TYPE,J(o,u))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(s.EXPECT_ARGUMENT_CLOSING_BRACE,J(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(s.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,J(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw Error("Number skeleton cannot be empty");for(var e=t.split(k).filter(function(t){return t.length>0}),r=[],n=0;n<e.length;n++){var i=e[n].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var o=i[0],a=i.slice(1),s=0;s<a.length;s++)if(0===a[s].length)throw Error("Invalid number skeleton");r.push({stem:o,options:a})}return r}(t)}
2catch(t){return this.error(s.INVALID_NUMBER_SKELETON,e)}return{val:{type:h.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?function(t){for(var e={},r=0;r<t.length;r++){var n=t[r];switch(n.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=n.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=n.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e=d(d(d({},e),{notation:"scientific"}),n.options.reduce(function(t,e){return d(d({},t),$(e))},{}));continue;case"engineering":e=d(d(d({},e),{notation:"engineering"}),n.options.reduce(function(t,e){return d(d({},t),$(e))},{}));continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.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(V,function(t,r,n,i,o,a){if(r)e.minimumIntegerDigits=n.length;else if(i&&o)throw Error("We currently do not support maximum integer digits");else if(a)throw Error("We currently do not support exact integer digits");return""});continue}if(X.test(n.stem)){e.minimumIntegerDigits=n.stem.length;continue}if(x.test(n.stem)){if(n.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(x,function(t,r,n,i,o,a){return"*"===n?e.minimumFractionDigits=r.length:i&&"#"===i[0]?e.maximumFractionDigits=i.length:o&&a?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+a.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""});var i=n.options[0];"w"===i?e=d(d({},e),{trailingZeroDisplay:"stripIfInteger"}):i&&(e=d(d({},e),K(i)));continue}if(j.test(n.stem)){e=d(d({},e),K(n.stem));continue}var o=Z(n.stem);o&&(e=d(d({},e),o));var a=function(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!X.test(t))throw Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(n.stem);a&&(e=d(d({},e),a))}return e}(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,n){for(var i,o=!1,a=[],l=new Set,h=n.value,u=n.location;;){if(0===h.length){var c=this.clonePosition();if("select"!==e&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(s.EXPECT_PLURAL_ARGUMENT_SELECTOR,s.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=J(c,this.clonePosition()),h=this.message.slice(c.offset,this.offset())}else break}if(l.has(h))return this.error("select"===e?s.DUPLICATE_SELECT_ARGUMENT_SELECTOR:s.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===h&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?s.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:s.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,J(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,e,r);if(p.err)return p;var g=this.tryParseArgumentClose(m);if(g.err)return g;a.push([h,{value:p.val,location:J(m,this.clonePosition())}]),l.add(h),this.bumpSpace(),h=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===a.length?this.error("select"===e?s.EXPECT_SELECT_ARGUMENT_SELECTOR:s.EXPECT_PLURAL_ARGUMENT_SELECTOR,J(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(s.MISSING_OTHER_CLAUSE,J(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var i=!1,o=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)i=!0,o=10*o+(a-48),this.bump();else break}var s=J(n,this.clonePosition());return i?to(o*=r)?{val:o,err:null}:this.error(e,s):this.error(t,s)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=tu(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(ts(this.message,t,this.offset())){for(var e=0;e<t.length;e++)this.bump();return!0}return!1},t.prototype.bumpUntil=function(t){var e=this.offset(),r=this.message.indexOf(t,e);return r>=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;
2if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&td(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function tE(t){return t>=97&&t<=122||t>=65&&t<=90}function td(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function ty(t,e){void 0===e&&(e={});var r=new tg(t,e=d({shouldParseSkeletons:!0,requiresOtherClause:!0},e)).parse();if(r.err){var n=SyntaxError(s[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==e?void 0:e.captureLocation)||function t(e){e.forEach(function(e){if(delete e.location,M(e)||O(e))for(var r in e.options)delete e.options[r].location,t(e.options[r].value);else L(e)&&w(e.style)||(R(e)||C(e))&&U(e.style)?delete e.style.location:D(e)&&t(e.children)})}(r.val),r.val}t.s(["parse",0,ty],1607),(i=f||(f={})).MISSING_VALUE="MISSING_VALUE",i.INVALID_VALUE="INVALID_VALUE",i.MISSING_INTL_API="MISSING_INTL_API";var tb=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.code=r,i.originalMessage=n,i}return E(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),tv=function(t){function e(e,r,n,i){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),f.INVALID_VALUE,i)||this}return E(e,t),e}(tb),tT=function(t){function e(e,r,n){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),f.INVALID_VALUE,n)||this}return E(e,t),e}(tb),t_=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),f.MISSING_VALUE,r)||this}return E(e,t),e}(tb);function tH(t){return"function"==typeof t}function tS(t,e,r,n,i,o,a){if(1===t.length&&B(t[0]))return[{type:m.literal,value:t[0].value}];for(var s=[],l=0;l<t.length;l++){var h=t[l];if(B(h)){s.push({type:m.literal,value:h.value});continue}if(F(h)){"number"==typeof o&&s.push({type:m.literal,value:r.getNumberFormat(e).format(o)});continue}var u=h.value;if(!(i&&u in i))throw new t_(u,a);var c=i[u];if(N(h)){c&&"string"!=typeof c&&"number"!=typeof c||(c="string"==typeof c||"number"==typeof c?String(c):""),s.push({type:"string"==typeof c?m.literal:m.object,value:c});continue}if(R(h)){var p="string"==typeof h.style?n.date[h.style]:U(h.style)?h.style.parsedOptions:void 0;s.push({type:m.literal,value:r.getDateTimeFormat(e,p).format(c)});continue}if(C(h)){var p="string"==typeof h.style?n.time[h.style]:U(h.style)?h.style.parsedOptions:n.time.medium;s.push({type:m.literal,value:r.getDateTimeFormat(e,p).format(c)});continue}if(L(h)){var p="string"==typeof h.style?n.number[h.style]:w(h.style)?h.style.parsedOptions:void 0;p&&p.scale&&(c*=p.scale||1),s.push({type:m.literal,value:r.getNumberFormat(e,p).format(c)});continue}if(D(h)){var g=h.children,E=h.value,d=i[E];if(!tH(d))throw new tT(E,"function",a);var y=d(tS(g,e,r,n,i,o).map(function(t){return t.value}));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map(function(t){return{type:"string"==typeof t?m.literal:m.object,value:t}}))}if(M(h)){var b=h.options[c]||h.options.other;if(!b)throw new tv(h.value,c,Object.keys(h.options),a);s.push.apply(s,tS(b.value,e,r,n,i));continue}if(O(h)){var b=h.options["=".concat(c)];if(!b){if(!Intl.PluralRules)throw new tb('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',f.MISSING_INTL_API,a);var v=r.getPluralRules(e,{type:h.pluralType}).select(c-(h.offset||0));b=h.options[v]||h.options.other}if(!b)throw new tv(h.value,c,Object.keys(h.options),a);s.push.apply(s,tS(b.value,e,r,n,i,c-(h.offset||0)));continue}}return s.length<2?s:s.reduce(function(t,e){var r=t[t.length-1];return r&&r.type===m.literal&&e.type===m.literal?r.value+=e.value:t.push(e),t},[])}function tI(t){return{create:function(){return{get:function(e){return t[e]}
2,set:function(e,r){t[e]=r}}}}}t.s(["ErrorCode",0,f,"FormatError",0,tb,"InvalidValueError",0,tv,"InvalidValueTypeError",0,tT,"MissingValueError",0,t_],98581),(o=m||(m={}))[o.literal=0]="literal",o[o.object=1]="object",t.s(["PART_TYPE",0,m,"formatToParts",0,tS,"isFormatXMLElementFn",0,tH],17169);var tA=function(){function t(e,r,n,i){void 0===r&&(r=t.defaultLocale);var o,a,s=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=s.formatToParts(t);if(1===e.length)return e[0].value;var r=e.reduce(function(t,e){return t.length&&e.type===m.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return tS(s.ast,s.locales,s.formatters,s.formats,t,void 0,s.message)},this.resolvedOptions=function(){var t;return{locale:(null==(t=s.resolvedLocale)?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(this.message=e,!t.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var l=i||{},h=(l.formatters,y(l,["formatters"]));this.ast=t.__parse(e,d(d({},h),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(o=t.formats,n?Object.keys(o).reduce(function(t,e){var r,i;return t[e]=(r=o[e],(i=n[e])?d(d(d({},r||{}),i||{}),Object.keys(r).reduce(function(t,e){return t[e]=d(d({},r[e]),i[e]||{}),t},{})):r),t},d({},o)):o),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:T(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,b([void 0],e,!1)))},{cache:tI(a.number),strategy:P.variadic}),getDateTimeFormat:T(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,b([void 0],e,!1)))},{cache:tI(a.dateTime),strategy:P.variadic}),getPluralRules:T(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,b([void 0],e,!1)))},{cache:tI(a.pluralRules),strategy:P.variadic})})}return Object.defineProperty(t,"defaultLocale",{get:function(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale},enumerable:!1,configurable:!0}),t.memoizedDefaultLocale=null,t.resolveLocale=function(t){if(void 0!==Intl.Locale){var e=Intl.NumberFormat.supportedLocalesOf(t);return new Intl.Locale(e.length>0?e[0]:"string"==typeof t?t:t[0])}},t.__parse=ty,t.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"}}},t}();t.s(["IntlMessageFormat",0,tA],51928),(a=p||(p={})).FORMAT_ERROR="FORMAT_ERROR",a.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",a.INVALID_CONFIG="INVALID_CONFIG",a.MISSING_DATA="MISSING_DATA",a.MISSING_TRANSLATION="MISSING_TRANSLATION";var tP=function(t){function e(r,n,i){var o=this,a=i?i instanceof Error?i:Error(String(i)):void 0;return(o=t.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,e),o}return E(e,t),e}(Error),tB=function(t){function e(e,r){return t.call(this,p.UNSUPPORTED_FORMATTER,e,r)||this}return E(e,t),e}(tP),tN=function(t){function e(e,r){return t.call(this,p.INVALID_CONFIG,e,r)||this}return E(e,t),e}(tP),tL=function(t){function e(e,r){return t.call(this,p.MISSING_DATA,e,r)||this}return E(e,t),e}(tP),tR=function(t){function e(e,r,n){var i=t.call(this,p.FORMAT_ERROR,"".concat(e,"\nLocale: ").concat(r,"\n"),n)||this;return i.locale=r,i}return E(e,t),e}(tP),tC=function(t){function e(e,r,n,i){var o=t.call(this,"".concat(e,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,i)||this;return o.descriptor=n,o.locale=r,o}return E(e,t),e}(tR),tM=function(t){function e(e,r){var n=t.call(this,p.MISSING_TRANSLATION,'Missing message: "'.concat(e.id,'" for locale "').concat(r,'", using ').concat(e.defaultMessage?"default message (".concat("string"==typeof e.defaultMessage?e.defaultMessage:e.defaultMessage.map(function(t){var e;return null!=(e=t.value)?e:JSON.stringify(t)}).join(),")"):"id"," as fallback."))||this;return n.descriptor=e,n}return E(e,t),e}(tP);t.s(["IntlFormatError",0,tR,"InvalidConfigError",0,tN,"MessageFormatError",0,tC,"MissingDataError",0,tL,"MissingTranslationError",0,tM,"UnsupportedFormatterError",0,tB],57680);var tO={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(t){},onWarn:function(t){}}
2;function tF(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function tD(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}t.s(["DEFAULT_INTL_CONFIG",0,tO,"createFormatters",0,function(t){void 0===t&&(t=tF());var e=Intl.RelativeTimeFormat,r=Intl.ListFormat,n=Intl.DisplayNames,i=T(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,b([void 0],e,!1)))},{cache:tD(t.dateTime),strategy:P.variadic}),o=T(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,b([void 0],e,!1)))},{cache:tD(t.number),strategy:P.variadic}),a=T(function(){for(var t,e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,b([void 0],e,!1)))},{cache:tD(t.pluralRules),strategy:P.variadic});return{getDateTimeFormat:i,getNumberFormat:o,getMessageFormat:T(function(t,e,r,n){return new tA(t,e,r,d({formatters:{getNumberFormat:o,getDateTimeFormat:i,getPluralRules:a}},n||{}))},{cache:tD(t.message),strategy:P.variadic}),getRelativeTimeFormat:T(function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new(e.bind.apply(e,b([void 0],t,!1)))},{cache:tD(t.relativeTime),strategy:P.variadic}),getPluralRules:a,getListFormat:T(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new(r.bind.apply(r,b([void 0],t,!1)))},{cache:tD(t.list),strategy:P.variadic}),getDisplayNames:T(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return new(n.bind.apply(n,b([void 0],t,!1)))},{cache:tD(t.displayNames),strategy:P.variadic})}},"createIntlCache",0,tF,"filterProps",0,function(t,e,r){return void 0===r&&(r={}),e.reduce(function(e,n){return n in t?e[n]=t[n]:n in r&&(e[n]=r[n]),e},{})},"getNamedFormat",0,function(t,e,r,n){var i,o=t&&t[e];if(o&&(i=o[r]),i)return i;n(new tB("No ".concat(e," format named: ").concat(r)))},"invariant",0,function(t,e,r){if(void 0===r&&(r=Error),!t)throw new r(e)}],28849);var tw=d(d({},tO),{textComponent:v.Fragment}),tU=function(t,e){return v.isValidElement(t)?v.cloneElement(t,{key:e}):t},tG=function(t){var e;return null!=(e=v.Children.map(t,tU))?e:[]};t.s(["DEFAULT_INTL_CONFIG",0,tw,"assignUniqueKeysToParts",0,function(t){return function(e){return t(tG(e))}},"invariantIntlContext",0,function(t){var e;if(void 0===e&&(e=Error),!t)throw new e("[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")},"shallowEqual",0,function(t,e){if(t===e)return!0;if(!t||!e)return!1;var r=Object.keys(t),n=Object.keys(e),i=r.length;if(n.length!==i)return!1;for(var o=0;o<i;o++){var a=r[o];if(t[a]!==e[a]||!Object.prototype.hasOwnProperty.call(e,a))return!1}return!0},"toKeyedReactNodeArray",0,tG],60136)},70047,t=>{"use strict";var e=t.i(91398),r=t.i(89280),n=t.i(28849),i=t.i(91788),o=t.i(60136),a=t.i(63951),s=t.i(6482);function l(t){return{locale:t.locale,timeZone:t.timeZone,fallbackOnEmptyString:t.fallbackOnEmptyString,formats:t.formats,textComponent:t.textComponent,messages:t.messages,defaultLocale:t.defaultLocale,defaultFormats:t.defaultFormats,onError:t.onError,onWarn:t.onWarn,wrapRichTextChunksInFragment:t.wrapRichTextChunksInFragment,defaultRichTextElements:t.defaultRichTextElements}}var h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.cache=(0,n.createIntlCache)(),e.state={cache:e.cache,intl:(0,a.createIntl)(l(e.props),e.cache),prevConfig:l(e.props)},e}return(0,r.__extends)(e,t),e.getDerivedStateFromProps=function(t,e){var r=e.prevConfig,n=e.cache,i=l(t);return(0,o.shallowEqual)(r,i)?null:{intl:(0,a.createIntl)(i,n),prevConfig:i}},e.prototype.render=function(){return(0,o.invariantIntlContext)(this.state.intl),i.createElement(s.Provider,{value:this.state.intl},this.props.children)},e.displayName="IntlProvider",e.defaultProps=o.DEFAULT_INTL_CONFIG,e}(i.PureComponent),u=t.i(3828);t.s(["IntlMessageProvider",0,({children:t,messages:r})=>{let n=(()=>{let{locale:t}=(0,u.useRouter)();return t??"ja"})();return(0,e.jsx)(h,{locale:n,defaultLocale:"ja",messages:r,children:t})}],70047)}]); 3 4//# debugId=b02cb5bf-7a69-f52e-cb92-8d6b662f04bd 5//# sourceMappingURL=2_un_cc64an1w.js.map
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.