!function(e){function t(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){r(1),r(2),r(3),r(4),r(7),r(8),r(9),r(10),r(11),e.exports=r(12)},function(e,t){(function(){var e=!1,t=!1;!function(r,n){"function"==typeof t&&t.amd?t(n):"object"==typeof e&&"object"==typeof e.exports?e.exports=n():r.Cldr=n()}(this,function(){var e=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},t=function(t,r){if(e(t)&&(t=t.join("/")),"string"!=typeof t)throw new Error('invalid path "'+t+'"');return t=t.replace(/^\//,"").replace(/^cldr\//,""),t=t.replace(/{[a-zA-Z]+}/g,function(e){return e=e.replace(/^{([^}]*)}$/,"$1"),r[e]}),t.split("/")},r=function(e,t){var r,n;if(e.some)return e.some(t);for(r=0,n=e.length;r<n;r++)if(t(e[r],r,e))return!0;return!1},n=function(e,t,n,a){var i,u,o=n[0],s=n[1],c=e.localeSep,l=n[2],f=n.slice(3,4);return a=a||{},"und"!==o&&"Zzzz"!==s&&"ZZ"!==l?[o,s,l].concat(f):"undefined"!=typeof t.get("supplemental/likelySubtags")?(u=r([[o,s,l],[o,l],[o,s],[o],["und",s]],function(e){return i=!/\b(Zzzz|ZZ)\b/.test(e.join(c))&&t.get(["supplemental/likelySubtags",e.join(c)])}),u?(i=i.split(c),["und"!==o?o:i[0],"Zzzz"!==s?s:i[1],"ZZ"!==l?l:i[2]].concat(f)):a.force?t.get("supplemental/likelySubtags/und").split(c):void 0):void 0},a=function(e,t,a){var i,u,o=a[0],s=a[1],c=a[2],l=a[3];return u=r([[[o,"Zzzz","ZZ"],[o]],[[o,"Zzzz",c],[o,c]],[[o,s,"ZZ"],[o,s]]],function(r){var u=n(e,t,r[0]);return i=r[1],u&&u[0]===a[0]&&u[1]===a[1]&&u[2]===a[2]}),u?(l&&i.push(l),i):a},i=function(e){var t,r,n=[];return e=e.replace(/_/,"-"),t=e.split("-u-"),t[1]&&(t[1]=t[1].split("-t-"),e=t[0]+(t[1][1]?"-t-"+t[1][1]:""),n[4]=t[1][0]),r=e.split("-t-")[0],t=r.match(/^(([a-z]{2,3})(-([A-Z][a-z]{3}))?(-([A-Z]{2}|[0-9]{3}))?)((-([a-zA-Z0-9]{5,8}|[0-9][a-zA-Z0-9]{3}))*)$|^(root)$/),null===t?["und","Zzzz","ZZ"]:(n[0]=t[10]||t[2]||"und",n[1]=t[4]||"Zzzz",n[2]=t[6]||"ZZ",t[7]&&t[7].length&&(n[3]=t[7].slice(1)),n)},u=function(e,t){var r,n;if(e.forEach)return e.forEach(t);for(r=0,n=e.length;r<n;r++)t(e[r],r,e)},o=function(e,t,r){var o=e._availableBundleMap,s=e._availableBundleMapQueue;return s.length&&(u(s,function(r){var u,c,l,f;f=i(r),c=n(e,t,f),l=a(e,t,c),l=l.join(e.localeSep),u=s[l],u&&u.length<r.length||(o[l]=r)}),e._availableBundleMapQueue=[]),o[r]||null},s=function(e){var t,r=[];if(Object.keys)return Object.keys(e);for(t in e)r.push(t);return r},c=function(e,t){var r,n;return n=e+(t&&JSON?": "+JSON.stringify(t):""),r=new Error(n),r.code=e,u(s(t),function(e){r[e]=t[e]}),r},l=function(e,t,r){if(!t)throw c(e,r)},f=function(e,t){l("E_MISSING_PARAMETER","undefined"!=typeof e,{name:t})},m=function(e,t,r,n){l("E_INVALID_PAR_TYPE",r,{expected:n,name:t,value:e})},p=function(t,r){m(t,r,"string"==typeof t||e(t),"String or Array")},d=function(e){return null!==e&&""+e=="[object Object]"},g=function(e,t){m(e,t,"undefined"==typeof e||d(e),"Plain Object")},h=function(e,t){m(e,t,"string"==typeof e,"a string")},v=function(e,t){var r,n=e,a=t.length;for(r=0;r<a-1;r++)if(n=n[t[r]],!n)return;return n[t[r]]},y=function(e,t){var r,n=e._availableBundleMapQueue,a=v(t,["main"]);if(a)for(r in a)a.hasOwnProperty(r)&&"root"!==r&&n.indexOf(r)===-1&&n.push(r)},F=function(t){return e(t)?t:[t]},D=function(){var t=function(){var r={},n=[].slice.call(arguments,0);return u(n,function(n){var a;for(a in n)a in r&&"object"==typeof r[a]&&!e(r[a])?r[a]=t(r[a],n[a]):r[a]=n[a]}),r};return t}(),b=function(e,t,r){var n,a,i;for(f(r[0],"json"),n=0;n<r.length;n++)for(i=F(r[n]),a=0;a<i.length;a++)g(i[a],"json"),t=D(t,i[a]),y(e,i[a]);return t},E=function(e,r,n){var a=t(r,n);return v(e._resolved,a)},_=function(e){this.init(e)};return _._alwaysArray=F,_._coreLoad=b,_._createError=c,_._itemGetResolved=E,_._jsonMerge=D,_._pathNormalize=t,_._resourceGet=v,_._validatePresence=f,_._validateType=m,_._validateTypePath=p,_._validateTypePlainObject=g,_._availableBundleMap={},_._availableBundleMapQueue=[],_._resolved={},_.localeSep="-",_.load=function(){_._resolved=b(_,_._resolved,arguments)},_.prototype.init=function(e){var t,r,u,s,c,l,m,p,d,g=_.localeSep,v="";f(e,"locale"),h(e,"locale"),l=i(e),5===l.length&&(p=l.pop(),v=g+"u"+g+p,l[3]||l.pop()),d=l[3],u=n(_,this,l,{force:!0})||l,r=u[0],c=u[1],m=u[2],s=a(_,this,u).join(g),this.attributes=t={bundle:o(_,this,s),minLanguageId:s+v,maxLanguageId:u.join(g)+v,language:r,script:c,territory:m,region:m,variant:d},p&&("-"+p).replace(/-[a-z]{3,8}|(-[a-z]{2})-([a-z]{3,8})/g,function(e,r,n){r?t["u"+r]=n:t["u"+e]=!0}),this.locale=e},_.prototype.get=function(e){return f(e,"path"),p(e,"path"),E(_,e,this.attributes)},_.prototype.main=function(e){return f(e,"path"),p(e,"path"),l("E_MISSING_BUNDLE",null!==this.attributes.bundle,{locale:this.locale}),e=F(e),this.get(["main/{bundle}"].concat(e))},_})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1;!function(n){"function"==typeof t&&t.amd?t(["../cldr"],n):"object"==typeof e&&"object"==typeof e.exports?e.exports=n(r(1)):n(Cldr)}(function(e){function t(e,t){l(e,t,"string"==typeof e||e instanceof RegExp,"String or RegExp")}function r(e,r){return function(n,a){return c(n,"event"),t(n,"event"),c(a,"listener"),p(a,"listener"),r[e].apply(r,arguments)}}function n(e){return r("off",e)}function a(e){return r("on",e)}function i(e){return r("once",e)}function u(){f=e.prototype.get,e.prototype.get=function(e){var t=f.apply(this,arguments);return e=s(e,this.attributes).join("/"),d.trigger("get",[e,t]),this.ee.trigger("get",[e,t]),t}}var o,s=e._pathNormalize,c=e._validatePresence,l=e._validateType;o=function(){function e(){}function t(e,t){for(var r=e.length;r--;)if(e[r].listener===t)return r;return-1}function r(e){return function(){return this[e].apply(this,arguments)}}var n=e.prototype,a=this,i=a.EventEmitter;return n.getListeners=function(e){var t,r,n=this._getEvents();if(e instanceof RegExp){t={};for(r in n)n.hasOwnProperty(r)&&e.test(r)&&(t[r]=n[r])}else t=n[e]||(n[e]=[]);return t},n.flattenListeners=function(e){var t,r=[];for(t=0;t<e.length;t+=1)r.push(e[t].listener);return r},n.getListenersAsObject=function(e){var t,r=this.getListeners(e);return r instanceof Array&&(t={},t[e]=r),t||r},n.addListener=function(e,r){var n,a=this.getListenersAsObject(e),i="object"==typeof r;for(n in a)a.hasOwnProperty(n)&&t(a[n],r)===-1&&a[n].push(i?r:{listener:r,once:!1});return this},n.on=r("addListener"),n.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},n.once=r("addOnceListener"),n.defineEvent=function(e){return this.getListeners(e),this},n.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},n.removeListener=function(e,r){var n,a,i=this.getListenersAsObject(e);for(a in i)i.hasOwnProperty(a)&&(n=t(i[a],r),n!==-1&&i[a].splice(n,1));return this},n.off=r("removeListener"),n.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},n.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},n.manipulateListeners=function(e,t,r){var n,a,i=e?this.removeListener:this.addListener,u=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(n=r.length;n--;)i.call(this,t,r[n]);else for(n in t)t.hasOwnProperty(n)&&(a=t[n])&&("function"==typeof a?i.call(this,n,a):u.call(this,n,a));return this},n.removeEvent=function(e){var t,r=typeof e,n=this._getEvents();if("string"===r)delete n[e];else if(e instanceof RegExp)for(t in n)n.hasOwnProperty(t)&&e.test(t)&&delete n[t];else delete this._events;return this},n.removeAllListeners=r("removeEvent"),n.emitEvent=function(e,t){var r,n,a,i,u=this.getListenersAsObject(e);for(a in u)if(u.hasOwnProperty(a))for(n=u[a].length;n--;)r=u[a][n],r.once===!0&&this.removeListener(e,r.listener),i=r.listener.apply(this,t||[]),i===this._getOnceReturnValue()&&this.removeListener(e,r.listener);return this},n.trigger=r("emitEvent"),n.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},n.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return a.EventEmitter=i,e},e}();var f,m,p=function(e,t){l(e,t,"undefined"==typeof e||"function"==typeof e,"Function")},d=new o;return e.off=n(d),e.on=a(d),e.once=i(d),m=e.prototype.init,e.prototype.init=function(){var e;this.ee=e=new o,this.off=n(e),this.on=a(e),this.once=i(e),m.apply(this,arguments)},e._eventInit=u,u(),e})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1;!function(n){"function"==typeof t&&t.amd?t(["../cldr"],n):"object"==typeof e&&"object"==typeof e.exports?e.exports=n(r(1)):n(Cldr)}(function(e){var t=e._alwaysArray,r=function(e){var r,n;return r=function(r){return function(n){return n=t(n),e.get([r].concat(n))}},n=r("supplemental"),n.weekData=r("supplemental/weekData"),n.weekData.firstDay=function(){return e.get("supplemental/weekData/firstDay/{territory}")||e.get("supplemental/weekData/firstDay/001")},n.weekData.minDays=function(){var t=e.get("supplemental/weekData/minDays/{territory}")||e.get("supplemental/weekData/minDays/001");return parseInt(t,10)},n.timeData=r("supplemental/timeData"),n.timeData.allowed=function(){return e.get("supplemental/timeData/{territory}/_allowed")||e.get("supplemental/timeData/001/_allowed")},n.timeData.preferred=function(){return e.get("supplemental/timeData/{territory}/_preferred")||e.get("supplemental/timeData/001/_preferred")},n},n=e.prototype.init;return e.prototype.init=function(){n.apply(this,arguments),this.supplemental=r(this)},e})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","cldr/event"],i):"object"==typeof e?t.exports=i(r(5)):a.Globalize=i(a.Cldr)}(this,function(e){function t(e){e.once("get",p),e.get("supplemental/likelySubtags")}function r(e){return this instanceof r?(g(e,"locale"),y(e,"locale"),this.cldr=b(e),void t(this.cldr)):new r(e)}var n=function(e){return"string"==typeof e?e:"number"==typeof e?""+e:JSON.stringify(e)},a=function(e,t){return e=e.replace(/{[0-9a-zA-Z-_. ]+}/g,function(e){return e=e.replace(/^{([^}]*)}$/,"$1"),n(t[e])})},i=function(){var e=arguments[0],t=[].slice.call(arguments,1);return t.forEach(function(t){var r;for(r in t)e[r]=t[r]}),e},u=function(e,t,r){var n;return t=e+(t?": "+a(t,r):""),n=new Error(t),n.code=e,i(n,r),n},o=function(e){return[].reduce.call(e,function(e,t){var r=t.charCodeAt(0);return e=(e<<5)-e+r,0|e},0)},s=function(e,t,r,n){var a;return n=n||JSON.stringify(r),a=o(e+t+n),a>0?"a"+a:"b"+Math.abs(a)},c=function(e){if(void 0!==e.name)return e.name;var t=/^function\s+([\w\$]+)\s*\(/.exec(e.toString());return t&&t.length>0?t[1]:void 0},l=function(e,t,r,n){var a=JSON.stringify(e),i=c(r),u=t.locale;return i?(r.runtimeKey=s(i,u,null,a),r.generatorString=function(){return'Globalize("'+u+'").'+i+"("+a.slice(1,-1)+")"},r.runtimeArgs=n,r):r},f=function(e,t,r,n){if(!r)throw u(e,t,n)},m=function(e){return Array.isArray(e)?e:e?[e]:[]},p=function(e,t,r){var n;r=r||{},n=m(r.skip).some(function(t){return t.test(e)}),f("E_MISSING_CLDR","Missing required CLDR content `{path}`.",t||n,{path:e})},d=function(e){f("E_DEFAULT_LOCALE_NOT_DEFINED","Default locale has not been defined.",void 0!==e,{})},g=function(e,t){f("E_MISSING_PARAMETER","Missing required parameter `{name}`.",void 0!==e,{name:t})},h=function(e,t,r,n){f("E_PAR_OUT_OF_RANGE","Parameter `{name}` has value `{value}` out of range [{minimum}, {maximum}].",void 0===e||e>=r&&e<=n,{maximum:n,minimum:r,name:t,value:e})},v=function(e,t,r,n){f("E_INVALID_PAR_TYPE","Invalid `{name}` parameter ({value}). {expected} expected.",r,{expected:n,name:t,value:e})},y=function(t,r){v(t,r,void 0===t||"string"==typeof t||t instanceof e,"String or Cldr instance")},F=function(e){return null!==e&&""+e=="[object Object]"},D=function(e,t){v(e,t,void 0===e||F(e),"Plain Object")},b=function(t){return t instanceof e?t:new e(t)},E=function(e){return e.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")},_=function(e,t,r){var n;for("string"!=typeof e&&(e=String(e)),n=e.length;n<t;n+=1)e=r?e+"0":"0"+e;return e};return r.load=function(){e.load.apply(e,arguments)},r.locale=function(e){return y(e,"locale"),arguments.length&&(this.cldr=b(e),t(this.cldr)),this.cldr},r._alwaysArray=m,r._createError=u,r._formatMessage=a,r._isPlainObject=F,r._objectExtend=i,r._regexpEscape=E,r._runtimeBind=l,r._stringPad=_,r._validate=f,r._validateCldr=p,r._validateDefaultLocale=d,r._validateParameterPresence=g,r._validateParameterRange=h,r._validateParameterTypePlainObject=D,r._validateParameterType=v,r})}).call(window)},function(e,t,r){e.exports=r(1),r(2),r(3),r(6)},function(e,t,r){(function(){var e=!1,t=!1;!function(n){"function"==typeof t&&t.amd?t(["../cldr"],n):"object"==typeof e&&"object"==typeof e.exports?e.exports=n(r(1)):n(Cldr)}(function(e){var t=e._coreLoad,r=e._jsonMerge,n=e._pathNormalize,a=e._resourceGet,i=e._validatePresence,u=e._validateTypePath,o=function(e,t){var r,i;if("root"!==t)return r=n(["supplemental/parentLocales/parentLocale",t]),(i=a(e._resolved,r)||a(e._raw,r))?i:(i=t.substr(0,t.lastIndexOf(e.localeSep)),i?i:"root")},s=function(e,t,r){var n,a=e,i=t.length;for(n=0;n<i-1;n++)a[t[n]]||(a[t[n]]={}),a=a[t[n]];a[t[n]]=r},c=function(){var e;return e=function(t,i,u,c,l){var f,m,p;if("undefined"!=typeof i&&i!==l)return f=n(u,c),p=a(t._resolved,f),p&&"object"!=typeof p?p:(p=a(t._raw,f),p||(m=o(t,i),p=e(t,m,u,r(c,{bundle:m}),i)),p&&s(t._resolved,f,p),p)}}();return e._raw={},e.load=function(){e._raw=t(e,e._raw,arguments)},e.prototype.get=function(t){return i(t,"path"),u(t,"path"),c(e,this.attributes&&this.attributes.bundle||"",t,this.attributes)},e._eventInit&&e._eventInit(),e})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","../globalize","cldr/event"],i):"object"==typeof e?t.exports=i(r(5),r(4)):i(a.Cldr,a.Globalize)}(this,function(e,t){var r,n=t._alwaysArray,a=t._createError,i=t._isPlainObject,u=t._runtimeBind,o=t._validateDefaultLocale,s=t._validate,c=t._validateParameterPresence,l=t._validateParameterType,f=t._validateParameterTypePlainObject;r=function(){function e(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e))return t?t++e:e;var r=JSON.stringify(e);return t?t+"["+r+"]":r}function t(e,t,r){if(this.lc=[e],this.runtime.pluralFuncs={},this.runtime.pluralFuncs[this.lc[0]]=t,this.runtime.fmt={},r)for(var n in r)this.runtime.fmt[n]=r[n]}return t._parse=function(){function e(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}function t(e,t,r,n,a,i){this.message=e,this.expected=t,this.found=r,this.offset=n,this.line=a,this.column=i,this.name="SyntaxError"}function r(e){function r(t){function r(t,r,n){var a,i;for(a=r;a<n;a++)i=e.charAt(a),"\n"===i?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):"\r"===i||"
"===i||"
"===i?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return qe!==t&&(qe>t&&(qe=0,Ue={line:1,column:1,seenCR:!1}),r(Ue,qe,t),qe=t),Ue}function n(e){$e<Ye||($e>Ye&&(Ye=$e,Qe=[]),Qe.push(e))}function a(n,a,i){function u(e){var t=1;for(e.sort(function(e,t){return e.description<t.description?-1:e.description>t.description?1:0});t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}function o(e,t){function r(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(//g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[ -]/g,function(e){return"\\x0"+t(e)}).replace(/[--]/g,function(e){return"\\x"+t(e)}).replace(/[ƀ-]/g,function(e){return"\\u0"+t(e)}).replace(/[ႀ-]/g,function(e){return"\\u"+t(e)})}var n,a,i,u=new Array(e.length);for(i=0;i<e.length;i++)u[i]=e[i].description;return n=e.length>1?u.slice(0,-1).join(", ")+" or "+u[e.length-1]:u[0],a=t?'"'+r(t)+'"':"end of input","Expected "+n+" but "+a+" found."}var s=r(i),c=i<e.length?e.charAt(i):null;return null!==a&&u(a),new t(null!==n?n:o(a,c),a,c,i,s.line,s.column)}function i(){var e;return e=u()}function u(){var e,t,r;for(e=$e,t=[],r=o(),r===k&&(r=v(),r===k&&(r=h()));r!==k;)t.push(r),r=o(),r===k&&(r=v(),r===k&&(r=h()));return t!==k&&(Ve=e,t=S(t)),e=t}function o(){var t,r,a,i,u,o,c;return t=$e,123===e.charCodeAt($e)?(r=z,$e++):(r=k,0===Je&&n(M)),r!==k?(a=_(),a!==k?(i=y(),i!==k?(u=$e,44===e.charCodeAt($e)?(o=Z,$e++):(o=k,0===Je&&n(j)),o!==k?(c=s(),c!==k?(o=[o,c],u=o):($e=u,u=P)):($e=u,u=P),u===k&&(u=O),u!==k?(o=_(),o!==k?(125===e.charCodeAt($e)?(c=T,$e++):(c=k,0===Je&&n(B)),c!==k?(Ve=t,r=H(i,u),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t}function s(){var t,r,a,i,u,o,s,l;if(t=$e,r=_(),r!==k?(e.substr($e,6)===L?(a=L,$e+=6):(a=k,0===Je&&n(R)),a!==k?(i=_(),i!==k?(44===e.charCodeAt($e)?(u=Z,$e++):(u=k,0===Je&&n(j)),u!==k?(o=_(),o!==k?(s=c(),s!==k?(l=_(),l!==k?(Ve=t,r=I(a,s),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t===k&&(t=$e,r=_(),r!==k?(e.substr($e,13)===G?(a=G,$e+=13):(a=k,0===Je&&n($)),a!==k?(i=_(),i!==k?(44===e.charCodeAt($e)?(u=Z,$e++):(u=k,0===Je&&n(j)),u!==k?(o=_(),o!==k?(s=c(),s!==k?(l=_(),l!==k?(Ve=t,r=I(a,s),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t===k&&(t=$e,r=_(),r!==k?(e.substr($e,6)===V?(a=V,$e+=6):(a=k,0===Je&&n(q)),a!==k?(i=_(),i!==k?(44===e.charCodeAt($e)?(u=Z,$e++):(u=k,0===Je&&n(j)),u!==k?(o=_(),o!==k?(s=p(),s!==k?(l=_(),l!==k?(Ve=t,r=I(a,s),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t===k)))if(t=$e,r=_(),r!==k)if(a=y(),a!==k){for(i=[],u=g();u!==k;)i.push(u),u=g();i!==k?(Ve=t,r=U(a,i),t=r):($e=t,t=P)}else $e=t,t=P;else $e=t,t=P;return t}function c(){var e,t,r,n;if(e=$e,t=l(),t===k&&(t=O),t!==k){if(r=[],n=f(),n!==k)for(;n!==k;)r.push(n),n=f();else r=P;r!==k?(Ve=e,t=Y(t,r),e=t):($e=e,e=P)}else $e=e,e=P;return e}function l(){var t,r,a,i,u,o,s,c;return t=$e,r=_(),r!==k?(e.substr($e,6)===Q?(a=Q,$e+=6):(a=k,0===Je&&n(J)),a!==k?(i=_(),i!==k?(58===e.charCodeAt($e)?(u=X,$e++):(u=k,0===Je&&n(K)),u!==k?(o=_(),o!==k?(s=b(),s!==k?(c=_(),c!==k?(Ve=t,r=W(s),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t}function f(){var t,r,a,i,o,s,c,l,f;return t=$e,r=_(),r!==k?(a=m(),a!==k?(i=_(),i!==k?(123===e.charCodeAt($e)?(o=z,$e++):(o=k,0===Je&&n(M)),o!==k?(s=_(),s!==k?(c=u(),c!==k?(l=_(),l!==k?(125===e.charCodeAt($e)?(f=T,$e++):(f=k,0===Je&&n(B)),f!==k?(Ve=t,r=ee(a,c),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t}function m(){var t,r,a;return t=$e,r=y(),r!==k&&(Ve=t,r=te(r)),t=r,t===k&&(t=$e,61===e.charCodeAt($e)?(r=re,$e++):(r=k,0===Je&&n(ne)),r!==k?(a=b(),a!==k?(Ve=t,r=W(a),t=r):($e=t,t=P)):($e=t,t=P)),t}function p(){var e,t,r;if(e=$e,t=[],r=d(),r!==k)for(;r!==k;)t.push(r),r=d();else t=P;return t!==k&&(Ve=e,t=ae(t)),e=t}function d(){var t,r,a,i,o,s,c,l,f;return t=$e,r=_(),r!==k?(a=y(),a!==k?(i=_(),i!==k?(123===e.charCodeAt($e)?(o=z,$e++):(o=k,0===Je&&n(M)),o!==k?(s=_(),s!==k?(c=u(),c!==k?(l=_(),l!==k?(125===e.charCodeAt($e)?(f=T,$e++):(f=k,0===Je&&n(B)),f!==k?(Ve=t,r=ee(a,c),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t}function g(){var t,r,a,i,u,o;return t=$e,r=_(),r!==k?(44===e.charCodeAt($e)?(a=Z,$e++):(a=k,0===Je&&n(j)),a!==k?(i=_(),i!==k?(u=y(),u!==k?(o=_(),o!==k?(Ve=t,r=ie(u),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P),t}function h(){var t,r;return t=$e,35===e.charCodeAt($e)?(r=ue,$e++):(r=k,0===Je&&n(oe)),r!==k&&(Ve=t,r=se()),t=r}function v(){var e,t,r;if(e=$e,t=[],r=F(),r===k&&(r=w()),r!==k)for(;r!==k;)t.push(r),r=F(),r===k&&(r=w());else t=P;return t!==k&&(Ve=e,t=ce(t)),e=t}function y(){var t,r,a,i,u,o,s;if(Je++,t=$e,r=_(),r!==k){if(a=$e,i=$e,fe.test(e.charAt($e))?(u=e.charAt($e),$e++):(u=k,0===Je&&n(me)),u!==k){for(o=[],pe.test(e.charAt($e))?(s=e.charAt($e),$e++):(s=k,0===Je&&n(de));s!==k;)o.push(s),pe.test(e.charAt($e))?(s=e.charAt($e),$e++):(s=k,0===Je&&n(de));o!==k?(u=[u,o],i=u):($e=i,i=P)}else $e=i,i=P;i!==k&&(i=e.substring(a,$e)),a=i,a!==k?(i=_(),i!==k?(Ve=t,r=ge(a),t=r):($e=t,t=P)):($e=t,t=P)}else $e=t,t=P;return Je--,t===k&&(r=k,0===Je&&n(le)),t}function F(){var e,t,r;if(e=$e,t=[],r=D(),r!==k)for(;r!==k;)t.push(r),r=D();else t=P;return t!==k&&(Ve=e,t=he(t)),e=t}function D(){var t,r,a,i,u,o;return t=$e,ve.test(e.charAt($e))?(r=e.charAt($e),$e++):(r=k,0===Je&&n(ye)),r!==k&&(Ve=t,r=Fe(r)),t=r,t===k&&(t=$e,e.substr($e,2)===De?(r=De,$e+=2):(r=k,0===Je&&n(be)),r!==k&&(Ve=t,r=Ee()),t=r,t===k&&(t=$e,e.substr($e,2)===_e?(r=_e,$e+=2):(r=k,0===Je&&n(we)),r!==k&&(Ve=t,r=Ae()),t=r,t===k&&(t=$e,e.substr($e,2)===xe?(r=xe,$e+=2):(r=k,0===Je&&n(ke)),r!==k&&(Ve=t,r=Ne()),t=r,t===k&&(t=$e,e.substr($e,2)===Ce?(r=Ce,$e+=2):(r=k,0===Je&&n(Se)),r!==k&&(Ve=t,r=Pe()),t=r,t===k&&(t=$e,e.substr($e,2)===ze?(r=ze,$e+=2):(r=k,0===Je&&n(Me)),r!==k?(a=E(),a!==k?(i=E(),i!==k?(u=E(),u!==k?(o=E(),o!==k?(Ve=t,r=Oe(a,i,u,o),t=r):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)):($e=t,t=P)))))),t}function b(){var t,r,a;if(t=$e,r=[],Ze.test(e.charAt($e))?(a=e.charAt($e),$e++):(a=k,0===Je&&n(je)),a!==k)for(;a!==k;)r.push(a),Ze.test(e.charAt($e))?(a=e.charAt($e),$e++):(a=k,0===Je&&n(je));else r=P;return r!==k&&(Ve=t,r=Te(r)),t=r}function E(){var t;return Be.test(e.charAt($e))?(t=e.charAt($e),$e++):(t=k,0===Je&&n(He)),t}function _(){var e,t,r;for(Je++,e=$e,t=[],r=w();r!==k;)t.push(r),r=w();return t!==k&&(Ve=e,t=Re(t)),e=t,Je--,e===k&&(t=k,0===Je&&n(Le)),e}function w(){var t;return Ie.test(e.charAt($e))?(t=e.charAt($e),$e++):(t=k,0===Je&&n(Ge)),t}var A,x=arguments.length>1?arguments[1]:{},k={},N={start:i},C=i,S=function(e){return{type:"messageFormatPattern",statements:e}},P=k,z="{",M={type:"literal",value:"{",description:'"{"'},O=null,Z=",",j={type:"literal",value:",",description:'","'},T="}",B={type:"literal",value:"}",description:'"}"'},H=function(e,t){var r={type:"messageFormatElement",argumentIndex:e};return t&&t.length?r.elementFormat=t[1]:r.output=!0,r},L="plural",R={type:"literal",value:"plural",description:'"plural"'},I=function(e,t){return{type:"elementFormat",key:e,val:t}},G="selectordinal",$={type:"literal",value:"selectordinal",description:'"selectordinal"'},V="select",q={type:"literal",value:"select",description:'"select"'},U=function(e,t){return{type:"elementFormat",key:e,val:t}},Y=function(e,t){return{type:"pluralFormatPattern",pluralForms:t,offset:e||0}},Q="offset",J={type:"literal",value:"offset",description:'"offset"'},X=":",K={type:"literal",value:":",description:'":"'},W=function(e){return e},ee=function(e,t){return{key:e,val:t}},te=function(e){return e},re="=",ne={type:"literal",value:"=",description:'"="'},ae=function(e){return{type:"selectFormatPattern",pluralForms:e}},ie=function(e){return e},ue="#",oe={type:"literal",value:"#",description:'"#"'},se=function(){return{type:"octothorpe"}},ce=function(e){return{type:"string",val:e.join("")}},le={type:"other",description:"identifier"},fe=/^[0-9a-zA-Z$_]/,me={type:"class",value:"[0-9a-zA-Z$_]",description:"[0-9a-zA-Z$_]"},pe=/^[^ \t\n\r,.+={}]/,de={type:"class",value:"[^ \\t\\n\\r,.+={}]",description:"[^ \\t\\n\\r,.+={}]"},ge=function(e){return e},he=function(e){return e.join("")},ve=/^[^{}#\\\0- \t\n\r]/,ye={type:"class",value:"[^{}#\\\\\\0-\ \\t\\n\\r]",description:"[^{}#\\\\\\0-\ \\t\\n\\r]"},Fe=function(e){return e},De="\\\\",be={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},Ee=function(){return"\\"},_e="\\#",we={type:"literal",value:"\\#",description:'"\\\\#"'},Ae=function(){return"#"},xe="\\{",ke={type:"literal",value:"\\{",description:'"\\\\{"'},Ne=function(){return"{"},Ce="\\}",Se={type:"literal",value:"\\}",description:'"\\\\}"'},Pe=function(){return"}"},ze="\\u",Me={type:"literal",value:"\\u",description:'"\\\\u"'},Oe=function(e,t,r,n){return String.fromCharCode(parseInt("0x"+e+t+r+n))},Ze=/^[0-9]/,je={type:"class",value:"[0-9]",description:"[0-9]"},Te=function(e){return parseInt(e.join(""),10)},Be=/^[0-9a-fA-F]/,He={type:"class",value:"[0-9a-fA-F]",description:"[0-9a-fA-F]"},Le={type:"other",description:"whitespace"},Re=function(e){return e.join("")},Ie=/^[ \t\n\r]/,Ge={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},$e=0,Ve=0,qe=0,Ue={line:1,column:1,seenCR:!1},Ye=0,Qe=[],Je=0;if("startRule"in x){if(!(x.startRule in N))throw new Error("Can't start parsing from rule \""+x.startRule+');C=N[x.startRule]}if(A=C(),A!==k&&$e===e.length)return A;throw A!==k&&$e<e.length&&n({type:"end",description:"end of input"}),a(null,Qe,Ye)}return e(t,Error),{SyntaxError:t,parse:r}}().parse,t.plurals={},t.formatters={},t.prototype.runtime={number:function(e,t){if(isNaN(e))throw new Error("'"+e+"' isn't a number.");return e-(t||0)},plural:function(e,t,r,n,a){if({}.hasOwnProperty.call(n,e))return n[e]();t&&(e-=t);var i=r(e,a);return i in n?n[i]():n.other()},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]():t.other()},pluralFuncs:{},fmt:{},toString:function(){var t=function(r,n){if("object"!=typeof r){var a=r.toString().replace(/^(function )\w*/,"$1"),i=/([ \t]*)\S.*$/.exec(a);return i?a.replace(new RegExp("^"+i[1],"mg"),""):a}var u=[];for(var o in r)"toString"!=o&&(0==n?u.push("var "+o+" = "+t(r[o],n+1)+";\n"):u.push(e(o)+": "+t(r[o],n+1)));if(0==n)return u.join("");if(0==u.length)return"{}";for(var i=" ";--n;)i+=" ";return"{\n"+u.join(",\n").replace(/^/gm,i)+"\n}"};return t(this,0)}},t.prototype._precompile=function(r,n){n=n||{keys:{},offset:{}};var a,i,u=[],o=[];switch(r.type){case"messageFormatPattern":for(a=0;a<r.statements.length;++a)u.push(this._precompile(r.statements[a],n));return i=u.join(" + ")||'""',n.pf_count?i:"function(d) { return "+i+"; }";case"messageFormatElement":return n.pf_count=n.pf_count||0,r.output?e(r.argumentIndex,"d"):(n.keys[n.pf_count]=r.argumentIndex,this._precompile(r.elementFormat,n));case"elementFormat":switch(o=[e(n.keys[n.pf_count],"d")],r.key){case"select":return o.push(this._precompile(r.val,n)),"select("+o.join(", ")+")";case"selectordinal":return o=o.concat([0,e(this.lc[0],"pluralFuncs"),this._precompile(r.val,n),1]),"plural("+o.join(", ")+")";case"plural":return n.offset[n.pf_count||0]=r.val.offset||0,o=o.concat([n.offset[n.pf_count]||0,e(this.lc[0],"pluralFuncs"),this._precompile(r.val,n)]),"plural("+o.join(", ")+")";default:return this.withIntlSupport&&!(r.key in this.runtime.fmt)&&r.key in t.formatters&&(i=t.formatters[r.key],this.runtime.fmt[r.key]="function"==typeof i(this)?i(this):i),o.push(JSON.stringify(this.lc)),r.val&&r.val.length&&o.push(JSON.stringify(1==r.val.length?r.val[0]:r.val)),"fmt."+r.key+"("+o.join(", ")+")"}case"pluralFormatPattern":case"selectFormatPattern":n.pf_count=n.pf_count||0,"selectFormatPattern"==r.type&&(n.offset[n.pf_count]=0);var s=!0;for(a=0;a<r.pluralForms.length;++a){var c=r.pluralForms[a].key;"other"===c&&(s=!1);var l=JSON.parse(JSON.stringify(n));l.pf_count++,u.push(e(c)+": function() { return "+this._precompile(r.pluralForms[a].val,l)+";}")}if(s)throw new Error("No 'other' form found in "+r.type+" "+n.pf_count);return"{ "+u.join(", ")+" }";case"string":return JSON.stringify(r.val||"");case"octothorpe":return n.pf_count?(o=[e(n.keys[n.pf_count-1],"d")],n.offset[n.pf_count-1]&&o.push(n.offset[n.pf_count-1]),"number("+o.join(", ")+")"):'"#"';default:throw new Error("Bad AST type: "+r.type)}},t.prototype.compile=function(r,n){var a={},i=this.lc,u=function(e,r){try{var n=t._parse(r);return e._precompile(n)}catch(e){throw new Error((n?"Precompiler":"Parser")+" error: "+e.toString())}},o=function(t,r){if(r||(r=0),"object"!=typeof t)return t;for(var n=[],a="",i=0;i<r;++i)a+=" ";for(var u in t)n.push("\n"+a+" "+e(u)+": "+o(t[u],r+1));return"{"+n.join(",")+"\n"+a+"}"};if("string"==typeof r){var s=new Function("number, plural, select, pluralFuncs, fmt","return "+u(this,r));return s(this.runtime.number,this.runtime.plural,this.runtime.select,this.runtime.pluralFuncs,this.runtime.fmt)}n=n||{};for(var c in r)if(n.locale&&(this.lc=n.locale[c]&&[].concat(n.locale[c])||i),"string"==typeof r[c])try{a[c]=u(this,r[c])}catch(e){throw e.message=e.message.replace(":"," with `"+c+"`:"),e}else{a[c]={};for(var l in r[c])try{a[c][l]=u(this,r[c][l])}catch(e){throw e.message=e.message.replace(":"," with `"+l+"` in `"+c+"`:"),e}}this.lc=i;var f=this.runtime.toString()+"\n";switch(n.global||""){case"exports":var m=[];for(var p in a)m.push(e(p,"exports")+" = "+o(a[p]));return new Function(f+m.join(";\n"));case"module.exports":return new Function(f+"module.exports = "+o(a));case"":return new Function(f+"return "+o(a));default:return new Function("G",f+e(n.global,"G")+" = "+o(a))}},t}();var m=function(){return a("E_MISSING_PLURAL_MODULE","Plural module not loaded.")},p=function(e){s("E_MISSING_MESSAGE_BUNDLE","Missing message bundle for locale `{locale}`.",e.attributes.bundle&&void 0!==e.get("globalize-messages/{bundle}"),{locale:e.locale})},d=function(e,t){e=e.join("/"),s("E_MISSING_MESSAGE","Missing required message content `{path}`.",void 0!==t,{path:e})},g=function(e,t){e=e.join("/"),s("E_INVALID_MESSAGE","Invalid message content `{path}`. {expected} expected.","string"==typeof t,{expected:"a string",path:e})},h=function(e,t){l(e,t,void 0===e||i(e)||Array.isArray(e),"Array or Plain Object")},v=function(e){return function(t){return"number"!=typeof t&&"string"!=typeof t||(t=[].slice.call(arguments,0)),h(t,"variables"),e(t)}},y=function(e,t){var r=e.locale,n=t.toString;return t.toString=function(){var e,a,i,u={};return i=n.call(t),/number\(/.test(i)&&(u.number="messageFormat.number"),/plural\(/.test(i)&&(u.plural="messageFormat.plural"),/select\(/.test(i)&&(u.select="messageFormat.select"),i.replace(/pluralFuncs(\[([^\]]+)\]|\.([a-zA-Z]+))/,function(e){return u.pluralFuncs='{"'+r+'": Globalize("'+r+'").pluralGenerator()}',e}),e=Object.keys(u).join(", "),a=Object.keys(u).map(function(e){return u[e]}).join(", "),"(function( "+e+" ) {\n return "+i+"\n})("+a+")"},t},F=[].slice;return t.loadMessages=function(t){var r,n={"globalize-messages":t,main:{}};c(t,"json"),f(t,"json");for(r in t)t.hasOwnProperty(r)&&(n.main[r]={});e.load(n)},t.messageFormatter=t.prototype.messageFormatter=function(e){var t,a,i,s,f,h=F.call(arguments,0);return c(e,"path"),l(e,"path","string"==typeof e||Array.isArray(e),"a String nor an Array"),e=n(e),t=this.cldr,o(t),p(t),i=t.get(["globalize-messages/{bundle}"].concat(e)),d(e,i),Array.isArray(i)&&(i=i.join(" ")),g(e,i),s=void 0!==this.plural?this.pluralGenerator():m,a=new r(t.locale,s).compile(i),f=v(a),u(h,t,f,[y(t,a),s]),f},t.formatMessage=t.prototype.formatMessage=function(e){return this.messageFormatter(e).apply({},F.call(arguments,1))},t})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","../globalize","cldr/event","cldr/supplemental"],i):"object"==typeof e?t.exports=i(r(5),r(4)):i(a.Cldr,a.Globalize)}(this,function(e,t){function r(e){var t=e[2],r=e[3],n=e[4],a=e[5],i=e[6];if(isNaN(a*i)){if(!isNaN(a)||!isNaN(i))throw new Error("Neither or both the minimum and maximum significant digits must be present");l(t,"minimumIntegerDigits",1,21),l(r,"minimumFractionDigits",0,20),l(n,"maximumFractionDigits",r,20)}else l(a,"minimumSignificantDigits",1,21),l(i,"maximumSignificantDigits",a,21)}var n=t._createError,a=t._regexpEscape,i=t._runtimeBind,u=t._stringPad,o=t._validateCldr,s=t._validateDefaultLocale,c=t._validateParameterPresence,l=t._validateParameterRange,f=t._validateParameterType,m=t._validateParameterTypePlainObject,p=function(e){return n("E_UNSUPPORTED","Unsupported {feature}.",{feature:e})},d=function(e,t){f(e,t,void 0===e||"number"==typeof e,"Number")},g=function(e,t){f(e,t,void 0===e||"string"==typeof e,"a string")},h=function(e,t,r){var n,a=t,i="",u=",",o=!!r;for(e=String(e).split(),n=e[0].length;n>a;)i=e[0].slice(n-a,n)+(i.length?u:"")+i,
n-=a,o&&(a=r,o=!1);return e[0]=e[0].slice(0,n)+(i.length?u:"")+i,e.join()},v=function(e,t,r,n,a,i){return e=n?i?a(e,i):a(e,{exponent:-n}):a(e),e=String(e),n&&/e-/.test(e)&&(e=(+e).toFixed(n).replace(/0+$/,"").replace(/\.$/,"")),r&&(e=e.split(),e[1]=u(e[1]||"",r,!0),e=e.join()),t&&(e=e.split(),e[0]=u(e[0],t),e=e.join()),e},y=function(e,t,r){var n;return e=e.toPrecision(t+2),n=Math.ceil(Math.log(Math.abs(e))/Math.log(10)),n-=t,r(e,{exponent:n})},F=function(e,t,r,n){var a,i;if(t>r&&(r=t),a=y(e,t,n),i=y(e,r,n),e=+a===+i?a:i,e=(+e).toString(10),/e/.test(e))throw p({feature:"integers out of (1e21, 1e-7)"});return t-e.replace(/^0+|\./g,"").length>0&&(e=e.split(),e[1]=u(e[1]||"",t-e[0].replace(/^0+/,"").length,!0),e=e.join()),e},D=function(e){return e[0]+e[e.length-1]!=="''"?e:"''"===e?"":e.replace(/''/g,"'").slice(1,-1)},b=function(e,t){var r,n,a,i,u,o,s,c,l,f,m,p,d,g,y,b,E,_;return l=t[1],u=t[2],i=t[3],n=t[4],o=t[5],a=t[6],y=t[7],m=t[8],b=t[9],g=t[15],r=t[16],s=t[17],_=t[18],c=t[19],isNaN(e)?s:(e<0?(p=t[12],f=t[13],E=t[14]):(p=t[11],f=t[0],E=t[10]),isFinite(e)?(d=f,p.indexOf("%")!==-1?e*=100:p.indexOf("‰")!==-1&&(e*=1e3),e=isNaN(o*a)?v(e,u,i,n,g,y):F(e,o,a,g),e=e.replace(/^-/,""),m&&(e=h(e,m,b)),d+=e,d+=E,d.replace(/('([^']|'')+'|'')|./g,function(e,t){return t?D(t):(e=e.replace(/[.,\-+E%‰]/,function(e){return _[e]}),c&&(e=e.replace(/[0-9]/,function(e){return c[+e]})),e)})):f+r+E)},E=function(e){return function(t){return c(t,"value"),d(t,"value"),b(t,e)}},_=function(e){var t=e.attributes["u-nu"];return t?("traditio"===t&&(t="traditional"),["native","traditional","finance"].indexOf(t)!==-1?e.main(["numbers/otherNumberingSystems",t]):t):e.main("numbers/defaultNumberingSystem")},w=function(e){var t,r=_(e);if("latn"!==r){if(t=e.supplemental(["numberingSystems",r]),"numeric"!==t._type)throw p("`"+t._type+"` numbering system");return t._digits}},A=/^(('([^']|'')*'|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/,x=function(e){var t,r,n,a,i,u,o,s,c,l,f,m,d,g,h,v,y,F;if(e=e.match(A),!e)throw new Error("Invalid pattern: "+e);if(m=e[1],f=e[4],a=e[5],y=e[9],h=e[10],F=e[11],y?y.replace(/(@+)(#*)/,function(e,t,r){l=t.length,o=l+r.length}):(n=e[8],i=e[7],n&&(n.replace(/[0-9]+/,function(e){s=e}),s?(g=+("0."+s),s=s.length):s=0,u=n.length-1),i.replace(/0+$/,function(e){c=e.length})),h)throw p({feature:"scientific notation (not implemented)"});if(f)throw p({feature:"padding (not implemented)"});return(t=a.lastIndexOf(","))!==-1&&(r=a.split()[0],d=r.length-t-1,(r=a.lastIndexOf(",",t-1))!==-1&&(v=t-1-r)),[m,f,c,s,u,l,o,g,d,v,F]},k=function(e,t){return t.main(["numbers/symbols-numberSystem-"+_(t),e])},N={:"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","‰":"perMille"},C=function(e){var t,r={};for(t in N)r[t]=k(N[t],e);return r},S=function(e){return isNaN(e)?NaN:Math[e<0?"ceil":"floor"](e)},P=function(e){return e=e||"round",e="truncate"===e?S:Math[e],function(t,r){var n,a;if(t=+t,isNaN(t))return NaN;if("object"==typeof r&&r.exponent){if(n=+r.exponent,a=1,0===n)return e(t);if("number"!=typeof n||n%1!==0)return NaN}else{if(a=+r||1,1===a)return e(t);if(isNaN(a))return NaN;a=a.toExponential().split("e"),n=+a[1],a=+a[0]}return t=t.toString().split("e"),t[0]=+t[0]/a,t[1]=t[1]?+t[1]-n:-n,t=e(+(t[0]+"e"+t[1])),t=t.toString().split("e"),t[0]=+t[0]*a,t[1]=t[1]?+t[1]+n:n,+(t[0]+"e"+t[1])}},z=function(e,t,r){function n(e,t){e in r&&(l[t]=r[e])}var a,i,u,o,s,c,l;return r=r||{},e=e.split(";"),s=e[0],a=e[1]||"-"+s,u=x(a),i=u[0],o=u[10],c=P(r.round),c.generatorString=function(){return"numberRound("+(r.round?'"'+r.round+'"':"")+")"},l=x(s).concat([s,i+s+o,i,o,c,k("infinity",t),k("nan",t),C(t),w(t)]),n("minimumIntegerDigits",2),n("minimumFractionDigits",3),n("maximumFractionDigits",4),n("minimumSignificantDigits",5),n("maximumSignificantDigits",6),r.useGrouping===!1&&(l[8]=null),"minimumFractionDigits"in r&&!("maximumFractionDigits"in r)?l[4]=Math.max(l[3],l[4]):!("minimumFractionDigits"in r)&&"maximumFractionDigits"in r&&(l[3]=Math.min(l[3],l[4])),l},M=/[------]||[-]|[-]|[-]/g,O=/[\-֊־᐀᠆‐-―⸗⸚⸺⸻⹀〜〰゠︱︲﹘﹣-−]/g,Z=/[ - ]/g,j=function(e){return e.replace(M,"").replace(O,"-").replace(Z," ")},T=function(e,t){function r(e){return function(t){switch(t=t.split("").map(function(e){return u[e]||i[e]||e}).join(""),e){case"infinity":s=1/0;break;case"nan":s=NaN;break;case"number":t=t.replace(/,/g,""),s=+t;break;case"prefix":case"negativePrefix":c=t;break;case"suffix":f=t;break;case"negativeSuffix":f=t,o=!0;break;default:throw new Error("Internal error")}return""}}function n(e,t){return t.some(function(t){var n=e;return t.every(function(e){return null!==n.match(m[e])&&(n=n.replace(m[e],r(e)),!0)})&&!n.length})}var a,i,u,o,s,c,l,f,m,p;return a=[["nan"],["prefix","infinity","suffix"],["prefix","number","suffix"],["negativePrefix","infinity","negativeSuffix"],["negativePrefix","number","negativeSuffix"]],u=t[0],i=t[1]||{},m=t[2],e=j(e),p=n(e,a),!p||isNaN(s)?NaN:(l=""+c+f,l.indexOf("%")!==-1?s/=100:l.indexOf("‰")!==-1&&(s/=1e3),o&&(s*=-1),s)},B=function(e){return function(t){return c(t,"value"),g(t,"value"),T(t,e)}},H=function(e){var t,r={};for(t in N)r[k(N[t],e)]=t;return r},L=function(e,t){return Object.keys(e).map(function(r){return t([r,e[r]])}).reduce(function(e,t){return e[t[0]]=t[1],e},{})},R=function(e,t,r){var n,i,u,o,s,c,l,f,m,p,d,g,h,v,y,F,b,E,_,w,A=z(e,t,r);return F=j(A[0]),f=A[4],p=A[5],m=A[6],b=A[8],E=A[9],_=j(A[10]),g=j(A[13]),h=j(A[14]),s=j(A[16]),d=j(A[17]),w=L(A[18],function(e){return[e[0],j(e[1])]}),v=A[19],l=L(H(t),function(e){return[j(e[0]),e[1]]}),u=v?"["+v+"]":"\\d",o=a(w[","]),i=a(w[]),v&&(c=v.split("").reduce(function(e,t,r){return e[t]=String(r),e},{})),n=[F,_,g,h].map(function(e){return e.replace(/('([^']|'')+'|'')|./g,function(e,t){return t?D(t):e=e.replace(/[\-+E%‰]/,function(e){return w[e]})})}),F=n[0],_=n[1],g=n[2],h=n[3],y=u+"+",b&&(n=E?u+"{1,"+E+"}(("+o+u+"{"+E+"})*("+o+u+"{"+b+"}))":u+"{1,"+b+"}("+o+u+"{"+b+"})+",y="("+n+"|"+y+")"),isNaN(p*m)&&!f||(n=i+u+"+",y=y+"("+n+"|"+i+")?|("+y+")?"+n,y="("+y+")"),[l,c,{infinity:new RegExp("^"+a(s)),nan:new RegExp("^"+a(d)),negativePrefix:new RegExp("^"+a(g)),negativeSuffix:new RegExp("^"+a(h)),number:new RegExp("^"+y),prefix:new RegExp("^"+a(F)),suffix:new RegExp("^"+a(_))}]},I=function(e,t){if("decimal"!==e&&"percent"!==e)throw new Error("Invalid style");return t.main(["numbers",e+"Formats-numberSystem-"+_(t),"standard"])};return t.numberFormatter=t.prototype.numberFormatter=function(e){var t,n,a,u,c;return m(e,"options"),e=e||{},n=this.cldr,t=[e],s(n),n.on("get",o),a=e.raw?e.raw:I(e.style||"decimal",n),u=z(a,n,e),n.off("get",o),r(u),c=E(u),i(t,n,c,[u]),c},t.numberParser=t.prototype.numberParser=function(e){var t,r,n,a,u;return m(e,"options"),e=e||{},r=this.cldr,t=[e],s(r),r.on("get",o),n=e.raw?e.raw:I(e.style||"decimal",r),a=R(n,r,e),r.off("get",o),u=B(a),i(t,r,u,[a]),u},t.formatNumber=t.prototype.formatNumber=function(e,t){return c(e,"value"),d(e,"value"),this.numberFormatter(t)(e)},t.parseNumber=t.prototype.parseNumber=function(e,t){return c(e,"value"),g(e,"value"),this.numberParser(t)(e)},t._createErrorUnsupportedFeature=p,t._numberNumberingSystem=_,t._numberNumberingSystemDigitsMap=w,t._numberPattern=I,t._numberSymbol=k,t._looseMatching=j,t._removeLiteralQuotes=D,t._stringPad=u,t._validateParameterTypeNumber=d,t._validateParameterTypeString=g,t})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","../globalize","cldr/event","cldr/supplemental"],i):"object"==typeof e?t.exports=i(r(5),r(4)):i(a.Cldr,a.Globalize)}(this,function(e,t){var r,n=t._runtimeBind,a=t._validateCldr,i=t._validateDefaultLocale,u=t._validateParameterPresence,o=t._validateParameterType,s=t._validateParameterTypePlainObject;r=function(){"use strict";var e=function(e){return Array.isArray(e)?e:Array.from(e)},t=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=function(){function e(){r(this,e)}return n(e,[{key:"parse",value:function(e){var t=this;return"i = 0 or n = 1"===e?"n >= 0 && n <= 1":"i = 0,1"===e?"n >= 0 && n < 2":"i = 1 and v = 0"===e?(this.v0=1,"n == 1 && v0"):e.replace(/([tv]) (!?)= 0/g,function(e,r,n){var a=r+"0";return t[a]=1,n?"!"+a:a}).replace(/\b[fintv]\b/g,function(e){return t[e]=1,e}).replace(/([fin]) % (10+)/g,function(e,r,n){var a=r+n;return t[a]=1,a}).replace(/n10+ = 0/g,"t0 && $&").replace(/(\w+ (!?)= )([0-9.]+,[0-9.,]+)/g,function(e,t,r,n){return"n = 0,1"===e?"(n == 0 || n == 1)":r?t+n.split(",").join(" && "+t):"("+t+n.split(",").join(" || "+t)+")"}).replace(/(\w+) (!?)= ([0-9]+)\.\.([0-9]+)/g,function(e,r,n,a,i){return Number(a)+1===Number(i)?n?""+r+" != "+a+" && "+r+" != "+i:"("+r+" == "+a+" || "+r+" == "+i+")":n?"("+r+" < "+a+" || "+r+" > "+i+")":"n"===r?(t.t0=1,"(t0 && n >= "+a+" && n <= "+i+")"):"("+r+" >= "+a+" && "+r+" <= "+i+")"}).replace(/ and /g," && ").replace(/ or /g," || ").replace(/ = /g," == ")}},{key:"vars",value:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=[];this.i&&e.push("i = s[0]"),(this.f||this.v)&&e.push("f = s[1] || ''"),this.t&&e.push("t = (s[1] || '').replace(/0+$/, '')"),this.v&&e.push("v = f.length"),this.v0&&e.push("v0 = !s[1]"),(this.t0||this.n10||this.n100)&&e.push("t0 = Number(s[0]) == n");for(var t in this)if(/^.10+$/.test(t)){var r="n"===t[0]?"t0 && s[0]":t[0];e.push(""+t+" = "+r+".slice(-"+t.substr(2).length+")")}return e.length?"var "+["s = String(n).split()"].concat(e).join(", "):""})}]),e}(),i=function(){function i(e){var t=void 0===arguments[1]?i:arguments[1],n=t.cardinals,u=t.ordinals;if(r(this,i),!n&&!u)throw new Error("At least one type of plural is required");return this.lc=e,this.categories={cardinal:[],ordinal:[]},this.parser=new a,this.fn=this.buildFunction(n,u),this.fn._obj=this,this.fn.categories=this.categories,this.fn.toString=this.fnToString.bind(this),this.fn}return n(i,[{key:"compile",value:function(r,n){var a=[],u=i.rules[r][this.lc];if(!u){if(n)throw new Error('Locale "'+this.lc+'" '+r+" rules not found");return this.categories[r]=["other"],"'other'"}for(var o in u){var s=u[o].trim().split(/\s*@\w*/),c=e(s),l=c[0],f=(c.slice(1),o.replace("pluralRule-count-",""));l&&a.push([this.parser.parse(l),f])}return this.categories[r]=a.map(function(e){return e[1]}).concat("other"),1===a.length?"("+a[0][0]+") ? '"+a[0][1]+"' : 'other'":[].concat(t(a.map(function(e){return"("+e[0]+") ? '"+e[1]+"'"})),["'other'"]).join("\n : ")}},{key:"buildFunction",value:function(e,r){var n=this,a=function(e){return e?(e[1]?"return ":"if (ord) return ")+n.compile.apply(n,t(e)):""},i={vars:function(e){return(" "+e+";").replace(/(.{1,78})(,|$) ?/g,"$1$2\n ")},cond:function(e){return(" "+e+";").replace(/(.{1,78}) (\|\| |$) ?/gm,"$1\n $2")}},u=[r&&["ordinal",!e],e&&["cardinal",!0]].map(a).map(i.cond),o=[i.vars(this.parser.vars())].concat(t(u)).join("\n").replace(/\s+$/gm,"").replace(/^[\s;]*[\r\n]+/gm,""),s=r&&e?"n, ord":"n";return new Function(s,o)}},{key:"fnToString",value:function(e){return Function.prototype.toString.call(this.fn).replace(/^function( \w+)?/,e?"function "+e:"function").replace("\n/**/","")}}],[{key:"load",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.forEach(function(e){var t=e&&e.supplemental||null;if(!t)throw new Error("Data does not appear to be CLDR data");i.rules={cardinal:t["plurals-type-cardinal"]||i.rules.cardinal,ordinal:t["plurals-type-ordinal"]||i.rules.ordinal}}),i}}]),i}();return i.cardinals=!0,i.ordinals=!1,i.rules={cardinal:{},ordinal:{}},i}();var c=function(e,t){o(e,t,void 0===e||"number"==typeof e,"Number")},l=function(e,t){o(e,t,void 0===e||"cardinal"===e||"ordinal"===e,'String "cardinal" or "ordinal"')},f=function(e){return function(t){return u(t,"value"),c(t,"value"),e(t)}};return t.plural=t.prototype.plural=function(e,t){return u(e,"value"),c(e,"value"),this.pluralGenerator(t)(e)},t.pluralGenerator=t.prototype.pluralGenerator=function(e){var t,u,o,c,m,p;return s(e,"options"),e=e||{},u=this.cldr,t=[e],p=e.type||"cardinal",l(e.type,"options.type"),i(u),o="ordinal"===p,u.on("get",a),u.supplemental(["plurals-type-"+p,"{language}"]),u.off("get",a),r.rules={},r.rules[p]=u.supplemental("plurals-type-"+p),c=new r(u.attributes.language,{ordinals:o,cardinals:!o}),m=f(c),n(t,u,m,[c]),m},t})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","../globalize","./number","cldr/event","cldr/supplemental"],i):"object"==typeof e?t.exports=i(r(5),r(4)):i(a.Cldr,a.Globalize)}(this,function(e,t){function r(e){return void 0!==e.skeleton||void 0!==e.date||void 0!==e.time||void 0!==e.datetime||void 0!==e.raw}function n(e,t){D(e,t,{skip:[/dates\/calendars\/gregorian\/dateTimeFormats\/availableFormats/,/dates\/calendars\/gregorian\/days\/.*\/short/,/dates\/timeZoneNames\/zone/,/dates\/timeZoneNames\/metazone/,/globalize-iana/,/supplemental\/metaZones/,/supplemental\/timeData\/(?!001)/,/supplemental\/weekData\/(?!001)/]})}function a(e){i("date",e),i("time",e),i("datetime",e)}function i(e,t){var r=t[e];F("E_INVALID_OPTIONS",'Invalid `{{type}: "{value}"}`.',void 0===r||["short","medium","long","full"].indexOf(r)!==-1,{type:e,value:r})}function u(e,t){F("E_INVALID_OPTIONS",'Invalid `{skeleton: "{value}"}` based on provided CLDR.',void 0===t||"string"==typeof e&&e,{type:"skeleton",value:t})}function o(e){return function(t,r){/globalize-iana/.test(t)&&F("E_MISSING_IANA_TZ","Missing required IANA timezone content for `{timeZone}`: `{path}`.",r,{path:t.replace(/globalize-iana\//,""),timeZone:e})}}var s=t._createError,c=t._createErrorUnsupportedFeature,l=t._formatMessage,f=t._isPlainObject,m=t._looseMatching,p=t._numberNumberingSystemDigitsMap,d=t._numberSymbol,g=t._regexpEscape,h=t._removeLiteralQuotes,v=t._runtimeBind,y=t._stringPad,F=t._validate,D=t._validateCldr,b=t._validateDefaultLocale,E=t._validateParameterPresence,_=t._validateParameterType,w=t._validateParameterTypePlainObject,A=t._validateParameterTypeString,x=function(e,t){_(e,t,void 0===e||e instanceof Date,"Date")},k=function(e,t){return s("E_INVALID_PAR_VALUE","Invalid `{name}` value ({value}).",{name:e,value:t})},N="GyYuUrQqMLlwWEecdDFghHKkmsSAzZOvVXx".split("").reduce(function(e,t,r){return e[t]=r,e},{}),C=function(e){var t,r=N;e.replace(/[^GyYuUrQqMLlwWEecdDFghHKkmsSAzZOvVXx]/,function(t){throw s("E_INVALID_OPTIONS","Invalid field `{invalidField}` of skeleton `{value}`",{invalidField:t,type:"skeleton",value:e})}),e.split("").every(function(n){if(r[n]<t)throw s("E_INVALID_OPTIONS","Invalid order `{invalidField}` of skeleton `{value}`",{invalidField:n,type:"skeleton",value:e});return t=r[n],!0})},S=function(e,t){return t=t||function(e,t,r){return e[r]=t,e},Object.keys(e).reduce(function(r,n){return t(r,n,e[n])},{})},P=S({e:"eEc",L:"ML"},function(e,t,r){return r.split("").forEach(function(r){e[r]=t}),e}),z=function(e){return P[e]||e},M=/([a-z])\1*|'([^']|'')+'|''|./gi,O=function(e,t){var r,n="";for(r=0;r<t;r++)n+=e;return n},Z=function(e,t){var r,n,a,i,u,o,s=z;for(e=e.match(M),t=t.match(M),r=0;r<t.length;r++)for(a=t[r].charAt(0),i=t[r].length,n=0;n<e.length;n++)u=e[n].charAt(0),o=e[n].length,s(a)===s(u)&&i<o&&(t[r]=O(a,o));return t.join("")},j=function(e,t){var r,n,a,i,u,o,s,c,l,f=z;if(e===t)return 0;if(e=e.match(M),t=t.match(M),e.length!==t.length)return-1;for(a=1,c=0;c<e.length;c++){for(r=e[c].charAt(0),o=f(r),s=null,l=0;l<t.length&&(n=t[l].charAt(0),s=f(n),o!==s);l++)s=null;if(null===s)return-1;i=e[c].length,u=t[l].length,a+=Math.abs(i-u),r!==n&&(a+=1),(i<3&&u>=3||i>=3&&u<3)&&(a+=20)}return a},T=function(e,t){var r,n,a,i,u="dates/calendars/gregorian/dateTimeFormats/availableFormats",o=Z,s=j;if(n=e.main([u,t]),t&&!n){r=e.main([u]),a=[];for(i in r)a.push({skeleton:i,pattern:r[i],rate:s(t,i)});a=a.filter(function(e){return e.rate>-1}).sort(function(e,t){return e.rate-t.rate}),a.length&&(n=o(t,a[0].pattern))}return n},B=function(e,t){function r(e,r,n){return l(t.main(["dates/calendars/gregorian/dateTimeFormats",e]),[n,r])}var n,a,i,u,o,s=T;switch(!0){case"skeleton"in e:if(i=e.skeleton,i=i.replace(/j/g,function(){return t.supplemental.timeData.preferred()}),C(i),a=s(t,i))break;u=i.split(/[^hHKkmsSAzZOvVXx]/).slice(-1)[0],n=i.split(/[^GyYuUrQqMLlwWdDFgEec]/)[0],n=s(t,n),u=s(t,u),o=/(MMMM|LLLL).*[Ec]/.test(n)?"full":/MMMM|LLLL/.test(n)?"long":/MMM|LLL/.test(n)?"medium":"short",a=n&&u?r(o,n,u):n||u;break;case"date"in e:case"time"in e:a=t.main(["dates/calendars/gregorian","date"in e?"dateFormats":"timeFormats",e.date||e.time]);break;case"datetime"in e:a=r(e.datetime,t.main(["dates/calendars/gregorian/dateFormats",e.datetime]),t.main(["dates/calendars/gregorian/timeFormats",e.datetime]));break;case"raw"in e:a=e.raw;break;default:throw k({name:"options",value:e})}return a},H=["sun","mon","tue","wed","thu","fri","sat"],L=function(e){return H.indexOf(e.supplemental.weekData.firstDay())},R=function(e,t,r,n){var a,i;if(r)return(i=n.main(["dates/timeZoneNames/zone",r,e<4?"short":"long",t]))?i:(a=n.supplemental(["metaZones/metazoneInfo/timezone",r,0,"usesMetazone/_mzone"]),n.main(["dates/timeZoneNames/metazone",a,e<4?"short":"long",t]))},I=function(e){return e.split(";").map(function(e){return e.slice(0,e.indexOf("H")+1)}).join(";")},G=function(e,t){return e.split(";").map(function(e){var r=e.split(/H+/);return r.splice(1,0,t),r.join("")}).join(";")},$=function(e,t){var r=function(){return t};return r.dataCacheKey=e,r},V=function(e,t,r){function n(e){a.numberFormatters[e]=y("",e)}var a={numberFormatters:{},pattern:e,timeSeparator:d("timeSeparator",t)},i=["abbreviated","wide","narrow"];return r&&(a.timeZoneData=$("iana/"+r,{offsets:t.get(["globalize-iana/zoneData",r,"offsets"]),untils:t.get(["globalize-iana/zoneData",r,"untils"]),isdsts:t.get(["globalize-iana/zoneData",r,"isdsts"])})),e.replace(M,function(u){var o,s,f,m,p,d,g;switch(s=u.charAt(0),d=u.length,"j"===s&&(a.preferredTime=s=t.supplemental.timeData.preferred()),"Z"===s&&4===d&&(s="O",d=4),"z"===s&&(g=R(d,"standard",r,t),f=R(d,"daylight",r,t),g&&(a.standardTzName=g),f&&(a.daylightTzName=f),g&&f||(s="O",d<4&&(d=1))),"v"===s&&(p=R(d,"generic",r,t),p||(s="V",d=4)),s){case"G":a.eras=t.main(["dates/calendars/gregorian/eras",d<=3?"eraAbbr":4===d?"eraNames":"eraNarrow"]);break;case"y":m=!0;break;case"Y":a.firstDay=L(t),a.minDays=t.supplemental.weekData.minDays(),m=!0;break;case"u":case"U":throw c({feature:"year pattern `"+s+"`"});case"Q":case"q":d>2?(a.quarters||(a.quarters={}),a.quarters[s]||(a.quarters[s]={}),a.quarters[s][d]=t.main(["dates/calendars/gregorian/quarters","Q"===s?"format":"stand-alone",i[d-3]])):m=!0;break;case"M":case"L":d>2?(a.months||(a.months={}),a.months[s]||(a.months[s]={}),a.months[s][d]=t.main(["dates/calendars/gregorian/months","M"===s?"format":"stand-alone",i[d-3]])):m=!0;break;case"w":case"W":a.firstDay=L(t),a.minDays=t.supplemental.weekData.minDays(),m=!0;break;case"d":case"D":case"F":m=!0;break;case"g":throw c({feature:"Julian day pattern `g`"});case"e":case"c":if(d<=2){a.firstDay=L(t),m=!0;break}case"E":a.days||(a.days={}),a.days[s]||(a.days[s]={}),6===d?a.days[s][d]=t.main(["dates/calendars/gregorian/days","c"===s?"stand-alone":"format","short"])||t.main(["dates/calendars/gregorian/days","c"===s?"stand-alone":"format","abbreviated"]):a.days[s][d]=t.main(["dates/calendars/gregorian/days","c"===s?"stand-alone":"format",i[d<3?0:d-3]]);break;case"a":a.dayPeriods={am:t.main("dates/calendars/gregorian/dayPeriods/format/wide/am"),pm:t.main("dates/calendars/gregorian/dayPeriods/format/wide/pm")};break;case"h":case"H":case"K":case"k":case"m":case"s":case"S":case"A":m=!0;break;case"v":if(1!==d&&4!==d)throw c({feature:"timezone pattern `"+e+"`"});a.genericTzName=p;break;case"V":if(1===d)throw c({feature:"timezone pattern `"+e+"`"});if(r){if(2===d){a.timeZoneName=r;break}var h,v=t.main(["dates/timeZoneNames/zone",r,"exemplarCity"]);if(3===d&&(v||(v=t.main(["dates/timeZoneNames/zone/Etc/Unknown/exemplarCity"])),h=v),v&&4===d&&(h=l(t.main("dates/timeZoneNames/regionFormat"),[v])),h){a.timeZoneName=h;break}}"v"===u&&(d=1);case"O":a.gmtFormat=t.main("dates/timeZoneNames/gmtFormat"),a.gmtZeroFormat=t.main("dates/timeZoneNames/gmtZeroFormat"),o=t.main("dates/timeZoneNames/hourFormat"),a.hourFormat=d<4?[I(o),G(o,"H")]:G(o,"HH");case"Z":case"X":case"x":n(1),n(2)}m&&n(d)}),a},q=function(e){return function(t){return e(t).map(function(e){return e.value}).join("")}},U=function(e,t){var r={preferredTimeData:e.supplemental.timeData.preferred()};return t&&(r.timeZoneData=$("iana/"+t,{offsets:e.get(["globalize-iana/zoneData",t,"offsets"]),untils:e.get(["globalize-iana/zoneData",t,"untils"]),isdsts:e.get(["globalize-iana/zoneData",t,"isdsts"])})),r},Y=function(){function e(e,t,r){Object.defineProperty(e,t,{value:r})}function t(e,t){for(var r=0,n=e.getTime();r<t.length-1&&n>=t[r];)r++;return r}function r(e){var t=this.getTimezoneOffset(),r=e();this.original.setTime(new Date(this.getTime()));var n=this.getTimezoneOffset();return n-t&&this.original.setMinutes(this.original.getMinutes()+n-t),r}var n=function(t,n){if(e(this,"original",new Date(t.getTime())),e(this,"local",new Date(t.getTime())),e(this,"timeZoneData",n),e(this,"setWrap",r),!(n.untils&&n.offsets&&n.isdsts))throw new Error("Invalid IANA data");this.setTime(this.local.getTime()-60*this.getTimezoneOffset()*1e3)};return n.prototype.clone=function(){return new n(this.original,this.timeZoneData)},["getFullYear","getMonth","getDate","getDay","getHours","getMinutes","getSeconds","getMilliseconds"].forEach(function(e){var t="getUTC"+e.substr(3);n.prototype[e]=function(){return this.local[t]()}}),n.prototype.valueOf=n.prototype.getTime=function(){return this.local.getTime()+60*this.getTimezoneOffset()*1e3},n.prototype.getTimezoneOffset=function(){var e=t(this.original,this.timeZoneData.untils);return this.timeZoneData.offsets[e]},["setFullYear","setMonth","setDate","setHours","setMinutes","setSeconds","setMilliseconds"].forEach(function(e){var t="setUTC"+e.substr(3);n.prototype[e]=function(e){var r=this.local;return this.setWrap(function(){return r[t](e)})}}),n.prototype.setTime=function(e){return this.local.setTime(e)},n.prototype.isDST=function(){var e=t(this.original,this.timeZoneData.untils);return Boolean(this.timeZoneData.isdsts[e])},n.prototype.inspect=function(){var e=t(this.original,this.timeZoneData.untils),r=this.timeZoneData.abbrs;return this.local.toISOString().replace(/Z$/,"")+" "+(r&&r[e]+" "||this.getTimezoneOffset()*-1+" ")+(this.isDST()?"(daylight savings)":"")},n.prototype.toDate=function(){return new Date(this.getTime())},["toISOString","toJSON","toUTCString"].forEach(function(e){n.prototype[e]=function(){return this.toDate()[e]()}}),n}(),Q=function(e){return 1===new Date(e,1,29).getMonth()},J=function(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()},X=function(e,t){switch(e=e instanceof Y?e.clone():new Date(e.getTime()),t){case"year":e.setMonth(0);case"month":e.setDate(1);case"day":e.setHours(0);case"hour":e.setMinutes(0);case"minute":e.setSeconds(0);case"second":e.setMilliseconds(0)}return e},K=function(e,t){var r=new Date(e.getFullYear(),e.getMonth()+1,0).getDate();e.setDate(t<1?1:t<r?t:r)},W=function(e,t){var r=e.getDate();e.setDate(1),e.setMonth(t),K(e,r)},ee=function(e,t,r){return e<t||e>r},te=function(e,t,r){var n,a,i,u,o,s,l,f,m,p=0,d=1,g=2,h=3,v=4,y=5,F=6,D=new Date,b=[],E=["year","month","day","hour","minute","second","milliseconds"];if(r.timeZoneData&&(D=new Y(D,r.timeZoneData())),!t.length)return null;if(m=t.every(function(e){var t,m,E,_;if("literal"===e.type)return!0;switch(m=e.type.charAt(0),_=e.type.length,"j"===m&&(m=r.preferredTimeData),m){case"G":b.push(p),o=+e.value;break;case"y":if(E=e.value,2===_){if(ee(E,0,99))return!1;t=100*Math.floor(D.getFullYear()/100),E+=t,E>D.getFullYear()+20&&(E-=100)}D.setFullYear(E),b.push(p);break;case"Y":throw c({feature:"year pattern `"+m+"`"});case"Q":case"q":break;case"M":case"L":if(E=_<=2?e.value:+e.value,ee(E,1,12))return!1;u=E,b.push(d);break;case"w":case"W":break;case"d":a=e.value,b.push(g);break;case"D":i=e.value,b.push(g);break;case"F":break;case"e":case"c":case"E":break;case"a":n=e.value;break;case"h":if(E=e.value,ee(E,1,12))return!1;s=l=!0,D.setHours(12===E?0:E),b.push(h);break;case"K":if(E=e.value,ee(E,0,11))return!1;s=l=!0,D.setHours(E),b.push(h);break;case"k":if(E=e.value,ee(E,1,24))return!1;s=!0,D.setHours(24===E?0:E),b.push(h);break;case"H":if(E=e.value,ee(E,0,23))return!1;s=!0,D.setHours(E),b.push(h);break;case"m":if(E=e.value,ee(E,0,59))return!1;D.setMinutes(E),b.push(v);break;case"s":if(E=e.value,ee(E,0,59))return!1;D.setSeconds(E),b.push(y);break;case"A":D.setHours(0),D.setMinutes(0),D.setSeconds(0);case"S":E=Math.round(e.value*Math.pow(10,3-_)),D.setMilliseconds(E),b.push(F);break;case"z":case"Z":case"O":case"v":case"V":case"X":case"x":"number"==typeof e.value&&(f=e.value)}return!0}),!m)return null;if(s&&!(!n^l))return null;if(0===o&&D.setFullYear(D.getFullYear()*-1+1),void 0!==u&&W(D,u-1),void 0!==a){if(ee(a,1,J(D)))return null;D.setDate(a)}else if(void 0!==i){if(ee(i,1,Q(D.getFullYear())?366:365))return null;D.setMonth(0),D.setDate(i)}return l&&"pm"===n&&D.setHours(D.getHours()+12),void 0!==f&&D.setMinutes(D.getMinutes()+f-D.getTimezoneOffset()),b=Math.max.apply(null,b),D=X(D,E[b]),D instanceof Y&&(D=D.toDate()),D},re=function(e,t,r){var n,a,i=[],u=["abbreviated","wide","narrow"];return n=r.digitsRe,e=m(e),a=r.pattern.match(M).every(function(a){function o(t,r){var n,a,i=e.match(t);return r=r||function(e){return+e},!!i&&(a=i[1],i.length<6?(n=a?1:3,D.value=60*r(i[n])):i.length<10?(n=a?[1,3]:[5,7],D.value=60*r(i[n[0]])+r(i[n[1]])):(n=a?[1,3,5]:[7,9,11],D.value=60*r(i[n[0]])+r(i[n[1]])+r(i[n[2]])/60),a&&(D.value*=-1),!0)}function s(){if(1===v)return y=!0,F=n}function c(){if(1===v)return y=!0,F=new RegExp("^("+n.source+"){1,2}")}function l(){if(1===v||2===v)return y=!0,F=new RegExp("^("+n.source+"){1,2}")}function f(){if(2===v)return y=!0,F=new RegExp("^("+n.source+"){2}")}function m(t){var n=r[t.join("/")];return n?(n.some(function(t){var r=t[1];if(r.test(e))return D.value=t[0],F=t[1],!0}),null):null}var p,d,v,y,F,D={};switch(D.type=a,d=a.charAt(0),v=a.length,"Z"===d&&(v<4?(d="x",v=4):v<5?(d="O",v=4):(d="X",v=5)),"z"===d&&r.standardOrDaylightTzName&&(D.value=null,F=r.standardOrDaylightTzName),"v"===d&&(r.genericTzName?(D.value=null,F=r.genericTzName):(d="V",v=4)),"V"===d&&r.timeZoneName&&(D.value=2===v?r.timeZoneName:null,F=r.timeZoneNameRe),d){case"G":m(["gregorian/eras",v<=3?"eraAbbr":4===v?"eraNames":"eraNarrow"]);break;case"y":case"Y":y=!0,F=1===v?new RegExp("^("+n.source+")+"):2===v?new RegExp("^("+n.source+"){1,2}"):new RegExp("^("+n.source+"){"+v+",}");break;case"Q":case"q":s()||f()||m(["gregorian/quarters","Q"===d?"format":"stand-alone",u[v-3]]);break;case"M":case"L":l()||m(["gregorian/months","M"===d?"format":"stand-alone",u[v-3]]);break;case"D":v<=3&&(y=!0,F=new RegExp("^("+n.source+"){"+v+",3}"));break;case"W":case"F":s();break;case"e":case"c":if(v<=2){s()||f();break}case"E":6===v?m(["gregorian/days",["c"===d?"stand-alone":"format"],"short"])||m(["gregorian/days",["c"===d?"stand-alone":"format"],"abbreviated"]):m(["gregorian/days",["c"===d?"stand-alone":"format"],u[v<3?0:v-3]]);break;case"a":m(["gregorian/dayPeriods/format/wide"]);break;case"w":c()||f();break;case"d":case"h":case"H":case"K":case"k":case"j":case"m":case"s":l();break;case"S":y=!0,F=new RegExp("^("+n.source+"){"+v+"}");break;case"A":y=!0,F=new RegExp("^("+n.source+"){"+(v+5)+"}");break;case"v":case"V":case"z":if(F&&F.test(e))break;if("V"===d&&2===v)break;case"O":if(e===r["timeZoneNames/gmtZeroFormat"])D.value=0,F=r["timeZoneNames/gmtZeroFormatRe"];else if(p=r["timeZoneNames/hourFormat"].some(function(e){if(o(e,t))return F=e,!0}),!p)return null;break;case"X":if("Z"===e){D.value=0,F=/^Z/;break}case"x":if(p=r.x.some(function(e){if(o(e))return F=e,!0}),!p)return null;break;case"'":D.type="literal",F=new RegExp("^"+g(h(a)));break;default:D.type="literal",F=new RegExp("^"+g(a))}return!!F&&(e=e.replace(F,function(e){return D.lexeme=e,y&&(D.value=t(e)),""}),!!D.lexeme&&((!y||!isNaN(D.value))&&(i.push(D),!0)))}),""!==e&&(a=!1),a?i:[]},ne=function(e,t,r){return function(n){var a;return E(n,"value"),A(n,"value"),a=re(n,e,r),te(n,a,t)||null}},ae=function(e,t){var r,n={};for(r in e)t.test(r)&&(n[r]=e[r]);return n},ie=function(e,t,r){function n(e,t,r,n){var a;return r||(r="\\d"),t||(t="{0}"),a=e.replace("+","\\+").replace(/HH|mm|ss/g,"(("+r+"){2})").replace(/H|m/g,"(("+r+"){1,2})"),n&&(a=a.replace(/:/g,n)),a=a.split(";").map(function(e){return t.replace("{0}",e)}).join("|"),new RegExp("^"+a)}function a(e,t){var r=/(timeZoneNames\/zone|supplemental\/metaZones|timeZoneNames\/metazone|timeZoneNames\/regionFormat|timeZoneNames\/gmtFormat)/;r.test(e)||t&&(e=e.replace(/^.*\/dates\//,"").replace(/calendars\//,""),"gregorian/dayPeriods/format/wide"===e&&(t=ae(t,/^am|^pm/)),t=f(t)?Object.keys(t).map(function(e){return[e,new RegExp("^"+g(m(t[e])))]}).sort(function(e,t){return t[1].source.length-e[1].source.length}):m(t),o[e]=t)}function i(e){return"("+e.filter(function(e){return e}).reduce(function(e,t){return e+"|"+t})+")"}var u,o={pattern:m(e)},s=d("timeSeparator",t),h=["abbreviated","wide","narrow"];return u=p(t),u=u?"["+u+"]":"\\d",o.digitsRe=new RegExp(u),t.on("get",a),e.match(M).forEach(function(a){var f,p,d,v,y,F;if(p=a.charAt(0),y=a.length,"Z"===p&&(y<5?(p="O",y=4):(p="X",y=5)),"z"===p&&(F=R(y,"standard",r,t),d=R(y,"daylight",r,t),F&&(F=g(m(F))),d&&(d=g(m(d))),(F||d)&&(o.standardOrDaylightTzName=new RegExp("^"+i([F,d]))),F&&d||(p="O",y<4&&(y=1))),"v"===p){if(1!==y&&4!==y)throw c({feature:"timezone pattern `"+e+"`"});var D=R(y,"generic",r,t);D?(o.genericTzName=new RegExp("^"+g(m(D))),p="O"):(p="V",y=4)}switch(p){case"G":t.main(["dates/calendars/gregorian/eras",y<=3?"eraAbbr":4===y?"eraNames":"eraNarrow"]);break;case"u":case"U":throw c({feature:"year pattern `"+p+"`"});case"Q":case"q":y>2&&t.main(["dates/calendars/gregorian/quarters","Q"===p?"format":"stand-alone",h[y-3]]);break;case"M":case"L":y>2&&t.main(["dates/calendars/gregorian/months","M"===p?"format":"stand-alone",h[y-3]]);break;case"g":throw c({feature:"Julian day pattern `g`"});case"e":case"c":if(y<=2)break;case"E":6===y?t.main(["dates/calendars/gregorian/days",["c"===p?"stand-alone":"format"],"short"])||t.main(["dates/calendars/gregorian/days",["c"===p?"stand-alone":"format"],"abbreviated"]):t.main(["dates/calendars/gregorian/days",["c"===p?"stand-alone":"format"],h[y<3?0:y-3]]);break;case"a":t.main("dates/calendars/gregorian/dayPeriods/format/wide");break;case"V":if(1===y)throw c({feature:"timezone pattern `"+e+"`"});if(r){if(2===y){o.timeZoneName=r,o.timeZoneNameRe=new RegExp("^"+g(r));break}var b,E=t.main(["dates/timeZoneNames/zone",r,"exemplarCity"]);3===y&&(E||(E=t.main(["dates/timeZoneNames/zone/Etc/Unknown/exemplarCity"])),b=E),E&&4===y&&(b=l(t.main("dates/timeZoneNames/regionFormat"),[E])),b&&(b=m(b),o.timeZoneName=b,o.timeZoneNameRe=new RegExp("^"+g(b)))}"v"===a&&(y=1);case"z":case"O":v=t.main("dates/timeZoneNames/gmtFormat"),t.main("dates/timeZoneNames/gmtZeroFormat"),t.main("dates/timeZoneNames/hourFormat"),o["timeZoneNames/gmtZeroFormatRe"]=new RegExp("^"+g(o["timeZoneNames/gmtZeroFormat"])),
f=o["timeZoneNames/hourFormat"],o["timeZoneNames/hourFormat"]=(y<4?[G(f,"H"),I(f)]:[G(f,"HH")]).map(function(e){return n(e,v,u,s)});case"X":case"x":o.x=[["+HHmm;-HHmm","+HH;-HH"],["+HHmm;-HHmm"],["+HH:mm;-HH:mm"],["+HHmmss;-HHmmss","+HHmm;-HHmm"],["+HH:mm:ss;-HH:mm:ss","+HH:mm;-HH:mm"]][y-1].map(function(e){return n(e)})}}),t.off("get",a),o},ue=function(e,t){return(e.getDay()-t+7)%7},oe=function(e,t){var r=864e5;return(t.getTime()-e.getTime())/r},se=function(e){return Math.floor(oe(X(e,"year"),e))},ce=S({era:"G",year:"yY",quarter:"qQ",month:"ML",week:"wW",day:"dDF",weekday:"ecE",dayperiod:"a",hour:"hHkK",minute:"m",second:"sSA",zone:"zvVOxX"},function(e,t,r){return r.split("").forEach(function(r){e[r]=t}),e}),le=function(e){return e-X(e,"day")},fe=function(e,t,r,n){var a,i=e.getTimezoneOffset();return a=Math.abs(i),n=n||{1:function(e){return y(e,1)},2:function(e){return y(e,2)}},t.split(";")[i>0?1:0].replace(":",r).replace(/HH?/,function(e){return n[e.length](Math.floor(a/60))}).replace(/mm/,function(){return n[2](Math.floor(a%60))}).replace(/ss/,function(){return n[2](Math.floor(a%1*60))})},me=function(e,t,r){var n=[],a=r.timeSeparator;return r.timeZoneData&&(e=new Y(e,r.timeZoneData())),r.pattern.replace(M,function(i){var u,o,s,c,l=i.charAt(0),f=i.length;switch("j"===l&&(l=r.preferredTime),"Z"===l&&(f<4?(l="x",f=4):f<5?(l="O",f=4):(l="X",f=5)),"z"===l&&(e.isDST&&(c=e.isDST()?r.daylightTzName:r.standardTzName),c||(l="O",f<4&&(f=1))),l){case"G":c=r.eras[e.getFullYear()<0?0:1];break;case"y":c=e.getFullYear(),2===f&&(c=String(c),c=+c.substr(c.length-2));break;case"Y":c=new Date(e.getTime()),c.setDate(c.getDate()+7-ue(e,r.firstDay)-r.firstDay-r.minDays),c=c.getFullYear(),2===f&&(c=String(c),c=+c.substr(c.length-2));break;case"Q":case"q":c=Math.ceil((e.getMonth()+1)/3),f>2&&(c=r.quarters[l][f][c]);break;case"M":case"L":c=e.getMonth()+1,f>2&&(c=r.months[l][f][c]);break;case"w":c=ue(X(e,"year"),r.firstDay),c=Math.ceil((se(e)+c)/7)-(7-c>=r.minDays?0:1);break;case"W":c=ue(X(e,"month"),r.firstDay),c=Math.ceil((e.getDate()+c)/7)-(7-c>=r.minDays?0:1);break;case"d":c=e.getDate();break;case"D":c=se(e)+1;break;case"F":c=Math.floor(e.getDate()/7)+1;break;case"e":case"c":if(f<=2){c=ue(e,r.firstDay)+1;break}case"E":c=H[e.getDay()],c=r.days[l][f][c];break;case"a":c=r.dayPeriods[e.getHours()<12?"am":"pm"];break;case"h":c=e.getHours()%12||12;break;case"H":c=e.getHours();break;case"K":c=e.getHours()%12;break;case"k":c=e.getHours()||24;break;case"m":c=e.getMinutes();break;case"s":c=e.getSeconds();break;case"S":c=Math.round(e.getMilliseconds()*Math.pow(10,f-3));break;case"A":c=Math.round(le(e)*Math.pow(10,f-3));break;case"z":break;case"v":if(r.genericTzName){c=r.genericTzName;break}case"V":if(r.timeZoneName){c=r.timeZoneName;break}"v"===i&&(f=1);case"O":0===e.getTimezoneOffset()?c=r.gmtZeroFormat:(f<4?(u=e.getTimezoneOffset(),u=r.hourFormat[u%60-u%1===0?0:1]):u=r.hourFormat,c=fe(e,u,a,t),c=r.gmtFormat.replace(/\{0\}/,c));break;case"X":if(0===e.getTimezoneOffset()){c="Z";break}case"x":u=e.getTimezoneOffset(),1===f&&u%60-u%1!==0&&(f+=1),4!==f&&5!==f||u%1!==0||(f-=2),c=["+HH;-HH","+HHmm;-HHmm","+HH:mm;-HH:mm","+HHmmss;-HHmmss","+HH:mm:ss;-HH:mm:ss"][f-1],c=fe(e,c,":");break;case":":c=a;break;case"'":c=h(i);break;default:c=i}return"number"==typeof c&&(c=t[f](c)),o=ce[l],s=o?o:"literal","literal"===s&&n.length&&"literal"===n[n.length-1].type?void(n[n.length-1].value+=c):void n.push({type:s,value:c})}),n},pe=function(e,t){return function(r){return E(r,"value"),x(r,"value"),me(r,e,t)}};return t.loadTimeZone=function(t){var r={"globalize-iana":t};E(t,"json"),w(t,"json"),e.load(r)},t.dateFormatter=t.prototype.dateFormatter=function(e){var t,n,a;return w(e,"options"),e=e||{},r(e)||(e.skeleton="yMd"),t=[e],n=this.dateToPartsFormatter(e),a=q(n),v(t,this.cldr,a,[n]),a},t.dateToPartsFormatter=t.prototype.dateToPartsFormatter=function(e){var t,i,s,c,l,f,m,p;w(e,"options"),i=this.cldr,e=e||{},r(e)||(e.skeleton="yMd"),a(e),b(i),p=e.timeZone,A(p,"options.timeZone"),t=[e],i.on("get",n),p&&i.on("get",o(p)),l=B(e,i),u(l,e.skeleton),f=V(l,i,p),i.off("get",n),p&&i.off("get",o(p)),s=f.numberFormatters,delete f.numberFormatters;for(c in s)s[c]=this.numberFormatter({raw:s[c]});return m=pe(s,f),v(t,i,m,[s,f]),m},t.dateParser=t.prototype.dateParser=function(e){var t,i,s,c,l,f,m,p;return w(e,"options"),i=this.cldr,e=e||{},r(e)||(e.skeleton="yMd"),a(e),b(i),m=e.timeZone,A(m,"options.timeZone"),t=[e],i.on("get",n),m&&i.on("get",o(m)),l=B(e,i),u(l,e.skeleton),p=ie(l,i,m),c=U(i,m),i.off("get",n),m&&i.off("get",o(m)),s=this.numberParser({raw:"0"}),f=ne(s,c,p),v(t,i,f,[s,c,p]),f},t.formatDate=t.prototype.formatDate=function(e,t){return E(e,"value"),x(e,"value"),this.dateFormatter(t)(e)},t.formatDateToParts=t.prototype.formatDateToParts=function(e,t){return E(e,"value"),x(e,"value"),this.dateToPartsFormatter(t)(e)},t.parseDate=t.prototype.parseDate=function(e,t){return E(e,"value"),A(e,"value"),this.dateParser(t)(e)},t})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","../globalize","./number","cldr/event","cldr/supplemental"],i):"object"==typeof e?t.exports=i(r(5),r(4)):i(a.Cldr,a.Globalize)}(this,function(e,t){function r(e,t){c(e,t,{skip:[/supplemental\/currencyData\/fractions\/[A-Za-z]{3}$/]})}var n=t._alwaysArray,a=t._formatMessage,i=t._numberNumberingSystem,u=t._numberPattern,o=t._runtimeBind,s=t._stringPad,c=t._validateCldr,l=t._validateDefaultLocale,f=t._validateParameterPresence,m=t._validateParameterType,p=t._validateParameterTypeNumber,d=t._validateParameterTypePlainObject,g=function(e,t){m(e,t,void 0===e||"string"==typeof e&&/^[A-Za-z]{3}$/.test(e),"3-letter currency code string as defined by ISO 4217")},h=function(e,t,r){var n,a="",i=r.supplemental(["currencyData/fractions",e])||r.supplemental("currencyData/fractions/DEFAULT");return n=+i._digits,n&&(a=+s("0",n).slice(0,-1)+i._rounding),t.replace(/\.(#+|0*[0-9]|0+[0-9]?)/g,a)},v=function(e,t){var r,n={};for(r in e)t.test(r)&&(n[r]=e[r]);return n},y=function(e){return v(e.main(["numbers","currencyFormats-numberSystem-"+i(e)]),/^unitPattern/)},F=function(e,t){var r=u("decimal",t);return r=h(e,r,t),{currency:e,pattern:r,unitPatterns:y(t)}},D=function(e,t,r){var n,i,u=r.displayNames||{},o=r.unitPatterns;return n=u["displayName-count-"+t]||u["displayName-count-other"]||u.displayName||r.currency,i=o["unitPattern-count-"+t]||o["unitPattern-count-other"],a(i,[e,n])},b=function(e,t,r){var n;return n=t&&r?function(n){return f(n,"value"),p(n,"value"),D(e(n),t(n),r)}:function(t){return e(t)}},E=function(e,t){var r=F(e,t);return r.displayNames=v(t.main(["numbers/currencies",e]),/^displayName/),r},_=/[\0-#%-\*,-;\?-\]_a-\{\}-----ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶ-Ά-ϵϷ-ҁ҃--؉؊،؍ؐ-۟-۪ۨ-ۼۿ-ߵ߷-ৱ৴-৹ৼ-૰-୯ୱ-௲-౾ಀ-൸ൺ-เ-ༀ༄-༒༔༘༙༠-༳༹༵༷-࿆࿐-࿔࿙-ႝႠ-ᎏ-៚ៜ--ᨀ-᭠᭫-᭳᭽-ᾼιῂ-ῌῐ-ῠ-Ῥ-ῼ-⁃⁅-⁑⁓-⁹⁽-₉₍-₾-ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ⅐-⌈-⌋〈〉⏻-⏿--⒛⓪-⓿❨-➓⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⮗⮺-⮼⯉⯒-ⳤⳫ----〃々-】〔-〟〡-〵〸-〽-゚ゝ-㆒-㆕ㆠ-ㆿ-ㇿ-㈩㉈-㉏㉑-㉟㊀-㊉㊱-㊿㋿㐀-䶿一--ꜗ-ꜟꜢ-ꞈꞋ-ꠧ꠬-꠵-ꩶꩺ-ꭚꭜ--ﬨשׁ-ﮱ﯂-ﷻ﷾-﹡﹣﹨﹪-#%-*,-;?-]_a-{}⦅--]|[------]|[-----][-]|[---]|[---]|[--]|[---------]|[-----------]|[--]|[------------]|[------]|[-----]|[-]/,w=function(e,t,r){var n,a,u={"[:digit:]":/\d/,"[:^S:]":_},o=t.main(["numbers/currencies",e,"symbol"]);return n=["beforeCurrency","afterCurrency"].map(function(e){return t.main(["numbers","currencyFormats-numberSystem-"+i(t),"currencySpacing",e])}),a=t.main(["numbers","currencyFormats-numberSystem-"+i(t),"accounting"===r.style?"accounting":"standard"]),a=h(e,a,t).split(";").map(function(e){return e.split("¤").map(function(e,t){var r=u[n[t].currencyMatch],a=u[n[t].surroundingMatch],i="";return r=r.test(o.charAt(t?o.length-1:0)),a=a.test(e.charAt(t?0:e.length-1).replace(/[#@,.]/g,"0")),r&&e&&a&&(i=n[t].insertBetween),(t?i:"")+e+(t?"":i)}).join("'"+o+"'")}).join(";"),{pattern:a}},A=function(e,t){var r,a={};t=n(t);for(r in e)t.indexOf(r)===-1&&(a[r]=e[r]);return a};return t.currencyFormatter=t.prototype.currencyFormatter=function(e,t){var n,a,i,u,s,c,m;return f(e,"currency"),g(e,"currency"),d(t,"options"),a=this.cldr,t=t||{},n=[e,t],m=t.style||"symbol",l(a),a.on("get",r),s={accounting:w,code:F,name:E,symbol:w}[m](e,a,t),a.off("get",r),t=A(t,"style"),t.raw=s.pattern,"symbol"===m||"accounting"===m?(i=this.numberFormatter(t),c=b(i),o(n,a,c,[i])):(i=this.numberFormatter(t),u=this.pluralGenerator(),c=b(i,u,s),o(n,a,c,[i,u,s])),c},t.currencyParser=t.prototype.currencyParser=function(){},t.formatCurrency=t.prototype.formatCurrency=function(e,t,r){return f(e,"value"),p(e,"value"),this.currencyFormatter(t,r)(e)},t.parseCurrency=t.prototype.parseCurrency=function(){},t})}).call(window)},function(e,t,r){(function(){var e=!1,t=!1,n=!1;!function(a,i){"function"==typeof n&&n.amd?n(["cldr","../globalize","./number","./plural","cldr/event","cldr/supplemental"],i):"object"==typeof e?t.exports=i(r(5),r(4)):i(a.Cldr,a.Globalize)}(this,function(e,t){var r=t._formatMessage,n=t._runtimeBind,a=t._validateCldr,i=t._validateDefaultLocale,u=t._validateParameterPresence,o=t._validateParameterTypeString,s=t._validateParameterTypeNumber,c=function(e,t,n,a){var i,u=a["relative-type-"+e];return u?u:(i=e<=0?a["relativeTime-type-past"]:a["relativeTime-type-future"],e=Math.abs(e),u=i["relativeTimePattern-count-"+n(e)],r(u,[t(e)]))},l=function(e,t,r){return function(n){return u(n,"value"),s(n,"value"),c(n,e,t,r)}},f=function(e,t,r){var n,a,i,u,o=r.form;o&&(e=e+"-"+o),n=t.main(["dates","fields",e]),a={"relativeTime-type-future":n["relativeTime-type-future"],"relativeTime-type-past":n["relativeTime-type-past"]};for(i in n)n.hasOwnProperty(i)&&(u=/relative-type-(-?[0-9]+)/.exec(i),u&&(a[i]=n[i]));return a};return t.formatRelativeTime=t.prototype.formatRelativeTime=function(e,t,r){return u(e,"value"),s(e,"value"),this.relativeTimeFormatter(t,r)(e)},t.relativeTimeFormatter=t.prototype.relativeTimeFormatter=function(e,t){var r,s,c,m,p,d;return u(e,"unit"),o(e,"unit"),s=this.cldr,t=t||{},r=[e,t],i(s),s.on("get",a),p=f(e,s,t),s.off("get",a),c=this.numberFormatter(t),m=this.pluralGenerator(),d=l(c,m,p),n(r,s,d,[c,m,p]),d},t})}).call(window)}]);
© 2023 Quttera Ltd. All rights reserved.