react-intl 4.1.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).ReactIntl={},e.React)}(this,function(e,g){"use strict";function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t,r){return(s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&c(o,r.prototype),o}).apply(null,arguments)}function t(e){var r="function"==typeof Map?new Map:void 0;return(t=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return s(e,arguments,u(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),c(t,e)})(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function y(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Xt,r;function T(e){return e.type===Xt.literal}function E(e){return e.type===Xt.select}function S(e){return e.type===Xt.plural}(r=Xt=Xt||{})[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";var m,p,d=(m=function(e,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Yt=function(){return(Yt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},er=(p=Error,d(h,p),h.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function a(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map(function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)});return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(a);if(n.sort(),0<n.length){for(r=t=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+((i=t)?'"'+n(i)+'"':"end of input")+" found.";var i},h);function h(e,t,r,n){var o=p.call(this)||this;return o.message=e,o.expected=t,o.found=r,o.location=n,o.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,h),o}var v=function(f,e){e=void 0!==e?e:{};var t,m={},r={start:Ft},n=Ft,o=function(e){return e.join("")},a=function(e){return Yt({type:Xt.literal,value:e},Qt())},i="#",u=yt("#",!1),c=function(){return Yt({type:Xt.pound},Qt())},s=bt("tagElement"),l="<",p=yt("<",!1),d="/>",h=yt("/>",!1),g=function(e){return Yt({type:Xt.literal,value:e.join("")},Qt())},y=function(e,t,r){return e!==r&&gt('Mismatch tag "'+e+'" !== "'+r+'"',ht()),Yt({type:Xt.tag,value:e,children:t},Qt())},v=function(){return Wt.push("openingTag"),!0},b=">",w=yt(">",!1),A=function(e){return Wt.pop(),!0},O=function(e){return e},F="</",R=yt("</",!1),T=function(){return Wt.push("closingTag"),!0},E=bt("argumentElement"),S="{",C=yt("{",!1),j="}",D=yt("}",!1),P=function(e){return Yt({type:Xt.argument,value:e},Qt())},x=bt("numberSkeletonId"),I=/^['\/{}]/,N=vt(["'","/","{","}"],!1,!1),M={type:"any"},k=bt("numberSkeletonTokenOption"),_="/",L=yt("/",!1),$=function(e){return e},Z=bt("numberSkeletonToken"),U=function(e,t){return{stem:e,options:t}},z=function(e){return Yt({type:0,tokens:e},Qt())},V="::",B=yt("::",!1),G=function(e){return e},q=function(){return Wt.push("numberArgStyle"),!0},H=function(e){return Wt.pop(),e.replace(/\s*$/,"")},W=",",J=yt(",",!1),K="number",Q=yt("number",!1),X=function(e,t,r){return Yt({type:"number"===t?Xt.number:"date"===t?Xt.date:Xt.time,style:r&&r[2],value:e},Qt())},Y="'",ee=yt("'",!1),te=/^[^']/,re=vt(["'"],!0,!1),ne=/^[^a-zA-Z'{}]/,oe=vt([["a","z"],["A","Z"],"'","{","}"],!0,!1),ae=/^[a-zA-Z]/,ie=vt([["a","z"],["A","Z"]],!1,!1),ue=function(e){return Yt({type:1,pattern:e},Qt())},ce=function(){return Wt.push("dateOrTimeArgStyle"),!0},se="date",le=yt("date",!1),fe="time",me=yt("time",!1),pe="plural",de=yt("plural",!1),he="selectordinal",ge=yt("selectordinal",!1),ye="offset:",ve=yt("offset:",!1),be=function(e,t,r,n){return Yt({type:Xt.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:n.reduce(function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&gt('Duplicate option "'+r+'" in plural element: "'+dt()+'"',ht()),e[r]={value:n,location:o},e},{})},Qt())},we="select",Ae=yt("select",!1),Oe=function(e,t){return Yt({type:Xt.select,value:e,options:t.reduce(function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&gt('Duplicate option "'+r+'" in select element: "'+dt()+'"',ht()),e[r]={value:n,location:o},e},{})},Qt())},Fe="=",Re=yt("=",!1),Te=function(e){return Wt.push("select"),!0},Ee=function(e,t){return Wt.pop(),Yt({id:e,value:t},Qt())},Se=function(e){return Wt.push("plural"),!0},Ce=function(e,t){return Wt.pop(),Yt({id:e,value:t},Qt())},je=bt("whitespace"),De=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Pe=vt([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),xe=bt("syntax pattern"),Ie=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ne=vt([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Me=bt("optional whitespace"),ke=bt("number"),_e="-",Le=yt("-",!1),$e=function(e,t){return t?e?-t:t:0},Ze=bt("double apostrophes"),Ue="''",ze=yt("''",!1),Ve=function(){return"'"},Be=function(e,t){return e+t.replace("''","'")},Ge=function(e){return!("<"===e||"{"===e||Kt()&&"#"===e||Jt()&&"}"===e||Jt()&&">"===e)},qe="\n",He=yt("\n",!1),We=function(e){return"<"===e||">"===e||"{"===e||"}"===e||Kt()&&"#"===e},Je=bt("argNameOrNumber"),Ke=bt("validTag"),Qe=bt("argNumber"),Xe="0",Ye=yt("0",!1),et=function(){return 0},tt=/^[1-9]/,rt=vt([["1","9"]],!1,!1),nt=/^[0-9]/,ot=vt([["0","9"]],!1,!1),at=function(e){return parseInt(e.join(""),10)},it=bt("argName"),ut=bt("tagName"),ct=0,st=0,lt=[{line:1,column:1}],ft=0,mt=[],pt=0;if(void 0!==e.startRule){if(!(e.startRule in r))throw new Error("Can't start parsing from rule \""+e.startRule+'".');n=r[e.startRule]}function dt(){return f.substring(st,ct)}function ht(){return At(st,ct)}function gt(e,t){throw function(e,t){return new er(e,[],"",t)}(e,t=void 0!==t?t:At(st,ct))}function yt(e,t){return{type:"literal",text:e,ignoreCase:t}}function vt(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function bt(e){return{type:"other",description:e}}function wt(e){var t,r=lt[e];if(r)return r;for(t=e-1;!lt[t];)t--;for(r={line:(r=lt[t]).line,column:r.column};t<e;)10===f.charCodeAt(t)?(r.line++,r.column=1):r.column++,t++;return lt[e]=r}function At(e,t){var r=wt(e),n=wt(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function Ot(e){ct<ft||(ft<ct&&(ft=ct,mt=[]),mt.push(e))}function Ft(){return Rt()}function Rt(){var e,t;for(e=[],t=Tt();t!==m;)e.push(t),t=Tt();return e}function Tt(){var e;return(e=function(){var e,t;e=ct,(t=Et())!==m&&(st=e,t=a(t));return e=t}())===m&&(e=function(){var e,t,r,n,o;pt++,e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));e=t!==m?(r=kt(),r!==m?(n=Ut())!==m?kt()!==m?(125===f.charCodeAt(ct)?(o=j,ct++):(o=m,0===pt&&Ot(D)),o!==m?(st=e,t=P(n)):(ct=e,m)):(ct=e,m):(ct=e,m):(ct=e,m)):(ct=e,m);pt--,e===m&&(t=m,0===pt&&Ot(E));return e}())===m&&(e=function(){var e;(e=function(){var e,t,r,n,o,a,i,u,c,s;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));e=t!==m?(r=kt(),r!==m?(n=Ut())!==m?kt()!==m?(44===f.charCodeAt(ct)?(o=W,ct++):(o=m,0===pt&&Ot(J)),o!==m?kt()!==m?(f.substr(ct,6)===K?(a=K,ct+=6):(a=m,0===pt&&Ot(Q)),a!==m?kt()!==m?(i=ct,44===f.charCodeAt(ct)?(u=W,ct++):(u=m,0===pt&&Ot(J)),(i=u!==m?(c=kt())!==m?(s=function(){var e,t,r;e=ct,f.substr(ct,2)===V?(t=V,ct+=2):(t=m,0===pt&&Ot(B));e=t!==m?(r=function(){var e,t,r;if(e=ct,t=[],(r=jt())!==m)for(;r!==m;)t.push(r),r=jt();else t=m;t!==m&&(st=e,t=z(t));return e=t}(),r!==m?(st=e,t=G(r)):(ct=e,m)):(ct=e,m);e===m&&(st=e=ct,t=q(),e=(t=t?void 0:m)!==m?(r=Et())!==m?(st=e,t=H(r)):(ct=e,m):(ct=e,m));return e}())!==m?u=[u,c,s]:(ct=i,m):(ct=i,m):(ct=i,m))===m&&(i=null),i!==m?(u=kt())!==m?(125===f.charCodeAt(ct)?(c=j,ct++):(c=m,0===pt&&Ot(D)),c!==m?(st=e,t=X(n,a,i)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m):(ct=e,m)):(ct=e,m);return e}())===m&&(e=function(){var e,t,r,n,o,a,i,u,c,s;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));e=t!==m?(r=kt(),r!==m?(n=Ut())!==m?kt()!==m?(44===f.charCodeAt(ct)?(o=W,ct++):(o=m,0===pt&&Ot(J)),o!==m?kt()!==m?(f.substr(ct,4)===se?(a=se,ct+=4):(a=m,0===pt&&Ot(le)),a===m&&(f.substr(ct,4)===fe?(a=fe,ct+=4):(a=m,0===pt&&Ot(me))),a!==m?kt()!==m?(i=ct,44===f.charCodeAt(ct)?(u=W,ct++):(u=m,0===pt&&Ot(J)),(i=u!==m?(c=kt())!==m?(s=function(){var e,t,r;e=ct,f.substr(ct,2)===V?(t=V,ct+=2):(t=m,0===pt&&Ot(B));e=t!==m?(r=function(){var e,t,r,n;t=e=ct,r=[],(n=Dt())===m&&(n=Pt());if(n!==m)for(;n!==m;)r.push(n),(n=Dt())===m&&(n=Pt());else r=m;t=r!==m?f.substring(t,ct):r;t!==m&&(st=e,t=ue(t));return e=t}(),r!==m?(st=e,t=G(r)):(ct=e,m)):(ct=e,m);e===m&&(st=e=ct,t=ce(),e=(t=t?void 0:m)!==m?(r=Et())!==m?(st=e,t=H(r)):(ct=e,m):(ct=e,m));return e}())!==m?u=[u,c,s]:(ct=i,m):(ct=i,m):(ct=i,m))===m&&(i=null),i!==m?(u=kt())!==m?(125===f.charCodeAt(ct)?(c=j,ct++):(c=m,0===pt&&Ot(D)),c!==m?(st=e,t=X(n,a,i)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m):(ct=e,m)):(ct=e,m);return e}());return e}())===m&&(e=function(){var e,t,r,n,o,a,i,u,c,s,l;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));if(t!==m)if(kt()!==m)if((r=Ut())!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(n=W,ct++):(n=m,0===pt&&Ot(J)),n!==m)if(kt()!==m)if(f.substr(ct,6)===pe?(o=pe,ct+=6):(o=m,0===pt&&Ot(de)),o===m&&(f.substr(ct,13)===he?(o=he,ct+=13):(o=m,0===pt&&Ot(ge))),o!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(a=W,ct++):(a=m,0===pt&&Ot(J)),a!==m)if(kt()!==m)if(i=ct,f.substr(ct,7)===ye?(u=ye,ct+=7):(u=m,0===pt&&Ot(ve)),(i=u!==m?(c=kt())!==m?(s=_t())!==m?u=[u,c,s]:(ct=i,m):(ct=i,m):(ct=i,m))===m&&(i=null),i!==m)if((u=kt())!==m){if(c=[],(s=It())!==m)for(;s!==m;)c.push(s),s=It();else c=m;e=c!==m?(s=kt())!==m?(125===f.charCodeAt(ct)?(l=j,ct++):(l=m,0===pt&&Ot(D)),l!==m?(st=e,t=be(r,o,i,c)):(ct=e,m)):(ct=e,m):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;return e}())===m&&(e=function(){var e,t,r,n,o,a,i,u,c;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));if(t!==m)if(kt()!==m)if((r=Ut())!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(n=W,ct++):(n=m,0===pt&&Ot(J)),n!==m)if(kt()!==m)if(f.substr(ct,6)===we?(o=we,ct+=6):(o=m,0===pt&&Ot(Ae)),o!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(a=W,ct++):(a=m,0===pt&&Ot(J)),a!==m)if(kt()!==m){if(i=[],(u=xt())!==m)for(;u!==m;)i.push(u),u=xt();else i=m;e=i!==m?(u=kt())!==m?(125===f.charCodeAt(ct)?(c=j,ct++):(c=m,0===pt&&Ot(D)),c!==m?(st=e,t=Oe(r,i)):(ct=e,m)):(ct=e,m):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;return e}())===m&&(e=function(){var e,t,r,n,o,a;pt++,t=e=ct,60===f.charCodeAt(ct)?(r=l,ct++):(r=m,0===pt&&Ot(p));t=r!==m?(n=zt(),n!==m?(o=kt())!==m?(f.substr(ct,2)===d?(a=d,ct+=2):(a=m,0===pt&&Ot(h)),a!==m?r=[r,n,o,a]:(ct=t,m)):(ct=t,m):(ct=t,m)):(ct=t,m);t!==m&&(st=e,t=g(t));(e=t)===m&&(e=ct,t=function(){var e,t,r,n,o;e=ct,60===f.charCodeAt(ct)?(t=l,ct++):(t=m,0===pt&&Ot(p));e=t!==m?(st=ct,r=v(),(r=r?void 0:m)!==m?(n=zt())!==m?(62===f.charCodeAt(ct)?(o=b,ct++):(o=m,0===pt&&Ot(w)),o!==m?(st=ct,(A()?void 0:m)!==m?(st=e,t=O(n)):(ct=e,m)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m);return e}(),e=t!==m?(r=Rt())!==m?(n=function(){var e,t,r,n,o;e=ct,f.substr(ct,2)===F?(t=F,ct+=2):(t=m,0===pt&&Ot(R));e=t!==m?(st=ct,r=T(),(r=r?void 0:m)!==m?(n=zt())!==m?(62===f.charCodeAt(ct)?(o=b,ct++):(o=m,0===pt&&Ot(w)),o!==m?(st=ct,(A()?void 0:m)!==m?(st=e,t=O(n)):(ct=e,m)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m);return e}())!==m?(st=e,t=y(t,r,n)):(ct=e,m):(ct=e,m):(ct=e,m));pt--,e===m&&(t=m,0===pt&&Ot(s));return e}())===m&&(e=function(){var e,t;e=ct,35===f.charCodeAt(ct)?(t=i,ct++):(t=m,0===pt&&Ot(u));t!==m&&(st=e,t=c());return e=t}()),e}function Et(){var e,t,r;if(e=ct,t=[],(r=Lt())===m&&(r=$t())===m&&(r=Zt()),r!==m)for(;r!==m;)t.push(r),(r=Lt())===m&&(r=$t())===m&&(r=Zt());else t=m;return t!==m&&(st=e,t=o(t)),e=t}function St(){var e,t,r,n,o;if(pt++,t=[],n=r=e=ct,pt++,(o=Nt())===m&&(I.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(N))),pt--,(r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m))!==m)for(;r!==m;)t.push(r),n=r=ct,pt++,(o=Nt())===m&&(I.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(N))),pt--,r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m);else t=m;return e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(x)),e}function Ct(){var e,t,r;return pt++,e=ct,47===f.charCodeAt(ct)?(t=_,ct++):(t=m,0===pt&&Ot(L)),e=t!==m&&(r=St())!==m?(st=e,t=$(r)):(ct=e,m),pt--,e===m&&(t=m,0===pt&&Ot(k)),e}function jt(){var e,t,r,n;if(pt++,e=ct,kt()!==m)if((t=St())!==m){for(r=[],n=Ct();n!==m;)r.push(n),n=Ct();e=r!==m?(st=e,U(t,r)):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;return pt--,e===m&&(m,0===pt&&Ot(Z)),e}function Dt(){var e,t,r,n;if(e=ct,39===f.charCodeAt(ct)?(t=Y,ct++):(t=m,0===pt&&Ot(ee)),t!==m){if(r=[],(n=Lt())===m&&(te.test(f.charAt(ct))?(n=f.charAt(ct),ct++):(n=m,0===pt&&Ot(re))),n!==m)for(;n!==m;)r.push(n),(n=Lt())===m&&(te.test(f.charAt(ct))?(n=f.charAt(ct),ct++):(n=m,0===pt&&Ot(re)));else r=m;e=r!==m?(39===f.charCodeAt(ct)?(n=Y,ct++):(n=m,0===pt&&Ot(ee)),n!==m?t=[t,r,n]:(ct=e,m)):(ct=e,m)}else ct=e,e=m;if(e===m)if(e=[],(t=Lt())===m&&(ne.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(oe))),t!==m)for(;t!==m;)e.push(t),(t=Lt())===m&&(ne.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(oe)));else e=m;return e}function Pt(){var e,t;if(e=[],ae.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(ie)),t!==m)for(;t!==m;)e.push(t),ae.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(ie));else e=m;return e}function xt(){var e,t,r,n,o;return e=ct,e=kt()!==m&&(t=Bt())!==m&&kt()!==m?(123===f.charCodeAt(ct)?(r=S,ct++):(r=m,0===pt&&Ot(C)),r!==m?(st=ct,(Te()?void 0:m)!==m&&(n=Rt())!==m?(125===f.charCodeAt(ct)?(o=j,ct++):(o=m,0===pt&&Ot(D)),o!==m?(st=e,Ee(t,n)):(ct=e,m)):(ct=e,m)):(ct=e,m)):(ct=e,m)}function It(){var e,t,r,n,o;return e=ct,e=kt()!==m&&(t=function(){var e,t,r,n;return t=e=ct,61===f.charCodeAt(ct)?(r=Fe,ct++):(r=m,0===pt&&Ot(Re)),(e=(t=r!==m&&(n=_t())!==m?r=[r,n]:(ct=t,m))!==m?f.substring(e,ct):t)===m&&(e=Bt()),e}())!==m&&kt()!==m?(123===f.charCodeAt(ct)?(r=S,ct++):(r=m,0===pt&&Ot(C)),r!==m?(st=ct,(Se()?void 0:m)!==m&&(n=Rt())!==m?(125===f.charCodeAt(ct)?(o=j,ct++):(o=m,0===pt&&Ot(D)),o!==m?(st=e,Ce(t,n)):(ct=e,m)):(ct=e,m)):(ct=e,m)):(ct=e,m)}function Nt(){var e;return pt++,De.test(f.charAt(ct))?(e=f.charAt(ct),ct++):(e=m,0===pt&&Ot(Pe)),pt--,e===m&&0===pt&&Ot(je),e}function Mt(){var e;return pt++,Ie.test(f.charAt(ct))?(e=f.charAt(ct),ct++):(e=m,0===pt&&Ot(Ne)),pt--,e===m&&0===pt&&Ot(xe),e}function kt(){var e,t,r;for(pt++,e=ct,t=[],r=Nt();r!==m;)t.push(r),r=Nt();return e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(Me)),e}function _t(){var e,t,r;return pt++,e=ct,45===f.charCodeAt(ct)?(t=_e,ct++):(t=m,0===pt&&Ot(Le)),t===m&&(t=null),e=t!==m&&(r=Vt())!==m?(st=e,t=$e(t,r)):(ct=e,m),pt--,e===m&&(t=m,0===pt&&Ot(ke)),e}function Lt(){var e,t;return pt++,e=ct,f.substr(ct,2)===Ue?(t=Ue,ct+=2):(t=m,0===pt&&Ot(ze)),t!==m&&(st=e,t=Ve()),pt--,(e=t)===m&&(t=m,0===pt&&Ot(Ze)),e}function $t(){var e,t,r,n,o,a;if(e=ct,39===f.charCodeAt(ct)?(t=Y,ct++):(t=m,0===pt&&Ot(ee)),t!==m)if((r=function(){var e,t,r,n;t=e=ct,f.length>ct?(r=f.charAt(ct),ct++):(r=m,0===pt&&Ot(M));t=r!==m?(st=ct,n=We(r),(n=n?void 0:m)!==m?r=[r,n]:(ct=t,m)):(ct=t,m);e=t!==m?f.substring(e,ct):t;return e}())!==m){for(n=ct,o=[],f.substr(ct,2)===Ue?(a=Ue,ct+=2):(a=m,0===pt&&Ot(ze)),a===m&&(te.test(f.charAt(ct))?(a=f.charAt(ct),ct++):(a=m,0===pt&&Ot(re)));a!==m;)o.push(a),f.substr(ct,2)===Ue?(a=Ue,ct+=2):(a=m,0===pt&&Ot(ze)),a===m&&(te.test(f.charAt(ct))?(a=f.charAt(ct),ct++):(a=m,0===pt&&Ot(re)));e=(n=o!==m?f.substring(n,ct):o)!==m?(39===f.charCodeAt(ct)?(o=Y,ct++):(o=m,0===pt&&Ot(ee)),o===m&&(o=null),o!==m?(st=e,t=Be(r,n)):(ct=e,m)):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;return e}function Zt(){var e,t,r,n;return t=e=ct,f.length>ct?(r=f.charAt(ct),ct++):(r=m,0===pt&&Ot(M)),(t=r!==m?(st=ct,(n=(n=Ge(r))?void 0:m)!==m?r=[r,n]:(ct=t,m)):(ct=t,m))===m&&(10===f.charCodeAt(ct)?(t=qe,ct++):(t=m,0===pt&&Ot(He))),e=t!==m?f.substring(e,ct):t}function Ut(){var e,t;return pt++,e=ct,(t=Vt())===m&&(t=Bt()),e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(Je)),e}function zt(){var e,t;return pt++,e=ct,(t=Vt())===m&&(t=function(){var e,t,r,n,o;pt++,e=ct,t=[],45===f.charCodeAt(ct)?(r=_e,ct++):(r=m,0===pt&&Ot(Le));r===m&&(n=r=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,n=o===m?void 0:(ct=n,m),r=n!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m));if(r!==m)for(;r!==m;)t.push(r),45===f.charCodeAt(ct)?(r=_e,ct++):(r=m,0===pt&&Ot(Le)),r===m&&(n=r=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,n=o===m?void 0:(ct=n,m),r=n!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m));else t=m;e=t!==m?f.substring(e,ct):t;pt--,e===m&&(t=m,0===pt&&Ot(ut));return e}()),e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(Ke)),e}function Vt(){var e,t,r,n,o;if(pt++,e=ct,48===f.charCodeAt(ct)?(t=Xe,ct++):(t=m,0===pt&&Ot(Ye)),t!==m&&(st=e,t=et()),(e=t)===m){if(t=e=ct,tt.test(f.charAt(ct))?(r=f.charAt(ct),ct++):(r=m,0===pt&&Ot(rt)),r!==m){for(n=[],nt.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(ot));o!==m;)n.push(o),nt.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(ot));t=n!==m?r=[r,n]:(ct=t,m)}else ct=t,t=m;t!==m&&(st=e,t=at(t)),e=t}return pt--,e===m&&(t=m,0===pt&&Ot(Qe)),e}function Bt(){var e,t,r,n,o;if(pt++,t=[],n=r=e=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,(r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m))!==m)for(;r!==m;)t.push(r),n=r=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m);else t=m;return e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(it)),e}var Gt,qt,Ht,Wt=["root"];function Jt(){return 1<Wt.length}function Kt(){return"plural"===Wt[Wt.length-1]}function Qt(){return e&&e.captureLocation?{location:ht()}:{}}if((t=n())!==m&&ct===f.length)return t;throw t!==m&&ct<f.length&&Ot({type:"end"}),Gt=mt,qt=ft<f.length?f.charAt(ft):null,Ht=ft<f.length?At(ft,ft+1):At(ft,ft),new er(er.buildMessage(Gt,qt),Gt,qt,Ht)},b=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n},w=/(^|[^\\])#/g;var A=function(){return(A=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},O=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function C(e){var r={};return e.replace(O,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),r}var F=/^\.(?:(0+)(\+|#+)?)?$/g,j=/^(@+)?(\+|#+)?$/g;function D(e){var n={};return e.replace(j,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function P(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function x(e){var t=P(e);return t||{}}function I(e){for(var n={},t=0,r=e;t<r.length;t++){var o=r[t];switch(o.stem){case"percent":n.style="percent";continue;case"currency":n.style="currency",n.currency=o.options[0];continue;case"group-off":n.useGrouping=!1;continue;case"precision-integer":n.maximumFractionDigits=0;continue;case"measure-unit":n.style="unit",n.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":n.notation="compact",n.compactDisplay="short";continue;case"compact-long":n.notation="compact",n.compactDisplay="long";continue;case"scientific":n=A(A(A({},n),{notation:"scientific"}),o.options.reduce(function(e,t){return A(A({},e),x(t))},{}));continue;case"engineering":n=A(A(A({},n),{notation:"engineering"}),o.options.reduce(function(e,t){return A(A({},e),x(t))},{}));continue;case"notation-simple":n.notation="standard";continue;case"unit-width-narrow":n.currencyDisplay="narrowSymbol",n.unitDisplay="narrow";continue;case"unit-width-short":n.currencyDisplay="code",n.unitDisplay="short";continue;case"unit-width-full-name":n.currencyDisplay="name",n.unitDisplay="long";continue;case"unit-width-iso-code":n.currencyDisplay="symbol";continue}if(F.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(F,function(e,t,r){return"."===e?n.maximumFractionDigits=0:"+"===r?n.minimumFractionDigits=r.length:"#"===t[0]?n.maximumFractionDigits=t.length:(n.minimumFractionDigits=t.length,n.maximumFractionDigits=t.length+("string"==typeof r?r.length:0)),""}),o.options.length&&(n=A(A({},n),D(o.options[0])))}else if(j.test(o.stem))n=A(A({},n),D(o.stem));else{var a=P(o.stem);a&&(n=A(A({},n),a))}}return n}function N(e,t){var r=v(e,t);return t&&!1===t.normalizeHashtagInPlural||function l(e){e.forEach(function(s){(S(s)||E(s))&&Object.keys(s.options).forEach(function(e){for(var t,r=s.options[e],n=-1,o=void 0,a=0;a<r.value.length;a++){var i=r.value[a];if(T(i)&&w.test(i.value)){n=a,o=i;break}}if(o){var u=o.value.replace(w,"$1{"+s.value+", number}"),c=v(u);(t=r.value).splice.apply(t,b([n,1],c))}l(r.value)})})}(r),r}var M=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n};function k(e){return JSON.stringify(e.map(function(e){return e&&"object"===R(e)?function(r){return Object.keys(r).sort().map(function(e){var t;return(t={})[e]=r[e],t})}(e):e}))}var _,L,$=function(a,i){return void 0===i&&(i={}),function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=k(t),o=n&&i[n];return o||(o=new((e=a).bind.apply(e,M([void 0],t))),n&&(i[n]=o)),o}},Z=(_=function(e,t){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),U=(L=Error,Z(z,L),z.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},z);function z(e,t){var r=L.call(this,e)||this;return r.code=t,r}var V,B=(Z(G,V=U),G);function G(e,t,r){return V.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',1)||this}var q,H=(Z(W,q=U),W);function W(e,t){return q.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',0)||this}var J=function(){return(J=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function K(r,n){return n?Object.keys(r).reduce(function(e,t){return e[t]=function(r,n){return n?J(J(J({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=J(J({},r[t]),n[t]||{}),e},{})):r}(r[t],n[t]),e},J({},r)):r}var Q=(X.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,X.__parse=N,X.formats={number:{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"}}},X);function X(e,t,r,n){var o=this;if(void 0===t&&(t=X.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,o,a,i,u){if(1===t.length&&T(t[0]))return[{type:0,value:t[0].value}];for(var c,s,l=[],f=0,m=t;f<m.length;f++){var p=m[f];if(T(p))l.push({type:0,value:p.value});else if(p.type!==Xt.pound){var d=p.value;if(!(a&&d in a))throw new H(d,u);var h=a[d];if(p.type!==Xt.argument)if(p.type!==Xt.date)if(p.type!==Xt.time)if(p.type!==Xt.number){if(p.type===Xt.tag){var g=p.children,y=p.value,v=a[y];if("function"!=typeof v)throw new TypeError('Value for "'+y+'" must be a function');var b=e(g,r,n,o,a),w=v.apply(void 0,b.map(function(e){return e.value}));Array.isArray(w)||(w=[w]),l.push.apply(l,w.map(function(e){return{type:"string"==typeof e?0:1,value:e}}))}if(E(p)){if(!(A=p.options[h]||p.options.other))throw new B(p.value,h,Object.keys(p.options));l.push.apply(l,e(A.value,r,n,o,a))}else if(S(p)){var A;if(!(A=p.options["="+h])){if(!Intl.PluralRules)throw new U('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',2);var O=n.getPluralRules(r,{type:p.pluralType}).select(h-(p.offset||0));A=p.options[O]||p.options.other}if(!A)throw new B(p.value,h,Object.keys(p.options));l.push.apply(l,e(A.value,r,n,o,a,h-(p.offset||0)))}}else F="string"==typeof p.style?o.number[p.style]:(c=p.style)&&"object"===R(c)&&0===c.type?I(p.style.tokens):void 0,l.push({type:0,value:n.getNumberFormat(r,F).format(h)});else{var F="string"==typeof p.style?o.time[p.style]:(s=p.style)&&"object"===R(s)&&1===s.type?C(p.style.pattern):void 0;l.push({type:0,value:n.getDateTimeFormat(r,F).format(h)})}else{var F="string"==typeof p.style?o.date[p.style]:void 0;l.push({type:0,value:n.getDateTimeFormat(r,F).format(h)})}else h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),l.push({type:"string"==typeof h?0:1,value:h})}else"number"==typeof i&&l.push({type:0,value:n.getNumberFormat(r).format(i)})}return function(e){return e.length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])}(l)}(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!X.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=X.__parse(e,{normalizeHashtagInPlural:!1})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=K(X.formats,r),this.locales=t,this.formatters=n&&n.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:$(Intl.NumberFormat,e.number),getDateTimeFormat:$(Intl.DateTimeFormat,e.dateTime),getPluralRules:$(Intl.PluralRules,e.pluralRules)}}(this.formatterCache)}function Y(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var ee=function(){function o(e,t,r){var n;return a(this,o),(n=f(this,u(o).call(this,"[React Intl Error ".concat(e,"] ").concat(t," ").concat(r?"\n".concat(r.stack):"")))).code=e,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(l(n),o),n}return i(o,t(Error)),o}();function te(r,e,t){var n=2<arguments.length&&void 0!==t?t:{};return e.reduce(function(e,t){return t in r?e[t]=r[t]:t in n&&(e[t]=n[t]),e},{})}function re(e){Y(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ne={formats:{},messages:{},timeZone:void 0,textComponent:g.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function oe(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ae(e){var t=0<arguments.length&&void 0!==e?e:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},r=Intl.RelativeTimeFormat,n=Intl.ListFormat,o=Intl.DisplayNames;return{getDateTimeFormat:$(Intl.DateTimeFormat,t.dateTime),getNumberFormat:$(Intl.NumberFormat,t.number),getMessageFormat:$(Q,t.message),getRelativeTimeFormat:$(r,t.relativeTime),getPluralRules:$(Intl.PluralRules,t.pluralRules),getListFormat:$(n,t.list),getDisplayNames:$(o,t.displayNames)}}function ie(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new ee("UNSUPPORTED_FORMATTER","No ".concat(t," format named: ").concat(r)))}function ue(e,t){return e(t={exports:{}},t.exports),t.exports}var ce,se=ue(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,m=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116;function g(e){if("object"===R(e)&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case a:case u:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case m:case c:return e;default:return t}}case h:case d:case o:return t}}}function y(e){return g(e)===f}t.typeOf=g,t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=c,t.Element=n,t.ForwardRef=m,t.Fragment=a,t.Lazy=h,t.Memo=d,t.Portal=o,t.Profiler=u,t.StrictMode=i,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===u||e===i||e===p||"object"===R(e)&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===c||e.$$typeof===s||e.$$typeof===m)},t.isAsyncMode=function(e){return y(e)||g(e)===l},t.isConcurrentMode=y,t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===c},t.isElement=function(e){return"object"===R(e)&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===m},t.isFragment=function(e){return g(e)===a},t.isLazy=function(e){return g(e)===h},t.isMemo=function(e){return g(e)===d},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===u},t.isStrictMode=function(e){return g(e)===i},t.isSuspense=function(e){return g(e)===p}});(ce=se)&&ce.__esModule&&Object.prototype.hasOwnProperty.call(ce,"default")&&ce.default;se.typeOf,se.AsyncMode,se.ConcurrentMode,se.ContextConsumer,se.ContextProvider,se.Element,se.ForwardRef,se.Fragment,se.Lazy,se.Memo,se.Portal,se.Profiler,se.StrictMode,se.Suspense,se.isValidElementType,se.isAsyncMode,se.isConcurrentMode,se.isContextConsumer,se.isContextProvider,se.isElement,se.isForwardRef,se.isFragment,se.isLazy,se.isMemo,se.isPortal,se.isProfiler,se.isStrictMode,se.isSuspense;var le=ue(function(e){e.exports=se}),fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},me={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},de={};function he(e){return le.isMemo(e)?pe:de[e.$$typeof]||fe}de[le.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},de[le.Memo]=pe;var ge=Object.defineProperty,ye=Object.getOwnPropertyNames,ve=Object.getOwnPropertySymbols,be=Object.getOwnPropertyDescriptor,we=Object.getPrototypeOf,Ae=Object.prototype;function Oe(e,t,r){if("string"!=typeof t){if(Ae){var n=we(t);n&&n!==Ae&&Oe(e,n,r)}var o=ye(t);ve&&(o=o.concat(ve(t)));for(var a=he(e),i=he(t),u=0;u<o.length;++u){var c=o[u];if(!(me[c]||r&&r[c]||i&&i[c]||a&&a[c])){var s=be(t,c);try{ge(e,c,s)}catch(e){}}}}return e}var Fe=Oe;var Re=g.createContext(null),Te=Re.Consumer,Ee=Re.Provider,Se=Re;function Ce(r,e){function n(t){return g.createElement(Te,null,function(e){return s&&re(e),g.createElement(r,Object.assign({},t,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},a,e),{ref:u?t.forwardedRef:null}))})}var t=e||{},o=t.intlPropName,a=void 0===o?"intl":o,i=t.forwardRef,u=void 0!==i&&i,c=t.enforceContext,s=void 0===c||c;return n.displayName="injectIntl(".concat(function(e){return e.displayName||e.name||"Component"}(r),")"),n.WrappedComponent=r,Fe(u?g.forwardRef(function(e,t){return g.createElement(n,Object.assign({},e,{forwardedRef:t}))}):n,r)}var je,De,Pe,xe,Ie=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};(De=je=je||{}).formatDate="FormattedDate",De.formatTime="FormattedTime",De.formatNumber="FormattedNumber",De.formatList="FormattedList",De.formatDisplayName="FormattedDisplayName",(xe=Pe=Pe||{}).formatDate="FormattedDateParts",xe.formatTime="FormattedTimeParts",xe.formatNumber="FormattedNumberParts",xe.formatList="FormattedListParts";function Ne(o){return g.createElement(Se.Consumer,null,function(e){re(e);var t=o.value,r=o.children,n=Ie(o,["value","children"]);return r(e.formatNumberToParts(t,n))})}function Me(i){function e(a){return g.createElement(Se.Consumer,null,function(e){re(e);var t=a.value,r=a.children,n=Ie(a,["value","children"]),o="string"==typeof t?new Date(t||0):t;return r("formatDate"===i?e.formatDateToParts(o,n):e.formatTimeToParts(o,n))})}return e.displayName=Pe[i],e}function ke(u){function e(i){return g.createElement(Se.Consumer,null,function(e){re(e);var t=i.value,r=i.children,n=Ie(i,["value","children"]),o=e[u](t,n);if("function"==typeof r)return r(o);var a=e.textComponent||g.Fragment;return g.createElement(a,null,o)})}return e.displayName=je[u],e}Ne.displayName="FormattedNumberParts";var _e=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Le(e,t,r){var n=e.locale,o=e.formats,a=e.onError,i=2<arguments.length&&void 0!==r?r:{},u=i.format,c=u&&ie(o,"number",u,a)||{};return t(n,te(i,_e,c))}var $e=["numeric","style"];function Ze(t,e,r,n){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{};n=n||"second",Intl.RelativeTimeFormat||t.onError(new U('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',2));try{return function(e,t,r){var n=e.locale,o=e.formats,a=e.onError,i=2<arguments.length&&void 0!==r?r:{},u=i.format,c=!!u&&ie(o,"relative",u,a)||{};return t(n,te(i,$e,c))}(t,e,o).format(r,n)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting relative time.",e))}return String(r)}var Ue=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function ze(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,u=e.timeZone,c=3<arguments.length&&void 0!==n?n:{},s=c.format,l=Object.assign(Object.assign({},u&&{timeZone:u}),s&&ie(a,t,s,i)),f=te(c,Ue,l);return"time"!==t||f.hour||f.minute||f.second||(f=Object.assign(Object.assign({},f),{hour:"numeric",minute:"numeric"})),r(o,f)}var Ve=["localeMatcher","type"];function Be(r,n){return Object.keys(r).reduce(function(e,t){return e[t]=Object.assign({timeZone:n},r[t]),e},{})}function Ge(r,n){return Object.keys(Object.assign(Object.assign({},r),n)).reduce(function(e,t){return e[t]=Object.assign(Object.assign({},r[t]||{}),n[t]||{}),e},{})}function qe(e,t){if(!t)return e;var r=Q.formats;return Object.assign(Object.assign(Object.assign({},r),e),{date:Ge(Be(r.date,t),Be(e.date||{},t)),time:Ge(Be(r.time,t),Be(e.time||{},t))})}var He=function(e){return g.createElement.apply(g,[g.Fragment,null].concat(y(e)))};function We(e,t){var r=e.locale,n=e.formats,o=e.messages,a=e.defaultLocale,i=e.defaultFormats,u=e.onError,c=e.timeZone,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{id:""},l=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},f=s.id,m=s.defaultMessage;Y(!!f,"[React Intl] An `id` must be provided to format a message.");var p=o&&o[String(f)];n=qe(n,c),i=qe(i,c);var d="";if(p)try{d=t.getMessageFormat(p,r,n,{formatters:t}).format(l)}catch(e){u(new ee("FORMAT_ERROR",'Error formatting message: "'.concat(f,'" for locale: "').concat(r,'"')+(m?", using default message as fallback.":""),e))}else u(new ee("MISSING_TRANSLATION",'Missing message: "'.concat(f,'" for locale: "').concat(r,'"')+(m?", using default message as fallback.":"")));if(!d&&m)try{d=t.getMessageFormat(m,a,i).format(l)}catch(e){u(new ee("FORMAT_ERROR",'Error formatting the default message for: "'.concat(f,'"'),e))}return d?Array.isArray(d)?He(d):d:(u(new ee("FORMAT_ERROR",'Cannot format message: "'.concat(f,'", ')+"using message ".concat(p||m?"source":"id"," as fallback."))),"string"==typeof p?p||m||String(f):m||String(f))}function Je(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 a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Ke=["localeMatcher","type","style"],Qe=Date.now();function Xe(e,t,r){var n=e.locale,o=e.onError,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.ListFormat||o(new U('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',2));var i=te(a,Ke);try{var u={},c=r.map(function(e,t){if("object"!==R(e))return String(e);var r=function(e){return"".concat(Qe,"_").concat(e,"_").concat(Qe)}(t);return u[r]=e,r});return Object.keys(u).length?t(n,i).formatToParts(c).reduce(function(e,t){var r=t.value;return u[r]?e.push(u[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]):t(n,i).format(c)}catch(e){o(new ee("FORMAT_ERROR","Error formatting list.",e))}return r}var Ye=["localeMatcher","style","type","fallback"];var et=Je;function tt(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function rt(e,t){var r=ae(t),n=Object.assign(Object.assign({},ne),e),o=n.locale,a=n.defaultLocale,i=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new ee("MISSING_DATA",'Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new ee("MISSING_DATA",'Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(i&&i(new ee("INVALID_CONFIG",'"locale" was not configured, using "'.concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),n.locale=n.defaultLocale||"en"),Object.assign(Object.assign({},n),{formatters:r,formatNumber:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{return Le(t,e,n).format(r)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting number.",e))}return String(r)}.bind(null,n,r.getNumberFormat),formatNumberToParts:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{return Le(t,e,n).formatToParts(r)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting number.",e))}return[]}.bind(null,n,r.getNumberFormat),formatRelativeTime:Ze.bind(null,n,r.getRelativeTimeFormat),formatDate:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"date",e,n).format(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting date.",e))}return String(o)}.bind(null,n,r.getDateTimeFormat),formatDateToParts:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"date",e,n).formatToParts(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting date.",e))}return[]}.bind(null,n,r.getDateTimeFormat),formatTime:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"time",e,n).format(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting time.",e))}return String(o)}.bind(null,n,r.getDateTimeFormat),formatTimeToParts:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"time",e,n).formatToParts(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting time.",e))}return[]}.bind(null,n,r.getDateTimeFormat),formatPlural:function(e,t,r){var n=e.locale,o=e.onError,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||o(new U('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',2));var i=te(a,Ve);try{return t(n,i).select(r)}catch(e){o(new ee("FORMAT_ERROR","Error formatting plural.",e))}return"other"}.bind(null,n,r.getPluralRules),formatMessage:We.bind(null,n,r),formatList:Xe.bind(null,n,r.getListFormat),formatDisplayName:function(e,t,r){var n=e.locale,o=e.onError,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.DisplayNames||o(new U('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',2));var i=te(a,Ye);try{return t(n,i).of(r)}catch(e){o(new ee("FORMAT_ERROR","Error formatting display name.",e))}}.bind(null,n,r.getDisplayNames)})}var nt=function(){function t(){var e;return a(this,t),(e=f(this,u(t).apply(this,arguments))).cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},e.state={cache:e.cache,intl:rt(tt(e.props),e.cache),prevConfig:tt(e.props)},e}return i(t,g.PureComponent),o(t,[{key:"render",value:function(){return re(this.state.intl),g.createElement(Ee,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevConfig,n=t.cache,o=tt(e);return et(r,o)?null:{intl:rt(o,n),prevConfig:o}}}]),t}();nt.displayName="IntlProvider",nt.defaultProps=ne;var ot=60,at=3600;function it(e){var t=Math.abs(e);return t<ot?"second":t<at?"minute":t<86400?"hour":"day"}function ut(e){switch(e){case"second":return 1;case"minute":return ot;case"hour":return at;default:return 86400}}function ct(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return e*ot;default:return e*at}}var st=["second","minute","hour"];function lt(e){var t=0<arguments.length&&void 0!==e?e:"second";return st.includes(t)}var ft=function(){function r(e){var t;return a(this,r),(t=f(this,u(r).call(this,e)))._updateTimer=null,t.state={prevUnit:t.props.unit,prevValue:t.props.value,currentValueInSeconds:lt(t.props.unit)?ct(t.props.value,t.props.unit):0},Y(!e.updateIntervalInSeconds||!(!e.updateIntervalInSeconds||!lt(e.unit)),"Cannot schedule update with unit longer than hour"),t}return i(r,g.PureComponent),o(r,[{key:"scheduleNextUpdate",value:function(e,t){var r=this,n=e.updateIntervalInSeconds,o=e.unit,a=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,n&&lt(o)){var i=a-n,u=it(i);if("day"!==u){var c=ut(u),s=i-i%c,l=a<=s?s-c:s,f=Math.abs(l-a);this._updateTimer=setTimeout(function(){return r.setState({currentValueInSeconds:l})},1e3*f)}}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentDidUpdate",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._updateTimer),this._updateTimer=null}},{key:"render",value:function(){var p=this;return g.createElement(Se.Consumer,null,function(e){re(e);var t=e.formatRelativeTime,r=e.textComponent,n=p.props,o=n.children,a=n.value,i=n.unit,u=n.updateIntervalInSeconds,c=p.state.currentValueInSeconds,s=a||0,l=i;if(lt(i)&&"number"==typeof c&&u){var f=ut(l=it(c));s=Math.round(c/f)}var m=t(s,l,Object.assign({},p.props));return"function"==typeof o?o(m):r?g.createElement(r,null,m):m})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:lt(e.unit)?ct(e.value,e.unit):0}:null}}]),r}();ft.displayName="FormattedRelativeTime",ft.defaultProps={value:0,unit:"second"};function mt(e){var t=e.value,r=e.other,n=e.children,o=e.intl,a=o.formatPlural,i=o.textComponent,u=e[a(t,e)]||r;return"function"==typeof n?n(u):i?g.createElement(i,null,u):u}mt.defaultProps={type:"cardinal"},mt.displayName="FormattedPlural";var pt=Ce(mt),dt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},ht=Je;function gt(e,t){return We(Object.assign(Object.assign({},ne),{locale:"en"}),ae(),e,t)}var yt=function(){function e(){return a(this,e),f(this,u(e).apply(this,arguments))}return i(e,g.Component),o(e,[{key:"shouldComponentUpdate",value:function(e){var t=this.props,r=t.values,n=dt(t,["values"]),o=e.values,a=dt(e,["values"]);return!ht(o,r)||!ht(n,a)}},{key:"render",value:function(){var h=this;return g.createElement(Se.Consumer,null,function(e){h.props.defaultMessage||re(e);var t=e||{},r=t.formatMessage,n=void 0===r?gt:r,o=t.textComponent,a=void 0===o?g.Fragment:o,i=h.props,u=i.id,c=i.description,s=i.defaultMessage,l=i.values,f=i.children,m=i.tagName,p=void 0===m?a:m,d=n({id:u,description:c,defaultMessage:s},l);return Array.isArray(d)||(d=[d]),"function"==typeof f?f.apply(void 0,y(d)):p?g.createElement.apply(g,[p,null].concat(y(d))):d})}}]),e}();yt.displayName="FormattedMessage",yt.defaultProps={values:{}};var vt=ke("formatDate"),bt=ke("formatTime"),wt=ke("formatNumber"),At=ke("formatList"),Ot=ke("formatDisplayName"),Ft=Me("formatDate"),Rt=Me("formatTime");e.FormattedDate=vt,e.FormattedDateParts=Ft,e.FormattedDisplayName=Ot,e.FormattedList=At,e.FormattedMessage=yt,e.FormattedNumber=wt,e.FormattedNumberParts=Ne,e.FormattedPlural=pt,e.FormattedRelativeTime=ft,e.FormattedTime=bt,e.FormattedTimeParts=Rt,e.IntlContext=Se,e.IntlProvider=nt,e.RawIntlProvider=Ee,e.ReactIntlError=ee,e.createIntl=rt,e.createIntlCache=oe,e.defineMessages=function(e){return e},e.injectIntl=Ce,e.useIntl=function(){var e=g.useContext(Se);return re(e),e},Object.defineProperty(e,"__esModule",{value:!0})});
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("react")):"function"==typeof define&&define.amd?define(["exports","react"],t):t((e=e||self).ReactIntl={},e.React)}(this,function(e,g){"use strict";function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e,t,r){return(s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&c(o,r.prototype),o}).apply(null,arguments)}function t(e){var r="function"==typeof Map?new Map:void 0;return(t=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return s(e,arguments,u(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),c(t,e)})(e)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?l(e):t}function y(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Xt,r;function T(e){return e.type===Xt.literal}function E(e){return e.type===Xt.select}function S(e){return e.type===Xt.plural}(r=Xt=Xt||{})[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";var m,p,d=(m=function(e,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Yt=function(){return(Yt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},er=(p=Error,d(h,p),h.buildMessage=function(e,t){function r(e){return e.charCodeAt(0).toString(16).toUpperCase()}function n(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function o(e){return e.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(e){return"\\x0"+r(e)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(e){return"\\x"+r(e)})}function a(e){switch(e.type){case"literal":return'"'+n(e.text)+'"';case"class":var t=e.parts.map(function(e){return Array.isArray(e)?o(e[0])+"-"+o(e[1]):o(e)});return"["+(e.inverted?"^":"")+t+"]";case"any":return"any character";case"end":return"end of input";case"other":return e.description}}return"Expected "+function(e){var t,r,n=e.map(a);if(n.sort(),0<n.length){for(r=t=1;t<n.length;t++)n[t-1]!==n[t]&&(n[r]=n[t],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(e)+" but "+((i=t)?'"'+n(i)+'"':"end of input")+" found.";var i},h);function h(e,t,r,n){var o=p.call(this)||this;return o.message=e,o.expected=t,o.found=r,o.location=n,o.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(o,h),o}var v=function(f,e){e=void 0!==e?e:{};var t,m={},r={start:Ft},n=Ft,o=function(e){return e.join("")},a=function(e){return Yt({type:Xt.literal,value:e},Qt())},i="#",u=yt("#",!1),c=function(){return Yt({type:Xt.pound},Qt())},s=bt("tagElement"),l="<",p=yt("<",!1),d="/>",h=yt("/>",!1),g=function(e){return Yt({type:Xt.literal,value:e.join("")},Qt())},y=function(e,t,r){return e!==r&&gt('Mismatch tag "'+e+'" !== "'+r+'"',ht()),Yt({type:Xt.tag,value:e,children:t},Qt())},v=function(){return Wt.push("openingTag"),!0},b=">",w=yt(">",!1),A=function(e){return Wt.pop(),!0},O=function(e){return e},F="</",R=yt("</",!1),T=function(){return Wt.push("closingTag"),!0},E=bt("argumentElement"),S="{",C=yt("{",!1),j="}",D=yt("}",!1),P=function(e){return Yt({type:Xt.argument,value:e},Qt())},x=bt("numberSkeletonId"),I=/^['\/{}]/,N=vt(["'","/","{","}"],!1,!1),M={type:"any"},k=bt("numberSkeletonTokenOption"),_="/",L=yt("/",!1),$=function(e){return e},Z=bt("numberSkeletonToken"),U=function(e,t){return{stem:e,options:t}},z=function(e){return Yt({type:0,tokens:e},Qt())},V="::",B=yt("::",!1),G=function(e){return e},q=function(){return Wt.push("numberArgStyle"),!0},H=function(e){return Wt.pop(),e.replace(/\s*$/,"")},W=",",J=yt(",",!1),K="number",Q=yt("number",!1),X=function(e,t,r){return Yt({type:"number"===t?Xt.number:"date"===t?Xt.date:Xt.time,style:r&&r[2],value:e},Qt())},Y="'",ee=yt("'",!1),te=/^[^']/,re=vt(["'"],!0,!1),ne=/^[^a-zA-Z'{}]/,oe=vt([["a","z"],["A","Z"],"'","{","}"],!0,!1),ae=/^[a-zA-Z]/,ie=vt([["a","z"],["A","Z"]],!1,!1),ue=function(e){return Yt({type:1,pattern:e},Qt())},ce=function(){return Wt.push("dateOrTimeArgStyle"),!0},se="date",le=yt("date",!1),fe="time",me=yt("time",!1),pe="plural",de=yt("plural",!1),he="selectordinal",ge=yt("selectordinal",!1),ye="offset:",ve=yt("offset:",!1),be=function(e,t,r,n){return Yt({type:Xt.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:r?r[2]:0,options:n.reduce(function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&gt('Duplicate option "'+r+'" in plural element: "'+dt()+'"',ht()),e[r]={value:n,location:o},e},{})},Qt())},we="select",Ae=yt("select",!1),Oe=function(e,t){return Yt({type:Xt.select,value:e,options:t.reduce(function(e,t){var r=t.id,n=t.value,o=t.location;return r in e&&gt('Duplicate option "'+r+'" in select element: "'+dt()+'"',ht()),e[r]={value:n,location:o},e},{})},Qt())},Fe="=",Re=yt("=",!1),Te=function(e){return Wt.push("select"),!0},Ee=function(e,t){return Wt.pop(),Yt({id:e,value:t},Qt())},Se=function(e){return Wt.push("plural"),!0},Ce=function(e,t){return Wt.pop(),Yt({id:e,value:t},Qt())},je=bt("whitespace"),De=/^[\t-\r \x85\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Pe=vt([["\t","\r"]," ","…"," "," ",[" "," "],"\u2028","\u2029"," "," "," "],!1,!1),xe=bt("syntax pattern"),Ie=/^[!-\/:-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,Ne=vt([["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←","⑟"],["─","❵"],["➔","⯿"],["⸀","⹿"],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!1,!1),Me=bt("optional whitespace"),ke=bt("number"),_e="-",Le=yt("-",!1),$e=function(e,t){return t?e?-t:t:0},Ze=bt("double apostrophes"),Ue="''",ze=yt("''",!1),Ve=function(){return"'"},Be=function(e,t){return e+t.replace("''","'")},Ge=function(e){return!("<"===e||"{"===e||Kt()&&"#"===e||Jt()&&"}"===e||Jt()&&">"===e)},qe="\n",He=yt("\n",!1),We=function(e){return"<"===e||">"===e||"{"===e||"}"===e||Kt()&&"#"===e},Je=bt("argNameOrNumber"),Ke=bt("validTag"),Qe=bt("argNumber"),Xe="0",Ye=yt("0",!1),et=function(){return 0},tt=/^[1-9]/,rt=vt([["1","9"]],!1,!1),nt=/^[0-9]/,ot=vt([["0","9"]],!1,!1),at=function(e){return parseInt(e.join(""),10)},it=bt("argName"),ut=bt("tagName"),ct=0,st=0,lt=[{line:1,column:1}],ft=0,mt=[],pt=0;if(void 0!==e.startRule){if(!(e.startRule in r))throw new Error("Can't start parsing from rule \""+e.startRule+'".');n=r[e.startRule]}function dt(){return f.substring(st,ct)}function ht(){return At(st,ct)}function gt(e,t){throw function(e,t){return new er(e,[],"",t)}(e,t=void 0!==t?t:At(st,ct))}function yt(e,t){return{type:"literal",text:e,ignoreCase:t}}function vt(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function bt(e){return{type:"other",description:e}}function wt(e){var t,r=lt[e];if(r)return r;for(t=e-1;!lt[t];)t--;for(r={line:(r=lt[t]).line,column:r.column};t<e;)10===f.charCodeAt(t)?(r.line++,r.column=1):r.column++,t++;return lt[e]=r}function At(e,t){var r=wt(e),n=wt(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function Ot(e){ct<ft||(ft<ct&&(ft=ct,mt=[]),mt.push(e))}function Ft(){return Rt()}function Rt(){var e,t;for(e=[],t=Tt();t!==m;)e.push(t),t=Tt();return e}function Tt(){var e;return(e=function(){var e,t;e=ct,(t=Et())!==m&&(st=e,t=a(t));return e=t}())===m&&(e=function(){var e,t,r,n,o;pt++,e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));e=t!==m?(r=kt(),r!==m?(n=Ut())!==m?kt()!==m?(125===f.charCodeAt(ct)?(o=j,ct++):(o=m,0===pt&&Ot(D)),o!==m?(st=e,t=P(n)):(ct=e,m)):(ct=e,m):(ct=e,m):(ct=e,m)):(ct=e,m);pt--,e===m&&(t=m,0===pt&&Ot(E));return e}())===m&&(e=function(){var e;(e=function(){var e,t,r,n,o,a,i,u,c,s;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));e=t!==m?(r=kt(),r!==m?(n=Ut())!==m?kt()!==m?(44===f.charCodeAt(ct)?(o=W,ct++):(o=m,0===pt&&Ot(J)),o!==m?kt()!==m?(f.substr(ct,6)===K?(a=K,ct+=6):(a=m,0===pt&&Ot(Q)),a!==m?kt()!==m?(i=ct,44===f.charCodeAt(ct)?(u=W,ct++):(u=m,0===pt&&Ot(J)),(i=u!==m?(c=kt())!==m?(s=function(){var e,t,r;e=ct,f.substr(ct,2)===V?(t=V,ct+=2):(t=m,0===pt&&Ot(B));e=t!==m?(r=function(){var e,t,r;if(e=ct,t=[],(r=jt())!==m)for(;r!==m;)t.push(r),r=jt();else t=m;t!==m&&(st=e,t=z(t));return e=t}(),r!==m?(st=e,t=G(r)):(ct=e,m)):(ct=e,m);e===m&&(st=e=ct,t=q(),e=(t=t?void 0:m)!==m?(r=Et())!==m?(st=e,t=H(r)):(ct=e,m):(ct=e,m));return e}())!==m?u=[u,c,s]:(ct=i,m):(ct=i,m):(ct=i,m))===m&&(i=null),i!==m?(u=kt())!==m?(125===f.charCodeAt(ct)?(c=j,ct++):(c=m,0===pt&&Ot(D)),c!==m?(st=e,t=X(n,a,i)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m):(ct=e,m)):(ct=e,m);return e}())===m&&(e=function(){var e,t,r,n,o,a,i,u,c,s;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));e=t!==m?(r=kt(),r!==m?(n=Ut())!==m?kt()!==m?(44===f.charCodeAt(ct)?(o=W,ct++):(o=m,0===pt&&Ot(J)),o!==m?kt()!==m?(f.substr(ct,4)===se?(a=se,ct+=4):(a=m,0===pt&&Ot(le)),a===m&&(f.substr(ct,4)===fe?(a=fe,ct+=4):(a=m,0===pt&&Ot(me))),a!==m?kt()!==m?(i=ct,44===f.charCodeAt(ct)?(u=W,ct++):(u=m,0===pt&&Ot(J)),(i=u!==m?(c=kt())!==m?(s=function(){var e,t,r;e=ct,f.substr(ct,2)===V?(t=V,ct+=2):(t=m,0===pt&&Ot(B));e=t!==m?(r=function(){var e,t,r,n;t=e=ct,r=[],(n=Dt())===m&&(n=Pt());if(n!==m)for(;n!==m;)r.push(n),(n=Dt())===m&&(n=Pt());else r=m;t=r!==m?f.substring(t,ct):r;t!==m&&(st=e,t=ue(t));return e=t}(),r!==m?(st=e,t=G(r)):(ct=e,m)):(ct=e,m);e===m&&(st=e=ct,t=ce(),e=(t=t?void 0:m)!==m?(r=Et())!==m?(st=e,t=H(r)):(ct=e,m):(ct=e,m));return e}())!==m?u=[u,c,s]:(ct=i,m):(ct=i,m):(ct=i,m))===m&&(i=null),i!==m?(u=kt())!==m?(125===f.charCodeAt(ct)?(c=j,ct++):(c=m,0===pt&&Ot(D)),c!==m?(st=e,t=X(n,a,i)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m):(ct=e,m):(ct=e,m)):(ct=e,m);return e}());return e}())===m&&(e=function(){var e,t,r,n,o,a,i,u,c,s,l;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));if(t!==m)if(kt()!==m)if((r=Ut())!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(n=W,ct++):(n=m,0===pt&&Ot(J)),n!==m)if(kt()!==m)if(f.substr(ct,6)===pe?(o=pe,ct+=6):(o=m,0===pt&&Ot(de)),o===m&&(f.substr(ct,13)===he?(o=he,ct+=13):(o=m,0===pt&&Ot(ge))),o!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(a=W,ct++):(a=m,0===pt&&Ot(J)),a!==m)if(kt()!==m)if(i=ct,f.substr(ct,7)===ye?(u=ye,ct+=7):(u=m,0===pt&&Ot(ve)),(i=u!==m?(c=kt())!==m?(s=_t())!==m?u=[u,c,s]:(ct=i,m):(ct=i,m):(ct=i,m))===m&&(i=null),i!==m)if((u=kt())!==m){if(c=[],(s=It())!==m)for(;s!==m;)c.push(s),s=It();else c=m;e=c!==m?(s=kt())!==m?(125===f.charCodeAt(ct)?(l=j,ct++):(l=m,0===pt&&Ot(D)),l!==m?(st=e,t=be(r,o,i,c)):(ct=e,m)):(ct=e,m):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;return e}())===m&&(e=function(){var e,t,r,n,o,a,i,u,c;e=ct,123===f.charCodeAt(ct)?(t=S,ct++):(t=m,0===pt&&Ot(C));if(t!==m)if(kt()!==m)if((r=Ut())!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(n=W,ct++):(n=m,0===pt&&Ot(J)),n!==m)if(kt()!==m)if(f.substr(ct,6)===we?(o=we,ct+=6):(o=m,0===pt&&Ot(Ae)),o!==m)if(kt()!==m)if(44===f.charCodeAt(ct)?(a=W,ct++):(a=m,0===pt&&Ot(J)),a!==m)if(kt()!==m){if(i=[],(u=xt())!==m)for(;u!==m;)i.push(u),u=xt();else i=m;e=i!==m?(u=kt())!==m?(125===f.charCodeAt(ct)?(c=j,ct++):(c=m,0===pt&&Ot(D)),c!==m?(st=e,t=Oe(r,i)):(ct=e,m)):(ct=e,m):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;else ct=e,e=m;return e}())===m&&(e=function(){var e,t,r,n,o,a;pt++,t=e=ct,60===f.charCodeAt(ct)?(r=l,ct++):(r=m,0===pt&&Ot(p));t=r!==m?(n=zt(),n!==m?(o=kt())!==m?(f.substr(ct,2)===d?(a=d,ct+=2):(a=m,0===pt&&Ot(h)),a!==m?r=[r,n,o,a]:(ct=t,m)):(ct=t,m):(ct=t,m)):(ct=t,m);t!==m&&(st=e,t=g(t));(e=t)===m&&(e=ct,t=function(){var e,t,r,n,o;e=ct,60===f.charCodeAt(ct)?(t=l,ct++):(t=m,0===pt&&Ot(p));e=t!==m?(st=ct,r=v(),(r=r?void 0:m)!==m?(n=zt())!==m?(62===f.charCodeAt(ct)?(o=b,ct++):(o=m,0===pt&&Ot(w)),o!==m?(st=ct,(A()?void 0:m)!==m?(st=e,t=O(n)):(ct=e,m)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m);return e}(),e=t!==m?(r=Rt())!==m?(n=function(){var e,t,r,n,o;e=ct,f.substr(ct,2)===F?(t=F,ct+=2):(t=m,0===pt&&Ot(R));e=t!==m?(st=ct,r=T(),(r=r?void 0:m)!==m?(n=zt())!==m?(62===f.charCodeAt(ct)?(o=b,ct++):(o=m,0===pt&&Ot(w)),o!==m?(st=ct,(A()?void 0:m)!==m?(st=e,t=O(n)):(ct=e,m)):(ct=e,m)):(ct=e,m):(ct=e,m)):(ct=e,m);return e}())!==m?(st=e,t=y(t,r,n)):(ct=e,m):(ct=e,m):(ct=e,m));pt--,e===m&&(t=m,0===pt&&Ot(s));return e}())===m&&(e=function(){var e,t;e=ct,35===f.charCodeAt(ct)?(t=i,ct++):(t=m,0===pt&&Ot(u));t!==m&&(st=e,t=c());return e=t}()),e}function Et(){var e,t,r;if(e=ct,t=[],(r=Lt())===m&&(r=$t())===m&&(r=Zt()),r!==m)for(;r!==m;)t.push(r),(r=Lt())===m&&(r=$t())===m&&(r=Zt());else t=m;return t!==m&&(st=e,t=o(t)),e=t}function St(){var e,t,r,n,o;if(pt++,t=[],n=r=e=ct,pt++,(o=Nt())===m&&(I.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(N))),pt--,(r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m))!==m)for(;r!==m;)t.push(r),n=r=ct,pt++,(o=Nt())===m&&(I.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(N))),pt--,r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m);else t=m;return e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(x)),e}function Ct(){var e,t,r;return pt++,e=ct,47===f.charCodeAt(ct)?(t=_,ct++):(t=m,0===pt&&Ot(L)),e=t!==m&&(r=St())!==m?(st=e,t=$(r)):(ct=e,m),pt--,e===m&&(t=m,0===pt&&Ot(k)),e}function jt(){var e,t,r,n;if(pt++,e=ct,kt()!==m)if((t=St())!==m){for(r=[],n=Ct();n!==m;)r.push(n),n=Ct();e=r!==m?(st=e,U(t,r)):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;return pt--,e===m&&(m,0===pt&&Ot(Z)),e}function Dt(){var e,t,r,n;if(e=ct,39===f.charCodeAt(ct)?(t=Y,ct++):(t=m,0===pt&&Ot(ee)),t!==m){if(r=[],(n=Lt())===m&&(te.test(f.charAt(ct))?(n=f.charAt(ct),ct++):(n=m,0===pt&&Ot(re))),n!==m)for(;n!==m;)r.push(n),(n=Lt())===m&&(te.test(f.charAt(ct))?(n=f.charAt(ct),ct++):(n=m,0===pt&&Ot(re)));else r=m;e=r!==m?(39===f.charCodeAt(ct)?(n=Y,ct++):(n=m,0===pt&&Ot(ee)),n!==m?t=[t,r,n]:(ct=e,m)):(ct=e,m)}else ct=e,e=m;if(e===m)if(e=[],(t=Lt())===m&&(ne.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(oe))),t!==m)for(;t!==m;)e.push(t),(t=Lt())===m&&(ne.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(oe)));else e=m;return e}function Pt(){var e,t;if(e=[],ae.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(ie)),t!==m)for(;t!==m;)e.push(t),ae.test(f.charAt(ct))?(t=f.charAt(ct),ct++):(t=m,0===pt&&Ot(ie));else e=m;return e}function xt(){var e,t,r,n,o;return e=ct,e=kt()!==m&&(t=Bt())!==m&&kt()!==m?(123===f.charCodeAt(ct)?(r=S,ct++):(r=m,0===pt&&Ot(C)),r!==m?(st=ct,(Te()?void 0:m)!==m&&(n=Rt())!==m?(125===f.charCodeAt(ct)?(o=j,ct++):(o=m,0===pt&&Ot(D)),o!==m?(st=e,Ee(t,n)):(ct=e,m)):(ct=e,m)):(ct=e,m)):(ct=e,m)}function It(){var e,t,r,n,o;return e=ct,e=kt()!==m&&(t=function(){var e,t,r,n;return t=e=ct,61===f.charCodeAt(ct)?(r=Fe,ct++):(r=m,0===pt&&Ot(Re)),(e=(t=r!==m&&(n=_t())!==m?r=[r,n]:(ct=t,m))!==m?f.substring(e,ct):t)===m&&(e=Bt()),e}())!==m&&kt()!==m?(123===f.charCodeAt(ct)?(r=S,ct++):(r=m,0===pt&&Ot(C)),r!==m?(st=ct,(Se()?void 0:m)!==m&&(n=Rt())!==m?(125===f.charCodeAt(ct)?(o=j,ct++):(o=m,0===pt&&Ot(D)),o!==m?(st=e,Ce(t,n)):(ct=e,m)):(ct=e,m)):(ct=e,m)):(ct=e,m)}function Nt(){var e;return pt++,De.test(f.charAt(ct))?(e=f.charAt(ct),ct++):(e=m,0===pt&&Ot(Pe)),pt--,e===m&&0===pt&&Ot(je),e}function Mt(){var e;return pt++,Ie.test(f.charAt(ct))?(e=f.charAt(ct),ct++):(e=m,0===pt&&Ot(Ne)),pt--,e===m&&0===pt&&Ot(xe),e}function kt(){var e,t,r;for(pt++,e=ct,t=[],r=Nt();r!==m;)t.push(r),r=Nt();return e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(Me)),e}function _t(){var e,t,r;return pt++,e=ct,45===f.charCodeAt(ct)?(t=_e,ct++):(t=m,0===pt&&Ot(Le)),t===m&&(t=null),e=t!==m&&(r=Vt())!==m?(st=e,t=$e(t,r)):(ct=e,m),pt--,e===m&&(t=m,0===pt&&Ot(ke)),e}function Lt(){var e,t;return pt++,e=ct,f.substr(ct,2)===Ue?(t=Ue,ct+=2):(t=m,0===pt&&Ot(ze)),t!==m&&(st=e,t=Ve()),pt--,(e=t)===m&&(t=m,0===pt&&Ot(Ze)),e}function $t(){var e,t,r,n,o,a;if(e=ct,39===f.charCodeAt(ct)?(t=Y,ct++):(t=m,0===pt&&Ot(ee)),t!==m)if((r=function(){var e,t,r,n;t=e=ct,f.length>ct?(r=f.charAt(ct),ct++):(r=m,0===pt&&Ot(M));t=r!==m?(st=ct,n=We(r),(n=n?void 0:m)!==m?r=[r,n]:(ct=t,m)):(ct=t,m);e=t!==m?f.substring(e,ct):t;return e}())!==m){for(n=ct,o=[],f.substr(ct,2)===Ue?(a=Ue,ct+=2):(a=m,0===pt&&Ot(ze)),a===m&&(te.test(f.charAt(ct))?(a=f.charAt(ct),ct++):(a=m,0===pt&&Ot(re)));a!==m;)o.push(a),f.substr(ct,2)===Ue?(a=Ue,ct+=2):(a=m,0===pt&&Ot(ze)),a===m&&(te.test(f.charAt(ct))?(a=f.charAt(ct),ct++):(a=m,0===pt&&Ot(re)));e=(n=o!==m?f.substring(n,ct):o)!==m?(39===f.charCodeAt(ct)?(o=Y,ct++):(o=m,0===pt&&Ot(ee)),o===m&&(o=null),o!==m?(st=e,t=Be(r,n)):(ct=e,m)):(ct=e,m)}else ct=e,e=m;else ct=e,e=m;return e}function Zt(){var e,t,r,n;return t=e=ct,f.length>ct?(r=f.charAt(ct),ct++):(r=m,0===pt&&Ot(M)),(t=r!==m?(st=ct,(n=(n=Ge(r))?void 0:m)!==m?r=[r,n]:(ct=t,m)):(ct=t,m))===m&&(10===f.charCodeAt(ct)?(t=qe,ct++):(t=m,0===pt&&Ot(He))),e=t!==m?f.substring(e,ct):t}function Ut(){var e,t;return pt++,e=ct,(t=Vt())===m&&(t=Bt()),e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(Je)),e}function zt(){var e,t;return pt++,e=ct,(t=Vt())===m&&(t=function(){var e,t,r,n,o;pt++,e=ct,t=[],45===f.charCodeAt(ct)?(r=_e,ct++):(r=m,0===pt&&Ot(Le));r===m&&(n=r=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,n=o===m?void 0:(ct=n,m),r=n!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m));if(r!==m)for(;r!==m;)t.push(r),45===f.charCodeAt(ct)?(r=_e,ct++):(r=m,0===pt&&Ot(Le)),r===m&&(n=r=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,n=o===m?void 0:(ct=n,m),r=n!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m));else t=m;e=t!==m?f.substring(e,ct):t;pt--,e===m&&(t=m,0===pt&&Ot(ut));return e}()),e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(Ke)),e}function Vt(){var e,t,r,n,o;if(pt++,e=ct,48===f.charCodeAt(ct)?(t=Xe,ct++):(t=m,0===pt&&Ot(Ye)),t!==m&&(st=e,t=et()),(e=t)===m){if(t=e=ct,tt.test(f.charAt(ct))?(r=f.charAt(ct),ct++):(r=m,0===pt&&Ot(rt)),r!==m){for(n=[],nt.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(ot));o!==m;)n.push(o),nt.test(f.charAt(ct))?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(ot));t=n!==m?r=[r,n]:(ct=t,m)}else ct=t,t=m;t!==m&&(st=e,t=at(t)),e=t}return pt--,e===m&&(t=m,0===pt&&Ot(Qe)),e}function Bt(){var e,t,r,n,o;if(pt++,t=[],n=r=e=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,(r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m))!==m)for(;r!==m;)t.push(r),n=r=ct,pt++,(o=Nt())===m&&(o=Mt()),pt--,r=(n=o===m?void 0:(ct=n,m))!==m?(f.length>ct?(o=f.charAt(ct),ct++):(o=m,0===pt&&Ot(M)),o!==m?n=[n,o]:(ct=r,m)):(ct=r,m);else t=m;return e=t!==m?f.substring(e,ct):t,pt--,e===m&&(t=m,0===pt&&Ot(it)),e}var Gt,qt,Ht,Wt=["root"];function Jt(){return 1<Wt.length}function Kt(){return"plural"===Wt[Wt.length-1]}function Qt(){return e&&e.captureLocation?{location:ht()}:{}}if((t=n())!==m&&ct===f.length)return t;throw t!==m&&ct<f.length&&Ot({type:"end"}),Gt=mt,qt=ft<f.length?f.charAt(ft):null,Ht=ft<f.length?At(ft,ft+1):At(ft,ft),new er(er.buildMessage(Gt,qt),Gt,qt,Ht)},b=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n},w=/(^|[^\\])#/g;var A=function(){return(A=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},O=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function C(e){var r={};return e.replace(O,function(e){var t=e.length;switch(e[0]){case"G":r.era=4===t?"long":5===t?"narrow":"short";break;case"y":r.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][t-4];break;case"a":r.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][t-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][t-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][t-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][t-1];break;case"s":r.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw new RangeError("`S/A` (second) pattenrs are not supported, use `s` instead");case"z":r.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) pattenrs are not supported, use `z` instead")}return""}),r}var F=/^\.(?:(0+)(\+|#+)?)?$/g,j=/^(@+)?(\+|#+)?$/g;function D(e){var n={};return e.replace(j,function(e,t,r){return"string"!=typeof r?(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length):"+"===r?n.minimumSignificantDigits=t.length:"#"===t[0]?n.maximumSignificantDigits=t.length:(n.minimumSignificantDigits=t.length,n.maximumSignificantDigits=t.length+("string"==typeof r?r.length:0)),""}),n}function P(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":return{currencySign:"accounting"};case"sign-always":return{signDisplay:"always"};case"sign-accounting-always":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":return{signDisplay:"never"}}}function x(e){var t=P(e);return t||{}}function I(e){for(var n={},t=0,r=e;t<r.length;t++){var o=r[t];switch(o.stem){case"percent":n.style="percent";continue;case"currency":n.style="currency",n.currency=o.options[0];continue;case"group-off":n.useGrouping=!1;continue;case"precision-integer":n.maximumFractionDigits=0;continue;case"measure-unit":n.style="unit",n.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":n.notation="compact",n.compactDisplay="short";continue;case"compact-long":n.notation="compact",n.compactDisplay="long";continue;case"scientific":n=A(A(A({},n),{notation:"scientific"}),o.options.reduce(function(e,t){return A(A({},e),x(t))},{}));continue;case"engineering":n=A(A(A({},n),{notation:"engineering"}),o.options.reduce(function(e,t){return A(A({},e),x(t))},{}));continue;case"notation-simple":n.notation="standard";continue;case"unit-width-narrow":n.currencyDisplay="narrowSymbol",n.unitDisplay="narrow";continue;case"unit-width-short":n.currencyDisplay="code",n.unitDisplay="short";continue;case"unit-width-full-name":n.currencyDisplay="name",n.unitDisplay="long";continue;case"unit-width-iso-code":n.currencyDisplay="symbol";continue}if(F.test(o.stem)){if(1<o.options.length)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(F,function(e,t,r){return"."===e?n.maximumFractionDigits=0:"+"===r?n.minimumFractionDigits=r.length:"#"===t[0]?n.maximumFractionDigits=t.length:(n.minimumFractionDigits=t.length,n.maximumFractionDigits=t.length+("string"==typeof r?r.length:0)),""}),o.options.length&&(n=A(A({},n),D(o.options[0])))}else if(j.test(o.stem))n=A(A({},n),D(o.stem));else{var a=P(o.stem);a&&(n=A(A({},n),a))}}return n}function N(e,t){var r=v(e,t);return t&&!1===t.normalizeHashtagInPlural||function l(e){e.forEach(function(s){(S(s)||E(s))&&Object.keys(s.options).forEach(function(e){for(var t,r=s.options[e],n=-1,o=void 0,a=0;a<r.value.length;a++){var i=r.value[a];if(T(i)&&w.test(i.value)){n=a,o=i;break}}if(o){var u=o.value.replace(w,"$1{"+s.value+", number}"),c=v(u);(t=r.value).splice.apply(t,b([n,1],c))}l(r.value)})})}(r),r}var M=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),o=0;for(t=0;t<r;t++)for(var a=arguments[t],i=0,u=a.length;i<u;i++,o++)n[o]=a[i];return n};function k(e){return JSON.stringify(e.map(function(e){return e&&"object"===R(e)?function(r){return Object.keys(r).sort().map(function(e){var t;return(t={})[e]=r[e],t})}(e):e}))}var _,L,$=function(a,i){return void 0===i&&(i={}),function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=k(t),o=n&&i[n];return o||(o=new((e=a).bind.apply(e,M([void 0],t))),n&&(i[n]=o)),o}},Z=(_=function(e,t){return(_=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),U=(L=Error,Z(z,L),z.prototype.toString=function(){return"[formatjs Error: "+this.code+"] "+this.message},z);function z(e,t){var r=L.call(this,e)||this;return r.code=t,r}var V,B=(Z(G,V=U),G);function G(e,t,r){return V.call(this,'Invalid values for "'+e+'": "'+t+'". Options are "'+Object.keys(r).join('", "')+'"',1)||this}var q,H=(Z(W,q=U),W);function W(e,t){return q.call(this,'The intl string context variable "'+e+'" was not provided to the string "'+t+'"',0)||this}var J=function(){return(J=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function K(r,n){return n?Object.keys(r).reduce(function(e,t){return e[t]=function(r,n){return n?J(J(J({},r||{}),n||{}),Object.keys(r).reduce(function(e,t){return e[t]=J(J({},r[t]),n[t]||{}),e},{})):r}(r[t],n[t]),e},J({},r)):r}var Q=(X.defaultLocale=(new Intl.NumberFormat).resolvedOptions().locale,X.__parse=N,X.formats={number:{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"}}},X);function X(e,t,r,n){var o=this;if(void 0===t&&(t=X.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var r=t.reduce(function(e,t){return e.length&&0===t.type&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(e){return function e(t,r,n,o,a,i,u){if(1===t.length&&T(t[0]))return[{type:0,value:t[0].value}];for(var c,s,l=[],f=0,m=t;f<m.length;f++){var p=m[f];if(T(p))l.push({type:0,value:p.value});else if(p.type!==Xt.pound){var d=p.value;if(!(a&&d in a))throw new H(d,u);var h=a[d];if(p.type!==Xt.argument)if(p.type!==Xt.date)if(p.type!==Xt.time)if(p.type!==Xt.number){if(p.type===Xt.tag){var g=p.children,y=p.value,v=a[y];if("function"!=typeof v)throw new TypeError('Value for "'+y+'" must be a function');var b=e(g,r,n,o,a),w=v.apply(void 0,b.map(function(e){return e.value}));Array.isArray(w)||(w=[w]),l.push.apply(l,w.map(function(e){return{type:"string"==typeof e?0:1,value:e}}))}if(E(p)){if(!(A=p.options[h]||p.options.other))throw new B(p.value,h,Object.keys(p.options));l.push.apply(l,e(A.value,r,n,o,a))}else if(S(p)){var A;if(!(A=p.options["="+h])){if(!Intl.PluralRules)throw new U('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',2);var O=n.getPluralRules(r,{type:p.pluralType}).select(h-(p.offset||0));A=p.options[O]||p.options.other}if(!A)throw new B(p.value,h,Object.keys(p.options));l.push.apply(l,e(A.value,r,n,o,a,h-(p.offset||0)))}}else F="string"==typeof p.style?o.number[p.style]:(c=p.style)&&"object"===R(c)&&0===c.type?I(p.style.tokens):void 0,l.push({type:0,value:n.getNumberFormat(r,F).format(h)});else{var F="string"==typeof p.style?o.time[p.style]:(s=p.style)&&"object"===R(s)&&1===s.type?C(p.style.pattern):void 0;l.push({type:0,value:n.getDateTimeFormat(r,F).format(h)})}else{var F="string"==typeof p.style?o.date[p.style]:void 0;l.push({type:0,value:n.getDateTimeFormat(r,F).format(h)})}else h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),l.push({type:"string"==typeof h?0:1,value:h})}else"number"==typeof i&&l.push({type:0,value:n.getNumberFormat(r).format(i)})}return function(e){return e.length<2?e:e.reduce(function(e,t){var r=e[e.length-1];return r&&0===r.type&&0===t.type?r.value+=t.value:e.push(t),e},[])}(l)}(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},"string"==typeof e){if(this.message=e,!X.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=X.__parse(e,{normalizeHashtagInPlural:!1})}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=K(X.formats,r),this.locales=t,this.formatters=n&&n.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:$(Intl.NumberFormat,e.number),getDateTimeFormat:$(Intl.DateTimeFormat,e.dateTime),getPluralRules:$(Intl.PluralRules,e.pluralRules)}}(this.formatterCache)}function Y(e,t,r){if(void 0===r&&(r=Error),!e)throw new r(t)}var ee=function(){function o(e,t,r){var n;return a(this,o),(n=f(this,u(o).call(this,"[React Intl Error ".concat(e,"] ").concat(t," ").concat(r?"\n".concat(r.stack):"")))).code=e,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(l(n),o),n}return i(o,t(Error)),o}();function te(r,e,t){var n=2<arguments.length&&void 0!==t?t:{};return e.reduce(function(e,t){return t in r?e[t]=r[t]:t in n&&(e[t]=n[t]),e},{})}function re(e){Y(e,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}var ne={formats:{},messages:{},timeZone:void 0,textComponent:g.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){}};function oe(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function ae(e){var t=0<arguments.length&&void 0!==e?e:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},r=Intl.RelativeTimeFormat,n=Intl.ListFormat,o=Intl.DisplayNames;return{getDateTimeFormat:$(Intl.DateTimeFormat,t.dateTime),getNumberFormat:$(Intl.NumberFormat,t.number),getMessageFormat:$(Q,t.message),getRelativeTimeFormat:$(r,t.relativeTime),getPluralRules:$(Intl.PluralRules,t.pluralRules),getListFormat:$(n,t.list),getDisplayNames:$(o,t.displayNames)}}function ie(e,t,r,n){var o,a=e&&e[t];if(a&&(o=a[r]),o)return o;n(new ee("UNSUPPORTED_FORMATTER","No ".concat(t," format named: ").concat(r)))}function ue(e,t){return e(t={exports:{}},t.exports),t.exports}var ce,se=ue(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,i=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,l=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,m=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.memo"):60115,h=r?Symbol.for("react.lazy"):60116;function g(e){if("object"===R(e)&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case l:case f:case a:case u:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case m:case c:return e;default:return t}}case h:case d:case o:return t}}}function y(e){return g(e)===f}t.typeOf=g,t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=c,t.Element=n,t.ForwardRef=m,t.Fragment=a,t.Lazy=h,t.Memo=d,t.Portal=o,t.Profiler=u,t.StrictMode=i,t.Suspense=p,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===f||e===u||e===i||e===p||"object"===R(e)&&null!==e&&(e.$$typeof===h||e.$$typeof===d||e.$$typeof===c||e.$$typeof===s||e.$$typeof===m)},t.isAsyncMode=function(e){return y(e)||g(e)===l},t.isConcurrentMode=y,t.isContextConsumer=function(e){return g(e)===s},t.isContextProvider=function(e){return g(e)===c},t.isElement=function(e){return"object"===R(e)&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return g(e)===m},t.isFragment=function(e){return g(e)===a},t.isLazy=function(e){return g(e)===h},t.isMemo=function(e){return g(e)===d},t.isPortal=function(e){return g(e)===o},t.isProfiler=function(e){return g(e)===u},t.isStrictMode=function(e){return g(e)===i},t.isSuspense=function(e){return g(e)===p}});(ce=se)&&ce.__esModule&&Object.prototype.hasOwnProperty.call(ce,"default")&&ce.default;se.typeOf,se.AsyncMode,se.ConcurrentMode,se.ContextConsumer,se.ContextProvider,se.Element,se.ForwardRef,se.Fragment,se.Lazy,se.Memo,se.Portal,se.Profiler,se.StrictMode,se.Suspense,se.isValidElementType,se.isAsyncMode,se.isConcurrentMode,se.isContextConsumer,se.isContextProvider,se.isElement,se.isForwardRef,se.isFragment,se.isLazy,se.isMemo,se.isPortal,se.isProfiler,se.isStrictMode,se.isSuspense;var le=ue(function(e){e.exports=se}),fe={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},me={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},pe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},de={};function he(e){return le.isMemo(e)?pe:de[e.$$typeof]||fe}de[le.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},de[le.Memo]=pe;var ge=Object.defineProperty,ye=Object.getOwnPropertyNames,ve=Object.getOwnPropertySymbols,be=Object.getOwnPropertyDescriptor,we=Object.getPrototypeOf,Ae=Object.prototype;function Oe(e,t,r){if("string"!=typeof t){if(Ae){var n=we(t);n&&n!==Ae&&Oe(e,n,r)}var o=ye(t);ve&&(o=o.concat(ve(t)));for(var a=he(e),i=he(t),u=0;u<o.length;++u){var c=o[u];if(!(me[c]||r&&r[c]||i&&i[c]||a&&a[c])){var s=be(t,c);try{ge(e,c,s)}catch(e){}}}}return e}var Fe=Oe;var Re=g.createContext(null),Te=Re.Consumer,Ee=Re.Provider,Se=Re;function Ce(r,e){function n(t){return g.createElement(Te,null,function(e){return s&&re(e),g.createElement(r,Object.assign({},t,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},a,e),{ref:u?t.forwardedRef:null}))})}var t=e||{},o=t.intlPropName,a=void 0===o?"intl":o,i=t.forwardRef,u=void 0!==i&&i,c=t.enforceContext,s=void 0===c||c;return n.displayName="injectIntl(".concat(function(e){return e.displayName||e.name||"Component"}(r),")"),n.WrappedComponent=r,Fe(u?g.forwardRef(function(e,t){return g.createElement(n,Object.assign({},e,{forwardedRef:t}))}):n,r)}var je,De,Pe,xe,Ie=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};(De=je=je||{}).formatDate="FormattedDate",De.formatTime="FormattedTime",De.formatNumber="FormattedNumber",De.formatList="FormattedList",De.formatDisplayName="FormattedDisplayName",(xe=Pe=Pe||{}).formatDate="FormattedDateParts",xe.formatTime="FormattedTimeParts",xe.formatNumber="FormattedNumberParts",xe.formatList="FormattedListParts";function Ne(o){return g.createElement(Se.Consumer,null,function(e){re(e);var t=o.value,r=o.children,n=Ie(o,["value","children"]);return r(e.formatNumberToParts(t,n))})}function Me(i){function e(a){return g.createElement(Se.Consumer,null,function(e){re(e);var t=a.value,r=a.children,n=Ie(a,["value","children"]),o="string"==typeof t?new Date(t||0):t;return r("formatDate"===i?e.formatDateToParts(o,n):e.formatTimeToParts(o,n))})}return e.displayName=Pe[i],e}function ke(u){function e(i){return g.createElement(Se.Consumer,null,function(e){re(e);var t=i.value,r=i.children,n=Ie(i,["value","children"]),o=e[u](t,n);if("function"==typeof r)return r(o);var a=e.textComponent||g.Fragment;return g.createElement(a,null,o)})}return e.displayName=je[u],e}Ne.displayName="FormattedNumberParts";var _e=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function Le(e,t,r){var n=e.locale,o=e.formats,a=e.onError,i=2<arguments.length&&void 0!==r?r:{},u=i.format,c=u&&ie(o,"number",u,a)||{};return t(n,te(i,_e,c))}var $e=["numeric","style"];function Ze(t,e,r,n){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{};n=n||"second",Intl.RelativeTimeFormat||t.onError(new U('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n',2));try{return function(e,t,r){var n=e.locale,o=e.formats,a=e.onError,i=2<arguments.length&&void 0!==r?r:{},u=i.format,c=!!u&&ie(o,"relative",u,a)||{};return t(n,te(i,$e,c))}(t,e,o).format(r,n)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting relative time.",e))}return String(r)}var Ue=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function ze(e,t,r,n){var o=e.locale,a=e.formats,i=e.onError,u=e.timeZone,c=3<arguments.length&&void 0!==n?n:{},s=c.format,l=Object.assign(Object.assign({},u&&{timeZone:u}),s&&ie(a,t,s,i)),f=te(c,Ue,l);return"time"!==t||f.hour||f.minute||f.second||(f=Object.assign(Object.assign({},f),{hour:"numeric",minute:"numeric"})),r(o,f)}var Ve=["localeMatcher","type"];function Be(r,n){return Object.keys(r).reduce(function(e,t){return e[t]=Object.assign({timeZone:n},r[t]),e},{})}function Ge(r,n){return Object.keys(Object.assign(Object.assign({},r),n)).reduce(function(e,t){return e[t]=Object.assign(Object.assign({},r[t]||{}),n[t]||{}),e},{})}function qe(e,t){if(!t)return e;var r=Q.formats;return Object.assign(Object.assign(Object.assign({},r),e),{date:Ge(Be(r.date,t),Be(e.date||{},t)),time:Ge(Be(r.time,t),Be(e.time||{},t))})}var He=function(e){return g.createElement.apply(g,[g.Fragment,null].concat(y(e)))};function We(e,t){var r=e.locale,n=e.formats,o=e.messages,a=e.defaultLocale,i=e.defaultFormats,u=e.onError,c=e.timeZone,s=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{id:""},l=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},f=s.id,m=s.defaultMessage;Y(!!f,"[React Intl] An `id` must be provided to format a message.");var p=o&&o[String(f)];n=qe(n,c),i=qe(i,c);var d="";if(p)try{d=t.getMessageFormat(p,r,n,{formatters:t}).format(l)}catch(e){u(new ee("FORMAT_ERROR",'Error formatting message: "'.concat(f,'" for locale: "').concat(r,'"')+(m?", using default message as fallback.":""),e))}else(!m||r&&r.toLowerCase()!==a.toLowerCase())&&u(new ee("MISSING_TRANSLATION",'Missing message: "'.concat(f,'" for locale: "').concat(r,'"')+(m?", using default message as fallback.":"")));if(!d&&m)try{d=t.getMessageFormat(m,a,i).format(l)}catch(e){u(new ee("FORMAT_ERROR",'Error formatting the default message for: "'.concat(f,'"'),e))}return d?Array.isArray(d)?He(d):d:(u(new ee("FORMAT_ERROR",'Cannot format message: "'.concat(f,'", ')+"using message ".concat(p||m?"source":"id"," as fallback."))),"string"==typeof p?p||m||String(f):m||String(f))}function Je(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 a=0;a<o;a++){var i=r[a];if(e[i]!==t[i]||!Object.prototype.hasOwnProperty.call(t,i))return!1}return!0}var Ke=["localeMatcher","type","style"],Qe=Date.now();function Xe(e,t,r){var n=e.locale,o=e.onError,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.ListFormat||o(new U('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n',2));var i=te(a,Ke);try{var u={},c=r.map(function(e,t){if("object"!==R(e))return String(e);var r=function(e){return"".concat(Qe,"_").concat(e,"_").concat(Qe)}(t);return u[r]=e,r});return Object.keys(u).length?t(n,i).formatToParts(c).reduce(function(e,t){var r=t.value;return u[r]?e.push(u[r]):"string"==typeof e[e.length-1]?e[e.length-1]+=r:e.push(r),e},[]):t(n,i).format(c)}catch(e){o(new ee("FORMAT_ERROR","Error formatting list.",e))}return r}var Ye=["localeMatcher","style","type","fallback"];var et=Je;function tt(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function rt(e,t){var r=ae(t),n=Object.assign(Object.assign({},ne),e),o=n.locale,a=n.defaultLocale,i=n.onError;return o?!Intl.NumberFormat.supportedLocalesOf(o).length&&i?i(new ee("MISSING_DATA",'Missing locale data for locale: "'.concat(o,'" in Intl.NumberFormat. Using default locale: "').concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(o).length&&i&&i(new ee("MISSING_DATA",'Missing locale data for locale: "'.concat(o,'" in Intl.DateTimeFormat. Using default locale: "').concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(i&&i(new ee("INVALID_CONFIG",'"locale" was not configured, using "'.concat(a,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),n.locale=n.defaultLocale||"en"),Object.assign(Object.assign({},n),{formatters:r,formatNumber:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{return Le(t,e,n).format(r)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting number.",e))}return String(r)}.bind(null,n,r.getNumberFormat),formatNumberToParts:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};try{return Le(t,e,n).formatToParts(r)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting number.",e))}return[]}.bind(null,n,r.getNumberFormat),formatRelativeTime:Ze.bind(null,n,r.getRelativeTimeFormat),formatDate:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"date",e,n).format(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting date.",e))}return String(o)}.bind(null,n,r.getDateTimeFormat),formatDateToParts:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"date",e,n).formatToParts(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting date.",e))}return[]}.bind(null,n,r.getDateTimeFormat),formatTime:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"time",e,n).format(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting time.",e))}return String(o)}.bind(null,n,r.getDateTimeFormat),formatTimeToParts:function(t,e,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},o="string"==typeof r?new Date(r||0):r;try{return ze(t,"time",e,n).formatToParts(o)}catch(e){t.onError(new ee("FORMAT_ERROR","Error formatting time.",e))}return[]}.bind(null,n,r.getDateTimeFormat),formatPlural:function(e,t,r){var n=e.locale,o=e.onError,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||o(new U('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',2));var i=te(a,Ve);try{return t(n,i).select(r)}catch(e){o(new ee("FORMAT_ERROR","Error formatting plural.",e))}return"other"}.bind(null,n,r.getPluralRules),formatMessage:We.bind(null,n,r),formatList:Xe.bind(null,n,r.getListFormat),formatDisplayName:function(e,t,r){var n=e.locale,o=e.onError,a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};Intl.DisplayNames||o(new U('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n',2));var i=te(a,Ye);try{return t(n,i).of(r)}catch(e){o(new ee("FORMAT_ERROR","Error formatting display name.",e))}}.bind(null,n,r.getDisplayNames)})}var nt=function(){function t(){var e;return a(this,t),(e=f(this,u(t).apply(this,arguments))).cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},e.state={cache:e.cache,intl:rt(tt(e.props),e.cache),prevConfig:tt(e.props)},e}return i(t,g.PureComponent),o(t,[{key:"render",value:function(){return re(this.state.intl),g.createElement(Ee,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevConfig,n=t.cache,o=tt(e);return et(r,o)?null:{intl:rt(o,n),prevConfig:o}}}]),t}();nt.displayName="IntlProvider",nt.defaultProps=ne;var ot=60,at=3600;function it(e){var t=Math.abs(e);return t<ot?"second":t<at?"minute":t<86400?"hour":"day"}function ut(e){switch(e){case"second":return 1;case"minute":return ot;case"hour":return at;default:return 86400}}function ct(e,t){if(!e)return 0;switch(t){case"second":return e;case"minute":return e*ot;default:return e*at}}var st=["second","minute","hour"];function lt(e){var t=0<arguments.length&&void 0!==e?e:"second";return st.includes(t)}var ft=function(){function r(e){var t;return a(this,r),(t=f(this,u(r).call(this,e)))._updateTimer=null,t.state={prevUnit:t.props.unit,prevValue:t.props.value,currentValueInSeconds:lt(t.props.unit)?ct(t.props.value,t.props.unit):0},Y(!e.updateIntervalInSeconds||!(!e.updateIntervalInSeconds||!lt(e.unit)),"Cannot schedule update with unit longer than hour"),t}return i(r,g.PureComponent),o(r,[{key:"scheduleNextUpdate",value:function(e,t){var r=this,n=e.updateIntervalInSeconds,o=e.unit,a=t.currentValueInSeconds;if(clearTimeout(this._updateTimer),this._updateTimer=null,n&&lt(o)){var i=a-n,u=it(i);if("day"!==u){var c=ut(u),s=i-i%c,l=a<=s?s-c:s,f=Math.abs(l-a);this._updateTimer=setTimeout(function(){return r.setState({currentValueInSeconds:l})},1e3*f)}}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentDidUpdate",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._updateTimer),this._updateTimer=null}},{key:"render",value:function(){var p=this;return g.createElement(Se.Consumer,null,function(e){re(e);var t=e.formatRelativeTime,r=e.textComponent,n=p.props,o=n.children,a=n.value,i=n.unit,u=n.updateIntervalInSeconds,c=p.state.currentValueInSeconds,s=a||0,l=i;if(lt(i)&&"number"==typeof c&&u){var f=ut(l=it(c));s=Math.round(c/f)}var m=t(s,l,Object.assign({},p.props));return"function"==typeof o?o(m):r?g.createElement(r,null,m):m})}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.unit!==t.prevUnit||e.value!==t.prevValue?{prevValue:e.value,prevUnit:e.unit,currentValueInSeconds:lt(e.unit)?ct(e.value,e.unit):0}:null}}]),r}();ft.displayName="FormattedRelativeTime",ft.defaultProps={value:0,unit:"second"};function mt(e){var t=e.value,r=e.other,n=e.children,o=e.intl,a=o.formatPlural,i=o.textComponent,u=e[a(t,e)]||r;return"function"==typeof n?n(u):i?g.createElement(i,null,u):u}mt.defaultProps={type:"cardinal"},mt.displayName="FormattedPlural";var pt=Ce(mt),dt=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},ht=Je;function gt(e,t){return We(Object.assign(Object.assign({},ne),{locale:"en"}),ae(),e,t)}var yt=function(){function e(){return a(this,e),f(this,u(e).apply(this,arguments))}return i(e,g.Component),o(e,[{key:"shouldComponentUpdate",value:function(e){var t=this.props,r=t.values,n=dt(t,["values"]),o=e.values,a=dt(e,["values"]);return!ht(o,r)||!ht(n,a)}},{key:"render",value:function(){var h=this;return g.createElement(Se.Consumer,null,function(e){h.props.defaultMessage||re(e);var t=e||{},r=t.formatMessage,n=void 0===r?gt:r,o=t.textComponent,a=void 0===o?g.Fragment:o,i=h.props,u=i.id,c=i.description,s=i.defaultMessage,l=i.values,f=i.children,m=i.tagName,p=void 0===m?a:m,d=n({id:u,description:c,defaultMessage:s},l);return Array.isArray(d)||(d=[d]),"function"==typeof f?f.apply(void 0,y(d)):p?g.createElement.apply(g,[p,null].concat(y(d))):d})}}]),e}();yt.displayName="FormattedMessage",yt.defaultProps={values:{}};var vt=ke("formatDate"),bt=ke("formatTime"),wt=ke("formatNumber"),At=ke("formatList"),Ot=ke("formatDisplayName"),Ft=Me("formatDate"),Rt=Me("formatTime");e.FormattedDate=vt,e.FormattedDateParts=Ft,e.FormattedDisplayName=Ot,e.FormattedList=At,e.FormattedMessage=yt,e.FormattedNumber=wt,e.FormattedNumberParts=Ne,e.FormattedPlural=pt,e.FormattedRelativeTime=ft,e.FormattedTime=bt,e.FormattedTimeParts=Rt,e.IntlContext=Se,e.IntlProvider=nt,e.RawIntlProvider=Ee,e.ReactIntlError=ee,e.createIntl=rt,e.createIntlCache=oe,e.defineMessages=function(e){return e},e.injectIntl=Ce,e.useIntl=function(){var e=g.useContext(Se);return re(e),e},Object.defineProperty(e,"__esModule",{value:!0})});
2
2
  //# sourceMappingURL=react-intl.min.js.map