/** * Minified by jsDelivr using Terser v5.19.2. * Original file: /npm/react-intl@7.0.1/react-intl.iife.js * * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files */ var ReactIntl=(()=>{var e=Object.create,t=Object.defineProperty,r=Object.defineProperties,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyDescriptors,i=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,c=(e,r,n)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[r]=n,h=(e,t)=>{for(var r in t||(t={}))l.call(t,r)&&c(e,r,t[r]);if(a)for(var r of a(t))u.call(t,r)&&c(e,r,t[r]);return e},f=(e,t)=>r(e,o(t)),m=(e,t)=>{var r={};for(var n in e)l.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&a)for(var n of a(e))t.indexOf(n)<0&&u.call(e,n)&&(r[n]=e[n]);return r},p=(e,t)=>function(){return t||(0,e[i(e)[0]])((t={exports:{}}).exports,t),t.exports},d=(e,r,o,a)=>{if(r&&"object"==typeof r||"function"==typeof r)for(let s of i(r))l.call(e,s)||s===o||t(e,s,{get:()=>r[s],enumerable:!(a=n(r,s))||a.enumerable});return e},g=(r,n,o)=>(o=null!=r?e(s(r)):{},d(!n&&r&&r.__esModule?o:t(o,"default",{value:r,enumerable:!0}),r)),y=(e,t,r)=>(c(e,"symbol"!=typeof t?t+"":t,r),r),E=p({"node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";(function(){var t="function"==typeof Symbol&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,d=t?Symbol.for("react.lazy"):60116,g=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:var m=e.type;switch(m){case u:case c:case o:case a:case i:case f:return m;default:var g=m&&m.$$typeof;switch(g){case l:case h:case d:case p:case s:return g;default:return t}}case n:return t}}}var T=u,_=c,H=l,S=s,P=r,N=h,A=o,I=d,B=p,R=n,L=a,O=i,w=f,C=!1;function M(e){return v(e)===c}e.AsyncMode=T,e.ConcurrentMode=_,e.ContextConsumer=H,e.ContextProvider=S,e.Element=P,e.ForwardRef=N,e.Fragment=A,e.Lazy=I,e.Memo=B,e.Portal=R,e.Profiler=L,e.StrictMode=O,e.Suspense=w,e.isAsyncMode=function(e){return C||(C=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),M(e)||v(e)===u},e.isConcurrentMode=M,e.isContextConsumer=function(e){return v(e)===l},e.isContextProvider=function(e){return v(e)===s},e.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},e.isForwardRef=function(e){return v(e)===h},e.isFragment=function(e){return v(e)===o},e.isLazy=function(e){return v(e)===d},e.isMemo=function(e){return v(e)===p},e.isPortal=function(e){return v(e)===n},e.isProfiler=function(e){return v(e)===a},e.isStrictMode=function(e){return v(e)===i},e.isSuspense=function(e){return v(e)===f},e.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===c||e===a||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===s||e.$$typeof===l||e.$$typeof===h||e.$$typeof===y||e.$$typeof===E||e.$$typeof===b||e.$$typeof===g)},e.typeOf=v})()}}),b=p({"node_modules/.aspect_rules_js/react-is@16.13.1/node_modules/react-is/index.js"(e,t){"use strict";t.exports=E()}}),v=p({"node_modules/.aspect_rules_js/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){"use strict";var r=b(),n={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},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function s(e){return r.isMemo(e)?i:a[e.$$typeof]||n}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;t.exports=function e(t,r,n){if("string"!=typeof r){if(m){var i=f(r);i&&i!==m&&e(t,i,n)}var a=u(r);c&&(a=a.concat(c(r)));for(var p=s(t),d=s(r),g=0;g{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(T,{FormattedDate:()=>Fr,FormattedDateParts:()=>xr,FormattedDateTimeRange:()=>pr,FormattedDisplayName:()=>jr,FormattedList:()=>kr,FormattedListParts:()=>ir,FormattedMessage:()=>Er,FormattedNumber:()=>Gr,FormattedNumberParts:()=>or,FormattedPlural:()=>Tr,FormattedRelativeTime:()=>wr,FormattedTime:()=>Ur,FormattedTimeParts:()=>Vr,IntlContext:()=>Qt,IntlProvider:()=>Sr,InvalidConfigError:()=>at,MessageFormatError:()=>ut,MissingDataError:()=>st,MissingTranslationError:()=>ct,RawIntlProvider:()=>Jt,ReactIntlError:()=>ot,ReactIntlErrorCode:()=>tt,UnsupportedFormatterError:()=>it,createIntl:()=>hr,createIntlCache:()=>mt,defineMessage:()=>Mr,defineMessages:()=>Cr,injectIntl:()=>er,useIntl:()=>tr});var _=g(window.React),H=g(window.React),S=g(window.React),P=function(e,t){return(P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function N(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(e){for(var t,r=1,n=arguments.length;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(se,(function(e,r,n,o,i,a){if(r)t.minimumIntegerDigits=n.length;else{if(o&&i)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(le.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(ie.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(ie,(function(e,r,n,o,i,a){return"*"===n?t.minimumFractionDigits=r.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:i&&a?(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length+a.length):(t.minimumFractionDigits=r.length,t.maximumFractionDigits=r.length),""}));var i=o.options[0];"w"===i?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=A(A({},t),ue(i)))}else if(ae.test(o.stem))t=A(A({},t),ue(o.stem));else{var a=ce(o.stem);a&&(t=A(A({},t),a));var s=he(o.stem);s&&(t=A(A({},t),s))}}return t}var pe,de={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function ge(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),(de[r||""]||de[n||""]||de["".concat(n,"-001")]||de["001"])[0]}var ye=new RegExp("^".concat(te.source,"*")),Ee=new RegExp("".concat(te.source,"*$"));function be(e,t){return{start:e,end:t}}var ve=!!String.prototype.startsWith&&"_a".startsWith("a",1),Te=!!String.fromCodePoint,_e=!!Object.fromEntries,He=!!String.prototype.codePointAt,Se=!!String.prototype.trimStart,Pe=!!String.prototype.trimEnd,Ne=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ae=!0;try{Ae="a"===(null===(pe=De("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===pe?void 0:pe[0])}catch(e){Ae=!1}var Ie,Be,Re=ve?function(e,t,r){return e.startsWith(t,r)}:function(e,t,r){return e.slice(r,r+t.length)===t},Le=Te?String.fromCodePoint:function(){for(var e=[],t=0;ti;){if((r=e[i++])>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},Oe=_e?Object.fromEntries:function(e){for(var t={},r=0,n=e;r=r)){var n,o=e.charCodeAt(t);return o<55296||o>56319||t+1===r||(n=e.charCodeAt(t+1))<56320||n>57343?o:n-56320+(o-55296<<10)+65536}},Ce=Se?function(e){return e.trimStart()}:function(e){return e.replace(ye,"")},Me=Pe?function(e){return e.trimEnd()}:function(e){return e.replace(Ee,"")};function De(e,t){return new RegExp(e,t)}Ae?(Be=De("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ie=function(e,t){var r;return Be.lastIndex=t,null!==(r=Be.exec(e)[1])&&void 0!==r?r:""}):Ie=function(e,t){for(var r=[];;){var n=we(e,t);if(void 0===n||je(n)||xe(n))break;r.push(n),t+=n>=65536?2:1}return Le.apply(void 0,r)};var Fe,Ue,Ge=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 o=this.char();if(123===o){if((i=this.parseArgument(e,r)).err)return i;n.push(i.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(D.UNMATCHED_CLOSING_TAG,be(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&ke(this.peek()||0)){if((i=this.parseTag(e,t)).err)return i;n.push(i.val)}else{var i;if((i=this.parseLiteral(e,t)).err)return i;n.push(i.val)}}else{var a=this.clonePosition();this.bump(),n.push({type:U.pound,location:be(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:U.literal,value:"<".concat(n,"/>"),location:be(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var i=o.val,a=this.clonePosition();if(this.bumpIf("")?{val:{type:U.tag,value:n,children:i,location:be(r,this.clonePosition())},err:null}:this.error(D.INVALID_TAG,be(a,this.clonePosition())))}return this.error(D.UNCLOSED_TAG,be(r,this.clonePosition()))}return this.error(D.INVALID_TAG,be(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 o=this.tryParseQuote(t);if(o)n+=o;else{var i=this.tryParseUnquoted(e,t);if(i)n+=i;else{var a=this.tryParseLeftAngleBracket();if(!a)break;n+=a}}}var s=be(r,this.clonePosition());return{val:{type:U.literal,value:n,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ke(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 Le.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(),Le(r))},e.prototype.parseArgument=function(e,t){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,be(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(D.EMPTY_ARGUMENT,be(r,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(D.MALFORMED_ARGUMENT,be(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,be(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:n,location:be(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,be(r,this.clonePosition())):this.parseArgumentOptions(e,t,n,r);default:return this.error(D.MALFORMED_ARGUMENT,be(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),r=Ie(this.message,t),n=t+r.length;return this.bumpTo(n),{value:r,location:be(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,r,n){var o,i=this.clonePosition(),a=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(a){case"":return this.error(D.EXPECT_ARGUMENT_TYPE,be(i,s));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=Me(y.val)).length)return this.error(D.EXPECT_ARGUMENT_STYLE,be(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:be(u,this.clonePosition())}}if((E=this.tryParseArgumentClose(n)).err)return E;var c=be(n,this.clonePosition());if(l&&Re(null==l?void 0:l.style,"::",0)){var h=Ce(l.style.slice(2));if("number"===a)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:U.number,value:r,location:c,style:y.val},err:null};if(0===h.length)return this.error(D.EXPECT_DATE_TIME_SKELETON,c);var f=h;this.locale&&(f=function(e,t){for(var r="",n=0;n>1),l=ge(t);for("H"!=l&&"k"!=l||(s=0);s-- >0;)r+="a";for(;a-- >0;)r=l+r}else r+="J"===o?"H":o}return r}(h,this.locale));var m={type:k.dateTime,pattern:f,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ne(f):{}};return{val:{type:"date"===a?U.date:U.time,value:r,location:c,style:m},err:null}}return{val:{type:"number"===a?U.number:"date"===a?U.date:U.time,value:r,location:c,style:null!==(o=null==l?void 0:l.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(D.EXPECT_SELECT_ARGUMENT_OPTIONS,be(p,A({},p)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),g=0;if("select"!==a&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,be(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(D.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,D.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var E,b=this.tryParsePluralOrSelectOptions(e,a,t,d);if(b.err)return b;if((E=this.tryParseArgumentClose(n)).err)return E;var v=be(n,this.clonePosition());return"select"===a?{val:{type:U.select,value:r,options:Oe(b.val),location:v},err:null}:{val:{type:U.plural,value:r,options:Oe(b.val),offset:g,pluralType:"plural"===a?"cardinal":"ordinal",location:v},err:null};default:return this.error(D.INVALID_ARGUMENT_TYPE,be(i,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(D.EXPECT_ARGUMENT_CLOSING_BRACE,be(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(D.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,be(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(oe).filter((function(e){return e.length>0}));r=48&&a<=57))break;o=!0,i=10*i+(a-48),this.bump()}var s=be(n,this.clonePosition());return o?Ne(i*=r)?{val:i,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=we(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(Re(this.message,e,this.offset())){for(var t=0;t=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()&&je(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),r=this.message.charCodeAt(t+(e>=65536?2:1));return null!=r?r:null},e}();function ke(e){return e>=97&&e<=122||e>=65&&e<=90}function je(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function xe(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 Ve(e){e.forEach((function(e){if(delete e.location,W(e)||z(e))for(var t in e.options)delete e.options[t].location,Ve(e.options[t].value);else K(e)&&Q(e.style)||($(e)||Y(e))&&ee(e.style)?delete e.style.location:J(e)&&Ve(e.children)}))}function Xe(e,t){void 0===t&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ge(e,t).parse();if(r.err){var n=SyntaxError(D[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return(null==t?void 0:t.captureLocation)||Ve(r.val),r.val}(Ue=Fe||(Fe={})).MISSING_VALUE="MISSING_VALUE",Ue.INVALID_VALUE="INVALID_VALUE",Ue.MISSING_INTL_API="MISSING_INTL_API";var Ze,Ke,$e=function(e){function t(t,r,n){var o=e.call(this,t)||this;return o.code=r,o.originalMessage=n,o}return N(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Ye=function(e){function t(t,r,n,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),Fe.INVALID_VALUE,o)||this}return N(t,e),t}($e),We=function(e){function t(t,r,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(r),Fe.INVALID_VALUE,n)||this}return N(t,e),t}($e),ze=function(e){function t(t,r){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(r,'"'),Fe.MISSING_VALUE,r)||this}return N(t,e),t}($e);function qe(e){return"function"==typeof e}function Je(e,t,r,n,o,i,a){if(1===e.length&&X(e[0]))return[{type:Ze.literal,value:e[0].value}];for(var s=[],l=0,u=e;l0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Xe,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}();(rt=tt||(tt={})).FORMAT_ERROR="FORMAT_ERROR",rt.UNSUPPORTED_FORMATTER="UNSUPPORTED_FORMATTER",rt.INVALID_CONFIG="INVALID_CONFIG",rt.MISSING_DATA="MISSING_DATA",rt.MISSING_TRANSLATION="MISSING_TRANSLATION";var ot=function(e){function t(r,n,o){var i=this,a=o?o instanceof Error?o:new Error(String(o)):void 0;return(i=e.call(this,"[@formatjs/intl Error ".concat(r,"] ").concat(n,"\n").concat(a?"\n".concat(a.message,"\n").concat(a.stack):""))||this).code=r,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(i,t),i}return N(t,e),t}(Error),it=function(e){function t(t,r){return e.call(this,tt.UNSUPPORTED_FORMATTER,t,r)||this}return N(t,e),t}(ot),at=function(e){function t(t,r){return e.call(this,tt.INVALID_CONFIG,t,r)||this}return N(t,e),t}(ot),st=function(e){function t(t,r){return e.call(this,tt.MISSING_DATA,t,r)||this}return N(t,e),t}(ot),lt=function(e){function t(t,r,n){var o=e.call(this,tt.FORMAT_ERROR,"".concat(t,"\nLocale: ").concat(r,"\n"),n)||this;return o.locale=r,o}return N(t,e),t}(ot),ut=function(e){function t(t,r,n,o){var i=e.call(this,"".concat(t,"\nMessageID: ").concat(null==n?void 0:n.id,"\nDefault Message: ").concat(null==n?void 0:n.defaultMessage,"\nDescription: ").concat(null==n?void 0:n.description,"\n"),r,o)||this;return i.descriptor=n,i.locale=r,i}return N(t,e),t}(lt),ct=function(e){function t(t,r){var n=e.call(this,tt.MISSING_TRANSLATION,'Missing message: "'.concat(t.id,'" for locale "').concat(r,'", using ').concat(t.defaultMessage?"default message (".concat("string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map((function(e){var t;return null!==(t=e.value)&&void 0!==t?t:JSON.stringify(e)})).join(),")"):"id"," as fallback."))||this;return n.descriptor=t,n}return N(t,e),t}(ot);function ht(e,t,r){return void 0===r&&(r={}),t.reduce((function(t,n){return n in e?t[n]=e[n]:n in r&&(t[n]=r[n]),t}),{})}var ft={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:function(e){console.error(e)},onWarn:function(e){console.warn(e)}};function mt(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function pt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function dt(e,t,r,n){var o,i=e&&e[t];if(i&&(o=i[r]),o)return o;n(new it("No ".concat(t," format named: ").concat(r)))}function gt(e,t){return Object.keys(e).reduce((function(r,n){return r[n]=A({timeZone:t},e[n]),r}),{})}function yt(e,t){return Object.keys(A(A({},e),t)).reduce((function(r,n){return r[n]=A(A({},e[n]||{}),t[n]||{}),r}),{})}function Et(e,t){if(!t)return e;var r=nt.formats;return A(A(A({},r),e),{date:yt(gt(r.date,t),gt(e.date||{},t)),time:yt(gt(r.time,t),gt(e.time||{},t))})}var bt=function(e,t,r,n,o){var i=e.locale,a=e.formats,s=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=e.fallbackOnEmptyString,h=e.onError,f=e.timeZone,m=e.defaultRichTextElements;void 0===r&&(r={id:""});var p=r.id,d=r.defaultMessage;!function(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}(!!p,"[@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 g=String(p),y=s&&Object.prototype.hasOwnProperty.call(s,g)&&s[g];if(Array.isArray(y)&&1===y.length&&y[0].type===U.literal)return y[0].value;if(!n&&y&&"string"==typeof y&&!m)return y.replace(/'\{(.*?)\}'/gi,"{$1}");if(n=A(A({},m),n||{}),a=Et(a,f),u=Et(u,f),!y){if(!1===c&&""===y)return y;if((!d||i&&i.toLowerCase()!==l.toLowerCase())&&h(new ct(r,i)),d)try{return t.getMessageFormat(d,l,u,o).format(n)}catch(e){return h(new ut('Error formatting default message for: "'.concat(g,'", rendering default message verbatim'),i,r,e)),"string"==typeof d?d:g}return g}try{return t.getMessageFormat(y,i,a,A({formatters:t},o||{})).format(n)}catch(e){h(new ut('Error formatting message: "'.concat(g,'", using ').concat(d?"default message":"id"," as fallback."),i,r,e))}if(d)try{return t.getMessageFormat(d,l,u,o).format(n)}catch(e){h(new ut('Error formatting the default message for: "'.concat(g,'", rendering message verbatim'),i,r,e))}return"string"==typeof y?y:"string"==typeof d?d:g},vt=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function Tt(e,t,r,n){var o=e.locale,i=e.formats,a=e.onError,s=e.timeZone;void 0===n&&(n={});var l=n.format,u=A(A({},s&&{timeZone:s}),l&&dt(i,t,l,a)),c=ht(n,vt,u);return"time"!==t||c.hour||c.minute||c.second||c.timeStyle||c.dateStyle||(c=A(A({},c),{hour:"numeric",minute:"numeric"})),r(o,c)}function _t(e,t){for(var r=[],n=2;n needs to exist in the component ancestry.")}var Zt=f(h({},ft),{textComponent:S.Fragment});function Kt(e,t){if(e===t)return!0;if(!e||!t)return!1;var r=Object.keys(e),n=Object.keys(t),o=r.length;if(n.length!==o)return!1;for(var i=0;iYt.createElement(zt,null,(i=>{o&&Xt(i);const a={[r]:i};return Yt.createElement(e,f(h(h({},t),a),{ref:n?t.forwardedRef:null}))}));var a;return i.displayName=`injectIntl(${a=e,a.displayName||a.name||"Component"})`,i.WrappedComponent=e,n?(0,$t.default)(Yt.forwardRef(((e,t)=>Yt.createElement(i,f(h({},e),{forwardedRef:t})))),e):(0,$t.default)(i,e)}function tr(){const e=H.useContext(Qt);return Xt(e),e}var rr=(e=>(e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName",e))(rr||{}),nr=(e=>(e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts",e))(nr||{}),or=e=>{const t=tr(),r=e,{value:n,children:o}=r,i=m(r,["value","children"]);return o(t.formatNumberToParts(n,i))};or.displayName="FormattedNumberParts";var ir=e=>{const t=tr(),r=e,{value:n,children:o}=r,i=m(r,["value","children"]);return o(t.formatListToParts(n,i))};function ar(e){const t=t=>{const r=tr(),n=t,{value:o,children:i}=n,a=m(n,["value","children"]),s="string"==typeof o?new Date(o||0):o;return i("formatDate"===e?r.formatDateToParts(s,a):r.formatTimeToParts(s,a))};return t.displayName=nr[e],t}function sr(e){const t=t=>{const r=tr(),n=t,{value:o,children:i}=n,a=m(n,["value","children"]),s=r[e](o,a);if("function"==typeof i)return i(s);const l=r.textComponent||_.Fragment;return _.createElement(l,null,s)};return t.displayName=rr[e],t}or.displayName="FormattedNumberParts";var lr=g(window.React);function ur(e){return e?Object.keys(e).reduce(((t,r)=>{const n=e[r];var o;return t[r]=qe(n)?(o=n,function(e){return o(S.Children.toArray(e))}):n,t}),{}):e}var cr=(e,t,r,n,...o)=>{const i=ur(n),a=bt(e,t,r,i,...o);return Array.isArray(a)?lr.Children.toArray(a):a},hr=(e,t)=>{var r=e,{defaultRichTextElements:n}=r,o=m(r,["defaultRichTextElements"]);const i=ur(n),a=xt(f(h(h({},Zt),o),{defaultRichTextElements:i}),t),s={locale:a.locale,timeZone:a.timeZone,fallbackOnEmptyString:a.fallbackOnEmptyString,formats:a.formats,defaultLocale:a.defaultLocale,defaultFormats:a.defaultFormats,messages:a.messages,onError:a.onError,defaultRichTextElements:i};return f(h({},a),{formatMessage:cr.bind(null,s,a.formatters),$t:cr.bind(null,s,a.formatters)})},fr=g(window.React),mr=e=>{const t=tr(),r=e,{from:n,to:o,children:i}=r,a=m(r,["from","to","children"]),s=t.formatDateTimeRange(n,o,a);if("function"==typeof i)return i(s);const l=t.textComponent||fr.Fragment;return fr.createElement(l,null,s)};mr.displayName="FormattedDateTimeRange";var pr=mr,dr=g(window.React);function gr(e){const t=tr(),{formatMessage:r,textComponent:n=dr.Fragment}=t,{id:o,description:i,defaultMessage:a,values:s,children:l,tagName:u=n,ignoreTag:c}=e;let h=r({id:o,description:i,defaultMessage:a},s,{ignoreTag:c});return"function"==typeof l?l(Array.isArray(h)?h:[h]):u?dr.createElement(u,null,dr.Children.toArray(h)):dr.createElement(dr.Fragment,null,h)}gr.displayName="FormattedMessage";var yr=dr.memo(gr,(function(e,t){const r=e,{values:n}=r,o=m(r,["values"]),i=t,{values:a}=i,s=m(i,["values"]);return Kt(a,n)&&Kt(o,s)}));yr.displayName="MemoizedFormattedMessage";var Er=yr,br=g(window.React),vr=e=>{const{formatPlural:t,textComponent:r}=tr(),{value:n,other:o,children:i}=e,a=e[t(n,e)]||o;return"function"==typeof i?i(a):r?br.createElement(r,null,a):a};vr.displayName="FormattedPlural";var Tr=vr,_r=g(window.React);function Hr(e){return{locale:e.locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements}}var Sr=class extends _r.PureComponent{constructor(){super(...arguments),y(this,"cache",{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}),y(this,"state",{cache:this.cache,intl:hr(Hr(this.props),this.cache),prevConfig:Hr(this.props)})}static getDerivedStateFromProps(e,{prevConfig:t,cache:r}){const n=Hr(e);return Kt(t,n)?null:{intl:hr(n,r),prevConfig:n}}render(){return Xt(this.state.intl),_r.createElement(Jt,{value:this.state.intl},this.props.children)}};y(Sr,"displayName","IntlProvider"),y(Sr,"defaultProps",Zt);var Pr=g(window.React),Nr=3600;function Ar(e){const t=Math.abs(e);return t<60?"second":t-1}var Lr=e=>{const{formatRelativeTime:t,textComponent:r}=tr(),n=e,{children:o,value:i,unit:a}=n,s=t(i||0,a,m(n,["children","value","unit"]));return"function"==typeof o?o(s):r?Pr.createElement(r,null,s):Pr.createElement(Pr.Fragment,null,s)},Or=e=>{var t=e,{value:r=0,unit:n="second",updateIntervalInSeconds:o}=t,i=m(t,["value","unit","updateIntervalInSeconds"]);Vt(!o||!(!o||!Rr(n)),"Cannot schedule update with unit longer than hour");const[a,s]=Pr.useState(),[l,u]=Pr.useState(0),[c,f]=Pr.useState(0);let p;n===a&&r===l||(u(r||0),s(n),f(Rr(n)?function(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return 60*e;default:return e*Nr}}(r,n):0)),Pr.useEffect((()=>{function e(){clearTimeout(p)}if(e(),!o||!Rr(n))return e;const t=c-o,r=Ar(t);if("day"===r)return e;const i=Ir(r),a=t-t%i,s=a>=c?a-i:a,l=Math.abs(s-c);return c!==s&&(p=setTimeout((()=>f(s)),1e3*l)),e}),[c,o,n]);let d=r||0,g=n;if(Rr(n)&&"number"==typeof c&&o){g=Ar(c);const e=Ir(g);d=Math.round(c/e)}return Pr.createElement(Lr,h({value:d,unit:g},i))};Or.displayName="FormattedRelativeTime";var wr=Or;function Cr(e){return e}function Mr(e){return e}var Dr,Fr=sr("formatDate"),Ur=sr("formatTime"),Gr=sr("formatNumber"),kr=sr("formatList"),jr=sr("formatDisplayName"),xr=ar("formatDate"),Vr=ar("formatTime");return Dr=T,d(t({},"__esModule",{value:!0}),Dr)})(); /*! Bundled license information: react-is/cjs/react-is.development.js: (** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. *) */ //# sourceMappingURL=/sm/c7534b186f6bcff34252a299356f74fb245c579ac91e82005dd01effd2b11a15.map