messageformat
Advanced tools
Comparing version 1.1.1 to 2.0.0-beta.1
@@ -113,3 +113,3 @@ var reserved = require('reserved-words'); | ||
case 'function': | ||
if (this.mf.intlSupport && !(token.key in this.mf.fmt) && (token.key in this.mf.constructor.formatters)) { | ||
if (!(token.key in this.mf.fmt) && (token.key in this.mf.constructor.formatters)) { | ||
var fmt = this.mf.constructor.formatters[token.key]; | ||
@@ -158,2 +158,3 @@ this.mf.fmt[token.key] = (typeof fmt(this.mf) == 'function') ? fmt(this.mf) : fmt; | ||
var pc = plurals[lc] || { cardinal: [], ordinal: [] }; | ||
pc.strictNumberSign = !!this.mf.strictNumberSign; | ||
var r = parse(src, pc).map(function(token) { return this.token(token); }, this); | ||
@@ -160,0 +161,0 @@ return 'function(d) { return ' + (r.join(' + ') || '""') + '; }'; |
@@ -103,9 +103,2 @@ /** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript | ||
* | ||
* **Note**: Intl is not defined in default Node until 0.11.15 / 0.12.0, so | ||
* earlier versions require a {@link https://www.npmjs.com/package/intl polyfill}. | ||
* Therefore {@link MessageFormat.intlSupport} needs to be true for these default | ||
* functions to be available for inclusion in the output. | ||
* | ||
* @see MessageFormat#setIntlSupport | ||
* | ||
* @namespace | ||
@@ -127,3 +120,3 @@ */ | ||
* @example | ||
* var mf = new MessageFormat('en').setIntlSupport(true); | ||
* var mf = new MessageFormat('en'); | ||
* mf.currency = 'EUR'; // needs to be set before first compile() call | ||
@@ -161,3 +154,3 @@ * | ||
* @example | ||
* var mf = new MessageFormat(['en', 'fi']).setIntlSupport(true); | ||
* var mf = new MessageFormat(['en', 'fi']); | ||
* | ||
@@ -198,3 +191,3 @@ * mf.compile('Today is {T, date}')({ T: Date.now() }) | ||
* @example | ||
* var mf = new MessageFormat(['en', 'fi']).setIntlSupport(true); | ||
* var mf = new MessageFormat(['en', 'fi']); | ||
* | ||
@@ -325,19 +318,2 @@ * mf.compile('The time is now {T, time}')({ T: Date.now() }) | ||
/** Enable or disable support for the default formatters, which require the | ||
* `Intl` object. Note that this can't be autodetected, as the environment | ||
* in which the formatted text is compiled into Javascript functions is not | ||
* necessarily the same environment in which they will get executed. | ||
* | ||
* @see MessageFormat.formatters | ||
* | ||
* @memberof MessageFormat | ||
* @param {boolean} [enable=true] | ||
* @returns {MessageFormat} The MessageFormat instance, to allow for chaining | ||
*/ | ||
MessageFormat.prototype.setIntlSupport = function(enable) { | ||
this.intlSupport = !!enable || (typeof enable == 'undefined'); | ||
return this; | ||
}; | ||
/** According to the ICU MessageFormat spec, a `#` character directly inside a | ||
@@ -432,3 +408,3 @@ * `plural` or `selectordinal` statement should be replaced by the number | ||
* var fs = require('fs'); | ||
* var mf = new MessageFormat('en').setIntlSupport(); | ||
* var mf = new MessageFormat('en'); | ||
* var msgSet = { | ||
@@ -435,0 +411,0 @@ * a: 'A {TYPE} example.', |
@@ -1,3 +0,3 @@ | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.MessageFormat=e()}}(function(){var e;return function e(t,r,n){function o(u,a){if(!r[u]){if(!t[u]){var c="function"==typeof require&&require;if(!a&&c)return c(u,!0);if(i)return i(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[u]={exports:{}};t[u][0].call(f.exports,function(e){var r=t[u][1][e];return o(r||e)},f,f.exports,e,t,r,n)}return r[u].exports}for(var i="function"==typeof require&&require,u=0;u<n.length;u++)o(n[u]);return o}({1:[function(e,t,r){function n(e){this.mf=e,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var o=e("reserved-words"),i=e("messageformat-parser").parse;t.exports=n,n.propname=function(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&["break","continue","delete","else","for","function","if","in","new","return","this","typeof","var","void","while","with","case","catch","default","do","finally","instanceof","switch","throw","try"].indexOf(e)<0)return t?t+"."+e:e;var r=JSON.stringify(e);return t?t+"["+r+"]":r},n.funcname=function(e){var t=e.trim().replace(/\W+/g,"_");return o.check(t,"es2015",!0)||/^\d/.test(t)?"_"+t:t},n.bidiMarkText=function(e,t){var r=JSON.stringify(function(e){var t=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return new RegExp("^"+t.join("|^")).test(e)}(t)?"":"");return r+" + "+e+" + "+r},n.prototype.cases=function(e,t){var r="select"===e.type||!this.mf.hasCustomPluralFuncs,o=e.cases.map(function(e){"other"===e.key&&(r=!1);var o=e.tokens.map(function(e){return this.token(e,t)},this);return n.propname(e.key)+": "+(o.join(" + ")||'""')},this);if(r)throw new Error("No 'other' form found in "+JSON.stringify(e));return"{ "+o.join(", ")+" }"},n.prototype.token=function(e,t){if("string"==typeof e)return JSON.stringify(e);var r,o=[n.propname(e.arg,"d")];switch(e.type){case"argument":return this.mf.bidiSupport?n.bidiMarkText(o[0],this.lc):o[0];case"select":r="select",o.push(this.cases(e,this.mf.strictNumberSign?null:t)),this.runtime.select=!0;break;case"selectordinal":r="plural",o.push(0,n.funcname(this.lc),this.cases(e,e),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":r="plural",o.push(e.offset||0,n.funcname(this.lc),this.cases(e,e)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(this.mf.intlSupport&&!(e.key in this.mf.fmt)&&e.key in this.mf.constructor.formatters){var i=this.mf.constructor.formatters[e.key];this.mf.fmt[e.key]="function"==typeof i(this.mf)?i(this.mf):i}if(!this.mf.fmt[e.key])throw new Error("Formatting function "+JSON.stringify(e.key)+" not found!");if(o.push(JSON.stringify(this.lc)),e.params)switch(e.params.length){case 0:break;case 1:o.push(JSON.stringify(e.params[0]));break;default:o.push(JSON.stringify(e.params))}r=n.propname(e.key,"fmt"),this.formatters[e.key]=!0;break;case"octothorpe":if(!t)return'"#"';r="number",o=[n.propname(t.arg,"d"),JSON.stringify(t.arg)],t.offset&&o.push(t.offset),this.runtime.number=!0}if(!r)throw new Error("Parser error for token "+JSON.stringify(e));return r+"("+o.join(", ")+")"},n.prototype.compile=function(e,t,r){if("object"!=typeof e){this.lc=t;var n=r[t]||{cardinal:[],ordinal:[]};return"function(d) { return "+(i(e,n).map(function(e){return this.token(e)},this).join(" + ")||'""')+"; }"}var o={};for(var u in e){var a=r.hasOwnProperty(u)?u:t;o[u]=this.compile(e[u],a,r)}return o}},{"messageformat-parser":7,"reserved-words":9}],2:[function(e,t,r){function n(t,r){for(var n=e("make-plural/umd/plurals"),o=e("make-plural/umd/pluralCategories"),i=t;i;i=i.replace(/[-_]?[^-_]*$/,"")){var u=n[i];if(u){var a=r?{cardinal:[],ordinal:[]}:o[i]||{},c=function(){return u.apply(this,arguments)};return c.toString=function(){return u.toString()},c.cardinal=a.cardinal,c.ordinal=a.ordinal,c}}throw new Error("Localisation function not found for locale "+JSON.stringify(t))}function o(e){if(this.pluralFuncs={},e)if("string"==typeof e)this.pluralFuncs[e]=n(e);else if(Array.isArray(e))e.forEach(function(e){this.pluralFuncs[e]=n(e)},this);else if("object"==typeof e){for(var t in e)if(e.hasOwnProperty(t)){if("function"!=typeof e[t])throw new Error("Expected function value for locale "+JSON.stringify(t));this.pluralFuncs[t]=e[t]}this.hasCustomPluralFuncs=!0}this.fmt={},this.runtime=new u(this)}var i=e("./compiler"),u=e("./runtime");o.defaultLocale="en",o.escape=function(e){return e.replace(/[#{}\\]/g,"\\$&")},o.formatters={number:function(e){return new Function("v,lc,p","return new Intl.NumberFormat(lc,\n p=='integer' ? {maximumFractionDigits:0}\n : p=='percent' ? {style:'percent'}\n : p=='currency' ? {style:'currency', currency:'"+(e.currency||"USD")+"', minimumFractionDigits:2, maximumFractionDigits:2}\n : {}).format(v)")},date:function(e,t,r){var n={day:"numeric",month:"short",year:"numeric"};switch(r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric"}return new Date(e).toLocaleDateString(t,n)},time:function(e,t,r){var n={second:"numeric",minute:"numeric",hour:"numeric"};switch(r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}return new Date(e).toLocaleTimeString(t,n)}},o.prototype.addFormatters=function(e){for(var t in e)e.hasOwnProperty(t)&&(this.fmt[t]=e[t]);return this},o.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var e in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(e)&&(this.pluralFuncs[e].cardinal=[],this.pluralFuncs[e].ordinal=[]);return this},o.prototype.setBiDiSupport=function(e){return this.bidiSupport=!!e||void 0===e,this},o.prototype.setIntlSupport=function(e){return this.intlSupport=!!e||void 0===e,this},o.prototype.setStrictNumberSign=function(e){return this.strictNumberSign=!!e||void 0===e,this.runtime.setStrictNumber(this.strictNumberSign),this},o.prototype.compile=function(e,t){function r(e,t){if(t||(t=0),"object"!=typeof e)return e;for(var n=[],o="",u=0;u<t;++u)o+=" ";for(var a in e)n.push("\n"+o+" "+i.propname(a)+": "+r(e[a],t+1));return"{"+n.join(",")+"\n"+o+"}"}var u;if(0==Object.keys(this.pluralFuncs).length)t||(t=o.defaultLocale),u={},u[t]=n(t,this.noPluralKeyChecks);else if(t){if(u={},u[t]=this.pluralFuncs[t],!u[t])throw new Error("Locale "+JSON.stringify(t)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else u=this.pluralFuncs,t=Object.keys(u)[0];var a=new i(this),c=a.compile(e,t,u);if("object"!=typeof e){var s=new Function("number, plural, select, fmt",i.funcname(t),"return "+c),f=this.runtime;return s(f.number,f.plural,f.select,this.fmt,u[t])}var l=this.runtime.toString(u,a)+"\n",h=r(c),p=new Function(l+"return "+h)();if(p.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return p.toString=function(e){switch(e||""){case"exports":var t=[];for(var n in c)t.push(i.propname(n,"exports")+" = "+r(c[n]));return l+t.join(";\n");case"module.exports":return l+"module.exports = "+h;case"export default":return l+"export default "+h;case"":return l+"return "+h;default:return e.indexOf(".")>-1?l+e+" = "+h:l+["(function (root, G) {",' if (typeof define === "function" && define.amd) { define(G); }',' else if (typeof exports === "object") { module.exports = G; }'," else { "+i.propname(e,"root")+" = G; }","})(this, "+h+");"].join("\n")}},p},t.exports=o},{"./compiler":1,"./runtime":3,"make-plural/umd/pluralCategories":5,"make-plural/umd/plurals":6}],3:[function(e,t,r){function n(e){this.mf=e,this.setStrictNumber(e.strictNumberSign)}function o(e,t,r){if(!r)return e;if(isNaN(e))throw new Error("Can't apply offset:"+r+" to argument `"+t+"` with non-numerical value "+JSON.stringify(e)+".");return e-r}function i(e,t,r){if(isNaN(e))throw new Error("Argument `"+t+"` has non-numerical value "+JSON.stringify(e)+".");return e-(r||0)}var u=e("./compiler");t.exports=n,n.prototype.setStrictNumber=function(e){this.number=e?i:o},n.prototype.plural=function(e,t,r,n,o){if({}.hasOwnProperty.call(n,e))return n[e];t&&(e-=t);var i=r(e,o);return i in n?n[i]:n.other},n.prototype.select=function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},n.prototype.toString=function(e,t){function r(e,t){if("object"!=typeof e){var n=e.toString().replace(/^(function )\w*/,"$1"),o=/([ \t]*)\S.*$/.exec(n);return o?n.replace(new RegExp("^"+o[1],"mg"),""):n}var i=[];for(var a in e)0==t?i.push("var "+a+" = "+r(e[a],t+1)+";\n"):i.push(u.propname(a)+": "+r(e[a],t+1));if(0==t)return i.join("");if(0==i.length)return"{}";for(var o=" ";--t;)o+=" ";return"{\n"+i.join(",\n").replace(/^/gm,o)+"\n}"}var n={};Object.keys(t.locales).forEach(function(t){n[u.funcname(t)]=e[t]}),Object.keys(t.runtime).forEach(function(e){n[e]=this[e]},this);var o=Object.keys(t.formatters),i=this.mf.fmt;return o.length&&(n.fmt=o.reduce(function(e,t){return e[t]=i[t],e},{})),r(n,0)}},{"./compiler":1}],4:[function(e,t,r){(function(r){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}function o(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function i(e){return Object.prototype.toString.call(e)}function u(e){return!o(e)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function a(e){if(b.isFunction(e)){if(x)return e.name;var t=e.toString(),r=t.match(j);return r&&r[1]}}function c(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function s(e){if(x||!b.isFunction(e))return b.inspect(e);var t=a(e);return"[Function"+(t?": "+t:"")+"]"}function f(e){return c(s(e.actual),128)+" "+e.operator+" "+c(s(e.expected),128)}function l(e,t,r,n,o){throw new A.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function h(e,t){e||l(e,!0,t,"==",A.ok)}function p(e,t,r,a){if(e===t)return!0;if(o(e)&&o(t))return 0===n(e,t);if(b.isDate(e)&&b.isDate(t))return e.getTime()===t.getTime();if(b.isRegExp(e)&&b.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(u(e)&&u(t)&&i(e)===i(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;a=a||{actual:[],expected:[]};var c=a.actual.indexOf(e);return-1!==c&&c===a.expected.indexOf(t)||(a.actual.push(e),a.expected.push(t),m(e,t,r,a))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function m(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(b.isPrimitive(e)||b.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=d(e),i=d(t);if(o&&!i||!o&&i)return!1;if(o)return e=S.call(e),t=S.call(t),p(e,t,r);var u,a,c=E(e),s=E(t);if(c.length!==s.length)return!1;for(c.sort(),s.sort(),a=c.length-1;a>=0;a--)if(c[a]!==s[a])return!1;for(a=c.length-1;a>=0;a--)if(u=c[a],!p(e[u],t[u],r,n))return!1;return!0}function y(e,t,r){p(e,t,!0)&&l(e,t,r,"notDeepStrictEqual",y)}function g(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function w(e){var t;try{e()}catch(e){t=e}return t}function v(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=w(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&l(o,r,"Missing expected exception"+n);var i="string"==typeof n,u=!e&&b.isError(o),a=!e&&o&&!r;if((u&&i&&g(o,r)||a)&&l(o,r,"Got unwanted exception"+n),e&&o&&r&&!g(o,r)||!e&&o)throw o}var b=e("util/"),k=Object.prototype.hasOwnProperty,S=Array.prototype.slice,x=function(){return"foo"===function(){}.name}(),A=t.exports=h,j=/\s*function\s+([^\(\s]*)\s*/;A.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=f(this),this.generatedMessage=!0);var t=e.stackStartFunction||l;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=a(t),i=n.indexOf("\n"+o);if(i>=0){var u=n.indexOf("\n",i+1);n=n.substring(u+1)}this.stack=n}}},b.inherits(A.AssertionError,Error),A.fail=l,A.ok=h,A.equal=function(e,t,r){e!=t&&l(e,t,r,"==",A.equal)},A.notEqual=function(e,t,r){e==t&&l(e,t,r,"!=",A.notEqual)},A.deepEqual=function(e,t,r){p(e,t,!1)||l(e,t,r,"deepEqual",A.deepEqual)},A.deepStrictEqual=function(e,t,r){p(e,t,!0)||l(e,t,r,"deepStrictEqual",A.deepStrictEqual)},A.notDeepEqual=function(e,t,r){p(e,t,!1)&&l(e,t,r,"notDeepEqual",A.notDeepEqual)},A.notDeepStrictEqual=y,A.strictEqual=function(e,t,r){e!==t&&l(e,t,r,"===",A.strictEqual)},A.notStrictEqual=function(e,t,r){e===t&&l(e,t,r,"!==",A.notStrictEqual)},A.throws=function(e,t,r){v(!0,e,t,r)},A.doesNotThrow=function(e,t,r){v(!1,e,t,r)},A.ifError=function(e){if(e)throw e};var E=Object.keys||function(e){var t=[];for(var r in e)k.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":13}],5:[function(t,r,n){var o=[{cardinal:["other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["one","other"]},{cardinal:["one","two","other"],ordinal:["other"]}];!function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof n?r.exports=o:t.pluralCategories=o}(this,{af:o[1],ak:o[1],am:o[1],ar:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},ars:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},as:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},asa:o[1],ast:o[1],az:{cardinal:["one","other"],ordinal:["one","few","many","other"]},be:{cardinal:["one","few","many","other"],ordinal:["few","other"]},bem:o[1],bez:o[1],bg:o[1],bh:o[1],bm:o[0],bn:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},bo:o[0],br:{cardinal:["one","two","few","many","other"],ordinal:["other"]},brx:o[1],bs:{cardinal:["one","few","other"],ordinal:["other"]},ca:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ce:o[1],cgg:o[1],chr:o[1],ckb:o[1],cs:{cardinal:["one","few","many","other"],ordinal:["other"]},cy:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},da:o[1],de:o[1],dsb:{cardinal:["one","two","few","other"],ordinal:["other"]},dv:o[1],dz:o[0],ee:o[1],el:o[1],en:{cardinal:["one","other"],ordinal:["one","two","few","other"]},eo:o[1],es:o[1],et:o[1],eu:o[1],fa:o[1],ff:o[1],fi:o[1],fil:o[2],fo:o[1],fr:o[2],fur:o[1],fy:o[1],ga:{cardinal:["one","two","few","many","other"],ordinal:["one","other"]},gd:{cardinal:["one","two","few","other"],ordinal:["other"]},gl:o[1],gsw:o[1],gu:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},guw:o[1],gv:{cardinal:["one","two","few","many","other"],ordinal:["other"]},ha:o[1],haw:o[1],he:{cardinal:["one","two","many","other"],ordinal:["other"]},hi:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},hr:{cardinal:["one","few","other"],ordinal:["other"]},hsb:{cardinal:["one","two","few","other"],ordinal:["other"]},hu:o[2],hy:o[2],id:o[0],ig:o[0],ii:o[0],in:o[0],io:o[1],is:o[1],it:{cardinal:["one","other"],ordinal:["many","other"]},iu:o[3],iw:{cardinal:["one","two","many","other"],ordinal:["other"]},ja:o[0],jbo:o[0],jgo:o[1],ji:o[1],jmc:o[1],jv:o[0],jw:o[0],ka:{cardinal:["one","other"],ordinal:["one","many","other"]},kab:o[1],kaj:o[1],kcg:o[1],kde:o[0],kea:o[0],kk:{cardinal:["one","other"],ordinal:["many","other"]},kkj:o[1],kl:o[1],km:o[0],kn:o[1],ko:o[0],ks:o[1],ksb:o[1],ksh:{cardinal:["zero","one","other"],ordinal:["other"]},ku:o[1],kw:o[3],ky:o[1],lag:{cardinal:["zero","one","other"],ordinal:["other"]},lb:o[1],lg:o[1],lkt:o[0],ln:o[1],lo:{cardinal:["other"],ordinal:["one","other"]},lt:{cardinal:["one","few","many","other"],ordinal:["other"]},lv:{cardinal:["zero","one","other"],ordinal:["other"]},mas:o[1],mg:o[1],mgo:o[1],mk:{cardinal:["one","other"],ordinal:["one","two","many","other"]},ml:o[1],mn:o[1],mo:{cardinal:["one","few","other"],ordinal:["one","other"]},mr:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ms:{cardinal:["other"],ordinal:["one","other"]},mt:{cardinal:["one","few","many","other"],ordinal:["other"]},my:o[0],nah:o[1],naq:o[3],nb:o[1],nd:o[1],ne:o[2],nl:o[1],nn:o[1],nnh:o[1],no:o[1],nqo:o[0],nr:o[1],nso:o[1],ny:o[1],nyn:o[1],om:o[1],or:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},os:o[1],pa:o[1],pap:o[1],pl:{cardinal:["one","few","many","other"],ordinal:["other"]},prg:{cardinal:["zero","one","other"],ordinal:["other"]},ps:o[1],pt:o[1],"pt-PT":o[1],rm:o[1],ro:{cardinal:["one","few","other"],ordinal:["one","other"]},rof:o[1],root:o[0],ru:{cardinal:["one","few","many","other"],ordinal:["other"]},rwk:o[1],sah:o[0],saq:o[1],sd:o[1],sdh:o[1],se:o[3],seh:o[1],ses:o[0],sg:o[0],sh:{cardinal:["one","few","other"],ordinal:["other"]},shi:{cardinal:["one","few","other"],ordinal:["other"]},si:o[1],sk:{cardinal:["one","few","many","other"],ordinal:["other"]},sl:{cardinal:["one","two","few","other"],ordinal:["other"]},sma:o[3],smi:o[3],smj:o[3],smn:o[3],sms:o[3],sn:o[1],so:o[1],sq:{cardinal:["one","other"],ordinal:["one","many","other"]},sr:{cardinal:["one","few","other"],ordinal:["other"]},ss:o[1],ssy:o[1],st:o[1],sv:o[2],sw:o[1],syr:o[1],ta:o[1],te:o[1],teo:o[1],th:o[0],ti:o[1],tig:o[1],tk:{cardinal:["one","other"],ordinal:["few","other"]},tl:o[2],tn:o[1],to:o[0],tr:o[1],ts:o[1],tzm:o[1],ug:o[1],uk:{cardinal:["one","few","many","other"],ordinal:["few","other"]},ur:o[1],uz:o[1],ve:o[1],vi:{cardinal:["other"],ordinal:["one","other"]},vo:o[1],vun:o[1],wa:o[1],wae:o[1],wo:o[0],xh:o[1],xog:o[1],yi:o[1],yo:o[0],yue:o[0],zh:o[0],zu:o[1]})},{}],6:[function(t,r,n){var o=[function(e,t){return"other"},function(e,t){return t?"other":1==e?"one":"other"},function(e,t){return t?"other":0==e||1==e?"one":"other"},function(e,t){var r=String(e).split("."),n=!r[1];return t?"other":1==e&&n?"one":"other"}];!function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof n?r.exports=o:t.plurals=o}(this,{af:o[1],ak:o[2],am:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ar:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},ars:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},asa:o[1],ast:o[3],az:function(e,t){var r=String(e).split("."),n=r[0],o=n.slice(-1),i=n.slice(-2),u=n.slice(-3);return t?1==o||2==o||5==o||7==o||8==o||20==i||50==i||70==i||80==i?"one":3==o||4==o||100==u||200==u||300==u||400==u||500==u||600==u||700==u||800==u||900==u?"few":0==n||6==o||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},be:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":n&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:o[1],bez:o[1],bg:o[1],bh:o[2],bm:o[0],bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},bo:o[0],br:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2),u=n&&r[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&n&&0==u?"many":"other"},brx:o[1],bs:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},ca:function(e,t){var r=String(e).split("."),n=!r[1];return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&n?"one":"other"},ce:o[1],cgg:o[1],chr:o[1],ckb:o[1],cs:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var r=String(e).split("."),n=r[0],o=Number(r[0])==e;return t?"other":1!=e&&(o||0!=n&&1!=n)?"other":"one"},de:o[3],dsb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-2),a=o.slice(-2);return t?"other":i&&1==u||1==a?"one":i&&2==u||2==a?"two":i&&(3==u||4==u)||3==a||4==a?"few":"other"},dv:o[1],dz:o[0],ee:o[1],el:o[1],en:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),u=o&&r[0].slice(-2);return t?1==i&&11!=u?"one":2==i&&12!=u?"two":3==i&&13!=u?"few":"other":1==e&&n?"one":"other"},eo:o[1],es:o[1],et:o[3],eu:o[1],fa:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ff:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},fi:o[3],fil:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=u&&6!=u&&9!=u||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:o[1],fr:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},fur:o[1],fy:o[3],ga:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:o[3],gsw:o[1],gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:o[2],gv:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),u=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=u&&20!=u&&40!=u&&60!=u&&80!=u?o?"other":"many":"few"},ha:o[1],haw:o[1],he:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,u=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==u?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hr:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-2),a=o.slice(-2);return t?"other":i&&1==u||1==a?"one":i&&2==u||2==a?"two":i&&(3==u||4==u)||3==a||4==a?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},id:o[0],ig:o[0],ii:o[0],in:o[0],io:o[3],is:function(e,t){var r=String(e).split("."),n=r[0],o=Number(r[0])==e,i=n.slice(-1),u=n.slice(-2);return t?"other":o&&1==i&&11!=u||!o?"one":"other"},it:function(e,t){var r=String(e).split("."),n=!r[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},iu:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},iw:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,u=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==u?"many":"other"},ja:o[0],jbo:o[0],jgo:o[1],ji:o[3],jmc:o[1],jv:o[0],jw:o[0],ka:function(e,t){var r=String(e).split("."),n=r[0],o=n.slice(-2);return t?1==n?"one":0==n||o>=2&&o<=20||40==o||60==o||80==o?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:o[1],kcg:o[1],kde:o[0],kea:o[0],kk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1);return t?6==o||9==o||n&&0==o&&0!=e?"many":"other":1==e?"one":"other"},kkj:o[1],kl:o[1],km:o[0],kn:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ko:o[0],ks:o[1],ksb:o[1],ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:o[1],kw:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},ky:o[1],lag:function(e,t){var r=String(e).split("."),n=r[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},lb:o[1],lg:o[1],lkt:o[0],ln:o[2],lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=String(e).split("."),n=r[1]||"",o=Number(r[0])==e,i=o&&r[0].slice(-1),u=o&&r[0].slice(-2);return t?"other":1==i&&(u<11||u>19)?"one":i>=2&&i<=9&&(u<11||u>19)?"few":0!=n?"many":"other"},lv:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,u=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-2),s=n.slice(-1);return t?"other":i&&0==u||a>=11&&a<=19||2==o&&c>=11&&c<=19?"zero":1==u&&11!=a||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},mas:o[1],mg:o[2],mgo:o[1],mk:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1);return t?1==u&&11!=a?"one":2==u&&12!=a?"two":7!=u&&8!=u||17==a||18==a?"other":"many":i&&1==u||1==c?"one":"other"},ml:o[1],mn:o[1],mo:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":e>=0&&e<=1?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2);return t?"other":1==e?"one":0==e||o>=2&&o<=10?"few":o>=11&&o<=19?"many":"other"},my:o[0],nah:o[1],naq:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},nb:o[1],nd:o[1],ne:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:o[3],nn:o[1],nnh:o[1],no:o[1],nqo:o[0],nr:o[1],nso:o[2],ny:o[1],nyn:o[1],om:o[1],or:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:o[1],pa:o[2],pap:o[1],pl:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),u=n.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(u<12||u>14)?"few":o&&1!=n&&(0==i||1==i)||o&&i>=5&&i<=9||o&&u>=12&&u<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,u=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-2),s=n.slice(-1);return t?"other":i&&0==u||a>=11&&a<=19||2==o&&c>=11&&c<=19?"zero":1==u&&11!=a||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},ps:o[1],pt:function(e,t){var r=String(e).split("."),n=r[0];return t?"other":0==n||1==n?"one":"other"},"pt-PT":o[3],rm:o[1],ro:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},rof:o[1],root:o[0],ru:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),u=n.slice(-2);return t?"other":o&&1==i&&11!=u?"one":o&&i>=2&&i<=4&&(u<12||u>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&u>=11&&u<=14?"many":"other"},rwk:o[1],sah:o[0],saq:o[1],sd:o[1],sdh:o[1],se:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},seh:o[1],ses:o[0],sg:o[0],sh:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},shi:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"";return t?"other":0==e||1==e||0==n&&1==o?"one":"other"},sk:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},sl:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},sma:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smi:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smj:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smn:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sms:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sn:o[1],so:o[1],sq:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},sr:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},ss:o[1],ssy:o[1],st:o[1],sv:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),u=o&&r[0].slice(-2);return t?1!=i&&2!=i||11==u||12==u?"other":"one":1==e&&n?"one":"other"},sw:o[3],syr:o[1],ta:o[1],te:o[1],teo:o[1],th:o[0],ti:o[2],tig:o[1],tk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1);return t?6==o||9==o||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=u&&6!=u&&9!=u||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:o[1],to:o[0],tr:o[1],ts:o[1],tzm:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:o[1],uk:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,u=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-1),s=n.slice(-2);return t?3==u&&13!=a?"few":"other":o&&1==c&&11!=s?"one":o&&c>=2&&c<=4&&(s<12||s>14)?"few":o&&0==c||o&&c>=5&&c<=9||o&&s>=11&&s<=14?"many":"other"},ur:o[3],uz:o[1],ve:o[1],vi:function(e,t){return t&&1==e?"one":"other"},vo:o[1],vun:o[1],wa:o[2],wae:o[1],wo:o[0],xh:o[1],xog:o[1],yi:o[3],yo:o[0],yue:o[0],zh:o[0],zu:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"}})},{}],7:[function(e,t,r){"use strict";function n(e,t,r,o){this.message=e,this.expected=t,this.found=r,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,n)}function o(e,t){function r(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function i(e){return{type:"other",description:e}}function u(t){var r,n=ht[t];if(n)return n;for(r=t-1;!ht[r];)r--;for(n=ht[r],n={line:n.line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return ht[t]=n,n}function a(e,t){var r=u(e),n=u(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function c(e){ft<pt||(ft>pt&&(pt=ft,dt=[]),dt.push(e))}function s(e,t,r){return new n(n.buildMessage(e,t),e,t,r)}function f(){var e,t;for(e=[],t=l();t!==R;)e.push(t),t=l();return e}function l(){var t,r,n;if((t=h())===R&&(t=p())===R&&(t=d())===R&&(t=m())===R&&(t=ft,35===e.charCodeAt(ft)?(r=U,ft++):(r=R,0===mt&&c(L)),r!==R&&(lt=t,r=I()),(t=r)===R)){if(t=ft,r=[],(n=C())!==R)for(;n!==R;)r.push(n),n=C();else r=R;r!==R&&(lt=t,r=G(r)),t=r} | ||
return t}function h(){var t,r,n,o,i,u;return t=ft,123===e.charCodeAt(ft)?(r=Z,ft++):(r=R,0===mt&&c(H)),r!==R?(n=_(),n!==R?(o=y(),o!==R?(i=_(),i!==R?(125===e.charCodeAt(ft)?(u=K,ft++):(u=R,0===mt&&c(V)),u!==R?(lt=t,r=W(o),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R),t}function p(){var t,r,n,o,i,u,a,s,f;if(t=ft,123===e.charCodeAt(ft)?(r=Z,ft++):(r=R,0===mt&&c(H)),r!==R)if(_()!==R)if((n=y())!==R)if(_()!==R)if(44===e.charCodeAt(ft)?(o=Y,ft++):(o=R,0===mt&&c(Q)),o!==R)if(_()!==R)if(e.substr(ft,6)===X?(i=X,ft+=6):(i=R,0===mt&&c(ee)),i!==R)if(_()!==R)if(44===e.charCodeAt(ft)?(u=Y,ft++):(u=R,0===mt&&c(Q)),u!==R)if(_()!==R){if(a=[],(s=v())!==R)for(;s!==R;)a.push(s),s=v();else a=R;a!==R?(s=_(),s!==R?(125===e.charCodeAt(ft)?(f=K,ft++):(f=R,0===mt&&c(V)),f!==R?(lt=t,r=te(n,a),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)}else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;return t}function d(){var t,r,n,o,i,u,a,s,f,l;if(t=ft,123===e.charCodeAt(ft)?(r=Z,ft++):(r=R,0===mt&&c(H)),r!==R)if(_()!==R)if((n=y())!==R)if(_()!==R)if(44===e.charCodeAt(ft)?(o=Y,ft++):(o=R,0===mt&&c(Q)),o!==R)if(_()!==R)if(e.substr(ft,6)===re?(i=re,ft+=6):(i=R,0===mt&&c(ne)),i===R&&(e.substr(ft,13)===oe?(i=oe,ft+=13):(i=R,0===mt&&c(ie))),i!==R)if(_()!==R)if(44===e.charCodeAt(ft)?(u=Y,ft++):(u=R,0===mt&&c(Q)),u!==R)if(_()!==R)if(a=S(),a===R&&(a=null),a!==R){if(s=[],(f=b())!==R)for(;f!==R;)s.push(f),f=b();else s=R;s!==R?(f=_(),f!==R?(125===e.charCodeAt(ft)?(l=K,ft++):(l=R,0===mt&&c(V)),l!==R?(lt=t,r=ue(n,i,a,s),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)}else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;else ft=t,t=R;return t}function m(){var t,r,n,o,i,u,a,s,f,l,h;return t=ft,123===e.charCodeAt(ft)?(r=Z,ft++):(r=R,0===mt&&c(H)),r!==R?(n=_(),n!==R?(o=y(),o!==R?(i=_(),i!==R?(44===e.charCodeAt(ft)?(u=Y,ft++):(u=R,0===mt&&c(Q)),u!==R?(a=_(),a!==R?(s=y(),s!==R?(f=_(),f!==R?(l=A(),l!==R?(125===e.charCodeAt(ft)?(h=K,ft++):(h=R,0===mt&&c(V)),h!==R?(lt=t,r=ae(o,s,l),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R),t}function y(){var t,r,n,o,i;if(t=ft,r=ft,ce.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(se)),n!==R){for(o=[],fe.test(e.charAt(ft))?(i=e.charAt(ft),ft++):(i=R,0===mt&&c(le));i!==R;)o.push(i),fe.test(e.charAt(ft))?(i=e.charAt(ft),ft++):(i=R,0===mt&&c(le));o!==R?(n=[n,o],r=n):(ft=r,r=R)}else ft=r,r=R;return t=r!==R?e.substring(t,ft):r}function g(){var e,t,r;if(e=ft,t=[],(r=D())!==R)for(;r!==R;)t.push(r),r=D();else t=R;return t!==R&&(lt=e,t=G(t)),e=t}function w(){var e,t,r;if(e=ft,t=[],(r=q())!==R)for(;r!==R;)t.push(r),r=q();else t=R;return t!==R&&(lt=e,t=G(t)),e=t}function v(){var e,t,r,n,o;return e=ft,t=_(),t!==R?(r=y(),r!==R?(n=_(),n!==R?(o=k(),o!==R?(lt=e,t=he(r,o),e=t):(ft=e,e=R)):(ft=e,e=R)):(ft=e,e=R)):(ft=e,e=R),e}function b(){var e,t,r,n,o;return e=ft,t=_(),t!==R?(r=x(),r!==R?(n=_(),n!==R?(o=k(),o!==R?(lt=e,t=he(r,o),e=t):(ft=e,e=R)):(ft=e,e=R)):(ft=e,e=R)):(ft=e,e=R),e}function k(){var t,r,n,o,i,u;if(t=ft,123===e.charCodeAt(ft)?(r=Z,ft++):(r=R,0===mt&&c(H)),r!==R)if(n=ft,o=_(),o!==R?(i=ft,mt++,123===e.charCodeAt(ft)?(u=Z,ft++):(u=R,0===mt&&c(H)),mt--,u!==R?(ft=i,i=void 0):i=R,i!==R?(o=[o,i],n=o):(ft=n,n=R)):(ft=n,n=R),n===R&&(n=null),n!==R){for(o=[],i=l();i!==R;)o.push(i),i=l();o!==R?(i=_(),i!==R?(125===e.charCodeAt(ft)?(u=K,ft++):(u=R,0===mt&&c(V)),u!==R?(lt=t,r=pe(o),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)}else ft=t,t=R;else ft=t,t=R;return t}function S(){var t,r,n,o,i,u,a,s;return t=ft,r=_(),r!==R?(e.substr(ft,6)===de?(n=de,ft+=6):(n=R,0===mt&&c(me)),n!==R?(o=_(),o!==R?(58===e.charCodeAt(ft)?(i=ye,ft++):(i=R,0===mt&&c(ge)),i!==R?(u=_(),u!==R?(a=P(),a!==R?(s=_(),s!==R?(lt=t,r=we(a),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R),t}function x(){var t,r,n;return t=y(),t===R&&(t=ft,61===e.charCodeAt(ft)?(r=ve,ft++):(r=R,0===mt&&c(be)),r!==R?(n=P(),n!==R?(lt=t,r=we(n),t=r):(ft=t,t=R)):(ft=t,t=R)),t}function A(){var e,t,r;for(e=ft,t=[],r=E();r!==R;)t.push(r),r=E();if(t!==R?(lt=ft,r=ke(t),r=r?R:void 0,r!==R?(lt=e,t=Se(t),e=t):(ft=e,e=R)):(ft=e,e=R),e===R){for(e=ft,t=[],r=j();r!==R;)t.push(r),r=j();t!==R?(lt=ft,r=ke(t),r=r?void 0:R,r!==R?(lt=e,t=Se(t),e=t):(ft=e,e=R)):(ft=e,e=R)}return e}function j(){var t,r,n,o;return t=ft,r=_(),r!==R?(44===e.charCodeAt(ft)?(n=Y,ft++):(n=R,0===mt&&c(Q)),n!==R?(o=w(),o!==R?(lt=t,r=Se(o),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R),t}function E(){var t,r,n,o,i,u;return t=ft,r=_(),r!==R?(44===e.charCodeAt(ft)?(n=Y,ft++):(n=R,0===mt&&c(Q)),n!==R?(o=_(),o!==R?(i=g(),i!==R?(u=_(),u!==R?(lt=t,r=xe(i),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R),t}function O(){var t,r;return t=ft,e.substr(ft,2)===Ae?(r=Ae,ft+=2):(r=R,0===mt&&c(je)),r!==R&&(lt=t,r=Ee()),t=r}function N(){var t,r,n;if((t=O())===R){if(t=ft,r=[],Oe.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(Ne)),n!==R)for(;n!==R;)r.push(n),Oe.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(Ne));else r=R;r!==R&&(lt=t,r=G(r)),t=r}return t}function z(){var t,r,n,o;if(t=ft,e.substr(ft,2)===ze?(r=ze,ft+=2):(r=R,0===mt&&c(Fe)),r!==R){for(n=[],o=N();o!==R;)n.push(o),o=N();n!==R?(39===e.charCodeAt(ft)?(o=Ce,ft++):(o=R,0===mt&&c(Te)),o!==R?(lt=t,r=De(n),t=r):(ft=t,t=R)):(ft=t,t=R)}else ft=t,t=R;if(t===R)if(t=ft,e.substr(ft,2)===qe?(r=qe,ft+=2):(r=R,0===mt&&c(Pe)),r!==R){for(n=[],o=N();o!==R;)n.push(o),o=N();n!==R?(39===e.charCodeAt(ft)?(o=Ce,ft++):(o=R,0===mt&&c(Te)),o!==R?(lt=t,r=Je(n),t=r):(ft=t,t=R)):(ft=t,t=R)}else ft=t,t=R;return t}function F(){var t;return t=z(),t===R&&(39===e.charCodeAt(ft)?(t=Ce,ft++):(t=R,0===mt&&c(Te))),t}function C(){var t,r,n,o,i,u;return _e.test(e.charAt(ft))?(t=e.charAt(ft),ft++):(t=R,0===mt&&c(Be)),t===R&&(t=ft,e.substr(ft,2)===Re?(r=Re,ft+=2):(r=R,0===mt&&c($e)),r!==R&&(lt=t,r=Me()),(t=r)===R&&(t=ft,e.substr(ft,2)===Ue?(r=Ue,ft+=2):(r=R,0===mt&&c(Le)),r!==R&&(lt=t,r=Ie()),(t=r)===R&&(t=ft,e.substr(ft,2)===Ge?(r=Ge,ft+=2):(r=R,0===mt&&c(Ze)),r!==R&&(lt=t,r=He()),(t=r)===R&&(t=ft,e.substr(ft,2)===Ke?(r=Ke,ft+=2):(r=R,0===mt&&c(Ve)),r!==R&&(lt=t,r=We()),(t=r)===R&&(t=ft,e.substr(ft,2)===Ye?(r=Ye,ft+=2):(r=R,0===mt&&c(Qe)),r!==R?(n=J(),n!==R?(o=J(),o!==R?(i=J(),i!==R?(u=J(),u!==R?(lt=t,r=Xe(n,o,i,u),t=r):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)):(ft=t,t=R)))))),t}function T(){var e;return e=O(),e===R&&(e=F()),e}function D(){var t,r,n;if((t=T())===R){if(t=ft,r=[],et.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(tt)),n!==R)for(;n!==R;)r.push(n),et.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(tt));else r=R;r!==R&&(lt=t,r=G(r)),t=r}return t}function q(){var t,r,n;if((t=T())===R){if(t=ft,r=[],rt.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(nt)),n!==R)for(;n!==R;)r.push(n),rt.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(nt));else r=R;r!==R&&(lt=t,r=G(r)),t=r}return t}function P(){var t,r,n;if(t=ft,r=[],ot.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(it)),n!==R)for(;n!==R;)r.push(n),ot.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(it));else r=R;return t=r!==R?e.substring(t,ft):r}function J(){var t;return ut.test(e.charAt(ft))?(t=e.charAt(ft),ft++):(t=R,0===mt&&c(at)),t}function _(){var t,r,n;for(t=ft,r=[],ct.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(st));n!==R;)r.push(n),ct.test(e.charAt(ft))?(n=e.charAt(ft),ft++):(n=R,0===mt&&c(st));return t=r!==R?e.substring(t,ft):r}t=void 0!==t?t:{};var B,R={},$={start:f},M=f,U="#",L=r("#",!1),I=function(){return{type:"octothorpe"}},G=function(e){return e.join("")},Z="{",H=r("{",!1),K="}",V=r("}",!1),W=function(e){return{type:"argument",arg:e}},Y=",",Q=r(",",!1),X="select",ee=r("select",!1),te=function(e,t){return{type:"select",arg:e,cases:t}},re="plural",ne=r("plural",!1),oe="selectordinal",ie=r("selectordinal",!1),ue=function(e,r,n,o){var i=("selectordinal"===r?t.ordinal:t.cardinal)||["zero","one","two","few","many","other"];return i&&i.length&&o.forEach(function(t){if(isNaN(t.key)&&i.indexOf(t.key)<0)throw new Error("Invalid key `"+t.key+"` for argument `"+e+"`. Valid "+r+" keys for this locale are `"+i.join("`, `")+"`, and explicit keys like `=0`.")}),{type:r,arg:e,offset:n||0,cases:o}},ae=function(e,t,r){return{type:"function",arg:e,key:t,params:r}},ce=/^[0-9a-zA-Z$_]/,se=o([["0","9"],["a","z"],["A","Z"],"$","_"],!1,!1),fe=/^[^ \t\n\r,.+={}]/,le=o([" ","\t","\n","\r",",",".","+","=","{","}"],!0,!1),he=function(e,t){return{key:e,tokens:t}},pe=function(e){return e},de="offset",me=r("offset",!1),ye=":",ge=r(":",!1),we=function(e){return e},ve="=",be=r("=",!1),ke=function(e){return t.strictFunctionParams},Se=function(e){return e},xe=function(e){return e.replace(/^[ \t\n\r]*|[ \t\n\r]*$/g,"")},Ae="''",je=r("''",!1),Ee=function(){return"'"},Oe=/^[^']/,Ne=o(["'"],!0,!1),ze="'{",Fe=r("'{",!1),Ce="'",Te=r("'",!1),De=function(e){return"{"+e.join("")},qe="'}",Pe=r("'}",!1),Je=function(e){return"}"+e.join("")},_e=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,Be=o(["{","}","#","\\",["\0","\b"],["",""],""],!0,!1),Re="\\\\",$e=r("\\\\",!1),Me=function(){return"\\"},Ue="\\#",Le=r("\\#",!1),Ie=function(){return"#"},Ge="\\{",Ze=r("\\{",!1),He=function(){return"{"},Ke="\\}",Ve=r("\\}",!1),We=function(){return"}"},Ye="\\u",Qe=r("\\u",!1),Xe=function(e,t,r,n){return String.fromCharCode(parseInt("0x"+e+t+r+n))},et=/^[^',}]/,tt=o(["'",",","}"],!0,!1),rt=/^[^'}]/,nt=o(["'","}"],!0,!1),ot=/^[0-9]/,it=o([["0","9"]],!1,!1),ut=/^[0-9a-fA-F]/,at=o([["0","9"],["a","f"],["A","F"]],!1,!1),ct=/^[ \t\n\r]/,st=o([" ","\t","\n","\r"],!1,!1),ft=0,lt=0,ht=[{line:1,column:1}],pt=0,dt=[],mt=0;if("startRule"in t){if(!(t.startRule in $))throw new Error("Can't start parsing from rule \""+t.startRule+'".');M=$[t.startRule]}if((B=M())!==R&&ft===e.length)return B;throw B!==R&&ft<e.length&&c(function(){return{type:"end"}}()),s(dt,pt<e.length?e.charAt(pt):null,pt<e.length?a(pt,pt+1):a(pt,pt))}!function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(n,Error),n.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 i(e){return u[e.type](e)}var u={literal:function(e){return'"'+n(e.text)+'"'},class:function(e){var t,r="";for(t=0;t<e.parts.length;t++)r+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+r+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+function(e){var t,r,n=new Array(e.length);for(t=0;t<e.length;t++)n[t]=i(e[t]);if(n.sort(),n.length>0){for(t=1,r=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 "+function(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."},t.exports={SyntaxError:n,parse:o}},{}],8:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function u(e){if(h===clearTimeout)return clearTimeout(e);if((h===o||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function a(){y&&d&&(y=!1,d.length?m=d.concat(m):g=-1,m.length&&c())}function c(){if(!y){var e=i(a);y=!0;for(var t=m.length;t;){for(d=m,m=[];++g<t;)d&&d[g].run();g=-1,t=m.length}d=null,y=!1,u(e)}}function s(e,t){this.fun=e,this.array=t}function f(){}var l,h,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{h="function"==typeof clearTimeout?clearTimeout:o}catch(e){h=o}}();var d,m=[],y=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];m.push(new s(e,t)),1!==m.length||y||i(c)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],9:[function(e,t,r){t.exports=e("./reserved-words")},{"./reserved-words":10}],10:[function(e,t,r){function n(){return Array.prototype.map.call(arguments,function(e){return"string"==typeof e?e:Object.keys(e).join(" ")}).join(" ").split(/\s+/).reduce(function(e,t){return e[t]=!0,e},{})}var o=e("assert"),i={es3:3,es5:5,es2015:6,es7:7,es6:6,default:5,next:6},u=r.KEYWORDS={};r.check=function(e,t,r){t=t||i.default;var n=i[t]||t;return r&&n>=5&&(n+="-strict"),o(u[n],"Unknown dialect"),u[n].hasOwnProperty(e)},u[3]=n("break else new var","case finally return void","catch for switch while","continue function this with","default if throw","delete in try","do instanceof typeof","abstract enum int short","boolean export interface static","byte extends long super","char final native synchronized","class float package throws","const goto private transient","debugger implements protected volatile","double import public","null true false"),u[5]=n("break do instanceof typeof","case else new var","catch finally return void","continue for switch while","debugger function this with","default if throw","delete in try","class enum extends super","const export import","null true false"),u["5-strict"]=n(u[5],"implements let private public yield","interface package protected static"),u[6]=n("break do in typeof","case else instanceof var","catch export new void","class extends return while","const finally super with","continue for switch yield","debugger function this","default if throw","delete import try","enum await","null true false"),u["6-strict"]=n(u[6],"let static","implements package protected","interface private public")},{assert:4}],11:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],12:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],13:[function(e,t,r){(function(t,n){function o(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),k(n.showHidden)&&(n.showHidden=!1),k(n.depth)&&(n.depth=2),k(n.colors)&&(n.colors=!1),k(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),c(n,e,n.depth)}function i(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function a(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function c(e,t,n){if(e.customInspect&&t&&E(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return v(o)||(o=c(e,o,n)),o}var i=s(e,t);if(i)return i;var u=Object.keys(t),m=a(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(t)),j(t)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return f(t);if(0===u.length){if(E(t)){var y=t.name?": "+t.name:"";return e.stylize("[Function"+y+"]","special")}if(S(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(A(t))return e.stylize(Date.prototype.toString.call(t),"date");if(j(t))return f(t)}var g="",w=!1,b=["{","}"];if(d(t)&&(w=!0,b=["[","]"]),E(t)){g=" [Function"+(t.name?": "+t.name:"")+"]"}if(S(t)&&(g=" "+RegExp.prototype.toString.call(t)),A(t)&&(g=" "+Date.prototype.toUTCString.call(t)),j(t)&&(g=" "+f(t)),0===u.length&&(!w||0==t.length))return b[0]+g+b[1];if(n<0)return S(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var k;return k=w?l(e,t,n,m,u):u.map(function(r){return h(e,t,n,m,r,w)}),e.seen.pop(),p(k,g,b)}function s(e,t){if(k(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return w(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,r,n,o){for(var i=[],u=0,a=t.length;u<a;++u)C(t,String(u))?i.push(h(e,t,r,n,String(u),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(h(e,t,r,n,o,!0))}),i}function h(e,t,r,n,o,i){var u,a,s;if(s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},s.get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),C(n,o)||(u="["+o+"]"),a||(e.seen.indexOf(s.value)<0?(a=y(r)?c(e,s.value,null):c(e,s.value,r-1),a.indexOf("\n")>-1&&(a=i?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),k(u)){if(i&&o.match(/^\d+$/))return a;u=JSON.stringify(""+o),u.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+a}function p(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return null==e}function w(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function k(e){return void 0===e}function S(e){return x(e)&&"[object RegExp]"===N(e)}function x(e){return"object"==typeof e&&null!==e}function A(e){return x(e)&&"[object Date]"===N(e)}function j(e){return x(e)&&("[object Error]"===N(e)||e instanceof Error)}function E(e){return"function"==typeof e}function O(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function N(e){return Object.prototype.toString.call(e)}function z(e){return e<10?"0"+e.toString(10):e.toString(10)}function F(){var e=new Date,t=[z(e.getHours()),z(e.getMinutes()),z(e.getSeconds())].join(":");return[e.getDate(),P[e.getMonth()],t].join(" ")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var T=/%[sdj%]/g;r.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,u=String(e).replace(T,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<i;a=n[++r])y(a)||!x(a)?u+=" "+a:u+=" "+o(a);return u},r.deprecate=function(e,o){function i(){if(!u){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),u=!0}return e.apply(this,arguments)}if(k(n.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(!0===t.noDeprecation)return e;var u=!1;return i};var D,q={};r.debuglog=function(e){if(k(D)&&(D=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!q[e])if(new RegExp("\\b"+e+"\\b","i").test(D)){var n=t.pid;q[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else q[e]=function(){};return q[e]},r.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=m,r.isNull=y,r.isNullOrUndefined=g,r.isNumber=w,r.isString=v,r.isSymbol=b,r.isUndefined=k,r.isRegExp=S,r.isObject=x,r.isDate=A,r.isError=j,r.isFunction=E,r.isPrimitive=O,r.isBuffer=e("./support/isBuffer");var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",F(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":12,_process:8,inherits:11}]},{},[2])(2)}); | ||
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.MessageFormat=e()}}(function(){var e;return function e(t,r,n){function o(u,a){if(!r[u]){if(!t[u]){var c="function"==typeof require&&require;if(!a&&c)return c(u,!0);if(i)return i(u,!0);var s=new Error("Cannot find module '"+u+"'");throw s.code="MODULE_NOT_FOUND",s}var f=r[u]={exports:{}};t[u][0].call(f.exports,function(e){var r=t[u][1][e];return o(r||e)},f,f.exports,e,t,r,n)}return r[u].exports}for(var i="function"==typeof require&&require,u=0;u<n.length;u++)o(n[u]);return o}({1:[function(e,t,r){function n(e){this.mf=e,this.lc=null,this.locales={},this.runtime={},this.formatters={}}var o=e("reserved-words"),i=e("messageformat-parser").parse;t.exports=n,n.propname=function(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&["break","continue","delete","else","for","function","if","in","new","return","this","typeof","var","void","while","with","case","catch","default","do","finally","instanceof","switch","throw","try"].indexOf(e)<0)return t?t+"."+e:e;var r=JSON.stringify(e);return t?t+"["+r+"]":r},n.funcname=function(e){var t=e.trim().replace(/\W+/g,"_");return o.check(t,"es2015",!0)||/^\d/.test(t)?"_"+t:t},n.bidiMarkText=function(e,t){var r=JSON.stringify(function(e){var t=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return new RegExp("^"+t.join("|^")).test(e)}(t)?"":"");return r+" + "+e+" + "+r},n.prototype.cases=function(e,t){var r="select"===e.type||!this.mf.hasCustomPluralFuncs,o=e.cases.map(function(e){"other"===e.key&&(r=!1);var o=e.tokens.map(function(e){return this.token(e,t)},this);return n.propname(e.key)+": "+(o.join(" + ")||'""')},this);if(r)throw new Error("No 'other' form found in "+JSON.stringify(e));return"{ "+o.join(", ")+" }"},n.prototype.token=function(e,t){if("string"==typeof e)return JSON.stringify(e);var r,o=[n.propname(e.arg,"d")];switch(e.type){case"argument":return this.mf.bidiSupport?n.bidiMarkText(o[0],this.lc):o[0];case"select":r="select",o.push(this.cases(e,this.mf.strictNumberSign?null:t)),this.runtime.select=!0;break;case"selectordinal":r="plural",o.push(0,n.funcname(this.lc),this.cases(e,e),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":r="plural",o.push(e.offset||0,n.funcname(this.lc),this.cases(e,e)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(!(e.key in this.mf.fmt)&&e.key in this.mf.constructor.formatters){var i=this.mf.constructor.formatters[e.key];this.mf.fmt[e.key]="function"==typeof i(this.mf)?i(this.mf):i}if(!this.mf.fmt[e.key])throw new Error("Formatting function "+JSON.stringify(e.key)+" not found!");if(o.push(JSON.stringify(this.lc)),e.params)switch(e.params.length){case 0:break;case 1:o.push(JSON.stringify(e.params[0]));break;default:o.push(JSON.stringify(e.params))}r=n.propname(e.key,"fmt"),this.formatters[e.key]=!0;break;case"octothorpe":if(!t)return'"#"';r="number",o=[n.propname(t.arg,"d"),JSON.stringify(t.arg)],t.offset&&o.push(t.offset),this.runtime.number=!0}if(!r)throw new Error("Parser error for token "+JSON.stringify(e));return r+"("+o.join(", ")+")"},n.prototype.compile=function(e,t,r){if("object"!=typeof e){this.lc=t;var n=r[t]||{cardinal:[],ordinal:[]};n.strictNumberSign=!!this.mf.strictNumberSign;return"function(d) { return "+(i(e,n).map(function(e){return this.token(e)},this).join(" + ")||'""')+"; }"}var o={};for(var u in e){var a=r.hasOwnProperty(u)?u:t;o[u]=this.compile(e[u],a,r)}return o}},{"messageformat-parser":7,"reserved-words":9}],2:[function(e,t,r){function n(t,r){for(var n=e("make-plural/umd/plurals"),o=e("make-plural/umd/pluralCategories"),i=t;i;i=i.replace(/[-_]?[^-_]*$/,"")){var u=n[i];if(u){var a=r?{cardinal:[],ordinal:[]}:o[i]||{},c=function(){return u.apply(this,arguments)};return c.toString=function(){return u.toString()},c.cardinal=a.cardinal,c.ordinal=a.ordinal,c}}throw new Error("Localisation function not found for locale "+JSON.stringify(t))}function o(e){if(this.pluralFuncs={},e)if("string"==typeof e)this.pluralFuncs[e]=n(e);else if(Array.isArray(e))e.forEach(function(e){this.pluralFuncs[e]=n(e)},this);else if("object"==typeof e){for(var t in e)if(e.hasOwnProperty(t)){if("function"!=typeof e[t])throw new Error("Expected function value for locale "+JSON.stringify(t));this.pluralFuncs[t]=e[t]}this.hasCustomPluralFuncs=!0}this.fmt={},this.runtime=new u(this)}var i=e("./compiler"),u=e("./runtime");o.defaultLocale="en",o.escape=function(e){return e.replace(/[#{}\\]/g,"\\$&")},o.formatters={number:function(e){return new Function("v,lc,p","return new Intl.NumberFormat(lc,\n p=='integer' ? {maximumFractionDigits:0}\n : p=='percent' ? {style:'percent'}\n : p=='currency' ? {style:'currency', currency:'"+(e.currency||"USD")+"', minimumFractionDigits:2, maximumFractionDigits:2}\n : {}).format(v)")},date:function(e,t,r){var n={day:"numeric",month:"short",year:"numeric"};switch(r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric"}return new Date(e).toLocaleDateString(t,n)},time:function(e,t,r){var n={second:"numeric",minute:"numeric",hour:"numeric"};switch(r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}return new Date(e).toLocaleTimeString(t,n)}},o.prototype.addFormatters=function(e){for(var t in e)e.hasOwnProperty(t)&&(this.fmt[t]=e[t]);return this},o.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var e in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(e)&&(this.pluralFuncs[e].cardinal=[],this.pluralFuncs[e].ordinal=[]);return this},o.prototype.setBiDiSupport=function(e){return this.bidiSupport=!!e||void 0===e,this},o.prototype.setStrictNumberSign=function(e){return this.strictNumberSign=!!e||void 0===e,this.runtime.setStrictNumber(this.strictNumberSign),this},o.prototype.compile=function(e,t){function r(e,t){if(t||(t=0),"object"!=typeof e)return e;for(var n=[],o="",u=0;u<t;++u)o+=" ";for(var a in e)n.push("\n"+o+" "+i.propname(a)+": "+r(e[a],t+1));return"{"+n.join(",")+"\n"+o+"}"}var u;if(0==Object.keys(this.pluralFuncs).length)t||(t=o.defaultLocale),u={},u[t]=n(t,this.noPluralKeyChecks);else if(t){if(u={},u[t]=this.pluralFuncs[t],!u[t])throw new Error("Locale "+JSON.stringify(t)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else u=this.pluralFuncs,t=Object.keys(u)[0];var a=new i(this),c=a.compile(e,t,u);if("object"!=typeof e){var s=new Function("number, plural, select, fmt",i.funcname(t),"return "+c),f=this.runtime;return s(f.number,f.plural,f.select,this.fmt,u[t])}var l=this.runtime.toString(u,a)+"\n",h=r(c),p=new Function(l+"return "+h)();if(p.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return p.toString=function(e){switch(e||""){case"exports":var t=[];for(var n in c)t.push(i.propname(n,"exports")+" = "+r(c[n]));return l+t.join(";\n");case"module.exports":return l+"module.exports = "+h;case"export default":return l+"export default "+h;case"":return l+"return "+h;default:return e.indexOf(".")>-1?l+e+" = "+h:l+["(function (root, G) {",' if (typeof define === "function" && define.amd) { define(G); }',' else if (typeof exports === "object") { module.exports = G; }'," else { "+i.propname(e,"root")+" = G; }","})(this, "+h+");"].join("\n")}},p},t.exports=o},{"./compiler":1,"./runtime":3,"make-plural/umd/pluralCategories":5,"make-plural/umd/plurals":6}],3:[function(e,t,r){function n(e){this.mf=e,this.setStrictNumber(e.strictNumberSign)}function o(e,t,r){if(!r)return e;if(isNaN(e))throw new Error("Can't apply offset:"+r+" to argument `"+t+"` with non-numerical value "+JSON.stringify(e)+".");return e-r}function i(e,t,r){if(isNaN(e))throw new Error("Argument `"+t+"` has non-numerical value "+JSON.stringify(e)+".");return e-(r||0)}var u=e("./compiler");t.exports=n,n.prototype.setStrictNumber=function(e){this.number=e?i:o},n.prototype.plural=function(e,t,r,n,o){if({}.hasOwnProperty.call(n,e))return n[e];t&&(e-=t);var i=r(e,o);return i in n?n[i]:n.other},n.prototype.select=function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},n.prototype.toString=function(e,t){function r(e,t){if("object"!=typeof e){var n=e.toString().replace(/^(function )\w*/,"$1"),o=/([ \t]*)\S.*$/.exec(n);return o?n.replace(new RegExp("^"+o[1],"mg"),""):n}var i=[];for(var a in e)0==t?i.push("var "+a+" = "+r(e[a],t+1)+";\n"):i.push(u.propname(a)+": "+r(e[a],t+1));if(0==t)return i.join("");if(0==i.length)return"{}";for(var o=" ";--t;)o+=" ";return"{\n"+i.join(",\n").replace(/^/gm,o)+"\n}"}var n={};Object.keys(t.locales).forEach(function(t){n[u.funcname(t)]=e[t]}),Object.keys(t.runtime).forEach(function(e){n[e]=this[e]},this);var o=Object.keys(t.formatters),i=this.mf.fmt;return o.length&&(n.fmt=o.reduce(function(e,t){return e[t]=i[t],e},{})),r(n,0)}},{"./compiler":1}],4:[function(e,t,r){(function(r){"use strict";function n(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0}function o(e){return r.Buffer&&"function"==typeof r.Buffer.isBuffer?r.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}function i(e){return Object.prototype.toString.call(e)}function u(e){return!o(e)&&("function"==typeof r.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}function a(e){if(b.isFunction(e)){if(x)return e.name;var t=e.toString(),r=t.match(E);return r&&r[1]}}function c(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function s(e){if(x||!b.isFunction(e))return b.inspect(e);var t=a(e);return"[Function"+(t?": "+t:"")+"]"}function f(e){return c(s(e.actual),128)+" "+e.operator+" "+c(s(e.expected),128)}function l(e,t,r,n,o){throw new A.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function h(e,t){e||l(e,!0,t,"==",A.ok)}function p(e,t,r,a){if(e===t)return!0;if(o(e)&&o(t))return 0===n(e,t);if(b.isDate(e)&&b.isDate(t))return e.getTime()===t.getTime();if(b.isRegExp(e)&&b.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(u(e)&&u(t)&&i(e)===i(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===n(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;a=a||{actual:[],expected:[]};var c=a.actual.indexOf(e);return-1!==c&&c===a.expected.indexOf(t)||(a.actual.push(e),a.expected.push(t),m(e,t,r,a))}return r?e===t:e==t}function d(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function m(e,t,r,n){if(null===e||void 0===e||null===t||void 0===t)return!1;if(b.isPrimitive(e)||b.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var o=d(e),i=d(t);if(o&&!i||!o&&i)return!1;if(o)return e=S.call(e),t=S.call(t),p(e,t,r);var u,a,c=j(e),s=j(t);if(c.length!==s.length)return!1;for(c.sort(),s.sort(),a=c.length-1;a>=0;a--)if(c[a]!==s[a])return!1;for(a=c.length-1;a>=0;a--)if(u=c[a],!p(e[u],t[u],r,n))return!1;return!0}function g(e,t,r){p(e,t,!0)&&l(e,t,r,"notDeepStrictEqual",g)}function y(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function w(e){var t;try{e()}catch(e){t=e}return t}function v(e,t,r,n){var o;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),o=w(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&l(o,r,"Missing expected exception"+n);var i="string"==typeof n,u=!e&&b.isError(o),a=!e&&o&&!r;if((u&&i&&y(o,r)||a)&&l(o,r,"Got unwanted exception"+n),e&&o&&r&&!y(o,r)||!e&&o)throw o}var b=e("util/"),k=Object.prototype.hasOwnProperty,S=Array.prototype.slice,x=function(){return"foo"===function(){}.name}(),A=t.exports=h,E=/\s*function\s+([^\(\s]*)\s*/;A.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=f(this),this.generatedMessage=!0);var t=e.stackStartFunction||l;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=a(t),i=n.indexOf("\n"+o);if(i>=0){var u=n.indexOf("\n",i+1);n=n.substring(u+1)}this.stack=n}}},b.inherits(A.AssertionError,Error),A.fail=l,A.ok=h,A.equal=function(e,t,r){e!=t&&l(e,t,r,"==",A.equal)},A.notEqual=function(e,t,r){e==t&&l(e,t,r,"!=",A.notEqual)},A.deepEqual=function(e,t,r){p(e,t,!1)||l(e,t,r,"deepEqual",A.deepEqual)},A.deepStrictEqual=function(e,t,r){p(e,t,!0)||l(e,t,r,"deepStrictEqual",A.deepStrictEqual)},A.notDeepEqual=function(e,t,r){p(e,t,!1)&&l(e,t,r,"notDeepEqual",A.notDeepEqual)},A.notDeepStrictEqual=g,A.strictEqual=function(e,t,r){e!==t&&l(e,t,r,"===",A.strictEqual)},A.notStrictEqual=function(e,t,r){e===t&&l(e,t,r,"!==",A.notStrictEqual)},A.throws=function(e,t,r){v(!0,e,t,r)},A.doesNotThrow=function(e,t,r){v(!1,e,t,r)},A.ifError=function(e){if(e)throw e};var j=Object.keys||function(e){var t=[];for(var r in e)k.call(e,r)&&t.push(r);return t}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"util/":13}],5:[function(t,r,n){var o=[{cardinal:["other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["other"]},{cardinal:["one","other"],ordinal:["one","other"]},{cardinal:["one","two","other"],ordinal:["other"]}];!function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof n?r.exports=o:t.pluralCategories=o}(this,{af:o[1],ak:o[1],am:o[1],ar:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},ars:{cardinal:["zero","one","two","few","many","other"],ordinal:["other"]},as:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},asa:o[1],ast:o[1],az:{cardinal:["one","other"],ordinal:["one","few","many","other"]},be:{cardinal:["one","few","many","other"],ordinal:["few","other"]},bem:o[1],bez:o[1],bg:o[1],bh:o[1],bm:o[0],bn:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},bo:o[0],br:{cardinal:["one","two","few","many","other"],ordinal:["other"]},brx:o[1],bs:{cardinal:["one","few","other"],ordinal:["other"]},ca:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ce:o[1],cgg:o[1],chr:o[1],ckb:o[1],cs:{cardinal:["one","few","many","other"],ordinal:["other"]},cy:{cardinal:["zero","one","two","few","many","other"],ordinal:["zero","one","two","few","many","other"]},da:o[1],de:o[1],dsb:{cardinal:["one","two","few","other"],ordinal:["other"]},dv:o[1],dz:o[0],ee:o[1],el:o[1],en:{cardinal:["one","other"],ordinal:["one","two","few","other"]},eo:o[1],es:o[1],et:o[1],eu:o[1],fa:o[1],ff:o[1],fi:o[1],fil:o[2],fo:o[1],fr:o[2],fur:o[1],fy:o[1],ga:{cardinal:["one","two","few","many","other"],ordinal:["one","other"]},gd:{cardinal:["one","two","few","other"],ordinal:["other"]},gl:o[1],gsw:o[1],gu:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},guw:o[1],gv:{cardinal:["one","two","few","many","other"],ordinal:["other"]},ha:o[1],haw:o[1],he:{cardinal:["one","two","many","other"],ordinal:["other"]},hi:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},hr:{cardinal:["one","few","other"],ordinal:["other"]},hsb:{cardinal:["one","two","few","other"],ordinal:["other"]},hu:o[2],hy:o[2],id:o[0],ig:o[0],ii:o[0],in:o[0],io:o[1],is:o[1],it:{cardinal:["one","other"],ordinal:["many","other"]},iu:o[3],iw:{cardinal:["one","two","many","other"],ordinal:["other"]},ja:o[0],jbo:o[0],jgo:o[1],ji:o[1],jmc:o[1],jv:o[0],jw:o[0],ka:{cardinal:["one","other"],ordinal:["one","many","other"]},kab:o[1],kaj:o[1],kcg:o[1],kde:o[0],kea:o[0],kk:{cardinal:["one","other"],ordinal:["many","other"]},kkj:o[1],kl:o[1],km:o[0],kn:o[1],ko:o[0],ks:o[1],ksb:o[1],ksh:{cardinal:["zero","one","other"],ordinal:["other"]},ku:o[1],kw:o[3],ky:o[1],lag:{cardinal:["zero","one","other"],ordinal:["other"]},lb:o[1],lg:o[1],lkt:o[0],ln:o[1],lo:{cardinal:["other"],ordinal:["one","other"]},lt:{cardinal:["one","few","many","other"],ordinal:["other"]},lv:{cardinal:["zero","one","other"],ordinal:["other"]},mas:o[1],mg:o[1],mgo:o[1],mk:{cardinal:["one","other"],ordinal:["one","two","many","other"]},ml:o[1],mn:o[1],mo:{cardinal:["one","few","other"],ordinal:["one","other"]},mr:{cardinal:["one","other"],ordinal:["one","two","few","other"]},ms:{cardinal:["other"],ordinal:["one","other"]},mt:{cardinal:["one","few","many","other"],ordinal:["other"]},my:o[0],nah:o[1],naq:o[3],nb:o[1],nd:o[1],ne:o[2],nl:o[1],nn:o[1],nnh:o[1],no:o[1],nqo:o[0],nr:o[1],nso:o[1],ny:o[1],nyn:o[1],om:o[1],or:{cardinal:["one","other"],ordinal:["one","two","few","many","other"]},os:o[1],pa:o[1],pap:o[1],pl:{cardinal:["one","few","many","other"],ordinal:["other"]},prg:{cardinal:["zero","one","other"],ordinal:["other"]},ps:o[1],pt:o[1],"pt-PT":o[1],rm:o[1],ro:{cardinal:["one","few","other"],ordinal:["one","other"]},rof:o[1],root:o[0],ru:{cardinal:["one","few","many","other"],ordinal:["other"]},rwk:o[1],sah:o[0],saq:o[1],sd:o[1],sdh:o[1],se:o[3],seh:o[1],ses:o[0],sg:o[0],sh:{cardinal:["one","few","other"],ordinal:["other"]},shi:{cardinal:["one","few","other"],ordinal:["other"]},si:o[1],sk:{cardinal:["one","few","many","other"],ordinal:["other"]},sl:{cardinal:["one","two","few","other"],ordinal:["other"]},sma:o[3],smi:o[3],smj:o[3],smn:o[3],sms:o[3],sn:o[1],so:o[1],sq:{cardinal:["one","other"],ordinal:["one","many","other"]},sr:{cardinal:["one","few","other"],ordinal:["other"]},ss:o[1],ssy:o[1],st:o[1],sv:o[2],sw:o[1],syr:o[1],ta:o[1],te:o[1],teo:o[1],th:o[0],ti:o[1],tig:o[1],tk:{cardinal:["one","other"],ordinal:["few","other"]},tl:o[2],tn:o[1],to:o[0],tr:o[1],ts:o[1],tzm:o[1],ug:o[1],uk:{cardinal:["one","few","many","other"],ordinal:["few","other"]},ur:o[1],uz:o[1],ve:o[1],vi:{cardinal:["other"],ordinal:["one","other"]},vo:o[1],vun:o[1],wa:o[1],wae:o[1],wo:o[0],xh:o[1],xog:o[1],yi:o[1],yo:o[0],yue:o[0],zh:o[0],zu:o[1]})},{}],6:[function(t,r,n){var o=[function(e,t){return"other"},function(e,t){return t?"other":1==e?"one":"other"},function(e,t){return t?"other":0==e||1==e?"one":"other"},function(e,t){var r=String(e).split("."),n=!r[1];return t?"other":1==e&&n?"one":"other"}];!function(t,o){"function"==typeof e&&e.amd?e(o):"object"==typeof n?r.exports=o:t.plurals=o}(this,{af:o[1],ak:o[2],am:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ar:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},ars:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2);return t?"other":0==e?"zero":1==e?"one":2==e?"two":o>=3&&o<=10?"few":o>=11&&o<=99?"many":"other"},as:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},asa:o[1],ast:o[3],az:function(e,t){var r=String(e).split("."),n=r[0],o=n.slice(-1),i=n.slice(-2),u=n.slice(-3);return t?1==o||2==o||5==o||7==o||8==o||20==i||50==i||70==i||80==i?"one":3==o||4==o||100==u||200==u||300==u||400==u||500==u||600==u||700==u||800==u||900==u?"few":0==n||6==o||40==i||60==i||90==i?"many":"other":1==e?"one":"other"},be:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2);return t?2!=o&&3!=o||12==i||13==i?"other":"few":1==o&&11!=i?"one":o>=2&&o<=4&&(i<12||i>14)?"few":n&&0==o||o>=5&&o<=9||i>=11&&i<=14?"many":"other"},bem:o[1],bez:o[1],bg:o[1],bh:o[2],bm:o[0],bn:function(e,t){return t?1==e||5==e||7==e||8==e||9==e||10==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},bo:o[0],br:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2),u=n&&r[0].slice(-6);return t?"other":1==o&&11!=i&&71!=i&&91!=i?"one":2==o&&12!=i&&72!=i&&92!=i?"two":(3==o||4==o||9==o)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=e&&n&&0==u?"many":"other"},brx:o[1],bs:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},ca:function(e,t){var r=String(e).split("."),n=!r[1];return t?1==e||3==e?"one":2==e?"two":4==e?"few":"other":1==e&&n?"one":"other"},ce:o[1],cgg:o[1],chr:o[1],ckb:o[1],cs:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},cy:function(e,t){return t?0==e||7==e||8==e||9==e?"zero":1==e?"one":2==e?"two":3==e||4==e?"few":5==e||6==e?"many":"other":0==e?"zero":1==e?"one":2==e?"two":3==e?"few":6==e?"many":"other"},da:function(e,t){var r=String(e).split("."),n=r[0],o=Number(r[0])==e;return t?"other":1!=e&&(o||0!=n&&1!=n)?"other":"one"},de:o[3],dsb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-2),a=o.slice(-2);return t?"other":i&&1==u||1==a?"one":i&&2==u||2==a?"two":i&&(3==u||4==u)||3==a||4==a?"few":"other"},dv:o[1],dz:o[0],ee:o[1],el:o[1],en:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),u=o&&r[0].slice(-2);return t?1==i&&11!=u?"one":2==i&&12!=u?"two":3==i&&13!=u?"few":"other":1==e&&n?"one":"other"},eo:o[1],es:o[1],et:o[3],eu:o[1],fa:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ff:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},fi:o[3],fil:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=u&&6!=u&&9!=u||!i&&4!=a&&6!=a&&9!=a?"one":"other"},fo:o[1],fr:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},fur:o[1],fy:o[3],ga:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e?"one":"other":1==e?"one":2==e?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":1==e||11==e?"one":2==e||12==e?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:o[3],gsw:o[1],gu:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},guw:o[2],gv:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),u=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=u&&20!=u&&40!=u&&60!=u&&80!=u?o?"other":"many":"few"},ha:o[1],haw:o[1],he:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,u=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==u?"many":"other"},hi:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":e>=0&&e<=1?"one":"other"},hr:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-2),a=o.slice(-2);return t?"other":i&&1==u||1==a?"one":i&&2==u||2==a?"two":i&&(3==u||4==u)||3==a||4==a?"few":"other"},hu:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},hy:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},id:o[0],ig:o[0],ii:o[0],in:o[0],io:o[3],is:function(e,t){var r=String(e).split("."),n=r[0],o=Number(r[0])==e,i=n.slice(-1),u=n.slice(-2);return t?"other":o&&1==i&&11!=u||!o?"one":"other"},it:function(e,t){var r=String(e).split("."),n=!r[1];return t?11==e||8==e||80==e||800==e?"many":"other":1==e&&n?"one":"other"},iu:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},iw:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,u=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==u?"many":"other"},ja:o[0],jbo:o[0],jgo:o[1],ji:o[3],jmc:o[1],jv:o[0],jw:o[0],ka:function(e,t){var r=String(e).split("."),n=r[0],o=n.slice(-2);return t?1==n?"one":0==n||o>=2&&o<=20||40==o||60==o||80==o?"many":"other":1==e?"one":"other"},kab:function(e,t){return t?"other":e>=0&&e<2?"one":"other"},kaj:o[1],kcg:o[1],kde:o[0],kea:o[0],kk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1);return t?6==o||9==o||n&&0==o&&0!=e?"many":"other":1==e?"one":"other"},kkj:o[1],kl:o[1],km:o[0],kn:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"},ko:o[0],ks:o[1],ksb:o[1],ksh:function(e,t){return t?"other":0==e?"zero":1==e?"one":"other"},ku:o[1],kw:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},ky:o[1],lag:function(e,t){var r=String(e).split("."),n=r[0];return t?"other":0==e?"zero":0!=n&&1!=n||0==e?"other":"one"},lb:o[1],lg:o[1],lkt:o[0],ln:o[2],lo:function(e,t){return t&&1==e?"one":"other"},lt:function(e,t){var r=String(e).split("."),n=r[1]||"",o=Number(r[0])==e,i=o&&r[0].slice(-1),u=o&&r[0].slice(-2);return t?"other":1==i&&(u<11||u>19)?"one":i>=2&&i<=9&&(u<11||u>19)?"few":0!=n?"many":"other"},lv:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,u=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-2),s=n.slice(-1);return t?"other":i&&0==u||a>=11&&a<=19||2==o&&c>=11&&c<=19?"zero":1==u&&11!=a||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},mas:o[1],mg:o[2],mgo:o[1],mk:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1);return t?1==u&&11!=a?"one":2==u&&12!=a?"two":7!=u&&8!=u||17==a||18==a?"other":"many":i&&1==u||1==c?"one":"other"},ml:o[1],mn:o[1],mo:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},mr:function(e,t){return t?1==e?"one":2==e||3==e?"two":4==e?"few":"other":e>=0&&e<=1?"one":"other"},ms:function(e,t){return t&&1==e?"one":"other"},mt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-2);return t?"other":1==e?"one":0==e||o>=2&&o<=10?"few":o>=11&&o<=19?"many":"other"},my:o[0],nah:o[1],naq:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},nb:o[1],nd:o[1],ne:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":1==e?"one":"other"},nl:o[3],nn:o[1],nnh:o[1],no:o[1],nqo:o[0],nr:o[1],nso:o[2],ny:o[1],nyn:o[1],om:o[1],or:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?1==e||5==e||n&&e>=7&&e<=9?"one":2==e||3==e?"two":4==e?"few":6==e?"many":"other":1==e?"one":"other"},os:o[1],pa:o[2],pap:o[1],pl:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),u=n.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(u<12||u>14)?"few":o&&1!=n&&(0==i||1==i)||o&&i>=5&&i<=9||o&&u>=12&&u<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,u=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-2),s=n.slice(-1);return t?"other":i&&0==u||a>=11&&a<=19||2==o&&c>=11&&c<=19?"zero":1==u&&11!=a||2==o&&1==s&&11!=c||2!=o&&1==s?"one":"other"},ps:o[1],pt:function(e,t){var r=String(e).split("."),n=r[0];return t?"other":0==n||1==n?"one":"other"},"pt-PT":o[3],rm:o[1],ro:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-2);return t?1==e?"one":"other":1==e&&n?"one":!n||0==e||1!=e&&i>=1&&i<=19?"few":"other"},rof:o[1],root:o[0],ru:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-1),u=n.slice(-2);return t?"other":o&&1==i&&11!=u?"one":o&&i>=2&&i<=4&&(u<12||u>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&u>=11&&u<=14?"many":"other"},rwk:o[1],sah:o[0],saq:o[1],sd:o[1],sdh:o[1],se:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},seh:o[1],ses:o[0],sg:o[0],sh:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},shi:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"";return t?"other":0==e||1==e||0==n&&1==o?"one":"other"},sk:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1];return t?"other":1==e&&o?"one":n>=2&&n<=4&&o?"few":o?"other":"many"},sl:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":o&&(3==i||4==i)||!o?"few":"other"},sma:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smi:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smj:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},smn:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sms:function(e,t){return t?"other":1==e?"one":2==e?"two":"other"},sn:o[1],so:o[1],sq:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1),i=n&&r[0].slice(-2);return t?1==e?"one":4==o&&14!=i?"many":"other":1==e?"one":"other"},sr:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=n.slice(-2),c=o.slice(-1),s=o.slice(-2);return t?"other":i&&1==u&&11!=a||1==c&&11!=s?"one":i&&u>=2&&u<=4&&(a<12||a>14)||c>=2&&c<=4&&(s<12||s>14)?"few":"other"},ss:o[1],ssy:o[1],st:o[1],sv:function(e,t){var r=String(e).split("."),n=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),u=o&&r[0].slice(-2);return t?1!=i&&2!=i||11==u||12==u?"other":"one":1==e&&n?"one":"other"},sw:o[3],syr:o[1],ta:o[1],te:o[1],teo:o[1],th:o[0],ti:o[2],tig:o[1],tk:function(e,t){var r=String(e).split("."),n=Number(r[0])==e,o=n&&r[0].slice(-1);return t?6==o||9==o||10==e?"few":"other":1==e?"one":"other"},tl:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],u=n.slice(-1),a=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=u&&6!=u&&9!=u||!i&&4!=a&&6!=a&&9!=a?"one":"other"},tn:o[1],to:o[0],tr:o[1],ts:o[1],tzm:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":0==e||1==e||n&&e>=11&&e<=99?"one":"other"},ug:o[1],uk:function(e,t){var r=String(e).split("."),n=r[0],o=!r[1],i=Number(r[0])==e,u=i&&r[0].slice(-1),a=i&&r[0].slice(-2),c=n.slice(-1),s=n.slice(-2);return t?3==u&&13!=a?"few":"other":o&&1==c&&11!=s?"one":o&&c>=2&&c<=4&&(s<12||s>14)?"few":o&&0==c||o&&c>=5&&c<=9||o&&s>=11&&s<=14?"many":"other"},ur:o[3],uz:o[1],ve:o[1],vi:function(e,t){return t&&1==e?"one":"other"},vo:o[1],vun:o[1],wa:o[2],wae:o[1],wo:o[0],xh:o[1],xog:o[1],yi:o[3],yo:o[0],yue:o[0],zh:o[0],zu:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"}})},{}],7:[function(e,t,r){"use strict";function n(e,t,r,o){this.message=e,this.expected=t,this.found=r,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,n)}function o(e,t){function r(e,t){return{type:"literal",text:e,ignoreCase:t}}function o(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function i(e){return{type:"other",description:e}}function u(t){var r,n=bt[t];if(n)return n;for(r=t-1;!bt[r];)r--;for(n=bt[r],n={line:n.line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return bt[t]=n,n}function a(e,t){var r=u(e),n=u(t);return{start:{offset:e,line:r.line,column:r.column},end:{offset:t,line:n.line,column:n.column}}}function c(e){wt<kt||(wt>kt&&(kt=wt,St=[]),St.push(e))}function s(e,t,r){return new n(n.buildMessage(e,t),e,t,r)}function f(){var e,t;for(e=[],t=l();t!==M;)e.push(t),t=l();return e}function l(){var t,r,n;if((t=h())===M&&(t=p())===M&&(t=d())===M&&(t=m())===M&&(t=wt,35===e.charCodeAt(wt)?(r=L,wt++):(r=M,0===xt&&c(I)),r!==M?(vt=wt,n=G(),n=n?void 0:M,n!==M?(vt=t,r=H(),t=r):(wt=t,t=M)):(wt=t,t=M),t===M)){if(t=wt,r=[],(n=D())!==M)for(;n!==M;)r.push(n),n=D();else r=M;r!==M&&(vt=t,r=Z(r)),t=r} | ||
return t}function h(){var t,r,n,o,i,u;return t=wt,123===e.charCodeAt(wt)?(r=K,wt++):(r=M,0===xt&&c(V)),r!==M?(n=_(),n!==M?(o=g(),o!==M?(i=_(),i!==M?(125===e.charCodeAt(wt)?(u=W,wt++):(u=M,0===xt&&c(Y)),u!==M?(vt=t,r=Q(o),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M),t}function p(){var t,r,n,o,i,u,a,s,f,l;if(t=wt,123===e.charCodeAt(wt)?(r=K,wt++):(r=M,0===xt&&c(V)),r!==M)if(_()!==M)if((n=g())!==M)if(_()!==M)if(44===e.charCodeAt(wt)?(o=X,wt++):(o=M,0===xt&&c(ee)),o!==M)if(_()!==M)if(i=wt,e.substr(wt,6)===te?(u=te,wt+=6):(u=M,0===xt&&c(re)),u!==M&&(vt=i,u=ne(n,u)),(i=u)!==M)if((u=_())!==M)if(44===e.charCodeAt(wt)?(a=X,wt++):(a=M,0===xt&&c(ee)),a!==M)if(_()!==M){if(s=[],(f=v())!==M)for(;f!==M;)s.push(f),f=v();else s=M;s!==M?(f=_(),f!==M?(125===e.charCodeAt(wt)?(l=W,wt++):(l=M,0===xt&&c(Y)),l!==M?(vt=t,r=oe(n,s),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)}else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;return t}function d(){var t,r,n,o,i,u,a,s,f,l,h;if(t=wt,123===e.charCodeAt(wt)?(r=K,wt++):(r=M,0===xt&&c(V)),r!==M)if(_()!==M)if((n=g())!==M)if(_()!==M)if(44===e.charCodeAt(wt)?(o=X,wt++):(o=M,0===xt&&c(ee)),o!==M)if(_()!==M)if(i=wt,e.substr(wt,6)===ie?(u=ie,wt+=6):(u=M,0===xt&&c(ue)),u===M&&(e.substr(wt,13)===ae?(u=ae,wt+=13):(u=M,0===xt&&c(ce))),u!==M&&(vt=i,u=se(n,u)),(i=u)!==M)if((u=_())!==M)if(44===e.charCodeAt(wt)?(a=X,wt++):(a=M,0===xt&&c(ee)),a!==M)if(_()!==M)if(s=S(),s===M&&(s=null),s!==M){if(f=[],(l=b())!==M)for(;l!==M;)f.push(l),l=b();else f=M;f!==M?(l=_(),l!==M?(125===e.charCodeAt(wt)?(h=W,wt++):(h=M,0===xt&&c(Y)),h!==M?(vt=t,r=fe(n,i,s,f),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)}else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;else wt=t,t=M;return t}function m(){var t,r,n,o,i,u,a,s,f,l,h;return t=wt,123===e.charCodeAt(wt)?(r=K,wt++):(r=M,0===xt&&c(V)),r!==M?(n=_(),n!==M?(o=g(),o!==M?(i=_(),i!==M?(44===e.charCodeAt(wt)?(u=X,wt++):(u=M,0===xt&&c(ee)),u!==M?(a=_(),a!==M?(s=wt,f=g(),f!==M&&(vt=s,f=ne(o,f)),s=f,s!==M?(f=_(),f!==M?(l=A(),l!==M?(125===e.charCodeAt(wt)?(h=W,wt++):(h=M,0===xt&&c(Y)),h!==M?(vt=t,r=le(o,s,l),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M),t}function g(){var t,r,n;if(t=wt,r=[],he.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(pe)),n!==M)for(;n!==M;)r.push(n),he.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(pe));else r=M;return t=r!==M?e.substring(t,wt):r}function y(){var e,t,r;if(e=wt,t=[],(r=q())!==M)for(;r!==M;)t.push(r),r=q();else t=M;return t!==M&&(vt=e,t=Z(t)),e=t}function w(){var e,t,r;if(e=wt,t=[],(r=P())!==M)for(;r!==M;)t.push(r),r=P();else t=M;return t!==M&&(vt=e,t=Z(t)),e=t}function v(){var e,t,r,n,o;return e=wt,t=_(),t!==M?(r=g(),r!==M?(n=_(),n!==M?(o=k(),o!==M?(vt=e,t=de(r,o),e=t):(wt=e,e=M)):(wt=e,e=M)):(wt=e,e=M)):(wt=e,e=M),e}function b(){var e,t,r,n,o;return e=wt,t=_(),t!==M?(r=x(),r!==M?(n=_(),n!==M?(o=k(),o!==M?(vt=e,t=de(r,o),e=t):(wt=e,e=M)):(wt=e,e=M)):(wt=e,e=M)):(wt=e,e=M),e}function k(){var t,r,n,o,i,u;if(t=wt,123===e.charCodeAt(wt)?(r=K,wt++):(r=M,0===xt&&c(V)),r!==M)if(n=wt,o=_(),o!==M?(i=wt,xt++,123===e.charCodeAt(wt)?(u=K,wt++):(u=M,0===xt&&c(V)),xt--,u!==M?(wt=i,i=void 0):i=M,i!==M?(o=[o,i],n=o):(wt=n,n=M)):(wt=n,n=M),n===M&&(n=null),n!==M){for(o=[],i=l();i!==M;)o.push(i),i=l();o!==M?(i=_(),i!==M?(125===e.charCodeAt(wt)?(u=W,wt++):(u=M,0===xt&&c(Y)),u!==M?(vt=t,r=me(o),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)}else wt=t,t=M;else wt=t,t=M;return t}function S(){var t,r,n,o,i,u,a,s;return t=wt,r=_(),r!==M?(e.substr(wt,6)===ge?(n=ge,wt+=6):(n=M,0===xt&&c(ye)),n!==M?(o=_(),o!==M?(58===e.charCodeAt(wt)?(i=we,wt++):(i=M,0===xt&&c(ve)),i!==M?(u=_(),u!==M?(a=B(),a!==M?(s=_(),s!==M?(vt=t,r=be(a),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M),t}function x(){var t,r,n;return t=g(),t===M&&(t=wt,61===e.charCodeAt(wt)?(r=ke,wt++):(r=M,0===xt&&c(Se)),r!==M?(n=B(),n!==M?(vt=t,r=be(n),t=r):(wt=t,t=M)):(wt=t,t=M)),t}function A(){var e,t,r;for(e=wt,t=[],r=j();r!==M;)t.push(r),r=j();if(t!==M?(vt=wt,r=xe(t),r=r?M:void 0,r!==M?(vt=e,t=Ae(t),e=t):(wt=e,e=M)):(wt=e,e=M),e===M){for(e=wt,t=[],r=E();r!==M;)t.push(r),r=E();t!==M?(vt=wt,r=xe(t),r=r?void 0:M,r!==M?(vt=e,t=Ae(t),e=t):(wt=e,e=M)):(wt=e,e=M)}return e}function E(){var t,r,n,o;return t=wt,r=_(),r!==M?(44===e.charCodeAt(wt)?(n=X,wt++):(n=M,0===xt&&c(ee)),n!==M?(o=w(),o!==M?(vt=t,r=Ae(o),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M),t}function j(){var t,r,n,o,i,u;return t=wt,r=_(),r!==M?(44===e.charCodeAt(wt)?(n=X,wt++):(n=M,0===xt&&c(ee)),n!==M?(o=_(),o!==M?(i=y(),i!==M?(u=_(),u!==M?(vt=t,r=Ee(i),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M),t}function O(){var t,r;return t=wt,e.substr(wt,2)===je?(r=je,wt+=2):(r=M,0===xt&&c(Oe)),r!==M&&(vt=t,r=Ne()),t=r}function N(){var t,r,n;if((t=O())===M){if(t=wt,r=[],Fe.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(ze)),n!==M)for(;n!==M;)r.push(n),Fe.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(ze));else r=M;r!==M&&(vt=t,r=Z(r)),t=r}return t}function F(){var t,r,n,o;if(t=wt,e.substr(wt,2)===Ce?(r=Ce,wt+=2):(r=M,0===xt&&c(De)),r!==M){for(n=[],o=N();o!==M;)n.push(o),o=N();n!==M?(39===e.charCodeAt(wt)?(o=Te,wt++):(o=M,0===xt&&c(qe)),o!==M?(vt=t,r=Pe(n),t=r):(wt=t,t=M)):(wt=t,t=M)}else wt=t,t=M;if(t===M)if(t=wt,e.substr(wt,2)===Be?(r=Be,wt+=2):(r=M,0===xt&&c(Je)),r!==M){for(n=[],o=N();o!==M;)n.push(o),o=N();n!==M?(39===e.charCodeAt(wt)?(o=Te,wt++):(o=M,0===xt&&c(qe)),o!==M?(vt=t,r=_e(n),t=r):(wt=t,t=M)):(wt=t,t=M)}else wt=t,t=M;return t}function z(){var t,r,n,o,i,u;if((t=F())===M){if(t=wt,r=wt,n=wt,e.substr(wt,2)===Re?(o=Re,wt+=2):(o=M,0===xt&&c(Me)),o!==M){for(i=[],u=N();u!==M;)i.push(u),u=N();i!==M?(39===e.charCodeAt(wt)?(u=Te,wt++):(u=M,0===xt&&c(qe)),u!==M?(vt=n,o=$e(i),n=o):(wt=n,n=M)):(wt=n,n=M)}else wt=n,n=M;n!==M?(vt=wt,o=G(),o=o?void 0:M,o!==M?(n=[n,o],r=n):(wt=r,r=M)):(wt=r,r=M),r!==M&&(vt=t,r=Ue(r)),t=r,t===M&&(39===e.charCodeAt(wt)?(t=Te,wt++):(t=M,0===xt&&c(qe)))}return t}function C(){var t;return t=F(),t===M&&(39===e.charCodeAt(wt)?(t=Te,wt++):(t=M,0===xt&&c(qe))),t}function D(){var t,r,n,o,i,u;return t=O(),t===M&&(t=z())===M&&(t=wt,35===e.charCodeAt(wt)?(r=L,wt++):(r=M,0===xt&&c(I)),r!==M?(vt=wt,n=Le(r),n=n?void 0:M,n!==M?(vt=t,r=Ie(r),t=r):(wt=t,t=M)):(wt=t,t=M),t===M&&(Ge.test(e.charAt(wt))?(t=e.charAt(wt),wt++):(t=M,0===xt&&c(He)),t===M&&(t=wt,e.substr(wt,2)===Ze?(r=Ze,wt+=2):(r=M,0===xt&&c(Ke)),r!==M&&(vt=t,r=Ve()),(t=r)===M&&(t=wt,e.substr(wt,2)===We?(r=We,wt+=2):(r=M,0===xt&&c(Ye)),r!==M&&(vt=t,r=Qe()),(t=r)===M&&(t=wt,e.substr(wt,2)===Xe?(r=Xe,wt+=2):(r=M,0===xt&&c(et)),r!==M&&(vt=t,r=tt()),(t=r)===M&&(t=wt,e.substr(wt,2)===rt?(r=rt,wt+=2):(r=M,0===xt&&c(nt)),r!==M&&(vt=t,r=ot()),(t=r)===M&&(t=wt,e.substr(wt,2)===it?(r=it,wt+=2):(r=M,0===xt&&c(ut)),r!==M?(n=J(),n!==M?(o=J(),o!==M?(i=J(),i!==M?(u=J(),u!==M?(vt=t,r=at(n,o,i,u),t=r):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)):(wt=t,t=M)))))))),t}function T(){var e;return e=O(),e===M&&(e=C()),e}function q(){var t,r,n;if((t=T())===M){if(t=wt,r=[],ct.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(st)),n!==M)for(;n!==M;)r.push(n),ct.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(st));else r=M;r!==M&&(vt=t,r=Z(r)),t=r}return t}function P(){var t,r,n;if((t=T())===M){if(t=wt,r=[],ft.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(lt)),n!==M)for(;n!==M;)r.push(n),ft.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(lt));else r=M;r!==M&&(vt=t,r=Z(r)),t=r}return t}function B(){var t,r,n;if(t=wt,r=[],ht.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(pt)),n!==M)for(;n!==M;)r.push(n),ht.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(pt));else r=M;return t=r!==M?e.substring(t,wt):r}function J(){var t;return dt.test(e.charAt(wt))?(t=e.charAt(wt),wt++):(t=M,0===xt&&c(mt)),t}function _(){var t,r,n;for(t=wt,r=[],gt.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(yt));n!==M;)r.push(n),gt.test(e.charAt(wt))?(n=e.charAt(wt),wt++):(n=M,0===xt&&c(yt));return t=r!==M?e.substring(t,wt):r}t=void 0!==t?t:{};var R,M={},$={start:f},U=f,L="#",I=r("#",!1),G=function(){return At},H=function(){return{type:"octothorpe"}},Z=function(e){return e.join("")},K="{",V=r("{",!1),W="}",Y=r("}",!1),Q=function(e){return{type:"argument",arg:e}},X=",",ee=r(",",!1),te="select",re=r("select",!1),ne=function(e,r){return t.strictNumberSign&&(At=!1),r},oe=function(e,t){return{type:"select",arg:e,cases:t}},ie="plural",ue=r("plural",!1),ae="selectordinal",ce=r("selectordinal",!1),se=function(e,t){return At=!0,t},fe=function(e,r,n,o){var i=("selectordinal"===r?t.ordinal:t.cardinal)||["zero","one","two","few","many","other"];return i&&i.length&&o.forEach(function(t){if(isNaN(t.key)&&i.indexOf(t.key)<0)throw new Error("Invalid key `"+t.key+"` for argument `"+e+"`. Valid "+r+" keys for this locale are `"+i.join("`, `")+"`, and explicit keys like `=0`.")}),At=!1,{type:r,arg:e,offset:n||0,cases:o}},le=function(e,t,r){return{type:"function",arg:e,key:t,params:r}},he=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-\/:-@[-\^`{-~\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]/,pe=o([["\t","\r"]," "," ","","","\u2028","\u2029",["!","/"],[":","@"],["[","^"],"`",["{","~"],["¡","§"],"©","«","¬","®","°","±","¶","»","¿","×","÷",["‐","‧"],["‰","‾"],["⁁","⁓"],["⁕","⁞"],["←",""],["─","❵"],["➔","⯿"],["⸀",""],["、","〃"],["〈","〠"],"〰","﴾","﴿","﹅","﹆"],!0,!1),de=function(e,t){return{key:e,tokens:t}},me=function(e){return e},ge="offset",ye=r("offset",!1),we=":",ve=r(":",!1),be=function(e){return e},ke="=",Se=r("=",!1),xe=function(e){return t.strictFunctionParams},Ae=function(e){return e},Ee=function(e){return e.replace(Et,"")},je="''",Oe=r("''",!1),Ne=function(){return"'"},Fe=/^[^']/,ze=o(["'"],!0,!1),Ce="'{",De=r("'{",!1),Te="'",qe=r("'",!1),Pe=function(e){return"{"+e.join("")},Be="'}",Je=r("'}",!1),_e=function(e){return"}"+e.join("")},Re="'#",Me=r("'#",!1),$e=function(e){return"#"+e.join("")},Ue=function(e){return e[0]},Le=function(e){return!At},Ie=function(e){return e},Ge=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,He=o(["{","}","#","\\",["\0","\b"],["",""],""],!0,!1),Ze="\\\\",Ke=r("\\\\",!1),Ve=function(){return"\\"},We="\\#",Ye=r("\\#",!1),Qe=function(){return"#"},Xe="\\{",et=r("\\{",!1),tt=function(){return"{"},rt="\\}",nt=r("\\}",!1),ot=function(){return"}"},it="\\u",ut=r("\\u",!1),at=function(e,t,r,n){return String.fromCharCode(parseInt("0x"+e+t+r+n))},ct=/^[^',}]/,st=o(["'",",","}"],!0,!1),ft=/^[^'}]/,lt=o(["'","}"],!0,!1),ht=/^[0-9]/,pt=o([["0","9"]],!1,!1),dt=/^[0-9a-fA-F]/,mt=o([["0","9"],["a","f"],["A","F"]],!1,!1),gt=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,yt=o([["\t","\r"]," "," ","","","\u2028","\u2029"],!1,!1),wt=0,vt=0,bt=[{line:1,column:1}],kt=0,St=[],xt=0;if("startRule"in t){if(!(t.startRule in $))throw new Error("Can't start parsing from rule \""+t.startRule+'".');U=$[t.startRule]}var At=!1,Et=new RegExp("^[\t-\r \u2028\u2029]*|[\t-\r \u2028\u2029]*$","g");if((R=U())!==M&&wt===e.length)return R;throw R!==M&&wt<e.length&&c(function(){return{type:"end"}}()),s(St,kt<e.length?e.charAt(kt):null,kt<e.length?a(kt,kt+1):a(kt,kt))}!function(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}(n,Error),n.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 i(e){return u[e.type](e)}var u={literal:function(e){return'"'+n(e.text)+'"'},class:function(e){var t,r="";for(t=0;t<e.parts.length;t++)r+=e.parts[t]instanceof Array?o(e.parts[t][0])+"-"+o(e.parts[t][1]):o(e.parts[t]);return"["+(e.inverted?"^":"")+r+"]"},any:function(e){return"any character"},end:function(e){return"end of input"},other:function(e){return e.description}};return"Expected "+function(e){var t,r,n=new Array(e.length);for(t=0;t<e.length;t++)n[t]=i(e[t]);if(n.sort(),n.length>0){for(t=1,r=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 "+function(e){return e?'"'+n(e)+'"':"end of input"}(t)+" found."},t.exports={SyntaxError:n,parse:o}},{}],8:[function(e,t,r){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function u(e){if(h===clearTimeout)return clearTimeout(e);if((h===o||!h)&&clearTimeout)return h=clearTimeout,clearTimeout(e);try{return h(e)}catch(t){try{return h.call(null,e)}catch(t){return h.call(this,e)}}}function a(){g&&d&&(g=!1,d.length?m=d.concat(m):y=-1,m.length&&c())}function c(){if(!g){var e=i(a);g=!0;for(var t=m.length;t;){for(d=m,m=[];++y<t;)d&&d[y].run();y=-1,t=m.length}d=null,g=!1,u(e)}}function s(e,t){this.fun=e,this.array=t}function f(){}var l,h,p=t.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{h="function"==typeof clearTimeout?clearTimeout:o}catch(e){h=o}}();var d,m=[],g=!1,y=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];m.push(new s(e,t)),1!==m.length||g||i(c)},s.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=f,p.addListener=f,p.once=f,p.off=f,p.removeListener=f,p.removeAllListeners=f,p.emit=f,p.prependListener=f,p.prependOnceListener=f,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],9:[function(e,t,r){t.exports=e("./reserved-words")},{"./reserved-words":10}],10:[function(e,t,r){function n(){return Array.prototype.map.call(arguments,function(e){return"string"==typeof e?e:Object.keys(e).join(" ")}).join(" ").split(/\s+/).reduce(function(e,t){return e[t]=!0,e},{})}var o=e("assert"),i={es3:3,es5:5,es2015:6,es7:7,es6:6,default:5,next:6},u=r.KEYWORDS={};r.check=function(e,t,r){t=t||i.default;var n=i[t]||t;return r&&n>=5&&(n+="-strict"),o(u[n],"Unknown dialect"),u[n].hasOwnProperty(e)},u[3]=n("break else new var","case finally return void","catch for switch while","continue function this with","default if throw","delete in try","do instanceof typeof","abstract enum int short","boolean export interface static","byte extends long super","char final native synchronized","class float package throws","const goto private transient","debugger implements protected volatile","double import public","null true false"),u[5]=n("break do instanceof typeof","case else new var","catch finally return void","continue for switch while","debugger function this with","default if throw","delete in try","class enum extends super","const export import","null true false"),u["5-strict"]=n(u[5],"implements let private public yield","interface package protected static"),u[6]=n("break do in typeof","case else instanceof var","catch export new void","class extends return while","const finally super with","continue for switch yield","debugger function this","default if throw","delete import try","enum await","null true false"),u["6-strict"]=n(u[6],"let static","implements package protected","interface private public")},{assert:4}],11:[function(e,t,r){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},{}],12:[function(e,t,r){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],13:[function(e,t,r){(function(t,n){function o(e,t){var n={seen:[],stylize:u};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),m(t)?n.showHidden=t:t&&r._extend(n,t),k(n.showHidden)&&(n.showHidden=!1),k(n.depth)&&(n.depth=2),k(n.colors)&&(n.colors=!1),k(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),c(n,e,n.depth)}function i(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function u(e,t){return e}function a(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function c(e,t,n){if(e.customInspect&&t&&j(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return v(o)||(o=c(e,o,n)),o}var i=s(e,t);if(i)return i;var u=Object.keys(t),m=a(u);if(e.showHidden&&(u=Object.getOwnPropertyNames(t)),E(t)&&(u.indexOf("message")>=0||u.indexOf("description")>=0))return f(t);if(0===u.length){if(j(t)){var g=t.name?": "+t.name:"";return e.stylize("[Function"+g+"]","special")}if(S(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(A(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return f(t)}var y="",w=!1,b=["{","}"];if(d(t)&&(w=!0,b=["[","]"]),j(t)){y=" [Function"+(t.name?": "+t.name:"")+"]"}if(S(t)&&(y=" "+RegExp.prototype.toString.call(t)),A(t)&&(y=" "+Date.prototype.toUTCString.call(t)),E(t)&&(y=" "+f(t)),0===u.length&&(!w||0==t.length))return b[0]+y+b[1];if(n<0)return S(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var k;return k=w?l(e,t,n,m,u):u.map(function(r){return h(e,t,n,m,r,w)}),e.seen.pop(),p(k,y,b)}function s(e,t){if(k(t))return e.stylize("undefined","undefined");if(v(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return w(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):g(t)?e.stylize("null","null"):void 0}function f(e){return"["+Error.prototype.toString.call(e)+"]"}function l(e,t,r,n,o){for(var i=[],u=0,a=t.length;u<a;++u)C(t,String(u))?i.push(h(e,t,r,n,String(u),!0)):i.push("");return o.forEach(function(o){o.match(/^\d+$/)||i.push(h(e,t,r,n,o,!0))}),i}function h(e,t,r,n,o,i){var u,a,s;if(s=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},s.get?a=s.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):s.set&&(a=e.stylize("[Setter]","special")),C(n,o)||(u="["+o+"]"),a||(e.seen.indexOf(s.value)<0?(a=g(r)?c(e,s.value,null):c(e,s.value,r-1),a.indexOf("\n")>-1&&(a=i?a.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n"))):a=e.stylize("[Circular]","special")),k(u)){if(i&&o.match(/^\d+$/))return a;u=JSON.stringify(""+o),u.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+a}function p(e,t,r){var n=0;return e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function d(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return null==e}function w(e){return"number"==typeof e}function v(e){return"string"==typeof e}function b(e){return"symbol"==typeof e}function k(e){return void 0===e}function S(e){return x(e)&&"[object RegExp]"===N(e)}function x(e){return"object"==typeof e&&null!==e}function A(e){return x(e)&&"[object Date]"===N(e)}function E(e){return x(e)&&("[object Error]"===N(e)||e instanceof Error)}function j(e){return"function"==typeof e}function O(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function N(e){return Object.prototype.toString.call(e)}function F(e){return e<10?"0"+e.toString(10):e.toString(10)}function z(){var e=new Date,t=[F(e.getHours()),F(e.getMinutes()),F(e.getSeconds())].join(":");return[e.getDate(),P[e.getMonth()],t].join(" ")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var D=/%[sdj%]/g;r.format=function(e){if(!v(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(" ")}for(var r=1,n=arguments,i=n.length,u=String(e).replace(D,function(e){if("%%"===e)return"%";if(r>=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),a=n[r];r<i;a=n[++r])g(a)||!x(a)?u+=" "+a:u+=" "+o(a);return u},r.deprecate=function(e,o){function i(){if(!u){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),u=!0}return e.apply(this,arguments)}if(k(n.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(!0===t.noDeprecation)return e;var u=!1;return i};var T,q={};r.debuglog=function(e){if(k(T)&&(T=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!q[e])if(new RegExp("\\b"+e+"\\b","i").test(T)){var n=t.pid;q[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else q[e]=function(){};return q[e]},r.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=m,r.isNull=g,r.isNullOrUndefined=y,r.isNumber=w,r.isString=v,r.isSymbol=b,r.isUndefined=k,r.isRegExp=S,r.isObject=x,r.isDate=A,r.isError=E,r.isFunction=j,r.isPrimitive=O,r.isBuffer=e("./support/isBuffer");var P=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];r.log=function(){console.log("%s - %s",z(),r.format.apply(r,arguments))},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!x(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":12,_process:8,inherits:11}]},{},[2])(2)}); | ||
//# sourceMappingURL=messageformat.min.js.map |
{ | ||
"name": "messageformat", | ||
"version": "1.1.1", | ||
"version": "2.0.0-beta.1", | ||
"description": "PluralFormat and SelectFormat Message and i18n Tool - A JavaScript Implemenation of the ICU standards.", | ||
@@ -25,8 +25,4 @@ "keywords": [ | ||
}, | ||
"main": "lib/", | ||
"bin": { | ||
"messageformat": "./bin/messageformat.js" | ||
}, | ||
"main": "lib/index.js", | ||
"files": [ | ||
"bin", | ||
"doc", | ||
@@ -40,6 +36,4 @@ "example", | ||
"dependencies": { | ||
"glob": "~7.0.6", | ||
"make-plural": "^4.1.1", | ||
"messageformat-parser": "^1.1.0", | ||
"nopt": "~3.0.6", | ||
"messageformat-parser": "^2.0.0", | ||
"reserved-words": "^0.1.2" | ||
@@ -46,0 +40,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
3
6403
6
463167
31
2
+ Addedmessageformat-parser@2.0.0(transitive)
- Removedglob@~7.0.6
- Removednopt@~3.0.6
- Removedabbrev@1.1.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.0.6(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedmessageformat-parser@1.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removednopt@3.0.6(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedmessageformat-parser@^2.0.0