messageformat
Advanced tools
Comparing version 1.0.0-rc.3 to 1.0.0
@@ -17,3 +17,4 @@ #!/usr/bin/env node | ||
locale: [String, Array], | ||
namespace: String | ||
namespace: String, | ||
'disable-plural-key-checks': Boolean | ||
}, | ||
@@ -23,8 +24,5 @@ shortHands = { | ||
l: ['--locale'], | ||
n: ['--namespace'] | ||
n: ['--namespace'], | ||
p: ['--disable-plural-key-checks'] | ||
}, | ||
description = { | ||
locale: "locale(s) to use [mandatory]", | ||
namespace: "global object in the output containing the templates", | ||
}, | ||
options = nopt(knownOpts, shortHands, process.argv, 2), | ||
@@ -41,3 +39,5 @@ inputFiles = options.argv.remain.map(function(fn) { return path.resolve(fn); }); | ||
var ns = options.namespace || 'module.exports'; | ||
var output = new MessageFormat(locale).compile(input).toString(ns); | ||
var mf = new MessageFormat(locale); | ||
if (options['disable-plural-key-checks']) mf.disablePluralKeyChecks(); | ||
var output = mf.compile(input).toString(ns); | ||
console.log(output); | ||
@@ -49,3 +49,3 @@ } | ||
var usage = [ | ||
'usage: *messageformat* [*-l* _lc_] [*-n* _ns_] _input_', | ||
'usage: *messageformat* [*-l* _lc_] [*-n* _ns_] [*-p*] _input_', | ||
'', | ||
@@ -64,3 +64,9 @@ 'Parses the _input_ JSON file(s) of MessageFormat strings into a JS module of', | ||
' the values \'*export default*\' (ES6), \'*exports*\' (CommonJS), and', | ||
' \'*module.exports*\' (node.js) are special. [default: *module.exports*]' | ||
' \'*module.exports*\' (node.js) are special. [default: *module.exports*]', | ||
'', | ||
' *-p*, *--disable-plural-key-checks*', | ||
' By default, messageformat.js throws an error when a statement uses a', | ||
' non-numerical key that will never be matched as a pluralization', | ||
' category for the current locale. Use this argument to disable the', | ||
' validation and allow unused plural keys. [default: *false*]' | ||
].join('\n'); | ||
@@ -67,0 +73,0 @@ if (process.stdout.isTTY) { |
@@ -14,5 +14,7 @@ var en = function (n, ord) { | ||
}; | ||
var number = function (value, offset) { | ||
if (isNaN(value)) throw new Error("'" + value + "' isn't a number."); | ||
return value - (offset || 0); | ||
var number = function (value, name, offset) { | ||
if (!offset) return value; | ||
if (isNaN(value)) throw new Error('Can\'t apply offset:' + offset + ' to argument `' + name + | ||
'` with non-numerical value ' + JSON.stringify(value) + '.'); | ||
return value - offset; | ||
}; | ||
@@ -41,3 +43,3 @@ var plural = function (value, offset, lcfunc, data, isOrdinal) { | ||
plural: { | ||
test: function(d) { return "Your " + plural(d.NUM, 0, en, { one: "message goes", other: number(d.NUM) + " messages go" }) + " here."; } | ||
test: function(d) { return "Your " + plural(d.NUM, 0, en, { one: "message goes", other: number(d.NUM, "NUM") + " messages go" }) + " here."; } | ||
} | ||
@@ -56,3 +58,3 @@ } | ||
plural: { | ||
test: function(d) { return plural(d.NUM, 0, fr, { one: "Votre message se trouve", other: "Vos " + number(d.NUM) + " messages se trouvent" }) + " ici."; } | ||
test: function(d) { return plural(d.NUM, 0, fr, { one: "Votre message se trouve", other: "Vos " + number(d.NUM, "NUM") + " messages se trouvent" }) + " ici."; } | ||
} | ||
@@ -59,0 +61,0 @@ } |
@@ -100,3 +100,3 @@ var reserved = require('reserved-words'); | ||
fn = 'plural'; | ||
args = [ args[0], 0, Compiler.funcname(this.lc), this.cases(token, token), 1 ]; | ||
args.push(0, Compiler.funcname(this.lc), this.cases(token, token), 1); | ||
this.locales[this.lc] = true; | ||
@@ -108,3 +108,3 @@ this.runtime.plural = true; | ||
fn = 'plural'; | ||
args = [ args[0], token.offset || 0, Compiler.funcname(this.lc), this.cases(token, token) ]; | ||
args.push(token.offset || 0, Compiler.funcname(this.lc), this.cases(token, token)); | ||
this.locales[this.lc] = true; | ||
@@ -133,3 +133,3 @@ this.runtime.plural = true; | ||
fn = 'number'; | ||
args = [ Compiler.propname(plural.arg, 'd') ]; | ||
args = [ Compiler.propname(plural.arg, 'd'), JSON.stringify(plural.arg) ]; | ||
if (plural.offset) args.push(plural.offset); | ||
@@ -136,0 +136,0 @@ this.runtime.number = true; |
/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript | ||
* | ||
* @author Alex Sexton - @SlexAxton, Eemeli Aro | ||
* @version 1.0.0-rc.3 | ||
* @version 1.0.0 | ||
* @copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors | ||
@@ -10,2 +10,3 @@ * @license To use or fork, MIT. To contribute back, Dojo CLA | ||
var Compiler = require('./compiler'); | ||
var Runtime = require('./runtime'); | ||
@@ -69,2 +70,3 @@ | ||
this.fmt = {}; | ||
this.runtime = new Runtime(this); | ||
} | ||
@@ -204,81 +206,2 @@ | ||
/** A set of utility functions that are called by the compiled Javascript | ||
* functions, these are included locally in the output of {@link | ||
* MessageFormat#compile compile()}. | ||
* | ||
* @namespace | ||
*/ | ||
MessageFormat.runtime = { | ||
/** Utility function for `#` in plural rules | ||
* | ||
* @param {number} value - The value to operate on | ||
* @param {number} [offset=0] - An optional offset, set by the surrounding context | ||
*/ | ||
number: function(value, offset) { | ||
if (isNaN(value)) throw new Error("'" + value + "' isn't a number."); | ||
return value - (offset || 0); | ||
}, | ||
/** Utility function for `{N, plural|selectordinal, ...}` | ||
* | ||
* @param {number} value - The key to use to find a pluralization rule | ||
* @param {number} offset - An offset to apply to `value` | ||
* @param {function} lcfunc - A locale function from `pluralFuncs` | ||
* @param {Object.<string,string>} data - The object from which results are looked up | ||
* @param {?boolean} isOrdinal - If true, use ordinal rather than cardinal rules | ||
* @returns {string} The result of the pluralization | ||
*/ | ||
plural: function(value, offset, lcfunc, data, isOrdinal) { | ||
if ({}.hasOwnProperty.call(data, value)) return data[value]; | ||
if (offset) value -= offset; | ||
var key = lcfunc(value, isOrdinal); | ||
if (key in data) return data[key]; | ||
return data.other; | ||
}, | ||
/** Utility function for `{N, select, ...}` | ||
* | ||
* @param {number} value - The key to use to find a selection | ||
* @param {Object.<string,string>} data - The object from which results are looked up | ||
* @returns {string} The result of the select statement | ||
*/ | ||
select: function(value, data) { | ||
if ({}.hasOwnProperty.call(data, value)) return data[value]; | ||
return data.other; | ||
}, | ||
/** @private */ | ||
toString: function(pluralFuncs, fmt, compiler) { | ||
function _stringify(o, level) { | ||
if (typeof o != 'object') { | ||
var funcStr = o.toString().replace(/^(function )\w*/, '$1'); | ||
var indent = /([ \t]*)\S.*$/.exec(funcStr); | ||
return indent ? funcStr.replace(new RegExp('^' + indent[1], 'mg'), '') : funcStr; | ||
} | ||
var s = []; | ||
for (var i in o) { | ||
if (level == 0) s.push('var ' + i + ' = ' + _stringify(o[i], level + 1) + ';\n'); | ||
else s.push(Compiler.propname(i) + ': ' + _stringify(o[i], level + 1)); | ||
} | ||
if (level == 0) return s.join(''); | ||
if (s.length == 0) return '{}'; | ||
var indent = ' '; while (--level) indent += ' '; | ||
return '{\n' + s.join(',\n').replace(/^/gm, indent) + '\n}'; | ||
} | ||
var obj = {}; | ||
Object.keys(compiler.locales).forEach(function(lc) { obj[Compiler.funcname(lc)] = pluralFuncs[lc]; }); | ||
Object.keys(compiler.runtime).forEach(function(fn) { obj[fn] = MessageFormat.runtime[fn]; }); | ||
var fmtKeys = Object.keys(compiler.formatters); | ||
if (fmtKeys.length) obj.fmt = fmtKeys.reduce(function(o, key) { o[key] = fmt[key]; return o; }, {}); | ||
return _stringify(obj, 0); | ||
} | ||
}; | ||
/** Add custom formatter functions to this MessageFormat instance | ||
@@ -410,3 +333,4 @@ * | ||
* | ||
* Set this to true to follow the stricter ICU MessageFormat spec. | ||
* Set this to true to follow the stricter ICU MessageFormat spec, and to | ||
* throw a runtime error if `#` is used with non-numeric input. | ||
* | ||
@@ -434,2 +358,3 @@ * @memberof MessageFormat | ||
this.strictNumberSign = !!enable || (typeof enable == 'undefined'); | ||
this.runtime.setStrictNumber(this.strictNumberSign); | ||
return this; | ||
@@ -541,7 +466,7 @@ }; | ||
'return ' + obj); | ||
var rt = MessageFormat.runtime; | ||
var rt = this.runtime; | ||
return fn(rt.number, rt.plural, rt.select, this.fmt, pf[locale]); | ||
} | ||
var rtStr = MessageFormat.runtime.toString(pf, this.fmt, compiler) + '\n'; | ||
var rtStr = this.runtime.toString(pf, compiler) + '\n'; | ||
var objStr = _stringify(obj); | ||
@@ -548,0 +473,0 @@ var result = new Function(rtStr + 'return ' + objStr)(); |
@@ -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(a,u){if(!r[a]){if(!t[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[a]={exports:{}};t[a][0].call(l.exports,function(e){var r=t[a][1][e];return o(r?r:e)},l,l.exports,e,t,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);return o}({1:[function(e,t,r){t.exports=function(){"use strict";function e(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}function t(e,r,n,o){this.message=e,this.expected=r,this.found=n,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}function r(e){function r(t){var r,n,o=qe[t];if(o)return o;for(r=t-1;!qe[r];)r--;for(o=qe[r],o={line:o.line,column:o.column,seenCR:o.seenCR};r<t;)n=e.charAt(r),"\n"===n?(o.seenCR||o.line++,o.column=1,o.seenCR=!1):"\r"===n||"\u2028"===n||"\u2029"===n?(o.line++,o.column=1,o.seenCR=!0):(o.column++,o.seenCR=!1),r++;return qe[t]=o,o}function n(e,t){var n=r(e),o=r(t);return{start:{offset:e,line:n.line,column:n.column},end:{offset:t,line:o.line,column:o.column}}}function o(e){Ce<Re||(Ce>Re&&(Re=Ce,Je=[]),Je.push(e))}function i(e,r,n,o){function i(e){var t=1;for(e.sort(function(e,t){return e.description<t.description?-1:e.description>t.description?1:0});t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}function a(e,t){function r(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0100-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1000-\uFFFF]/g,function(e){return"\\u"+t(e)})}var n,o,i,a=new Array(e.length);for(i=0;i<e.length;i++)a[i]=e[i].description;return n=e.length>1?a.slice(0,-1).join(", ")+" or "+a[e.length-1]:a[0],o=t?'"'+r(t)+'"':"end of input","Expected "+n+" but "+o+" found."}return null!==r&&i(r),new t(null!==e?e:a(r,n),r,n,o)}function a(){var e,t;for(e=[],t=u();t!==E;)e.push(t),t=u();return e}function u(){var t,r,n;if(t=s(),t===E&&(t=c(),t===E&&(t=l(),t===E&&(t=f(),t===E&&(t=Ce,35===e.charCodeAt(Ce)?(r=N,Ce++):(r=E,0===Pe&&o(z)),r!==E&&(De=t,r=F()),t=r,t===E))))){if(t=Ce,r=[],n=v(),n!==E)for(;n!==E;)r.push(n),n=v();else r=E;r!==E&&(De=t,r=C(r)),t=r}return t}function s(){var t,r,n,i,a,u;return t=Ce,123===e.charCodeAt(Ce)?(r=D,Ce++):(r=E,0===Pe&&o(q)),r!==E?(n=S(),n!==E?(i=h(),i!==E?(a=S(),a!==E?(125===e.charCodeAt(Ce)?(u=R,Ce++):(u=E,0===Pe&&o(J)),u!==E?(De=t,r=P(i),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E),t}function c(){var t,r,n,i,a,u,s,c,l,f,d,m,y,g;if(t=Ce,123===e.charCodeAt(Ce)?(r=D,Ce++):(r=E,0===Pe&&o(q)),r!==E)if(n=S(),n!==E)if(i=h(),i!==E)if(a=S(),a!==E)if(44===e.charCodeAt(Ce)?(u=T,Ce++):(u=E,0===Pe&&o(_)),u!==E)if(s=S(),s!==E)if(e.substr(Ce,6)===$?(c=$,Ce+=6):(c=E,0===Pe&&o(U)),c!==E)if(l=S(),l!==E)if(44===e.charCodeAt(Ce)?(f=T,Ce++):(f=E,0===Pe&&o(_)),f!==E)if(d=S(),d!==E){if(m=[],y=p(),y!==E)for(;y!==E;)m.push(y),y=p();else m=E;m!==E?(y=S(),y!==E?(125===e.charCodeAt(Ce)?(g=R,Ce++):(g=E,0===Pe&&o(J)),g!==E?(De=t,r=M(i,m),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)}else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;return t}function l(){var t,r,n,i,a,u,s,c,l,f,p,m,g,w,v;if(t=Ce,123===e.charCodeAt(Ce)?(r=D,Ce++):(r=E,0===Pe&&o(q)),r!==E)if(n=S(),n!==E)if(i=h(),i!==E)if(a=S(),a!==E)if(44===e.charCodeAt(Ce)?(u=T,Ce++):(u=E,0===Pe&&o(_)),u!==E)if(s=S(),s!==E)if(e.substr(Ce,6)===I?(c=I,Ce+=6):(c=E,0===Pe&&o(L)),c===E&&(e.substr(Ce,13)===B?(c=B,Ce+=13):(c=E,0===Pe&&o(G))),c!==E)if(l=S(),l!==E)if(44===e.charCodeAt(Ce)?(f=T,Ce++):(f=E,0===Pe&&o(_)),f!==E)if(p=S(),p!==E)if(m=y(),m===E&&(m=null),m!==E){if(g=[],w=d(),w!==E)for(;w!==E;)g.push(w),w=d();else g=E;g!==E?(w=S(),w!==E?(125===e.charCodeAt(Ce)?(v=R,Ce++):(v=E,0===Pe&&o(J)),v!==E?(De=t,r=Z(i,c,m,g),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)}else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;return t}function f(){var t,r,n,i,a,u,s,c,l,f,p;if(t=Ce,123===e.charCodeAt(Ce)?(r=D,Ce++):(r=E,0===Pe&&o(q)),r!==E)if(n=S(),n!==E)if(i=h(),i!==E)if(a=S(),a!==E)if(44===e.charCodeAt(Ce)?(u=T,Ce++):(u=E,0===Pe&&o(_)),u!==E)if(s=S(),s!==E)if(c=h(),c!==E)if(l=S(),l!==E){for(f=[],p=w();p!==E;)f.push(p),p=w();f!==E?(125===e.charCodeAt(Ce)?(p=R,Ce++):(p=E,0===Pe&&o(J)),p!==E?(De=t,r=H(i,c,f),t=r):(Ce=t,t=E)):(Ce=t,t=E)}else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;else Ce=t,t=E;return t}function h(){var t,r,n,i,a;if(t=Ce,r=Ce,K.test(e.charAt(Ce))?(n=e.charAt(Ce),Ce++):(n=E,0===Pe&&o(W)),n!==E){for(i=[],V.test(e.charAt(Ce))?(a=e.charAt(Ce),Ce++):(a=E,0===Pe&&o(Y));a!==E;)i.push(a),V.test(e.charAt(Ce))?(a=e.charAt(Ce),Ce++):(a=E,0===Pe&&o(Y));i!==E?(n=[n,i],r=n):(Ce=r,r=E)}else Ce=r,r=E;return t=r!==E?e.substring(t,Ce):r}function p(){var e,t,r,n,o;return e=Ce,t=S(),t!==E?(r=h(),r!==E?(n=S(),n!==E?(o=m(),o!==E?(De=e,t=Q(r,o),e=t):(Ce=e,e=E)):(Ce=e,e=E)):(Ce=e,e=E)):(Ce=e,e=E),e}function d(){var e,t,r,n,o;return e=Ce,t=S(),t!==E?(r=g(),r!==E?(n=S(),n!==E?(o=m(),o!==E?(De=e,t=Q(r,o),e=t):(Ce=e,e=E)):(Ce=e,e=E)):(Ce=e,e=E)):(Ce=e,e=E),e}function m(){var t,r,n,i,a,s;if(t=Ce,123===e.charCodeAt(Ce)?(r=D,Ce++):(r=E,0===Pe&&o(q)),r!==E)if(n=Ce,i=S(),i!==E?(a=Ce,Pe++,123===e.charCodeAt(Ce)?(s=D,Ce++):(s=E,0===Pe&&o(q)),Pe--,s!==E?(Ce=a,a=void 0):a=E,a!==E?(i=[i,a],n=i):(Ce=n,n=E)):(Ce=n,n=E),n===E&&(n=null),n!==E){for(i=[],a=u();a!==E;)i.push(a),a=u();i!==E?(a=S(),a!==E?(125===e.charCodeAt(Ce)?(s=R,Ce++):(s=E,0===Pe&&o(J)),s!==E?(De=t,r=X(i),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)}else Ce=t,t=E;else Ce=t,t=E;return t}function y(){var t,r,n,i,a,u,s,c;return t=Ce,r=S(),r!==E?(e.substr(Ce,6)===ee?(n=ee,Ce+=6):(n=E,0===Pe&&o(te)),n!==E?(i=S(),i!==E?(58===e.charCodeAt(Ce)?(a=re,Ce++):(a=E,0===Pe&&o(ne)),a!==E?(u=S(),u!==E?(s=b(),s!==E?(c=S(),c!==E?(De=t,r=oe(s),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E),t}function g(){var t,r,n;return t=h(),t===E&&(t=Ce,61===e.charCodeAt(Ce)?(r=ie,Ce++):(r=E,0===Pe&&o(ae)),r!==E?(n=b(),n!==E?(De=t,r=oe(n),t=r):(Ce=t,t=E)):(Ce=t,t=E)),t}function w(){var t,r,n,i,a,u;return t=Ce,r=S(),r!==E?(44===e.charCodeAt(Ce)?(n=T,Ce++):(n=E,0===Pe&&o(_)),n!==E?(i=S(),i!==E?(a=h(),a!==E?(u=S(),u!==E?(De=t,r=ue(a),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E),t}function v(){var t,r,n,i,a,u;return se.test(e.charAt(Ce))?(t=e.charAt(Ce),Ce++):(t=E,0===Pe&&o(ce)),t===E&&(t=Ce,e.substr(Ce,2)===le?(r=le,Ce+=2):(r=E,0===Pe&&o(fe)),r!==E&&(De=t,r=he()),t=r,t===E&&(t=Ce,e.substr(Ce,2)===pe?(r=pe,Ce+=2):(r=E,0===Pe&&o(de)),r!==E&&(De=t,r=me()),t=r,t===E&&(t=Ce,e.substr(Ce,2)===ye?(r=ye,Ce+=2):(r=E,0===Pe&&o(ge)),r!==E&&(De=t,r=we()),t=r,t===E&&(t=Ce,e.substr(Ce,2)===ve?(r=ve,Ce+=2):(r=E,0===Pe&&o(be)),r!==E&&(De=t,r=ke()),t=r,t===E&&(t=Ce,e.substr(Ce,2)===Se?(r=Se,Ce+=2):(r=E,0===Pe&&o(xe)),r!==E?(n=k(),n!==E?(i=k(),i!==E?(a=k(),a!==E?(u=k(),u!==E?(De=t,r=je(n,i,a,u),t=r):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)):(Ce=t,t=E)))))),t}function b(){var t,r,n;if(t=Ce,r=[],Ee.test(e.charAt(Ce))?(n=e.charAt(Ce),Ce++):(n=E,0===Pe&&o(Ae)),n!==E)for(;n!==E;)r.push(n),Ee.test(e.charAt(Ce))?(n=e.charAt(Ce),Ce++):(n=E,0===Pe&&o(Ae));else r=E;return t=r!==E?e.substring(t,Ce):r}function k(){var t;return Oe.test(e.charAt(Ce))?(t=e.charAt(Ce),Ce++):(t=E,0===Pe&&o(Ne)),t}function S(){var t,r,n;for(t=Ce,r=[],ze.test(e.charAt(Ce))?(n=e.charAt(Ce),Ce++):(n=E,0===Pe&&o(Fe));n!==E;)r.push(n),ze.test(e.charAt(Ce))?(n=e.charAt(Ce),Ce++):(n=E,0===Pe&&o(Fe));return t=r!==E?e.substring(t,Ce):r}var x,j=arguments.length>1?arguments[1]:{},E={},A={start:a},O=a,N="#",z={type:"literal",value:"#",description:'"#"'},F=function(){return{type:"octothorpe"}},C=function(e){return e.join("")},D="{",q={type:"literal",value:"{",description:'"{"'},R="}",J={type:"literal",value:"}",description:'"}"'},P=function(e){return{type:"argument",arg:e}},T=",",_={type:"literal",value:",",description:'","'},$="select",U={type:"literal",value:"select",description:'"select"'},M=function(e,t){return{type:"select",arg:e,cases:t}},I="plural",L={type:"literal",value:"plural",description:'"plural"'},B="selectordinal",G={type:"literal",value:"selectordinal",description:'"selectordinal"'},Z=function(e,t,r,n){var o=("selectordinal"===t?j.ordinal:j.cardinal)||["zero","one","two","few","many","other"];return o&&o.length&&n.forEach(function(r){if(isNaN(r.key)&&o.indexOf(r.key)<0)throw new Error("Invalid key `"+r.key+"` for argument `"+e+"`. Valid "+t+" keys for this locale are `"+o.join("`, `")+"`, and explicit keys like `=0`.")}),{type:t,arg:e,offset:r||0,cases:n}},H=function(e,t,r){return{type:"function",arg:e,key:t,params:r}},K=/^[0-9a-zA-Z$_]/,W={type:"class",value:"[0-9a-zA-Z$_]",description:"[0-9a-zA-Z$_]"},V=/^[^ \t\n\r,.+={}]/,Y={type:"class",value:"[^ \\t\\n\\r,.+={}]",description:"[^ \\t\\n\\r,.+={}]"},Q=function(e,t){return{key:e,tokens:t}},X=function(e){return e},ee="offset",te={type:"literal",value:"offset",description:'"offset"'},re=":",ne={type:"literal",value:":",description:'":"'},oe=function(e){return e},ie="=",ae={type:"literal",value:"=",description:'"="'},ue=function(e){return e},se=/^[^{}#\\\0-\x08\x0E-\x1F]/,ce={type:"class",value:"[^{}#\\\\\\0-\\x08\\x0e-\\x1f\\x7f]",description:"[^{}#\\\\\\0-\\x08\\x0e-\\x1f\\x7f]"},le="\\\\",fe={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},he=function(){return"\\"},pe="\\#",de={type:"literal",value:"\\#",description:'"\\\\#"'},me=function(){return"#"},ye="\\{",ge={type:"literal",value:"\\{",description:'"\\\\{"'},we=function(){return"{"},ve="\\}",be={type:"literal",value:"\\}",description:'"\\\\}"'},ke=function(){return"}"},Se="\\u",xe={type:"literal",value:"\\u",description:'"\\\\u"'},je=function(e,t,r,n){return String.fromCharCode(parseInt("0x"+e+t+r+n))},Ee=/^[0-9]/,Ae={type:"class",value:"[0-9]",description:"[0-9]"},Oe=/^[0-9a-fA-F]/,Ne={type:"class",value:"[0-9a-fA-F]",description:"[0-9a-fA-F]"},ze=/^[ \t\n\r]/,Fe={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},Ce=0,De=0,qe=[{line:1,column:1,seenCR:!1}],Re=0,Je=[],Pe=0;if("startRule"in j){if(!(j.startRule in A))throw new Error("Can't start parsing from rule \""+j.startRule+'".');O=A[j.startRule]}if(x=O(),x!==E&&Ce===e.length)return x;throw x!==E&&Ce<e.length&&o({type:"end",description:"end of input"}),i(null,Je,Re<e.length?e.charAt(Re):null,Re<e.length?n(Re,Re+1):n(Re,Re))}return e(t,Error),{SyntaxError:t,parse:r}}()},{}],2:[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){function r(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)}var n=JSON.stringify(r(t)?"":"");return n+" + "+e+" + "+n},n.prototype.cases=function(e,t){var r=!0,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=[o[0],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=[o[0],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")],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:[]},o=i(e,n).map(function(e){return this.token(e)},this);return"function(d) { return "+(o.join(" + ")||'""')+"; }"}var a={};for(var u in e){var s=r.hasOwnProperty(u)?u:t;a[u]=this.compile(e[u],s,r)}return a}},{"messageformat-parser":1,"reserved-words":9}],3:[function(e,t,r){function n(t,r){for(var n=e("make-plural/plurals"),o=e("make-plural/pluralCategories"),i=t;i;i=i.replace(/[-_]?[^-_]*$/,"")){var a=n[i];if(a){var u=r?{cardinal:[],ordinal:[]}:o[i]||{},s=function(){return a.apply(this,arguments)};return s.toString=function(){return a.toString()},s.cardinal=u.cardinal,s.ordinal=u.ordinal,s}}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.fmt={}}var i=e("./compiler");o.defaultLocale="en",o.formatters={number:function(e){return new Function("v,lc,p","return 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.runtime={number:function(e,t){if(isNaN(e))throw new Error("'"+e+"' isn't a number.");return e-(t||0)},plural:function(e,t,r,n,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},select:function(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other},toString:function(e,t,r){function n(e,t){if("object"!=typeof e){var r=e.toString().replace(/^(function )\w*/,"$1"),o=/([ \t]*)\S.*$/.exec(r);return o?r.replace(new RegExp("^"+o[1],"mg"),""):r}var a=[];for(var u in e)0==t?a.push("var "+u+" = "+n(e[u],t+1)+";\n"):a.push(i.propname(u)+": "+n(e[u],t+1));if(0==t)return a.join("");if(0==a.length)return"{}";for(var o=" ";--t;)o+=" ";return"{\n"+a.join(",\n").replace(/^/gm,o)+"\n}"}var a={};Object.keys(r.locales).forEach(function(t){a[i.funcname(t)]=e[t]}),Object.keys(r.runtime).forEach(function(e){a[e]=o.runtime[e]});var u=Object.keys(r.formatters);return u.length&&(a.fmt=u.reduce(function(e,r){return e[r]=t[r],e},{})),n(a,0)}},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||"undefined"==typeof e,this},o.prototype.setIntlSupport=function(e){return this.intlSupport=!!e||"undefined"==typeof e,this},o.prototype.setStrictNumberSign=function(e){return this.strictNumberSign=!!e||"undefined"==typeof e,this},o.prototype.compile=function(e,t){function r(e,t){if(t||(t=0),"object"!=typeof e)return e;for(var n=[],o="",a=0;a<t;++a)o+=" ";for(var u in e)n.push("\n"+o+" "+i.propname(u)+": "+r(e[u],t+1));return"{"+n.join(",")+"\n"+o+"}"}var a;if(0==Object.keys(this.pluralFuncs).length)t||(t=o.defaultLocale),a={},a[t]=n(t,this.noPluralKeyChecks);else if(t){if(a={},a[t]=this.pluralFuncs[t],!a[t])throw new Error("Locale "+JSON.stringify(t)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else a=this.pluralFuncs,t=Object.keys(a)[0];var u=new i(this),s=u.compile(e,t,a);if("object"!=typeof e){var c=new Function("number, plural, select, fmt",i.funcname(t),"return "+s),l=o.runtime;return c(l.number,l.plural,l.select,this.fmt,a[t])}var f=o.runtime.toString(a,this.fmt,u)+"\n",h=r(s),p=new Function(f+"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 s)t.push(i.propname(n,"exports")+" = "+r(s[n]));return f+t.join(";\n");case"module.exports":return f+"module.exports = "+h;case"export default":return f+"export default "+h;case"":return f+"return "+h;default:return e.indexOf(".")>-1?f+e+" = "+h:f+["(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":2,"make-plural/pluralCategories":6,"make-plural/plurals":7}],4:[function(e,t,r){function n(e,t){return p.isUndefined(t)?""+t:p.isNumber(t)&&!isFinite(t)?t.toString():p.isFunction(t)||p.isRegExp(t)?t.toString():t}function o(e,t){return p.isString(e)?e.length<t?e:e.slice(0,t):e}function i(e){return o(JSON.stringify(e.actual,n),128)+" "+e.operator+" "+o(JSON.stringify(e.expected,n),128)}function a(e,t,r,n,o){throw new y.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function u(e,t){e||a(e,!0,t,"==",y.ok)}function s(e,t){if(e===t)return!0;if(p.isBuffer(e)&&p.isBuffer(t)){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return p.isDate(e)&&p.isDate(t)?e.getTime()===t.getTime():p.isRegExp(e)&&p.isRegExp(t)?e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase:p.isObject(e)||p.isObject(t)?l(e,t):e==t}function c(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function l(e,t){if(p.isNullOrUndefined(e)||p.isNullOrUndefined(t))return!1;if(e.prototype!==t.prototype)return!1;if(p.isPrimitive(e)||p.isPrimitive(t))return e===t;var r=c(e),n=c(t);if(r&&!n||!r&&n)return!1;if(r)return e=d.call(e),t=d.call(t),s(e,t);var o,i,a=g(e),u=g(t);if(a.length!=u.length)return!1;for(a.sort(),u.sort(),i=a.length-1;i>=0;i--)if(a[i]!=u[i])return!1;for(i=a.length-1;i>=0;i--)if(o=a[i],!s(e[o],t[o]))return!1;return!0}function f(e,t){return!(!e||!t)&&("[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t||t.call({},e)===!0)}function h(e,t,r,n){var o;p.isString(r)&&(n=r,r=null);try{t()}catch(e){o=e}if(n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&a(o,r,"Missing expected exception"+n),!e&&f(o,r)&&a(o,r,"Got unwanted exception"+n),e&&o&&r&&!f(o,r)||!e&&o)throw o}var p=e("util/"),d=Array.prototype.slice,m=Object.prototype.hasOwnProperty,y=t.exports=u;y.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=i(this),this.generatedMessage=!0);var t=e.stackStartFunction||a;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=t.name,u=n.indexOf("\n"+o);if(u>=0){var s=n.indexOf("\n",u+1);n=n.substring(s+1)}this.stack=n}}},p.inherits(y.AssertionError,Error),y.fail=a,y.ok=u,y.equal=function(e,t,r){e!=t&&a(e,t,r,"==",y.equal)},y.notEqual=function(e,t,r){e==t&&a(e,t,r,"!=",y.notEqual)},y.deepEqual=function(e,t,r){s(e,t)||a(e,t,r,"deepEqual",y.deepEqual)},y.notDeepEqual=function(e,t,r){s(e,t)&&a(e,t,r,"notDeepEqual",y.notDeepEqual)},y.strictEqual=function(e,t,r){e!==t&&a(e,t,r,"===",y.strictEqual)},y.notStrictEqual=function(e,t,r){e===t&&a(e,t,r,"!==",y.notStrictEqual)},y.throws=function(e,t,r){h.apply(this,[!0].concat(d.call(arguments)))},y.doesNotThrow=function(e,t){h.apply(this,[!1].concat(d.call(arguments)))},y.ifError=function(e){if(e)throw e};var g=Object.keys||function(e){var t=[];for(var r in e)m.call(e,r)&&t.push(r);return t}},{"util/":12}],5:[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}},{}],6:[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"]},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],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:o[1],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],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:o[1],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],zh:o[0],zu:o[1]})},{}],7:[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"},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),a=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==a||200==a||300==a||400==a||500==a||600==a||700==a||800==a||900==a?"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),a=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==a?"many":"other"},brx:o[1],bs:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>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],a=n.slice(-2),u=o.slice(-2);return t?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"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),a=o&&r[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"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],a=n.slice(-1),u=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"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),a=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?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,a=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==a?"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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-2),u=o.slice(-2);return t?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"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],is:function(e,t){var r=String(e).split("."),n=r[0],o=Number(r[0])==e,i=n.slice(-1),a=n.slice(-2);return t?"other":o&&1==i&&11!=a||!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,a=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==a?"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),a=o&&r[0].slice(-2);return t?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>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,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-2),c=n.slice(-1);return t?"other":i&&0==a||u>=11&&u<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=u||2==o&&1==c&&11!=s||2!=o&&1==c?"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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1);return t?1==a&&11!=u?"one":2==a&&12!=u?"two":7!=a&&8!=a||17==u||18==u?"other":"many":i&&1==a||1==s?"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:o[1],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),a=n.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=n&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-2),c=n.slice(-1);return t?"other":i&&0==a||u>=11&&u<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=u||2==o&&1==c&&11!=s||2!=o&&1==c?"one":"other"},ps:o[1],pt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":n&&e>=0&&e<=2&&2!=e?"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),a=n.slice(-2);return t?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"},rwk:o[1],sah:o[0],saq: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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>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),a=o&&r[0].slice(-2);return t?1!=i&&2!=i||11==a||12==a?"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:o[1],tl:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"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,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-1),c=n.slice(-2);return t?3==a&&13!=u?"few":"other":o&&1==s&&11!=c?"one":o&&s>=2&&s<=4&&(c<12||c>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&c>=11&&c<=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],zh:o[0],zu:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"}})},{}],8:[function(e,t,r){function n(){h&&l&&(h=!1,l.length?f=l.concat(f):p=-1,f.length&&o())}function o(){if(!h){var e=u(n);h=!0;for(var t=f.length;t;){for(l=f,f=[];++p<t;)l&&l[p].run();p=-1,t=f.length}l=null,h=!1,s(e)}}function i(e,t){this.fun=e,this.array=t}function a(){}var u,s,c=t.exports={};!function(){try{u=setTimeout}catch(e){u=function(){throw new Error("setTimeout is not defined")}}try{s=clearTimeout}catch(e){s=function(){throw new Error("clearTimeout is not defined")}}}();var l,f=[],h=!1,p=-1;c.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];f.push(new i(e,t)),1!==f.length||h||u(o,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=a,c.addListener=a,c.once=a,c.off=a,c.removeListener=a,c.removeAllListeners=a,c.emit=a,c.binding=function(e){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function(e){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},{}],9:[function(e,t,r){t.exports=e("./reserved-words")},{"./reserved-words":10}],10:[function(e,t,r){function n(){var e=Array.prototype.map.call(arguments,function(e){return"string"==typeof e?e:Object.keys(e).join(" ")}).join(" ");return e.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},a=r.KEYWORDS={};r.check=function(e,t,r){t=t||i.default;var n=i[t]||t;return r&&n>=5&&(n+="-strict"),o(a[n],"Unknown dialect"),a[n][e]},a[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"),a[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"),a["5-strict"]=n(a[5],"implements let private public yield","interface package protected static"),a[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"),a["6-strict"]=n(a[6],"let static","implements package protected","interface private public")},{assert:4}],11:[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}},{}],12:[function(e,t,r){(function(t,n){function o(e,t){var n={seen:[],stylize:a};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),s(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 a(e,t){return e}function u(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function s(e,t,n){if(e.customInspect&&t&&A(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return v(o)||(o=s(e,o,n)),o}var i=c(e,t);if(i)return i;var a=Object.keys(t),m=u(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),E(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(t);if(0===a.length){if(A(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(j(t))return e.stylize(Date.prototype.toString.call(t),"date");if(E(t))return l(t)}var g="",w=!1,b=["{","}"];if(d(t)&&(w=!0,b=["[","]"]),A(t)){var k=t.name?": "+t.name:"";g=" [Function"+k+"]"}if(S(t)&&(g=" "+RegExp.prototype.toString.call(t)),j(t)&&(g=" "+Date.prototype.toUTCString.call(t)),E(t)&&(g=" "+l(t)),0===a.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 x;return x=w?f(e,t,n,m,a):a.map(function(r){return h(e,t,n,m,r,w)}),e.seen.pop(),p(x,g,b)}function c(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 l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o){for(var i=[],a=0,u=t.length;a<u;++a)C(t,String(a))?i.push(h(e,t,r,n,String(a),!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 a,u,c;if(c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),C(n,o)||(a="["+o+"]"),u||(e.seen.indexOf(c.value)<0?(u=y(r)?s(e,c.value,null):s(e,c.value,r-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),k(a)){if(i&&o.match(/^\d+$/))return u;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function p(e,t,r){var n=0,o=e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>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 j(e){return x(e)&&"[object Date]"===N(e)}function E(e){return x(e)&&("[object Error]"===N(e)||e instanceof Error)}function A(e){return"function"==typeof e}function O(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof 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(),J[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,a=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}}),u=n[r];r<i;u=n[++r])a+=y(u)||!x(u)?" "+u:" "+o(u);return a},r.deprecate=function(e,o){function i(){if(!a){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),a=!0}return e.apply(this,arguments)}if(k(n.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(t.noDeprecation===!0)return e;var a=!1;return i};var q,R={};r.debuglog=function(e){if(k(q)&&(q=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!R[e])if(new RegExp("\\b"+e+"\\b","i").test(q)){var n=t.pid;R[e]=function(){var t=r.format.apply(r,arguments);console.error("%s %d: %s",e,n,t)}}else R[e]=function(){};return R[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=j,r.isError=E,r.isFunction=A,r.isPrimitive=O,r.isBuffer=e("./support/isBuffer");var J=["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":11,_process:8,inherits:5}]},{},[3])(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(a,u){if(!r[a]){if(!t[a]){var s="function"==typeof require&&require;if(!u&&s)return s(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=r[a]={exports:{}};t[a][0].call(l.exports,function(e){var r=t[a][1][e];return o(r?r:e)},l,l.exports,e,t,r,n)}return r[a].exports}for(var i="function"==typeof require&&require,a=0;a<n.length;a++)o(n[a]);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){function r(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)}var n=JSON.stringify(r(t)?"":"");return n+" + "+e+" + "+n},n.prototype.cases=function(e,t){var r=!0,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:[]},o=i(e,n).map(function(e){return this.token(e)},this);return"function(d) { return "+(o.join(" + ")||'""')+"; }"}var a={};for(var u in e){var s=r.hasOwnProperty(u)?u:t;a[u]=this.compile(e[u],s,r)}return a}},{"messageformat-parser":8,"reserved-words":10}],2:[function(e,t,r){function n(t,r){for(var n=e("make-plural/plurals"),o=e("make-plural/pluralCategories"),i=t;i;i=i.replace(/[-_]?[^-_]*$/,"")){var a=n[i];if(a){var u=r?{cardinal:[],ordinal:[]}:o[i]||{},s=function(){return a.apply(this,arguments)};return s.toString=function(){return a.toString()},s.cardinal=u.cardinal,s.ordinal=u.ordinal,s}}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.fmt={},this.runtime=new a(this)}var i=e("./compiler"),a=e("./runtime");o.defaultLocale="en",o.formatters={number:function(e){return new Function("v,lc,p","return 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||"undefined"==typeof e,this},o.prototype.setIntlSupport=function(e){return this.intlSupport=!!e||"undefined"==typeof e,this},o.prototype.setStrictNumberSign=function(e){return this.strictNumberSign=!!e||"undefined"==typeof 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="",a=0;a<t;++a)o+=" ";for(var u in e)n.push("\n"+o+" "+i.propname(u)+": "+r(e[u],t+1));return"{"+n.join(",")+"\n"+o+"}"}var a;if(0==Object.keys(this.pluralFuncs).length)t||(t=o.defaultLocale),a={},a[t]=n(t,this.noPluralKeyChecks);else if(t){if(a={},a[t]=this.pluralFuncs[t],!a[t])throw new Error("Locale "+JSON.stringify(t)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else a=this.pluralFuncs,t=Object.keys(a)[0];var u=new i(this),s=u.compile(e,t,a);if("object"!=typeof e){var c=new Function("number, plural, select, fmt",i.funcname(t),"return "+s),l=this.runtime;return c(l.number,l.plural,l.select,this.fmt,a[t])}var f=this.runtime.toString(a,u)+"\n",h=r(s),p=new Function(f+"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 s)t.push(i.propname(n,"exports")+" = "+r(s[n]));return f+t.join(";\n");case"module.exports":return f+"module.exports = "+h;case"export default":return f+"export default "+h;case"":return f+"return "+h;default:return e.indexOf(".")>-1?f+e+" = "+h:f+["(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/pluralCategories":6,"make-plural/plurals":7}],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 a=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 u in e)0==t?i.push("var "+u+" = "+r(e[u],t+1)+";\n"):i.push(a.propname(u)+": "+r(e[u],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[a.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 n(e,t){return p.isUndefined(t)?""+t:p.isNumber(t)&&!isFinite(t)?t.toString():p.isFunction(t)||p.isRegExp(t)?t.toString():t}function o(e,t){return p.isString(e)?e.length<t?e:e.slice(0,t):e}function i(e){return o(JSON.stringify(e.actual,n),128)+" "+e.operator+" "+o(JSON.stringify(e.expected,n),128)}function a(e,t,r,n,o){throw new g.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:o})}function u(e,t){e||a(e,!0,t,"==",g.ok)}function s(e,t){if(e===t)return!0;if(p.isBuffer(e)&&p.isBuffer(t)){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return p.isDate(e)&&p.isDate(t)?e.getTime()===t.getTime():p.isRegExp(e)&&p.isRegExp(t)?e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase:p.isObject(e)||p.isObject(t)?l(e,t):e==t}function c(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function l(e,t){if(p.isNullOrUndefined(e)||p.isNullOrUndefined(t))return!1;if(e.prototype!==t.prototype)return!1;if(p.isPrimitive(e)||p.isPrimitive(t))return e===t;var r=c(e),n=c(t);if(r&&!n||!r&&n)return!1;if(r)return e=d.call(e),t=d.call(t),s(e,t);var o,i,a=y(e),u=y(t);if(a.length!=u.length)return!1;for(a.sort(),u.sort(),i=a.length-1;i>=0;i--)if(a[i]!=u[i])return!1;for(i=a.length-1;i>=0;i--)if(o=a[i],!s(e[o],t[o]))return!1;return!0}function f(e,t){return!(!e||!t)&&("[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t||t.call({},e)===!0)}function h(e,t,r,n){var o;p.isString(r)&&(n=r,r=null);try{t()}catch(e){o=e}if(n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!o&&a(o,r,"Missing expected exception"+n),!e&&f(o,r)&&a(o,r,"Got unwanted exception"+n),e&&o&&r&&!f(o,r)||!e&&o)throw o}var p=e("util/"),d=Array.prototype.slice,m=Object.prototype.hasOwnProperty,g=t.exports=u;g.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=i(this),this.generatedMessage=!0);var t=e.stackStartFunction||a;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,o=t.name,u=n.indexOf("\n"+o);if(u>=0){var s=n.indexOf("\n",u+1);n=n.substring(s+1)}this.stack=n}}},p.inherits(g.AssertionError,Error),g.fail=a,g.ok=u,g.equal=function(e,t,r){e!=t&&a(e,t,r,"==",g.equal)},g.notEqual=function(e,t,r){e==t&&a(e,t,r,"!=",g.notEqual)},g.deepEqual=function(e,t,r){s(e,t)||a(e,t,r,"deepEqual",g.deepEqual)},g.notDeepEqual=function(e,t,r){s(e,t)&&a(e,t,r,"notDeepEqual",g.notDeepEqual)},g.strictEqual=function(e,t,r){e!==t&&a(e,t,r,"===",g.strictEqual)},g.notStrictEqual=function(e,t,r){e===t&&a(e,t,r,"!==",g.notStrictEqual)},g.throws=function(e,t,r){h.apply(this,[!0].concat(d.call(arguments)))},g.doesNotThrow=function(e,t){h.apply(this,[!1].concat(d.call(arguments)))},g.ifError=function(e){if(e)throw e};var y=Object.keys||function(e){var t=[];for(var r in e)m.call(e,r)&&t.push(r);return t}},{"util/":13}],5:[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}},{}],6:[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"]},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],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:o[1],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],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:o[1],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],zh:o[0],zu:o[1]})},{}],7:[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"},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),a=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==a||200==a||300==a||400==a||500==a||600==a||700==a||800==a||900==a?"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),a=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==a?"many":"other"},brx:o[1],bs:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>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],a=n.slice(-2),u=o.slice(-2);return t?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"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),a=o&&r[0].slice(-2);return t?1==i&&11!=a?"one":2==i&&12!=a?"two":3==i&&13!=a?"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],a=n.slice(-1),u=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"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),a=n.slice(-2);return t?"other":o&&1==i?"one":o&&2==i?"two":!o||0!=a&&20!=a&&40!=a&&60!=a&&80!=a?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,a=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==a?"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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>14)?"few":"other"},hsb:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-2),u=o.slice(-2);return t?"other":i&&1==a||1==u?"one":i&&2==a||2==u?"two":i&&(3==a||4==a)||3==u||4==u?"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],is:function(e,t){var r=String(e).split("."),n=r[0],o=Number(r[0])==e,i=n.slice(-1),a=n.slice(-2);return t?"other":o&&1==i&&11!=a||!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,a=i&&r[0].slice(-1);return t?"other":1==e&&o?"one":2==n&&o?"two":o&&(e<0||e>10)&&i&&0==a?"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),a=o&&r[0].slice(-2);return t?"other":1==i&&(a<11||a>19)?"one":i>=2&&i<=9&&(a<11||a>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,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-2),c=n.slice(-1);return t?"other":i&&0==a||u>=11&&u<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=u||2==o&&1==c&&11!=s||2!=o&&1==c?"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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1);return t?1==a&&11!=u?"one":2==a&&12!=u?"two":7!=a&&8!=a||17==u||18==u?"other":"many":i&&1==a||1==s?"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:o[1],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),a=n.slice(-2);return t?"other":1==e&&o?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&1!=n&&(0==i||1==i)||o&&i>=5&&i<=9||o&&a>=12&&a<=14?"many":"other"},prg:function(e,t){var r=String(e).split("."),n=r[1]||"",o=n.length,i=Number(r[0])==e,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-2),c=n.slice(-1);return t?"other":i&&0==a||u>=11&&u<=19||2==o&&s>=11&&s<=19?"zero":1==a&&11!=u||2==o&&1==c&&11!=s||2!=o&&1==c?"one":"other"},ps:o[1],pt:function(e,t){var r=String(e).split("."),n=Number(r[0])==e;return t?"other":n&&e>=0&&e<=2&&2!=e?"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),a=n.slice(-2);return t?"other":o&&1==i&&11!=a?"one":o&&i>=2&&i<=4&&(a<12||a>14)?"few":o&&0==i||o&&i>=5&&i<=9||o&&a>=11&&a<=14?"many":"other"},rwk:o[1],sah:o[0],saq: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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>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],a=n.slice(-1),u=n.slice(-2),s=o.slice(-1),c=o.slice(-2);return t?"other":i&&1==a&&11!=u||1==s&&11!=c?"one":i&&a>=2&&a<=4&&(u<12||u>14)||s>=2&&s<=4&&(c<12||c>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),a=o&&r[0].slice(-2);return t?1!=i&&2!=i||11==a||12==a?"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:o[1],tl:function(e,t){var r=String(e).split("."),n=r[0],o=r[1]||"",i=!r[1],a=n.slice(-1),u=o.slice(-1);return t?1==e?"one":"other":i&&(1==n||2==n||3==n)||i&&4!=a&&6!=a&&9!=a||!i&&4!=u&&6!=u&&9!=u?"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,a=i&&r[0].slice(-1),u=i&&r[0].slice(-2),s=n.slice(-1),c=n.slice(-2);return t?3==a&&13!=u?"few":"other":o&&1==s&&11!=c?"one":o&&s>=2&&s<=4&&(c<12||c>14)?"few":o&&0==s||o&&s>=5&&s<=9||o&&c>=11&&c<=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],zh:o[0],zu:function(e,t){return t?"other":e>=0&&e<=1?"one":"other"}})},{}],8:[function(e,t,r){"use strict";function n(e,t){function r(){this.constructor=e}r.prototype=t.prototype,e.prototype=new r}function o(e,t,r,n){this.message=e,this.expected=t,this.found=r,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,o)}function i(e,t){function r(e,t){return{type:"literal",text:e,ignoreCase:t}}function n(e,t,r){return{type:"class",parts:e,inverted:t,ignoreCase:r}}function i(){return{type:"end"}}function a(e){return{type:"other",description:e}}function u(t){var r,n=_e[t];if(n)return n;for(r=t-1;!_e[r];)r--;for(n=_e[r],n={line:n.line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return _e[t]=n,n}function s(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){Je<Re||(Je>Re&&(Re=Je,Ue=[]),Ue.push(e))}function l(e,t,r){return new o(o.buildMessage(e,t),e,t,r)}function f(){var e,t;for(e=[],t=h();t!==z;)e.push(t),t=h();return e}function h(){var t,r,n;if(t=p(),t===z&&(t=d(),t===z&&(t=m(),t===z&&(t=g(),t===z&&(t=Je,35===e.charCodeAt(Je)?(r=T,Je++):(r=z,0===$e&&c(D)),r!==z&&(Pe=t,r=q()),t=r,t===z))))){if(t=Je,r=[],n=j(),n!==z)for(;n!==z;)r.push(n),n=j();else r=z;r!==z&&(Pe=t,r=J(r)),t=r}return t}function p(){var t,r,n,o,i,a;return t=Je,123===e.charCodeAt(Je)?(r=P,Je++):(r=z,0===$e&&c(_)),r!==z?(n=E(),n!==z?(o=y(),o!==z?(i=E(),i!==z?(125===e.charCodeAt(Je)?(a=R,Je++):(a=z,0===$e&&c(U)),a!==z?(Pe=t,r=$(o),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z),t}function d(){var t,r,n,o,i,a,u,s,l,f,h,p,d,m;if(t=Je,123===e.charCodeAt(Je)?(r=P,Je++):(r=z,0===$e&&c(_)),r!==z)if(n=E(),n!==z)if(o=y(),o!==z)if(i=E(),i!==z)if(44===e.charCodeAt(Je)?(a=M,Je++):(a=z,0===$e&&c(I)),a!==z)if(u=E(),u!==z)if(e.substr(Je,6)===L?(s=L,Je+=6):(s=z,0===$e&&c(B)),s!==z)if(l=E(),l!==z)if(44===e.charCodeAt(Je)?(f=M,Je++):(f=z,0===$e&&c(I)),f!==z)if(h=E(),h!==z){if(p=[],d=w(),d!==z)for(;d!==z;)p.push(d),d=w();else p=z;p!==z?(d=E(),d!==z?(125===e.charCodeAt(Je)?(m=R,Je++):(m=z,0===$e&&c(U)),m!==z?(Pe=t,r=G(o,p),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)}else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;return t}function m(){var t,r,n,o,i,a,u,s,l,f,h,p,d,m,g;if(t=Je,123===e.charCodeAt(Je)?(r=P,Je++):(r=z,0===$e&&c(_)),r!==z)if(n=E(),n!==z)if(o=y(),o!==z)if(i=E(),i!==z)if(44===e.charCodeAt(Je)?(a=M,Je++):(a=z,0===$e&&c(I)),a!==z)if(u=E(),u!==z)if(e.substr(Je,6)===Z?(s=Z,Je+=6):(s=z,0===$e&&c(H)),s===z&&(e.substr(Je,13)===K?(s=K,Je+=13):(s=z,0===$e&&c(W))),s!==z)if(l=E(),l!==z)if(44===e.charCodeAt(Je)?(f=M,Je++):(f=z,0===$e&&c(I)),f!==z)if(h=E(),h!==z)if(p=k(),p===z&&(p=null),p!==z){if(d=[],m=v(),m!==z)for(;m!==z;)d.push(m),m=v();else d=z;d!==z?(m=E(),m!==z?(125===e.charCodeAt(Je)?(g=R,Je++):(g=z,0===$e&&c(U)),g!==z?(Pe=t,r=V(o,s,p,d),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)}else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z; | ||
return t}function g(){var t,r,n,o,i,a,u,s,l,f,h;if(t=Je,123===e.charCodeAt(Je)?(r=P,Je++):(r=z,0===$e&&c(_)),r!==z)if(n=E(),n!==z)if(o=y(),o!==z)if(i=E(),i!==z)if(44===e.charCodeAt(Je)?(a=M,Je++):(a=z,0===$e&&c(I)),a!==z)if(u=E(),u!==z)if(s=y(),s!==z)if(l=E(),l!==z){for(f=[],h=x();h!==z;)f.push(h),h=x();f!==z?(125===e.charCodeAt(Je)?(h=R,Je++):(h=z,0===$e&&c(U)),h!==z?(Pe=t,r=Y(o,s,f),t=r):(Je=t,t=z)):(Je=t,t=z)}else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;else Je=t,t=z;return t}function y(){var t,r,n,o,i;if(t=Je,r=Je,Q.test(e.charAt(Je))?(n=e.charAt(Je),Je++):(n=z,0===$e&&c(X)),n!==z){for(o=[],ee.test(e.charAt(Je))?(i=e.charAt(Je),Je++):(i=z,0===$e&&c(te));i!==z;)o.push(i),ee.test(e.charAt(Je))?(i=e.charAt(Je),Je++):(i=z,0===$e&&c(te));o!==z?(n=[n,o],r=n):(Je=r,r=z)}else Je=r,r=z;return t=r!==z?e.substring(t,Je):r}function w(){var e,t,r,n,o;return e=Je,t=E(),t!==z?(r=y(),r!==z?(n=E(),n!==z?(o=b(),o!==z?(Pe=e,t=re(r,o),e=t):(Je=e,e=z)):(Je=e,e=z)):(Je=e,e=z)):(Je=e,e=z),e}function v(){var e,t,r,n,o;return e=Je,t=E(),t!==z?(r=S(),r!==z?(n=E(),n!==z?(o=b(),o!==z?(Pe=e,t=re(r,o),e=t):(Je=e,e=z)):(Je=e,e=z)):(Je=e,e=z)):(Je=e,e=z),e}function b(){var t,r,n,o,i,a;if(t=Je,123===e.charCodeAt(Je)?(r=P,Je++):(r=z,0===$e&&c(_)),r!==z)if(n=Je,o=E(),o!==z?(i=Je,$e++,123===e.charCodeAt(Je)?(a=P,Je++):(a=z,0===$e&&c(_)),$e--,a!==z?(Je=i,i=void 0):i=z,i!==z?(o=[o,i],n=o):(Je=n,n=z)):(Je=n,n=z),n===z&&(n=null),n!==z){for(o=[],i=h();i!==z;)o.push(i),i=h();o!==z?(i=E(),i!==z?(125===e.charCodeAt(Je)?(a=R,Je++):(a=z,0===$e&&c(U)),a!==z?(Pe=t,r=ne(o),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)}else Je=t,t=z;else Je=t,t=z;return t}function k(){var t,r,n,o,i,a,u,s;return t=Je,r=E(),r!==z?(e.substr(Je,6)===oe?(n=oe,Je+=6):(n=z,0===$e&&c(ie)),n!==z?(o=E(),o!==z?(58===e.charCodeAt(Je)?(i=ae,Je++):(i=z,0===$e&&c(ue)),i!==z?(a=E(),a!==z?(u=N(),u!==z?(s=E(),s!==z?(Pe=t,r=se(u),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z),t}function S(){var t,r,n;return t=y(),t===z&&(t=Je,61===e.charCodeAt(Je)?(r=ce,Je++):(r=z,0===$e&&c(le)),r!==z?(n=N(),n!==z?(Pe=t,r=se(n),t=r):(Je=t,t=z)):(Je=t,t=z)),t}function x(){var t,r,n,o,i,a;return t=Je,r=E(),r!==z?(44===e.charCodeAt(Je)?(n=M,Je++):(n=z,0===$e&&c(I)),n!==z?(o=E(),o!==z?(i=y(),i!==z?(a=E(),a!==z?(Pe=t,r=fe(i),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z),t}function j(){var t,r,n,o,i,a;return he.test(e.charAt(Je))?(t=e.charAt(Je),Je++):(t=z,0===$e&&c(pe)),t===z&&(t=Je,e.substr(Je,2)===de?(r=de,Je+=2):(r=z,0===$e&&c(me)),r!==z&&(Pe=t,r=ge()),t=r,t===z&&(t=Je,e.substr(Je,2)===ye?(r=ye,Je+=2):(r=z,0===$e&&c(we)),r!==z&&(Pe=t,r=ve()),t=r,t===z&&(t=Je,e.substr(Je,2)===be?(r=be,Je+=2):(r=z,0===$e&&c(ke)),r!==z&&(Pe=t,r=Se()),t=r,t===z&&(t=Je,e.substr(Je,2)===xe?(r=xe,Je+=2):(r=z,0===$e&&c(je)),r!==z&&(Pe=t,r=Ne()),t=r,t===z&&(t=Je,e.substr(Je,2)===Oe?(r=Oe,Je+=2):(r=z,0===$e&&c(Ee)),r!==z?(n=O(),n!==z?(o=O(),o!==z?(i=O(),i!==z?(a=O(),a!==z?(Pe=t,r=Ae(n,o,i,a),t=r):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)):(Je=t,t=z)))))),t}function N(){var t,r,n;if(t=Je,r=[],ze.test(e.charAt(Je))?(n=e.charAt(Je),Je++):(n=z,0===$e&&c(Fe)),n!==z)for(;n!==z;)r.push(n),ze.test(e.charAt(Je))?(n=e.charAt(Je),Je++):(n=z,0===$e&&c(Fe));else r=z;return t=r!==z?e.substring(t,Je):r}function O(){var t;return Ce.test(e.charAt(Je))?(t=e.charAt(Je),Je++):(t=z,0===$e&&c(Te)),t}function E(){var t,r,n;for(t=Je,r=[],De.test(e.charAt(Je))?(n=e.charAt(Je),Je++):(n=z,0===$e&&c(qe));n!==z;)r.push(n),De.test(e.charAt(Je))?(n=e.charAt(Je),Je++):(n=z,0===$e&&c(qe));return t=r!==z?e.substring(t,Je):r}t=void 0!==t?t:{};var A,z={},F={start:f},C=f,T="#",D=r("#",!1),q=function(){return{type:"octothorpe"}},J=function(e){return e.join("")},P="{",_=r("{",!1),R="}",U=r("}",!1),$=function(e){return{type:"argument",arg:e}},M=",",I=r(",",!1),L="select",B=r("select",!1),G=function(e,t){return{type:"select",arg:e,cases:t}},Z="plural",H=r("plural",!1),K="selectordinal",W=r("selectordinal",!1),V=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}},Y=function(e,t,r){return{type:"function",arg:e,key:t,params:r}},Q=/^[0-9a-zA-Z$_]/,X=n([["0","9"],["a","z"],["A","Z"],"$","_"],!1,!1),ee=/^[^ \t\n\r,.+={}]/,te=n([" ","\t","\n","\r",",",".","+","=","{","}"],!0,!1),re=function(e,t){return{key:e,tokens:t}},ne=function(e){return e},oe="offset",ie=r("offset",!1),ae=":",ue=r(":",!1),se=function(e){return e},ce="=",le=r("=",!1),fe=function(e){return e},he=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,pe=n(["{","}","#","\\",["\0","\b"],["",""],""],!0,!1),de="\\\\",me=r("\\\\",!1),ge=function(){return"\\"},ye="\\#",we=r("\\#",!1),ve=function(){return"#"},be="\\{",ke=r("\\{",!1),Se=function(){return"{"},xe="\\}",je=r("\\}",!1),Ne=function(){return"}"},Oe="\\u",Ee=r("\\u",!1),Ae=function(e,t,r,n){return String.fromCharCode(parseInt("0x"+e+t+r+n))},ze=/^[0-9]/,Fe=n([["0","9"]],!1,!1),Ce=/^[0-9a-fA-F]/,Te=n([["0","9"],["a","f"],["A","F"]],!1,!1),De=/^[ \t\n\r]/,qe=n([" ","\t","\n","\r"],!1,!1),Je=0,Pe=0,_e=[{line:1,column:1}],Re=0,Ue=[],$e=0;if("startRule"in t){if(!(t.startRule in F))throw new Error("Can't start parsing from rule \""+t.startRule+'".');C=F[t.startRule]}if(A=C(),A!==z&&Je===e.length)return A;throw A!==z&&Je<e.length&&c(i()),l(Ue,Re<e.length?e.charAt(Re):null,Re<e.length?s(Re,Re+1):s(Re,Re))}n(o,Error),o.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 s[e.type](e)}function a(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]}}function u(e){return e?'"'+n(e)+'"':"end of input"}var s={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 "+a(e)+" but "+u(t)+" found."},t.exports={SyntaxError:o,parse:i}},{}],9:[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(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(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 u(){g&&d&&(g=!1,d.length?m=d.concat(m):y=-1,m.length&&s())}function s(){if(!g){var e=i(u);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,a(e)}}function c(e,t){this.fun=e,this.array=t}function l(){}var f,h,p=t.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=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 c(e,t)),1!==m.length||g||i(s)},c.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=l,p.addListener=l,p.once=l,p.off=l,p.removeListener=l,p.removeAllListeners=l,p.emit=l,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}},{}],10:[function(e,t,r){t.exports=e("./reserved-words")},{"./reserved-words":11}],11:[function(e,t,r){function n(){var e=Array.prototype.map.call(arguments,function(e){return"string"==typeof e?e:Object.keys(e).join(" ")}).join(" ");return e.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},a=r.KEYWORDS={};r.check=function(e,t,r){t=t||i.default;var n=i[t]||t;return r&&n>=5&&(n+="-strict"),o(a[n],"Unknown dialect"),a[n][e]},a[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"),a[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"),a["5-strict"]=n(a[5],"implements let private public yield","interface package protected static"),a[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"),a["6-strict"]=n(a[6],"let static","implements package protected","interface private public")},{assert:4}],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:a};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),s(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 a(e,t){return e}function u(e){var t={};return e.forEach(function(e,r){t[e]=!0}),t}function s(e,t,n){if(e.customInspect&&t&&O(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return v(o)||(o=s(e,o,n)),o}var i=c(e,t);if(i)return i;var a=Object.keys(t),m=u(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),N(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return l(t);if(0===a.length){if(O(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(j(t))return e.stylize(Date.prototype.toString.call(t),"date");if(N(t))return l(t)}var y="",w=!1,b=["{","}"];if(d(t)&&(w=!0,b=["[","]"]),O(t)){var k=t.name?": "+t.name:"";y=" [Function"+k+"]"}if(S(t)&&(y=" "+RegExp.prototype.toString.call(t)),j(t)&&(y=" "+Date.prototype.toUTCString.call(t)),N(t)&&(y=" "+l(t)),0===a.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 x;return x=w?f(e,t,n,m,a):a.map(function(r){return h(e,t,n,m,r,w)}),e.seen.pop(),p(x,y,b)}function c(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 l(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,o){for(var i=[],a=0,u=t.length;a<u;++a)C(t,String(a))?i.push(h(e,t,r,n,String(a),!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 a,u,c;if(c=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},c.get?u=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(u=e.stylize("[Setter]","special")),C(n,o)||(a="["+o+"]"),u||(e.seen.indexOf(c.value)<0?(u=g(r)?s(e,c.value,null):s(e,c.value,r-1),u.indexOf("\n")>-1&&(u=i?u.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return" "+e}).join("\n"))):u=e.stylize("[Circular]","special")),k(a)){if(i&&o.match(/^\d+$/))return u;a=JSON.stringify(""+o),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function p(e,t,r){var n=0,o=e.reduce(function(e,t){return n++,t.indexOf("\n")>=0&&n++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>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]"===A(e)}function x(e){return"object"==typeof e&&null!==e}function j(e){return x(e)&&"[object Date]"===A(e)}function N(e){return x(e)&&("[object Error]"===A(e)||e instanceof Error)}function O(e){return"function"==typeof e}function E(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function A(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(),J[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,a=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}}),u=n[r];r<i;u=n[++r])a+=g(u)||!x(u)?" "+u:" "+o(u);return a},r.deprecate=function(e,o){function i(){if(!a){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),a=!0}return e.apply(this,arguments)}if(k(n.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(t.noDeprecation===!0)return e;var a=!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=g,r.isNullOrUndefined=y,r.isNumber=w,r.isString=v,r.isSymbol=b,r.isUndefined=k,r.isRegExp=S,r.isObject=x,r.isDate=j,r.isError=N,r.isFunction=O,r.isPrimitive=E,r.isBuffer=e("./support/isBuffer");var J=["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:9,inherits:5}]},{},[2])(2)}); | ||
//# sourceMappingURL=messageformat.min.js.map |
{ | ||
"name": "messageformat", | ||
"version": "1.0.0-rc.3", | ||
"version": "1.0.0", | ||
"description": "PluralFormat and SelectFormat Message and i18n Tool - A JavaScript Implemenation of the ICU standards.", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"type": "git", | ||
"url": "https://github.com/SlexAxton/messageformat.js.git" | ||
"url": "https://github.com/messageformat/messageformat.js.git" | ||
}, | ||
@@ -40,5 +40,5 @@ "main": "lib/", | ||
"dependencies": { | ||
"glob": "~6.0.4", | ||
"glob": "~7.0.6", | ||
"make-plural": "~3.0.6", | ||
"messageformat-parser": "^1.0.0-rc.1", | ||
"messageformat-parser": "^1.0.0", | ||
"nopt": "~3.0.6", | ||
@@ -48,9 +48,9 @@ "reserved-words": "^0.1.1" | ||
"devDependencies": { | ||
"browserify": "~13.0.0", | ||
"browserify": "~13.1.0", | ||
"expect.js": "*", | ||
"jsdoc": "~3.4.0", | ||
"mocha": "*", | ||
"mocha": "~3.0.2", | ||
"serve": "*", | ||
"tmp": "*", | ||
"uglify-js": "2.*" | ||
"uglify-js": "~2.7.3" | ||
}, | ||
@@ -57,0 +57,0 @@ "scripts": { |
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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
432238
32
5813
1
0
128
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.0.6(transitive)
- Removedglob@6.0.4(transitive)
Updatedglob@~7.0.6
Updatedmessageformat-parser@^1.0.0