@transifex/native 2.0.1 → 2.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/browser.native.js +2 -2
- package/dist/browser.native.js.map +1 -1
- package/dist/node.native.js +2 -2
- package/dist/node.native.js.map +1 -1
- package/package.json +1 -1
- package/src/TxNative.js +24 -8
- package/src/cache/MemoryCache.js +4 -1
- package/src/renderers/MessageFormatRenderer.js +14 -2
package/dist/node.native.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.transifex=n():t.transifex=n()}(global,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=68)}([function(t,n,e){"use strict";var r=e(8),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return void 0===t}function u(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var n=Object.getPrototypeOf(t);return null===n||n===Object.prototype}function a(t){return"[object Function]"===i.call(t)}function f(t,n){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var e=0,r=t.length;e<r;e++)n.call(null,t[e],e,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isPlainObject:c,isUndefined:s,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:a,isStream:function(t){return u(t)&&a(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function t(){var n={};function e(e,r){c(n[r])&&c(e)?n[r]=t(n[r],e):c(e)?n[r]=t({},e):o(e)?n[r]=e.slice():n[r]=e}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],e);return n},extend:function(t,n,e){return f(n,(function(n,i){t[i]=e&&"function"==typeof n?r(n,e):n})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,n,e){"use strict";var r=e(0),i=e(27),o=e(4),s={"Content-Type":"application/x-www-form-urlencoded"};function u(t,n){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=n)}var c,a={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=e(28):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=e(34)),c),transformRequest:[function(t,n){return i(n,"Accept"),i(n,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(u(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||n&&"application/json"===n["Content-Type"]?(u(n,"application/json"),function(t,n,e){if(r.isString(t))try{return(n||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(e||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var n=this.transitional||a.transitional,e=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,s=!e&&"json"===this.responseType;if(s||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){a.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){a.headers[t]=r.merge(s)})),t.exports=a},function(t,n,e){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,n,e){"use strict";var r=e(0);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,n,e){if(!n)return t;var o;if(e)o=e(n);else if(r.isURLSearchParams(n))o=n.toString();else{var s=[];r.forEach(n,(function(t,n){null!=t&&(r.isArray(t)?n+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(n)+"="+i(t))})))})),o=s.join("&")}if(o){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,n,e){"use strict";t.exports=function(t,n,e,r,i){return t.config=n,e&&(t.code=e),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},function(t,n,e){"use strict";var r=e(4);t.exports=function(t,n,e,i,o){var s=new Error(t);return r(s,n,e,i,o)}},function(t,n){t.exports={version:"0.24.0"}},function(t,n,e){t.exports=e(22)},function(t,n,e){"use strict";t.exports=function(t,n){return function(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];return t.apply(n,e)}}},function(t,n,e){"use strict";var r=e(5);t.exports=function(t,n,e){var i=e.config.validateStatus;e.status&&i&&!i(e.status)?n(r("Request failed with status code "+e.status,e.config,null,e.request,e)):t(e)}},function(t,n,e){"use strict";var r=e(30),i=e(31);t.exports=function(t,n){return t&&!r(n)?i(t,n):n}},function(t,n){t.exports=require("http")},function(t,n){t.exports=require("https")},function(t,n,e){var r=e(14),i=r.URL,o=e(11),s=e(12),u=e(35).Writable,c=e(36),a=e(37),f=["abort","aborted","connect","error","socket","timeout"],l=Object.create(null);f.forEach((function(t){l[t]=function(n,e,r){this._redirectable.emit(t,n,e,r)}}));var d=x("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),h=x("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),p=x("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),m=x("ERR_STREAM_WRITE_AFTER_END","write after end");function g(t,n){u.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n&&this.on("response",n);var e=this;this._onNativeResponse=function(t){e._processResponse(t)},this._performRequest()}function y(t){var n={maxRedirects:21,maxBodyLength:10485760},e={};return Object.keys(t).forEach((function(o){var s=o+":",u=e[s]=t[o],f=n[o]=Object.create(u);Object.defineProperties(f,{request:{value:function(t,o,u){if("string"==typeof t){var f=t;try{t=w(new i(f))}catch(n){t=r.parse(f)}}else i&&t instanceof i?t=w(t):(u=o,o=t,t={protocol:s});return"function"==typeof o&&(u=o,o=null),(o=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},t,o)).nativeProtocols=e,c.equal(o.protocol,s,"protocol mismatch"),a("options",o),new g(o,u)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(t,n,e){var r=f.request(t,n,e);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),n}function b(){}function w(t){var n={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return""!==t.port&&(n.port=Number(t.port)),n}function v(t,n){var e;for(var r in n)t.test(r)&&(e=n[r].toString().trim(),delete n[r]);return e}function x(t,n){function e(t){Error.captureStackTrace(this,this.constructor),t?(this.message=n+": "+t.message,this.cause=t):this.message=n}return e.prototype=new Error,e.prototype.constructor=e,e.prototype.name="Error ["+t+"]",e.prototype.code=t,e}function k(t){for(var n=0;n<f.length;n++)t.removeListener(f[n],l[f[n]]);t.on("error",b),t.abort()}g.prototype=Object.create(u.prototype),g.prototype.abort=function(){k(this._currentRequest),this.emit("abort")},g.prototype.write=function(t,n,e){if(this._ending)throw new m;if(!("string"==typeof t||"object"==typeof t&&"length"in t))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof n&&(e=n,n=null),0!==t.length?this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:n}),this._currentRequest.write(t,n,e)):(this.emit("error",new p),this.abort()):e&&e()},g.prototype.end=function(t,n,e){if("function"==typeof t?(e=t,t=n=null):"function"==typeof n&&(e=n,n=null),t){var r=this,i=this._currentRequest;this.write(t,n,(function(){r._ended=!0,i.end(null,null,e)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,e)},g.prototype.setHeader=function(t,n){this._options.headers[t]=n,this._currentRequest.setHeader(t,n)},g.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)},g.prototype.setTimeout=function(t,n){var e=this;function r(n){n.setTimeout(t),n.removeListener("timeout",n.destroy),n.addListener("timeout",n.destroy)}function i(n){e._timeout&&clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout"),o()}),t),r(n)}function o(){e._timeout&&(clearTimeout(e._timeout),e._timeout=null),e.removeListener("abort",o),e.removeListener("error",o),e.removeListener("response",o),n&&e.removeListener("timeout",n),e.socket||e._currentRequest.removeListener("socket",i)}return n&&this.on("timeout",n),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",o),this.on("error",o),this.on("response",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(t){g.prototype[t]=function(n,e){return this._currentRequest[t](n,e)}})),["aborted","connection","socket"].forEach((function(t){Object.defineProperty(g.prototype,t,{get:function(){return this._currentRequest[t]}})})),g.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var n=t.path.indexOf("?");n<0?t.pathname=t.path:(t.pathname=t.path.substring(0,n),t.search=t.path.substring(n))}},g.prototype._performRequest=function(){var t=this._options.protocol,n=this._options.nativeProtocols[t];if(n){if(this._options.agents){var e=t.substr(0,t.length-1);this._options.agent=this._options.agents[e]}var i=this._currentRequest=n.request(this._options,this._onNativeResponse);this._currentUrl=r.format(this._options),i._redirectable=this;for(var o=0;o<f.length;o++)i.on(f[o],l[f[o]]);if(this._isRedirect){var s=0,u=this,c=this._requestBodyBuffers;!function t(n){if(i===u._currentRequest)if(n)u.emit("error",n);else if(s<c.length){var e=c[s++];i.finished||i.write(e.data,e.encoding,t)}else u._ended&&i.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},g.prototype._processResponse=function(t){var n=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:n});var e=t.headers.location;if(e&&!1!==this._options.followRedirects&&n>=300&&n<400){if(k(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new h);((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],v(/^content-/i,this._options.headers));var i,o=v(/^host$/i,this._options.headers),s=r.parse(this._currentUrl),u=o||s.host,c=/^\w+:/.test(e)?this._currentUrl:r.format(Object.assign(s,{host:u}));try{i=r.resolve(c,e)}catch(t){return void this.emit("error",new d(t))}a("redirecting to",i),this._isRedirect=!0;var f=r.parse(i);if(Object.assign(this._options,f),f.host===u||function(t,n){const e=t.length-n.length-1;return e>0&&"."===t[e]&&t.endsWith(n)}(f.host,u)||v(/^authorization$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var l={headers:t.headers};try{this._options.beforeRedirect.call(null,this._options,l)}catch(t){return void this.emit("error",t)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(t){this.emit("error",new d(t))}}else t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[]},t.exports=y({http:o,https:s}),t.exports.wrap=y},function(t,n){t.exports=require("url")},function(t,n,e){t.exports=function(t){function n(t){let e,i,o,s=null;function u(...t){if(!u.enabled)return;const r=u,i=Number(new Date),o=i-(e||i);r.diff=o,r.prev=e,r.curr=i,e=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(e,i)=>{if("%%"===e)return"%";s++;const o=n.formatters[i];if("function"==typeof o){const n=t[s];e=o.call(r,n),t.splice(s,1),s--}return e}),n.formatArgs.call(r,t);(r.log||n.log).apply(r,t)}return u.namespace=t,u.useColors=n.useColors(),u.color=n.selectColor(t),u.extend=r,u.destroy=n.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==n.namespaces&&(i=n.namespaces,o=n.enabled(t)),o),set:t=>{s=t}}),"function"==typeof n.init&&n.init(u),u}function r(t,e){const r=n(this.namespace+(void 0===e?":":e)+t);return r.log=this.log,r}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},n.disable=function(){const t=[...n.names.map(i),...n.skips.map(i).map(t=>"-"+t)].join(",");return n.enable(""),t},n.enable=function(t){let e;n.save(t),n.namespaces=t,n.names=[],n.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(e=0;e<i;e++)r[e]&&("-"===(t=r[e].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")))},n.enabled=function(t){if("*"===t[t.length-1])return!0;let e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1},n.humanize=e(40),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(e=>{n[e]=t[e]}),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return n.colors[Math.abs(e)%n.colors.length]},n.enable(n.load()),n}},function(t,n,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,n,e){"use strict";var r=e(0);t.exports=function(t,n){n=n||{};var e={};function i(t,n){return r.isPlainObject(t)&&r.isPlainObject(n)?r.merge(t,n):r.isPlainObject(n)?r.merge({},n):r.isArray(n)?n.slice():n}function o(e){return r.isUndefined(n[e])?r.isUndefined(t[e])?void 0:i(void 0,t[e]):i(t[e],n[e])}function s(t){if(!r.isUndefined(n[t]))return i(void 0,n[t])}function u(e){return r.isUndefined(n[e])?r.isUndefined(t[e])?void 0:i(void 0,t[e]):i(void 0,n[e])}function c(e){return e in n?i(t[e],n[e]):e in t?i(void 0,t[e]):void 0}var a={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(n)),(function(t){var n=a[t]||o,i=n(t);r.isUndefined(i)&&n!==c||(e[t]=i)})),e}},function(t,n,e){const r=e(62);t.exports={identifier:function(t,n){n&&(t+=" "+function(t){let n=0;for(let e=0;e<t.length;++e){n=(n<<5)-n+t.charCodeAt(e),n|=0}return n}(t).toString(36));const e=t.trim().replace(/\W+/g,"_");return r.ES3[e]||r.ESnext[e]||/^\d/.test(e)?"_"+e:e},property:function(t,n){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(n)&&!r.ES3[n])return t?t+"."+n:n;{const e=JSON.stringify(n);return t?t+"["+e+"]":e}}}},function(t,n){var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],e=0;e<t.length;e++)n.push(255&t.charCodeAt(e));return n},bytesToString:function(t){for(var n=[],e=0;e<t.length;e++)n.push(String.fromCharCode(t[e]));return n.join("")}}};t.exports=e},function(t,n,e){"use strict";var r=e(52),i=e(63),o=e(64),s=e(65),u=e(18);function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function a(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach((function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})),n.default=t,Object.freeze(n)}var f=c(r),l=a(i),d=a(o),h=a(s);function p(t){if("string"!=typeof t||t.length<2)throw new RangeError("Invalid language tag: "+t);if(t.startsWith("pt-PT"))return"pt-PT";const n=t.match(/.+?(?=[-_])/);return n?n[0]:t}function m(t){if("function"==typeof t){const n=p(t.name);return{isDefault:!1,id:u.identifier(n),lc:n,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}const n=p(t),e=u.identifier(n);return function(t){return t in h}(e)?{isDefault:!0,id:e,lc:n,locale:t,getCardinal:l[e],getPlural:h[e],cardinals:d[e].cardinal,ordinals:d[e].ordinal}:null}function g(t){const n=p(t);return u.identifier(n)in h}class y{constructor(t,n){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},requireAllArguments:!1,returnType:"string",strict:n&&n.strictNumberSign||!1},n),"*"===t)this.plurals=function(t){const n=Object.keys(h).filter(n=>n!==t);return n.unshift(t),n.map(m)}(y.defaultLocale);else if(Array.isArray(t))this.plurals=t.map(m).filter(Boolean);else if(t){const n=m(t);n&&(this.plurals=[n])}if(0===this.plurals.length){const t=m(y.defaultLocale);this.plurals=[t]}}static escape(t,n){const e=n?/[#{}]/g:/[{}]/g;return String(t).replace(e,"'$&'")}static supportedLocalesOf(t){return(Array.isArray(t)?t:[t]).filter(g)}resolvedOptions(){return Object.assign(Object.assign({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})}compile(t){const n=new f.default(this.options),e="return "+n.compile(t,this.plurals[0]),r=[],i=[];for(const[t,e]of Object.entries(n.runtime))r.push(t),i.push(e);return new Function(...r,e)(...i)}}y.defaultLocale="en",t.exports=y},function(t,n,e){var r,i,o,s,u;r=e(66),i=e(19).utf8,o=e(67),s=e(19).bin,(u=function(t,n){t.constructor==String?t=n&&"binary"===n.encoding?s.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var e=r.bytesToWords(t),c=8*t.length,a=1732584193,f=-271733879,l=-1732584194,d=271733878,h=0;h<e.length;h++)e[h]=16711935&(e[h]<<8|e[h]>>>24)|4278255360&(e[h]<<24|e[h]>>>8);e[c>>>5]|=128<<c%32,e[14+(c+64>>>9<<4)]=c;var p=u._ff,m=u._gg,g=u._hh,y=u._ii;for(h=0;h<e.length;h+=16){var b=a,w=f,v=l,x=d;a=p(a,f,l,d,e[h+0],7,-680876936),d=p(d,a,f,l,e[h+1],12,-389564586),l=p(l,d,a,f,e[h+2],17,606105819),f=p(f,l,d,a,e[h+3],22,-1044525330),a=p(a,f,l,d,e[h+4],7,-176418897),d=p(d,a,f,l,e[h+5],12,1200080426),l=p(l,d,a,f,e[h+6],17,-1473231341),f=p(f,l,d,a,e[h+7],22,-45705983),a=p(a,f,l,d,e[h+8],7,1770035416),d=p(d,a,f,l,e[h+9],12,-1958414417),l=p(l,d,a,f,e[h+10],17,-42063),f=p(f,l,d,a,e[h+11],22,-1990404162),a=p(a,f,l,d,e[h+12],7,1804603682),d=p(d,a,f,l,e[h+13],12,-40341101),l=p(l,d,a,f,e[h+14],17,-1502002290),a=m(a,f=p(f,l,d,a,e[h+15],22,1236535329),l,d,e[h+1],5,-165796510),d=m(d,a,f,l,e[h+6],9,-1069501632),l=m(l,d,a,f,e[h+11],14,643717713),f=m(f,l,d,a,e[h+0],20,-373897302),a=m(a,f,l,d,e[h+5],5,-701558691),d=m(d,a,f,l,e[h+10],9,38016083),l=m(l,d,a,f,e[h+15],14,-660478335),f=m(f,l,d,a,e[h+4],20,-405537848),a=m(a,f,l,d,e[h+9],5,568446438),d=m(d,a,f,l,e[h+14],9,-1019803690),l=m(l,d,a,f,e[h+3],14,-187363961),f=m(f,l,d,a,e[h+8],20,1163531501),a=m(a,f,l,d,e[h+13],5,-1444681467),d=m(d,a,f,l,e[h+2],9,-51403784),l=m(l,d,a,f,e[h+7],14,1735328473),a=g(a,f=m(f,l,d,a,e[h+12],20,-1926607734),l,d,e[h+5],4,-378558),d=g(d,a,f,l,e[h+8],11,-2022574463),l=g(l,d,a,f,e[h+11],16,1839030562),f=g(f,l,d,a,e[h+14],23,-35309556),a=g(a,f,l,d,e[h+1],4,-1530992060),d=g(d,a,f,l,e[h+4],11,1272893353),l=g(l,d,a,f,e[h+7],16,-155497632),f=g(f,l,d,a,e[h+10],23,-1094730640),a=g(a,f,l,d,e[h+13],4,681279174),d=g(d,a,f,l,e[h+0],11,-358537222),l=g(l,d,a,f,e[h+3],16,-722521979),f=g(f,l,d,a,e[h+6],23,76029189),a=g(a,f,l,d,e[h+9],4,-640364487),d=g(d,a,f,l,e[h+12],11,-421815835),l=g(l,d,a,f,e[h+15],16,530742520),a=y(a,f=g(f,l,d,a,e[h+2],23,-995338651),l,d,e[h+0],6,-198630844),d=y(d,a,f,l,e[h+7],10,1126891415),l=y(l,d,a,f,e[h+14],15,-1416354905),f=y(f,l,d,a,e[h+5],21,-57434055),a=y(a,f,l,d,e[h+12],6,1700485571),d=y(d,a,f,l,e[h+3],10,-1894986606),l=y(l,d,a,f,e[h+10],15,-1051523),f=y(f,l,d,a,e[h+1],21,-2054922799),a=y(a,f,l,d,e[h+8],6,1873313359),d=y(d,a,f,l,e[h+15],10,-30611744),l=y(l,d,a,f,e[h+6],15,-1560198380),f=y(f,l,d,a,e[h+13],21,1309151649),a=y(a,f,l,d,e[h+4],6,-145523070),d=y(d,a,f,l,e[h+11],10,-1120210379),l=y(l,d,a,f,e[h+2],15,718787259),f=y(f,l,d,a,e[h+9],21,-343485551),a=a+b>>>0,f=f+w>>>0,l=l+v>>>0,d=d+x>>>0}return r.endian([a,f,l,d])})._ff=function(t,n,e,r,i,o,s){var u=t+(n&e|~n&r)+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._gg=function(t,n,e,r,i,o,s){var u=t+(n&r|e&~r)+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._hh=function(t,n,e,r,i,o,s){var u=t+(n^e^r)+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._ii=function(t,n,e,r,i,o,s){var u=t+(e^(n|~r))+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._blocksize=16,u._digestsize=16,t.exports=function(t,n){if(null==t)throw new Error("Illegal argument "+t);var e=r.wordsToBytes(u(t,n));return n&&n.asBytes?e:n&&n.asString?s.bytesToString(e):r.bytesToHex(e)}},function(t,n,e){"use strict";var r=e(0),i=e(8),o=e(23),s=e(17);var u=function t(n){var e=new o(n),u=i(o.prototype.request,e);return r.extend(u,o.prototype,e),r.extend(u,e),u.create=function(e){return t(s(n,e))},u}(e(1));u.Axios=o,u.Cancel=e(2),u.CancelToken=e(49),u.isCancel=e(16),u.VERSION=e(6).version,u.all=function(t){return Promise.all(t)},u.spread=e(50),u.isAxiosError=e(51),t.exports=u,t.exports.default=u},function(t,n,e){"use strict";var r=e(0),i=e(3),o=e(24),s=e(25),u=e(17),c=e(48),a=c.validators;function f(t){this.defaults=t,this.interceptors={request:new o,response:new o}}f.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=u(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean)},!1);var e=[],r=!0;this.interceptors.request.forEach((function(n){"function"==typeof n.runWhen&&!1===n.runWhen(t)||(r=r&&n.synchronous,e.unshift(n.fulfilled,n.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var f=[s,void 0];for(Array.prototype.unshift.apply(f,e),f=f.concat(o),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var l=t;e.length;){var d=e.shift(),h=e.shift();try{l=d(l)}catch(t){h(t);break}}try{i=s(l)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},f.prototype.getUri=function(t){return t=u(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){f.prototype[t]=function(n,e){return this.request(u(e||{},{method:t,url:n,data:(e||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(n,e,r){return this.request(u(r||{},{method:t,url:n,data:e}))}})),t.exports=f},function(t,n,e){"use strict";var r=e(0);function i(){this.handlers=[]}i.prototype.use=function(t,n,e){return this.handlers.push({fulfilled:t,rejected:n,synchronous:!!e&&e.synchronous,runWhen:e?e.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(n){null!==n&&t(n)}))},t.exports=i},function(t,n,e){"use strict";var r=e(0),i=e(26),o=e(16),s=e(1),u=e(2);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new u("canceled")}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(n){delete t.headers[n]})),(t.adapter||s.adapter)(t).then((function(n){return c(t),n.data=i.call(t,n.data,n.headers,t.transformResponse),n}),(function(n){return o(n)||(c(t),n&&n.response&&(n.response.data=i.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)}))}},function(t,n,e){"use strict";var r=e(0),i=e(1);t.exports=function(t,n,e){var o=this||i;return r.forEach(e,(function(e){t=e.call(o,t,n)})),t}},function(t,n,e){"use strict";var r=e(0);t.exports=function(t,n){r.forEach(t,(function(e,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=e,delete t[r])}))}},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(29),s=e(3),u=e(10),c=e(32),a=e(33),f=e(5),l=e(1),d=e(2);t.exports=function(t){return new Promise((function(n,e){var h,p=t.data,m=t.headers,g=t.responseType;function y(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}r.isFormData(p)&&delete m["Content-Type"];var b=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+v)}var x=u(t.baseURL,t.url);function k(){if(b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:t,request:b};i((function(t){n(t),y()}),(function(t){e(t),y()}),o),b=null}}if(b.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),b.timeout=t.timeout,"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(k)},b.onabort=function(){b&&(e(f("Request aborted",t,"ECONNABORTED",b)),b=null)},b.onerror=function(){e(f("Network Error",t,null,b)),b=null},b.ontimeout=function(){var n=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||l.transitional;t.timeoutErrorMessage&&(n=t.timeoutErrorMessage),e(f(n,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},r.isStandardBrowserEnv()){var S=(t.withCredentials||a(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(m[t.xsrfHeaderName]=S)}"setRequestHeader"in b&&r.forEach(m,(function(t,n){void 0===p&&"content-type"===n.toLowerCase()?delete m[n]:b.setRequestHeader(n,t)})),r.isUndefined(t.withCredentials)||(b.withCredentials=!!t.withCredentials),g&&"json"!==g&&(b.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&b.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(t){b&&(e(!t||t&&t.type?new d("canceled"):t),b.abort(),b=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),p||(p=null),b.send(p)}))}},function(t,n,e){"use strict";var r=e(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,n,e,i,o,s){var u=[];u.push(t+"="+encodeURIComponent(n)),r.isNumber(e)&&u.push("expires="+new Date(e).toGMTString()),r.isString(i)&&u.push("path="+i),r.isString(o)&&u.push("domain="+o),!0===s&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,n,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,n,e){"use strict";t.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}},function(t,n,e){"use strict";var r=e(0),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var n,e,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),n=r.trim(t.substr(0,o)).toLowerCase(),e=r.trim(t.substr(o+1)),n){if(s[n]&&i.indexOf(n)>=0)return;s[n]="set-cookie"===n?(s[n]?s[n]:[]).concat([e]):s[n]?s[n]+", "+e:e}})),s):s}},function(t,n,e){"use strict";var r=e(0);t.exports=r.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");function i(t){var r=t;return n&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return t=i(window.location.href),function(n){var e=r.isString(n)?i(n):n;return e.protocol===t.protocol&&e.host===t.host}}():function(){return!0}},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(10),s=e(3),u=e(11),c=e(12),a=e(13).http,f=e(13).https,l=e(14),d=e(47),h=e(6).version,p=e(5),m=e(4),g=e(1),y=e(2),b=/https:?/;t.exports=function(t){return new Promise((function(n,e){var w;function v(){t.cancelToken&&t.cancelToken.unsubscribe(w),t.signal&&t.signal.removeEventListener("abort",w)}var x=function(t){v(),n(t)},k=function(t){v(),e(t)},S=t.data,E=t.headers,O={};if(Object.keys(E).forEach((function(t){O[t.toLowerCase()]=t})),"user-agent"in O?E[O["user-agent"]]||delete E[O["user-agent"]]:E["User-Agent"]="axios/"+h,S&&!r.isStream(S)){if(Buffer.isBuffer(S));else if(r.isArrayBuffer(S))S=Buffer.from(new Uint8Array(S));else{if(!r.isString(S))return k(p("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));S=Buffer.from(S,"utf-8")}O["content-length"]||(E["Content-Length"]=S.length)}var C=void 0;t.auth&&(C=(t.auth.username||"")+":"+(t.auth.password||""));var _=o(t.baseURL,t.url),T=l.parse(_),N=T.protocol||"http:";if(!C&&T.auth){var j=T.auth.split(":");C=(j[0]||"")+":"+(j[1]||"")}C&&O.authorization&&delete E[O.authorization];var R=b.test(N),A=R?t.httpsAgent:t.httpAgent,F={path:s(T.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:E,agent:A,agents:{http:t.httpAgent,https:t.httpsAgent},auth:C};t.socketPath?F.socketPath=t.socketPath:(F.hostname=T.hostname,F.port=T.port);var P,L=t.proxy;if(!L&&!1!==L){var B=N.slice(0,-1)+"_proxy",$=process.env[B]||process.env[B.toUpperCase()];if($){var D=l.parse($),q=process.env.no_proxy||process.env.NO_PROXY,I=!0;if(q)I=!q.split(",").map((function(t){return t.trim()})).some((function(t){return!!t&&("*"===t||("."===t[0]&&T.hostname.substr(T.hostname.length-t.length)===t||T.hostname===t))}));if(I&&(L={host:D.hostname,port:D.port,protocol:D.protocol},D.auth)){var z=D.auth.split(":");L.auth={username:z[0],password:z[1]}}}}L&&(F.headers.host=T.hostname+(T.port?":"+T.port:""),function t(n,e,r){if(n.hostname=e.host,n.host=e.host,n.port=e.port,n.path=r,e.auth){var i=Buffer.from(e.auth.username+":"+e.auth.password,"utf8").toString("base64");n.headers["Proxy-Authorization"]="Basic "+i}n.beforeRedirect=function(n){n.headers.host=n.host,t(n,e,n.href)}}(F,L,N+"//"+T.hostname+(T.port?":"+T.port:"")+F.path));var M=R&&(!L||b.test(L.protocol));t.transport?P=t.transport:0===t.maxRedirects?P=M?c:u:(t.maxRedirects&&(F.maxRedirects=t.maxRedirects),P=M?f:a),t.maxBodyLength>-1&&(F.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(F.insecureHTTPParser=t.insecureHTTPParser);var U=P.request(F,(function(n){if(!U.aborted){var e=n,o=n.req||U;if(204!==n.statusCode&&"HEAD"!==o.method&&!1!==t.decompress)switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":e=e.pipe(d.createUnzip()),delete n.headers["content-encoding"]}var s={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:t,request:o};if("stream"===t.responseType)s.data=e,i(x,k,s);else{var u=[],c=0;e.on("data",(function(n){u.push(n),c+=n.length,t.maxContentLength>-1&&c>t.maxContentLength&&(e.destroy(),k(p("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,o)))})),e.on("error",(function(n){U.aborted||k(m(n,t,null,o))})),e.on("end",(function(){var n=Buffer.concat(u);"arraybuffer"!==t.responseType&&(n=n.toString(t.responseEncoding),t.responseEncoding&&"utf8"!==t.responseEncoding||(n=r.stripBOM(n))),s.data=n,i(x,k,s)}))}}}));if(U.on("error",(function(n){U.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==n.code||k(m(n,t,null,U))})),t.timeout){var H=parseInt(t.timeout,10);if(isNaN(H))return void k(p("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",U));U.setTimeout(H,(function(){U.abort();var n=t.transitional||g.transitional;k(p("timeout of "+H+"ms exceeded",t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",U))}))}(t.cancelToken||t.signal)&&(w=function(t){U.aborted||(U.abort(),k(!t||t&&t.type?new y("canceled"):t))},t.cancelToken&&t.cancelToken.subscribe(w),t.signal&&(t.signal.aborted?w():t.signal.addEventListener("abort",w))),r.isStream(S)?S.on("error",(function(n){k(m(n,t,null,U))})).pipe(U):U.end(S)}))}},function(t,n){t.exports=require("stream")},function(t,n){t.exports=require("assert")},function(t,n,e){var r;t.exports=function(){if(!r){try{r=e(38)("follow-redirects")}catch(t){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},function(t,n,e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=e(39):t.exports=e(41)},function(t,n,e){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const e="color: "+this.color;n.splice(1,0,e,"color: inherit");let r=0,i=0;n[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))}),n.splice(i,0,e)},n.save=function(t){try{t?n.storage.setItem("debug",t):n.storage.removeItem("debug")}catch(t){}},n.load=function(){let t;try{t=n.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},n.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage=function(){try{return localStorage}catch(t){}}(),n.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),t.exports=e(15)(n);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(t,n){var e=1e3,r=6e4,i=60*r,o=24*i;function s(t,n,e,r){var i=n>=1.5*e;return Math.round(t/e)+" "+r+(i?"s":"")}t.exports=function(t,n){n=n||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!n)return;var s=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===u&&isFinite(t))return n.long?function(t){var n=Math.abs(t);if(n>=o)return s(t,n,o,"day");if(n>=i)return s(t,n,i,"hour");if(n>=r)return s(t,n,r,"minute");if(n>=e)return s(t,n,e,"second");return t+" ms"}(t):function(t){var n=Math.abs(t);if(n>=o)return Math.round(t/o)+"d";if(n>=i)return Math.round(t/i)+"h";if(n>=r)return Math.round(t/r)+"m";if(n>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,n,e){const r=e(42),i=e(43);n.init=function(t){t.inspectOpts={};const e=Object.keys(n.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=n.inspectOpts[e[r]]},n.log=function(...t){return process.stderr.write(i.format(...t)+"\n")},n.formatArgs=function(e){const{namespace:r,useColors:i}=this;if(i){const n=this.color,i="[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${r} [0m`;e[0]=o+e[0].split("\n").join("\n"+o),e.push(i+"m+"+t.exports.humanize(this.diff)+"[0m")}else e[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+r+" "+e[0]},n.save=function(t){t?process.env.DEBUG=t:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):r.isatty(process.stderr.fd)},n.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const t=e(44);t&&(t.stderr||t).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}n.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,n)=>{const e=n.substring(6).toLowerCase().replace(/_([a-z])/g,(t,n)=>n.toUpperCase());let r=process.env[n];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),t[e]=r,t},{}),t.exports=e(15)(n);const{formatters:o}=t.exports;o.o=function(t){return this.inspectOpts.colors=this.useColors,i.inspect(t,this.inspectOpts).split("\n").map(t=>t.trim()).join(" ")},o.O=function(t){return this.inspectOpts.colors=this.useColors,i.inspect(t,this.inspectOpts)}},function(t,n){t.exports=require("tty")},function(t,n){t.exports=require("util")},function(t,n,e){"use strict";const r=e(45),i=e(46),o=process.env;let s;function u(t){return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(function(t){if(!1===s)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(t&&!t.isTTY&&!0!==s)return 0;const n=s?1:0;if("win32"===process.platform){const t=r.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in o)||"codeship"===o.CI_NAME?1:n;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const t=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:(o.TERM,n)}(t))}i("no-color")||i("no-colors")||i("color=false")?s=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(s=!0),"FORCE_COLOR"in o&&(s=0===o.FORCE_COLOR.length||0!==parseInt(o.FORCE_COLOR,10)),t.exports={supportsColor:u,stdout:u(process.stdout),stderr:u(process.stderr)}},function(t,n){t.exports=require("os")},function(t,n,e){"use strict";t.exports=(t,n)=>{n=n||process.argv;const e=t.startsWith("-")?"":1===t.length?"-":"--",r=n.indexOf(e+t),i=n.indexOf("--");return-1!==r&&(-1===i||r<i)}},function(t,n){t.exports=require("zlib")},function(t,n,e){"use strict";var r=e(6).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,n){i[t]=function(e){return typeof e===t||"a"+(n<1?"n ":" ")+t}}));var o={};i.transitional=function(t,n,e){function i(t,n){return"[Axios v"+r+"] Transitional option '"+t+"'"+n+(e?". "+e:"")}return function(e,r,s){if(!1===t)throw new Error(i(r," has been removed"+(n?" in "+n:"")));return n&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+n+" and will be removed in the near future"))),!t||t(e,r,s)}},t.exports={assertOptions:function(t,n,e){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],s=n[o];if(s){var u=t[o],c=void 0===u||s(u,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==e)throw Error("Unknown option "+o)}},validators:i}},function(t,n,e){"use strict";var r=e(2);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(t){n=t}));var e=this;this.promise.then((function(t){if(e._listeners){var n,r=e._listeners.length;for(n=0;n<r;n++)e._listeners[n](t);e._listeners=null}})),this.promise.then=function(t){var n,r=new Promise((function(t){e.subscribe(t),n=t})).then(t);return r.cancel=function(){e.unsubscribe(n)},r},t((function(t){e.reason||(e.reason=new r(t),n(e.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},i.prototype.unsubscribe=function(t){if(this._listeners){var n=this._listeners.indexOf(t);-1!==n&&this._listeners.splice(n,1)}},i.source=function(){var t;return{token:new i((function(n){t=n})),cancel:t}},t.exports=i},function(t,n,e){"use strict";t.exports=function(t){return function(n){return t.apply(null,n)}}},function(t,n,e){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,n,e){"use strict";var r=e(53),i=e(56),o=e(57),s=e(18);function u(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach((function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})),n.default=t,Object.freeze(n)}var c=u(i),a=u(o);class f extends Error{constructor(t,n,e){super(t),this.token=n,this.type=e||"error"}}const l=t=>t<4?"short":4===t?"long":"narrow",d=t=>t%2==0?"2-digit":"numeric";function h(t,n){switch(t.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void n(`${t.desc} is not supported with width ${t.width}`)}}function p(t,n){const{char:e,desc:r,width:i}=t;return"d"===e?d(i):void n(r+" is not supported")}function m(t,n){const{char:e,desc:r,width:i}=t;if(("c"===e||"e"===e)&&i<3){n(`Numeric value is not supported for ${r}; falling back to weekday:short`,f.WARNING)}return l(i)}function g(t,n){const{char:e,desc:r,width:i}=t;switch(e){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void n(`${r} is not supported with width ${i}`);case"X":return void n(r+" is not supported")}return"short"}function y(t,n){switch(t.field){case"era":return{era:l(t.width)};case"year":return function(t,n){switch(t.char){case"y":return{year:d(t.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return n(t.desc+" is not supported; falling back to year:numeric",f.WARNING),{year:"numeric"}}}(t,n);case"month":return{month:h(t,n)};case"day":return{day:p(t,n)};case"weekday":return{weekday:m(t,n)};case"period":return;case"hour":return function(t){const n=d(t.width);let e;switch(t.char){case"h":e="h12";break;case"H":e="h23";break;case"k":e="h24";break;case"K":e="h11"}return e?{hour:n,hourCycle:e}:{hour:n}}(t);case"min":return{minute:d(t.width)};case"sec":return{second:d(t.width)};case"tz":return{timeZoneName:g(t,n)};case"quarter":case"week":case"sec-frac":case"ms":n(t.desc+" is not supported")}}function b(t,n=(t=>{throw t})){const e={},r=[];for(const i of t){const{error:t,field:o,str:s}=i;if(t){const e=new f(t.message,i);e.stack=t.stack,n(e)}if(s){n(new f("Ignoring string part: "+s,i,f.WARNING))}o&&(-1===r.indexOf(o)?r.push(o):n(new f(`Duplicate ${o} token`,i)));const u=y(i,(t,e)=>n(new f(t,i,e)));u&&Object.assign(e,u)}return e}const w={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},v=t=>t>="A"&&t<="Z"||t>="a"&&t<="z";function x(t,n){const e=t[n];if(!e)return null;if(v(e))return function(t,n){const e=t[n];let r=1;for(;t[++n]===e;)++r;const i=w[e];if(!i){return{char:e,error:new Error(`The letter ${e} is not a valid field identifier`),width:r}}return{char:e,field:i.field,desc:i.desc,width:r}}(t,n);if("'"===e)return function(t,n){let e=t[++n],r=2;if("'"===e)return{char:"'",str:e,width:r};for(;;){const i=t[++n];if(++r,void 0===i){return{char:"'",error:new Error("Unterminated quoted literal in pattern: "+(e||t)),str:e,width:r}}if("'"===i){if("'"!==t[++n])return{char:"'",str:e,width:r};++r}e+=i}}(t,n);let r=e,i=1;for(;;){const o=t[++n];if(!o||v(o)||"'"===o)return{char:e,str:r,width:i};r+=o,i+=1}}function k(t){const n=[];let e=0;for(;;){const r=x(t,e);if(!r)return n;n.push(r),e+=r.width}}class S extends Error{constructor(t,n){super(n),this.code=t}}class E extends S{constructor(t,n){super("BAD_OPTION",`Unknown ${t} option: ${n}`),this.stem=t,this.option=n}}class O extends S{constructor(t){super("BAD_STEM","Unknown stem: "+t),this.stem=t}}class C extends S{constructor(t,n){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=n}}class _ extends S{constructor(t){super("MISSING_OPTION","Required option missing for "+t),this.stem=t}}class T extends S{constructor(t,n){super("BAD_PATTERN",n),this.char=t}}class N extends S{constructor(t,n,e){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${e>1?e+" options":"one option"} (got ${n.length})`),this.stem=t,this.options=n}}class j extends S{constructor(t,n){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,n&&(this.message+=" with value "+n,this.source=n)}}function R(t,{numberingSystem:n}){return Array.isArray(t)||(t=[t]),n?t.map(t=>{const e=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${e}-${n}`}).concat(t):t}function A({scale:t,unit:n}){let e="number"==typeof t&&t>=0?t:1;return n&&"percent"===n.style&&(e*=.01),e}function F(t,n){const{decimal:e,group:r,integerWidth:i,notation:o,precision:s,roundingMode:u,sign:c,unit:a,unitPer:f,unitWidth:l}=t,d=(t,e)=>{n&&n(new j(t,e))},h={};if(a)switch(a.style){case"base-unit":h.style="decimal";break;case"currency":h.style="currency",h.currency=a.currency;break;case"measure-unit":h.style="unit",h.unit=a.unit.replace(/.*-/,""),f&&(h.unit+="-per-"+f.replace(/.*-/,""));break;case"percent":h.style="percent";break;case"permille":d("permille")}switch(l){case"unit-width-full-name":h.currencyDisplay="name",h.unitDisplay="long";break;case"unit-width-hidden":d(l);break;case"unit-width-iso-code":h.currencyDisplay="code";break;case"unit-width-narrow":h.currencyDisplay="narrowSymbol",h.unitDisplay="narrow";break;case"unit-width-short":h.currencyDisplay="symbol",h.unitDisplay="short"}switch(r){case"group-off":h.useGrouping=!1;break;case"group-auto":h.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":d(r),h.useGrouping=!0}if(s)switch(s.style){case"precision-fraction":{const{minFraction:t,maxFraction:n,minSignificant:e,maxSignificant:r,source:i}=s;"number"==typeof t&&(h.minimumFractionDigits=t,"number"==typeof e&&d("precision-fraction",i)),"number"==typeof n&&(h.maximumFractionDigits=n),"number"==typeof e&&(h.minimumSignificantDigits=e),"number"==typeof r&&(h.maximumSignificantDigits=r);break}case"precision-integer":h.maximumFractionDigits=0;break;case"precision-unlimited":h.maximumFractionDigits=20;break;case"precision-increment":case"precision-currency-standard":break;case"precision-currency-cash":d(s.style)}if(o)switch(o.style){case"compact-short":h.notation="compact",h.compactDisplay="short";break;case"compact-long":h.notation="compact",h.compactDisplay="long";break;case"notation-simple":h.notation="standard";break;case"scientific":case"engineering":{const{expDigits:t,expSign:n,source:e,style:r}=o;h.notation=r,(t&&t>1||n&&"sign-auto"!==n)&&d(r,e);break}}if(i){const{min:t,max:n,source:e}=i;if(t>0&&(h.minimumIntegerDigits=t),Number(n)>0){const t="engineering"===h.notation||"scientific"===h.notation;3===n&&t?h.notation="engineering":d("integer-width",e)}}switch(c){case"sign-auto":h.signDisplay="auto";break;case"sign-always":h.signDisplay="always";break;case"sign-except-zero":h.signDisplay="exceptZero";break;case"sign-never":h.signDisplay="never";break;case"sign-accounting":h.currencySign="accounting";break;case"sign-accounting-always":h.currencySign="accounting",h.signDisplay="always";break;case"sign-accounting-except-zero":h.currencySign="accounting",h.signDisplay="exceptZero"}return"decimal-always"===e&&d(e),u&&d(u),h}function P(t,n,e){const r=t[n];switch(r){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let i=1;for(;"¤"===t[++n];)++i;switch(i){case 1:return{char:r,currency:"default",width:i};case 2:return{char:r,currency:"iso-code",width:i};case 3:return{char:r,currency:"full-name",width:i};case 5:return{char:r,currency:"narrow",width:i};default:return e(new T("¤",`Invalid number (${i}) of ¤ chars in pattern`)),null}}case"*":{const e=t[n+1];if(e)return{char:r,pad:e,width:2};break}case"+":case"-":return{char:r,width:1};case"'":{let i=t[++n],o=2;if("'"===i)return{char:r,str:i,width:o};for(;;){const s=t[++n];if(++o,void 0===s){return e(new T("'","Unterminated quoted literal in pattern: "+i)),{char:r,str:i,width:o}}if("'"===s){if("'"!==t[++n])return{char:r,str:i,width:o};++o}i+=s}}}return null}const L=t=>t>="0"&&t<="9";function B(t,n){const e=t[n];if(L(e)){let r=e;for(;;){const e=t[++n];if(!L(e))return{char:"0",digits:r,width:r.length};r+=e}}switch(e){case"#":{let r=1;for(;"#"===t[++n];)++r;return{char:e,width:r}}case"@":{let r=1;for(;"@"===t[++n];)++r;let i=r;for(n-=1;"#"===t[++n];)++i;return{char:e,min:r,width:i}}case"E":{const r="+"===t[n+1];r&&++n;let i=0;for(;"0"===t[++n];)++i;const o=(r?2:1)+i;if(i)return{char:e,expDigits:i,plus:r,width:o};break}case".":case",":return{char:e,width:1}}return null}function $(t,n,e){let r;!function(t){t[t.Prefix=0]="Prefix",t[t.Number=1]="Number",t[t.Suffix=2]="Suffix"}(r||(r={}));const i=[],o=[],s=[];let u=r.Prefix,c="";for(;n<t.length;){const a=t[n];if(";"===a){n+=1;break}switch(u){case r.Prefix:{const s=P(t,n,e);if(s)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(s),n+=s.width;else{const e=B(t,n);e?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),u=r.Number,o.push(e),n+=e.width):(c+=a,n+=1)}break}case r.Number:{const e=B(t,n);e?(o.push(e),n+=e.width):u=r.Suffix;break}case r.Suffix:{const r=P(t,n,e);r?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(r),n+=r.width):(c+=a,n+=1);break}}}return c&&s.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:o,suffix:s},pos:n}}function D(t,n,e,r,i){let o=!1,s="";for(const u of t)switch(u.char){case"%":n.unit={style:u.style},i?o=!0:s="";break;case"¤":if(!e){r(new T("¤","The ¤ pattern requires a currency"));break}switch(n.unit={style:"currency",currency:e},u.currency){case"iso-code":n.unitWidth="unit-width-iso-code";break;case"full-name":n.unitWidth="unit-width-full-name";break;case"narrow":n.unitWidth="unit-width-narrow"}i?o=!0:s="";break;case"*":break;case"+":o||(s+="+");break;case"'":o||(s+=u.str)}return s}function q(t,n){let e=!1,r="";for(const i of t)switch(i.char){case"%":case"¤":n?e=!0:r="";break;case"-":e||(r+="-");break;case"'":e||(r+=i.str)}return r}function I(t,n,e=(t=>{throw t})){const{tokens:r,negative:i}=function(t,n){const{pattern:e,pos:r}=$(t,0,n);if(r<t.length){const{pattern:i}=$(t,r,n);return{tokens:e,negative:i}}return{tokens:e}}(t,e),o=function(t,n){const e={};let r=!1,i=!1,o=0,s="",u=-1,c="",a=0;for(let f=0;f<t.length;++f){const l=t[f];switch(l.char){case"#":if(-1===u){if(s){n(new T("#","Pattern has # after integer digits"))}o+=l.width}else a+=l.width;break;case"0":if(-1===u)s+=l.digits;else{if(a){n(new T("0","Pattern has digits after # in fraction"))}c+=l.digits}break;case"@":e.precision&&n(new C("precision",e.precision)),e.precision={style:"precision-fraction",minSignificant:l.min,maxSignificant:l.width};break;case",":r=!0;break;case".":if(1===u){n(new T(".","Pattern has more than one decimal separator"))}u=f;break;case"E":if(i&&n(new C("exponent",e.notation)),r){n(new T("E","Exponential patterns may not contain grouping separators"))}e.notation={style:"scientific"},l.expDigits>1&&(e.notation.expDigits=l.expDigits),l.plus&&(e.notation.expSign="sign-always"),i=!0}}r?e.group="group-auto":o+s.length>3&&(e.group="group-off");const f=Number(`${s||"0"}.${c}`);if(f&&(e.precision={style:"precision-increment",increment:f}),i)if(e.precision&&!f||(e.integerWidth=o?{min:1,max:o+s.length}:{min:Math.max(1,s.length)}),e.precision)f||(e.integerWidth={min:1,max:1});else{const t=s.length+c.length;-1===u?t>0&&(e.precision={style:"precision-fraction",maxSignificant:t}):(e.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+a},t>1&&(e.precision.minSignificant=t))}else s.length>1&&(e.integerWidth={min:s.length}),e.precision||!c.length&&!a||(e.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+a});return e}(r.number,e),s=D(r.prefix,o,n,e,!0),u=D(r.suffix,o,n,e,!1);if(i){const t=q(i.prefix,!0),n=q(i.suffix,!1);o.affix={pos:[s,u],neg:[t,n]},o.sign="sign-never"}else(s||u)&&(o.affix={pos:[s,u]});return o}function z(t){const[n]=t.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(n)}const M={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":0,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},U={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function H(t,n,e){if(function(t){return t in M}(t)){const r=M[t];if(n.length>r){if(0===r)for(const r of n)e(new E(t,r));else e(new N(t,n,r));return!1}if(function(t){return t in U}(t)&&n.length<U[t])return e(new _(t)),!1}return!0}function J(t,n){const e="fraction"===n?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,r=t&&t.match(e);if(r){const t=r[1].length;switch(r[2].charAt(0)){case"":return{min:t,max:t};case"+":return{min:t,max:null};case"#":return{min:t,max:t+r[2].length}}}return null}class W{constructor(t){this.skeleton={},this.onError=t}badOption(t,n){this.onError(new E(t,n))}assertEmpty(t){const n=this.skeleton[t];n&&this.onError(new C(t,n))}parseToken(t,n){if(!H(t,n,this.onError))return;const e=n[0],r=this.skeleton;switch(t){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),r.notation={style:t};break;case"scientific":case"engineering":{let e=null,i=void 0;for(const r of n)switch(r){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":i=r;break;default:/^\+e+$/.test(r)?e=r.length-1:this.badOption(t,r)}this.assertEmpty("notation");const o=n.join("/");r.notation=e&&i?{style:t,source:o,expDigits:e,expSign:i}:e?{style:t,source:o,expDigits:e}:i?{style:t,source:o,expSign:i}:{style:t,source:o};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),r.unit={style:t};break;case"currency":/^[A-Z]{3}$/.test(e)?(this.assertEmpty("unit"),r.unit={style:t,currency:e}):this.badOption(t,e);break;case"measure-unit":z(e)?(this.assertEmpty("unit"),r.unit={style:t,unit:e}):this.badOption(t,e);break;case"per-measure-unit":z(e)?(this.assertEmpty("unitPer"),r.unitPer=e):this.badOption(t,e);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),r.unitWidth=t;break;case"precision-integer":case"precision-unlimited":case"precision-currency-standard":case"precision-currency-cash":this.assertEmpty("precision"),r.precision={style:t};break;case"precision-increment":{const n=Number(e);n>0?(this.assertEmpty("precision"),r.precision={style:t,increment:n}):this.badOption(t,e);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),r.roundingMode=t;break;case"integer-width":if(/^\+0*$/.test(e))this.assertEmpty("integerWidth"),r.integerWidth={source:e,min:e.length-1};else{const n=e.match(/^#*(0*)$/);n?(this.assertEmpty("integerWidth"),r.integerWidth={source:e,min:n[1].length,max:n[0].length}):this.badOption(t,e)}break;case"scale":{const n=Number(e);n>0?(this.assertEmpty("scale"),r.scale=n):this.badOption(t,e);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),r.group=t;break;case"latin":this.assertEmpty("numberingSystem"),r.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(e)?(this.assertEmpty("numberingSystem"),r.numberingSystem=e):this.badOption(t,e);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),r.sign=t;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),r.decimal=t;break;default:{const e=function(t,n,e){const r=J(t,"fraction");if(r){n.length>1&&e(new N(t,n,1));const i={style:"precision-fraction",source:t,minFraction:r.min};null!=r.max&&(i.maxFraction=r.max);const o=n[0],s=J(o,"significant");return s?(i.source=`${t}/${o}`,i.minSignificant=s.min,null!=s.max&&(i.maxSignificant=s.max)):o&&e(new E(t,o)),i}const i=J(t,"significant");if(i){for(const r of n)e(new E(t,r));const r={style:"precision-fraction",source:t,minSignificant:i.min};return null!=i.max&&(r.maxSignificant=i.max),r}return null}(t,n,this.onError);e?(this.assertEmpty("precision"),r.precision=e):this.onError(new O(t))}}}}function G(t,n=(t=>{throw t})){const e=[];for(const n of t.split(" "))if(n){const t=n.split("/"),r=t.shift()||"";e.push({stem:r,options:t})}const r=new W(n);for(const{stem:t,options:n}of e)r.parseToken(t,n);return r.skeleton}function Z(t,n,e,r){"string"==typeof n&&(n=0===n.indexOf("::")?G(n.slice(2),r):I(n,e,r));const i=R(t,n),o=F(n,r),s=function(t){const n=A(t),{precision:e}=t;return e&&"precision-increment"===e.style?t=>function(t,n){const e=+t+n/2;return e-e%+n}(t,e.increment)*n:t=>t*n}(n),u=new Intl.NumberFormat(i,o);if(n.affix){const[t,e]=n.affix.pos,[r,i]=n.affix.neg||["",""];return n=>{const o=u.format(s(n));return n<0?`${r}${o}${i}`:`${t}${o}${e}`}}return t=>u.format(s(t))}function V(t,n,e,r){"string"==typeof n&&(n=0===n.indexOf("::")?G(n.slice(2),r):I(n,e,r));const i=R(t,n),o=F(n,r),s=function(t){const n=A(t),{precision:e}=t;if(e&&"precision-increment"===e.style){const t="+n + "+e.increment/2;let r=`x - (x % +${e.increment})`;return 1!==n&&(r=`(${r}) * ${n}`),`function(n) { var x = ${t}; return ${r}; }`}return 1!==n?`function(n) { return n * ${n}; }`:null}(n),u=["(function() {",`var opt = ${JSON.stringify(o)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(i)}, opt);`];let c="nf.format(value)";if(s&&(u.push(`var mod = ${s};`),c="nf.format(mod(value))"),n.affix){const[t,e]=n.affix.pos.map(t=>JSON.stringify(t));if(n.affix.neg){const[r,i]=n.affix.neg.map(t=>JSON.stringify(t));c=`value < 0 ? ${r} + ${c} + ${i} : ${t} + ${c} + ${e}`}else c=`${t} + ${c} + ${e}`}return u.push(`return function(value) { return ${c}; }`),u.join("\n ")+"\n})()"}const K=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function Y(t){return t in a}t.exports=class{constructor(t){this.arguments=[],this.runtime={},this.options=t}compile(t,n,e){if("object"==typeof t){const r={};for(const i of Object.keys(t)){const o=e&&e[i]||n;r[i]=this.compile(t[i],o,e)}return r}this.plural=n;const i={cardinal:n.cardinals,ordinal:n.ordinals,strict:this.options.strict};this.arguments=[];const o=r.parse(t,i).map(t=>this.token(t,null)),s=this.arguments.length>0,u=this.concatenate(o,!0);if(this.options.requireAllArguments&&s){this.setRuntimeFn("reqArgs");return`(d) => { reqArgs(${JSON.stringify(this.arguments)}, d); return ${u}; }`}return`(${s?"d":""}) => ${u}`}cases(t,n){let e=!0;const r=t.cases.map(({key:t,tokens:r})=>{"other"===t&&(e=!1);const i=r.map(t=>this.token(t,n));return`${s.property(null,t.replace(/^=/,""))}: ${this.concatenate(i,!1)}`});if(e){const{type:n}=t,{cardinals:e,ordinals:r}=this.plural;if("select"===n||"plural"===n&&e.includes("other")||"selectordinal"===n&&r.includes("other"))throw new Error("No 'other' form found in "+JSON.stringify(t))}return`{ ${r.join(", ")} }`}concatenate(t,n){return"values"===this.options.returnType&&(n||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'}token(t,n){if("content"===t.type)return JSON.stringify(t.value);const{id:e,lc:r}=this.plural;let i,o;switch("arg"in t?(this.arguments.push(t.arg),i=[s.property("d",t.arg)]):i=[],t.type){case"argument":return this.options.biDiSupport?function(t,n){const e=K.test(n),r=JSON.stringify(e?"":"");return`${r} + ${t} + ${r}`}(String(i[0]),r):String(i[0]);case"select":o="select",n&&this.options.strict&&(n=null),i.push(this.cases(t,n)),this.setRuntimeFn("select");break;case"selectordinal":o="plural",i.push(t.pluralOffset||0,e,this.cases(t,t),1),this.setLocale(e,!0),this.setRuntimeFn("plural");break;case"plural":o="plural",i.push(t.pluralOffset||0,e,this.cases(t,t)),this.setLocale(e,!1),this.setRuntimeFn("plural");break;case"function":if(!this.options.customFormatters[t.key]){if("date"===t.key){o=this.setDateFormatter(t,i,n);break}if("number"===t.key){o=this.setNumberFormatter(t,i,n);break}}if(i.push(JSON.stringify(this.plural.locale)),t.param){n&&this.options.strict&&(n=null);const e=this.getFormatterArg(t,n);e&&i.push(e)}o=t.key,this.setFormatter(o);break;case"octothorpe":if(!n)return'"#"';i=[JSON.stringify(this.plural.locale),s.property("d",n.arg),n.pluralOffset||0],this.options.strict?(o="strictNumber",i.push(JSON.stringify(n.arg)),this.setRuntimeFn("strictNumber")):(o="number",this.setRuntimeFn("number"))}if(!o)throw new Error("Parser error for token "+JSON.stringify(t));return`${o}(${i.join(", ")})`}runtimeIncludes(t,n){if(s.identifier(t)!==t)throw new SyntaxError(`Reserved word used as ${n} identifier: ${t}`);const e=this.runtime[t];if(!e||e.type===n)return e;throw new TypeError(`Cannot override ${e.type} runtime function as ${n}: ${t}`)}setLocale(t,n){const e=this.runtimeIncludes(t,"locale"),{getCardinal:r,getPlural:i,isDefault:o}=this.plural;let s,u,c;if(!n&&o&&r){if(e)return;s=t=>r(t),u="@messageformat/runtime/lib/cardinals",c=()=>String(r)}else{if(e&&(!o||"@messageformat/runtime/lib/plurals"===e.module))return;s=(t,n)=>i(t,n),u=o?"@messageformat/runtime/lib/plurals":i.module||null,c=()=>String(i)}this.runtime[t]=Object.assign(s,{id:t,module:u,toString:c,type:"locale"})}setRuntimeFn(t){this.runtimeIncludes(t,"runtime")||(this.runtime[t]=Object.assign(c[t],{id:t,module:"@messageformat/runtime",type:"runtime"}))}getFormatterArg({key:t,param:n},e){const r=this.options.customFormatters[t]||Y(t)&&a[t];if(!r||!n)return null;const i="arg"in r&&r.arg||"string";if("options"===i){let e="";for(const r of n){if("content"!==r.type)throw new SyntaxError(`Expected literal options for ${t} formatter`);e+=r.value}const r={};for(const t of e.split(",")){const n=t.indexOf(":");if(-1===n)r[t.trim()]=null;else{const e=t.substring(0,n).trim(),i=t.substring(n+1).trim();if("true"===i)r[e]=!0;else if("false"===i)r[e]=!1;else if("null"===i)r[e]=null;else{const t=Number(i);r[e]=Number.isFinite(t)?t:i}}}return JSON.stringify(r)}{const t=n.map(t=>this.token(t,e));if("raw"===i)return`[${t.join(", ")}]`;const r=t.join(" + ");return r?`(${r}).trim()`:'""'}}setFormatter(t){if(this.runtimeIncludes(t,"formatter"))return;let n=this.options.customFormatters[t];if(n)"function"==typeof n&&(n={formatter:n}),this.runtime[t]=Object.assign(n.formatter,{type:"formatter"},"module"in n&&n.module&&n.id?{id:s.identifier(n.id),module:n.module}:{id:null,module:null});else{if(!Y(t))throw new Error("Formatting function not found: "+t);this.runtime[t]=Object.assign(a[t],{type:"formatter"},{id:t,module:"@messageformat/runtime/lib/formatters"})}}setDateFormatter({param:t},n,e){const{locale:r}=this.plural,i=t&&1===t.length&&t[0];if(i&&"content"===i.type&&/^\s*::/.test(i.value)){const t=i.value.trim().substr(2),n=s.identifier(`date_${r}_${t}`,!0);if(!this.runtimeIncludes(n,"formatter")){const e=function(t,n,e){"string"==typeof n&&(n=k(n));const r=b(n,e),i=new Intl.DateTimeFormat(t,r);return t=>i.format(t)}(r,t);this.runtime[n]=Object.assign(e,{id:n,module:null,toString:()=>function(t,n,e){"string"==typeof n&&(n=k(n));const r=b(n,e);return["(function() {",`var opt = ${JSON.stringify(r)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(t)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(r,t),type:"formatter"})}return n}if(n.push(JSON.stringify(r)),t&&t.length>0){e&&this.options.strict&&(e=null);const r=t.map(t=>this.token(t,e));n.push("("+(r.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"}setNumberFormatter({param:t},n,e){const{locale:r}=this.plural;if(!t||0===t.length)return n.unshift(JSON.stringify(r)),n.push("0"),this.setRuntimeFn("number"),"number";if(n.push(JSON.stringify(r)),1===t.length&&"content"===t[0].type){const e=t[0].value.trim();switch(e){case"currency":return n.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}const i=e.match(/^currency:([A-Z]+)$/);if(i)return n.push(JSON.stringify(i[1])),this.setFormatter("numberCurrency"),"numberCurrency";const o=s.identifier(`number_${r}_${e}`,!0);if(!this.runtimeIncludes(o,"formatter")){const{currency:t}=this.options,n=Z(r,e,t);this.runtime[o]=Object.assign(n,{id:null,module:null,toString:()=>V(r,e,t),type:"formatter"})}return o}e&&this.options.strict&&(e=null);const i=t.map(t=>this.token(t,e));return n.push("("+(i.join(" + ")||'""')+").trim()"),n.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.parse=n.ParseError=void 0;const r=e(54),i=t=>({offset:t.offset,line:t.line,col:t.col,text:t.text,lineBreaks:t.lineBreaks}),o=t=>"plural"===t||"select"===t||"selectordinal"===t;const s=["number","date","time","spellout","ordinal","duration"],u=["zero","one","two","few","many","other"];class c extends Error{constructor(t,n){super(r.lexer.formatError(t,n))}}n.ParseError=c;class a{constructor(t,n){this.lexer=r.lexer.reset(t),this.cardinalKeys=n&&n.cardinal||u,this.ordinalKeys=n&&n.ordinal||u,this.strict=n&&n.strict||!1}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,n,e){if("="===e[0]){if("select"===n)throw new c(t,`The case ${e} is not valid with select`)}else if("select"!==n){const r="plural"===n?this.cardinalKeys:this.ordinalKeys;if(r.length>0&&!r.includes(e)){throw new c(t,`The ${n} case ${e} is not valid in this locale`)}}}parseSelect({value:t},n,e,r){const o={type:r,arg:t,cases:[],ctx:e};"plural"===r||"selectordinal"===r?n=!0:this.strict&&(n=!1);for(const t of this.lexer)switch(t.type){case"offset":if("select"===r)throw new c(t,"Unexpected plural offset for select");if(o.cases.length>0)throw new c(t,"Plural offset must be set before cases");o.pluralOffset=Number(t.value),e.text+=t.text,e.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,r,t.value),o.cases.push({key:t.value,tokens:this.parseBody(n),ctx:i(t)});break;case"end":return o;default:throw new c(t,"Unexpected lexer token: "+t.type)}throw new c(null,"Unexpected message end")}parseArgToken(t,n){const e=i(t),r=this.lexer.next();if(!r)throw new c(null,"Unexpected message end");if(e.text+=r.text,e.lineBreaks+=r.lineBreaks,this.strict&&("func-simple"===r.type||"func-args"===r.type)&&!s.includes(r.value)){const n="Invalid strict mode function arg type: "+r.value;throw new c(t,n)}switch(r.type){case"end":return{type:"argument",arg:t.value,ctx:e};case"func-simple":{const n=this.lexer.next();if(!n)throw new c(null,"Unexpected message end");if("end"!==n.type)throw new c(n,"Unexpected lexer token: "+n.type);if(e.text+=n.text,o(r.value.toLowerCase()))throw new c(r,"Invalid type identifier: "+r.value);return{type:"function",arg:t.value,key:r.value,ctx:e}}case"func-args":{if(o(r.value.toLowerCase())){const t="Invalid type identifier: "+r.value;throw new c(r,t)}let i=this.parseBody(!this.strict&&n);return this.strict&&i.length>0&&(i=function(t,n){let e="",r="";for(const i of n){const n=i.ctx.text;switch(r+=n,i.type){case"content":e+=i.value;break;case"argument":case"function":case"octothorpe":e+=n;break;default:throw new c(t,"Unsupported part in strict mode function arg style: "+n)}}return[{type:"content",value:e.trim(),ctx:Object.assign({},n[0].ctx,{text:r})}]}(t,i)),{type:"function",arg:t.value,key:r.value,param:i,ctx:e}}case"select":if(o(r.value))return this.parseSelect(t,n,e,r.value);throw new c(r,"Unexpected select type "+r.value);default:throw new c(r,"Unexpected lexer token: "+r.type)}}parseBody(t,n){const e=[];let r=null;for(const o of this.lexer)if("argument"===o.type)r&&(r=null),e.push(this.parseArgToken(o,t));else if("octothorpe"===o.type&&t)r&&(r=null),e.push({type:"octothorpe",ctx:i(o)});else{if("end"===o.type&&!n)return e;{let n=o.value;if(!t&&"quoted"===o.type&&"#"===n[0]){if(n.includes("{")){throw new c(o,"Unsupported escape pattern: "+n)}n=o.text}r?(r.value+=n,r.ctx.text+=o.text,r.ctx.lineBreaks+=o.lineBreaks):(r={type:"content",value:n,ctx:i(o)},e.push(r))}}if(n)return e;throw new c(null,"Unexpected message end")}}n.parse=function(t,n={}){return new a(t,n).parse()}},function(t,n,e){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.lexer=n.states=void 0;const i=r(e(55));n.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:t=>t.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:t=>t.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:t=>t.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:t=>t.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:t=>t.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:t=>t.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:t=>t.substring(0,t.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},n.lexer=i.default.states(n.states)},function(t,n,e){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,e="boolean"==typeof(new RegExp).sticky;function r(t){return t&&"[object RegExp]"===n.call(t)}function i(t){return t&&"object"==typeof t&&!r(t)&&!Array.isArray(t)}function o(t){return"("+t+")"}function s(t){return t.length?"(?:"+t.map((function(t){return"(?:"+t+")"})).join("|")+")":"(?!)"}function u(t){if("string"==typeof t)return"(?:"+t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(r(t)){if(t.ignoreCase)throw new Error("RegExp /i flag not allowed");if(t.global)throw new Error("RegExp /g flag is implied");if(t.sticky)throw new Error("RegExp /y flag is implied");if(t.multiline)throw new Error("RegExp /m flag is implied");return t.source}throw new Error("Not a pattern: "+t)}function c(n,e){if(i(e)||(e={match:e}),e.include)throw new Error("Matching rules cannot also include states");var o={defaultType:n,lineBreaks:!!e.error||!!e.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in e)t.call(e,s)&&(o[s]=e[s]);if("string"==typeof o.type&&n!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+n+"')");var u=o.match;return o.match=Array.isArray(u)?u:u?[u]:[],o.match.sort((function(t,n){return r(t)&&r(n)?0:r(n)?-1:r(t)?1:n.length-t.length})),o}function a(t){return Array.isArray(t)?function(t){for(var n=[],e=0;e<t.length;e++){var r=t[e];if(r.include)for(var i=[].concat(r.include),o=0;o<i.length;o++)n.push({include:i[o]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));n.push(c(r.type,r))}}return n}(t):function(t){for(var n=Object.getOwnPropertyNames(t),e=[],r=0;r<n.length;r++){var o=n[r],s=t[o],u=[].concat(s);if("include"!==o){var a=[];u.forEach((function(t){i(t)?(a.length&&e.push(c(o,a)),e.push(c(o,t)),a=[]):a.push(t)})),a.length&&e.push(c(o,a))}else for(var f=0;f<u.length;f++)e.push({include:u[f]})}return e}(t)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function l(t,n){for(var i=null,c=Object.create(null),a=!0,l=null,d=[],h=[],p=0;p<t.length;p++)t[p].fallback&&(a=!1);for(p=0;p<t.length;p++){var m=t[p];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(i)throw!m.fallback==!i.fallback?new Error("Multiple "+(m.fallback?"fallback":"error")+" rules not allowed (for token '"+m.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+m.defaultType+"')");i=m}var g=m.match.slice();if(a)for(;g.length&&"string"==typeof g[0]&&1===g[0].length;)c[g.shift().charCodeAt(0)]=m;if(m.pop||m.push||m.next){if(!n)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+m.defaultType+"')");if(m.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+m.defaultType+"')")}if(0!==g.length){a=!1,d.push(m);for(var y=0;y<g.length;y++){var b=g[y];if(r(b))if(null===l)l=b.unicode;else if(l!==b.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var w=s(g.map(u)),v=new RegExp(w);if(v.test(""))throw new Error("RegExp matches empty string: "+v);if(new RegExp("|"+w).exec("").length-1>0)throw new Error("RegExp has capture groups: "+v+"\nUse (?: … ) instead");if(!m.lineBreaks&&v.test("\n"))throw new Error("Rule should declare lineBreaks: "+v);h.push(o(w))}}var x=i&&i.fallback,k=e&&!x?"ym":"gm",S=e||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(h)+S,k),groups:d,fast:c,error:i||f}}function d(t,n,e){var r=t&&(t.push||t.next);if(r&&!e[r])throw new Error("Missing state '"+r+"' (in token '"+t.defaultType+"' of state '"+n+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+n+"')")}var h=function(t,n){this.startState=n,this.states=t,this.buffer="",this.stack=[],this.reset()};h.prototype.reset=function(t,n){return this.buffer=t||"",this.index=0,this.line=n?n.line:1,this.col=n?n.col:1,this.queuedToken=n?n.queuedToken:null,this.queuedThrow=n?n.queuedThrow:null,this.setState(n?n.state:this.startState),this.stack=n&&n.stack?n.stack.slice():[],this},h.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedThrow:this.queuedThrow}},h.prototype.setState=function(t){if(t&&this.state!==t){this.state=t;var n=this.states[t];this.groups=n.groups,this.error=n.error,this.re=n.regexp,this.fast=n.fast}},h.prototype.popState=function(){this.setState(this.stack.pop())},h.prototype.pushState=function(t){this.stack.push(this.state),this.setState(t)};var p=e?function(t,n){return t.exec(n)}:function(t,n){var e=t.exec(n);return 0===e[0].length?null:e};function m(){return this.value}if(h.prototype._getGroup=function(t){for(var n=this.groups.length,e=0;e<n;e++)if(void 0!==t[e+1])return this.groups[e];throw new Error("Cannot find token type for matched text")},h.prototype.next=function(){var t=this.index;if(this.queuedGroup){var n=this._token(this.queuedGroup,this.queuedText,t);return this.queuedGroup=null,this.queuedText="",n}var e=this.buffer;if(t!==e.length){if(s=this.fast[e.charCodeAt(t)])return this._token(s,e.charAt(t),t);var r=this.re;r.lastIndex=t;var i=p(r,e),o=this.error;if(null==i)return this._token(o,e.slice(t,e.length),t);var s=this._getGroup(i),u=i[0];return o.fallback&&i.index!==t?(this.queuedGroup=s,this.queuedText=u,this._token(o,e.slice(t,i.index),t)):this._token(s,u,t)}},h.prototype._token=function(t,n,e){var r=0;if(t.lineBreaks){var i=/\n/g,o=1;if("\n"===n)r=1;else for(;i.exec(n);)r++,o=i.lastIndex}var s={type:"function"==typeof t.type&&t.type(n)||t.defaultType,value:"function"==typeof t.value?t.value(n):n,text:n,toString:m,offset:e,lineBreaks:r,line:this.line,col:this.col},u=n.length;if(this.index+=u,this.line+=r,0!==r?this.col=u-o+1:this.col+=u,t.shouldThrow)throw new Error(this.formatError(s,"invalid syntax"));return t.pop?this.popState():t.push?this.pushState(t.push):t.next&&this.setState(t.next),s},"undefined"!=typeof Symbol&&Symbol.iterator){var g=function(t){this.lexer=t};g.prototype.next=function(){var t=this.lexer.next();return{value:t,done:!t}},g.prototype[Symbol.iterator]=function(){return this},h.prototype[Symbol.iterator]=function(){return new g(this)}}return h.prototype.formatError=function(t,n){if(null==t){var e=this.buffer.slice(this.index);t={text:e,offset:this.index,lineBreaks:-1===e.indexOf("\n")?0:1,line:this.line,col:this.col}}var r=Math.max(0,t.offset-t.col+1),i=t.lineBreaks?t.text.indexOf("\n"):t.text.length,o=this.buffer.substring(r,t.offset+i);return n+=" at line "+t.line+" col "+t.col+":\n\n",n+=" "+o+"\n",n+=" "+Array(t.col).join(" ")+"^"},h.prototype.clone=function(){return new h(this.states,this.state)},h.prototype.has=function(t){return!0},{compile:function(t){var n=l(a(t));return new h({start:n},"start")},states:function(t,n){var e=t.$all?a(t.$all):[];delete t.$all;var r=Object.getOwnPropertyNames(t);n||(n=r[0]);for(var i=Object.create(null),o=0;o<r.length;o++){var s=r[o];i[s]=a(t[s]).concat(e)}for(o=0;o<r.length;o++){s=r[o];for(var u=i[s],c=Object.create(null),f=0;f<u.length;f++){var p=u[f];if(p.include){var m=[f,1];if(p.include!==s&&!c[p.include]){c[p.include]=!0;var g=i[p.include];if(!g)throw new Error("Cannot include nonexistent state '"+p.include+"' (in state '"+s+"')");for(var y=0;y<g.length;y++){var b=g[y];-1===u.indexOf(b)&&m.push(b)}}u.splice.apply(u,m),f--}}}var w=Object.create(null);for(o=0;o<r.length;o++)s=r[o],w[s]=l(i[s],!0);for(o=0;o<r.length;o++){var v=r[o],x=w[v],k=x.groups;for(f=0;f<k.length;f++)d(k[f],v,w);var S=Object.getOwnPropertyNames(x.fast);for(f=0;f<S.length;f++)d(x.fast[S[f]],v,w)}return new h(w,n)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(t){for(var n=Object.create(null),e=Object.create(null),r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i],s=t[o];(Array.isArray(s)?s:[s]).forEach((function(t){if((e[t.length]=e[t.length]||[]).push(t),"string"!=typeof t)throw new Error("keyword must be string (in keyword '"+o+"')");n[t]=o}))}function u(t){return JSON.stringify(t)}var c="";for(var a in c+="switch (value.length) {\n",e){var f=e[a];c+="case "+a+":\n",c+="switch (value) {\n",f.forEach((function(t){var e=n[t];c+="case "+u(t)+": return "+u(e)+"\n"})),c+="}\n"}return c+="}\n",Function("value",c)}}})?r.apply(n,i):r)||(t.exports=o)},function(t,n,e){"use strict";function r(t){return r[t]||(r[t]=new Intl.NumberFormat(t))}Object.defineProperty(n,"__esModule",{value:!0}),n.reqArgs=n.select=n.plural=n.strictNumber=n.number=n._nf=void 0,n._nf=r,n.number=function(t,n,e){return r(t).format(n-e)},n.strictNumber=function(t,n,e,i){var o=n-e;if(isNaN(o))throw new Error("`"+i+"` or its offset is not a number");return r(t).format(o)},n.plural=function(t,n,e,r,i){if({}.hasOwnProperty.call(r,t))return r[t];n&&(t-=n);var o=e(t,i);return o in r?r[o]:r.other},n.select=function(t,n){return{}.hasOwnProperty.call(n,t)?n[t]:n.other},n.reqArgs=function(t,n){for(var e=0;e<t.length;++e)if(!n||void 0===n[t[e]])throw new Error("Message requires argument '"+t[e]+"'")}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.time=n.numberPercent=n.numberInteger=n.numberFmt=n.numberCurrency=n.duration=n.date=void 0;var r=e(58);Object.defineProperty(n,"date",{enumerable:!0,get:function(){return r.date}});var i=e(59);Object.defineProperty(n,"duration",{enumerable:!0,get:function(){return i.duration}});var o=e(60);Object.defineProperty(n,"numberCurrency",{enumerable:!0,get:function(){return o.numberCurrency}}),Object.defineProperty(n,"numberFmt",{enumerable:!0,get:function(){return o.numberFmt}}),Object.defineProperty(n,"numberInteger",{enumerable:!0,get:function(){return o.numberInteger}}),Object.defineProperty(n,"numberPercent",{enumerable:!0,get:function(){return o.numberPercent}});var s=e(61);Object.defineProperty(n,"time",{enumerable:!0,get:function(){return s.time}})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.date=void 0,n.date=function(t,n,e){var r={day:"numeric",month:"short",year:"numeric"};switch(e){case"full":r.weekday="long";case"long":r.month="long";break;case"short":r.month="numeric"}return new Date(t).toLocaleDateString(n,r)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.duration=void 0,n.duration=function(t){if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return String(t);var n="";t<0?(n="-",t=Math.abs(t)):t=Number(t);var e=t%60,r=[Math.round(e)===e?e:e.toFixed(3)];return t<60?r.unshift(0):(t=Math.round((t-Number(r[0]))/60),r.unshift(t%60),t>=60&&(t=Math.round((t-Number(r[0]))/60),r.unshift(t))),n+r.shift()+":"+r.map((function(t){return t<10?"0"+String(t):String(t)})).join(":")}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.numberPercent=n.numberInteger=n.numberCurrency=n.numberFmt=void 0;var r={};function i(t,n){var e=String(t)+JSON.stringify(n);return r[e]||(r[e]=new Intl.NumberFormat(t,n)),r[e]}n.numberFmt=function(t,n,e,r){var o=e&&e.split(":")||[],s=o[0],u=o[1];return i(n,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:u&&u.trim()||r,minimumFractionDigits:2,maximumFractionDigits:2}}[s]||{}).format(t)};n.numberCurrency=function(t,n,e){return i(n,{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)};n.numberInteger=function(t,n){return i(n,{maximumFractionDigits:0}).format(t)};n.numberPercent=function(t,n){return i(n,{style:"percent"}).format(t)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.time=void 0,n.time=function(t,n,e){var r={second:"numeric",minute:"numeric",hour:"numeric"};switch(e){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}return new Date(t).toLocaleTimeString(n,r)}},function(t,n){t.exports={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}}},function(t,n,e){"use strict";function r(t){return 1==t?"one":"other"}function i(t){return 0==t||1==t?"one":"other"}function o(t){return t>=0&&t<=1?"one":"other"}function s(t){var n=!String(t).split(".")[1];return 1==t&&n?"one":"other"}function u(t){return"other"}function c(t){return 1==t?"one":2==t?"two":"other"}e.r(n),e.d(n,"_in",(function(){return a})),e.d(n,"af",(function(){return f})),e.d(n,"ak",(function(){return l})),e.d(n,"am",(function(){return d})),e.d(n,"an",(function(){return h})),e.d(n,"ar",(function(){return p})),e.d(n,"ars",(function(){return m})),e.d(n,"as",(function(){return g})),e.d(n,"asa",(function(){return y})),e.d(n,"ast",(function(){return b})),e.d(n,"az",(function(){return w})),e.d(n,"be",(function(){return v})),e.d(n,"bem",(function(){return x})),e.d(n,"bez",(function(){return k})),e.d(n,"bg",(function(){return S})),e.d(n,"bho",(function(){return E})),e.d(n,"bm",(function(){return O})),e.d(n,"bn",(function(){return C})),e.d(n,"bo",(function(){return _})),e.d(n,"br",(function(){return T})),e.d(n,"brx",(function(){return N})),e.d(n,"bs",(function(){return j})),e.d(n,"ca",(function(){return R})),e.d(n,"ce",(function(){return A})),e.d(n,"ceb",(function(){return F})),e.d(n,"cgg",(function(){return P})),e.d(n,"chr",(function(){return L})),e.d(n,"ckb",(function(){return B})),e.d(n,"cs",(function(){return $})),e.d(n,"cy",(function(){return D})),e.d(n,"da",(function(){return q})),e.d(n,"de",(function(){return I})),e.d(n,"dsb",(function(){return z})),e.d(n,"dv",(function(){return M})),e.d(n,"dz",(function(){return U})),e.d(n,"ee",(function(){return H})),e.d(n,"el",(function(){return J})),e.d(n,"en",(function(){return W})),e.d(n,"eo",(function(){return G})),e.d(n,"es",(function(){return Z})),e.d(n,"et",(function(){return V})),e.d(n,"eu",(function(){return K})),e.d(n,"fa",(function(){return Y})),e.d(n,"ff",(function(){return X})),e.d(n,"fi",(function(){return Q})),e.d(n,"fil",(function(){return tt})),e.d(n,"fo",(function(){return nt})),e.d(n,"fr",(function(){return et})),e.d(n,"fur",(function(){return rt})),e.d(n,"fy",(function(){return it})),e.d(n,"ga",(function(){return ot})),e.d(n,"gd",(function(){return st})),e.d(n,"gl",(function(){return ut})),e.d(n,"gsw",(function(){return ct})),e.d(n,"gu",(function(){return at})),e.d(n,"guw",(function(){return ft})),e.d(n,"gv",(function(){return lt})),e.d(n,"ha",(function(){return dt})),e.d(n,"haw",(function(){return ht})),e.d(n,"he",(function(){return pt})),e.d(n,"hi",(function(){return mt})),e.d(n,"hr",(function(){return gt})),e.d(n,"hsb",(function(){return yt})),e.d(n,"hu",(function(){return bt})),e.d(n,"hy",(function(){return wt})),e.d(n,"ia",(function(){return vt})),e.d(n,"id",(function(){return xt})),e.d(n,"ig",(function(){return kt})),e.d(n,"ii",(function(){return St})),e.d(n,"io",(function(){return Et})),e.d(n,"is",(function(){return Ot})),e.d(n,"it",(function(){return Ct})),e.d(n,"iu",(function(){return _t})),e.d(n,"iw",(function(){return Tt})),e.d(n,"ja",(function(){return Nt})),e.d(n,"jbo",(function(){return jt})),e.d(n,"jgo",(function(){return Rt})),e.d(n,"ji",(function(){return At})),e.d(n,"jmc",(function(){return Ft})),e.d(n,"jv",(function(){return Pt})),e.d(n,"jw",(function(){return Lt})),e.d(n,"ka",(function(){return Bt})),e.d(n,"kab",(function(){return $t})),e.d(n,"kaj",(function(){return Dt})),e.d(n,"kcg",(function(){return qt})),e.d(n,"kde",(function(){return It})),e.d(n,"kea",(function(){return zt})),e.d(n,"kk",(function(){return Mt})),e.d(n,"kkj",(function(){return Ut})),e.d(n,"kl",(function(){return Ht})),e.d(n,"km",(function(){return Jt})),e.d(n,"kn",(function(){return Wt})),e.d(n,"ko",(function(){return Gt})),e.d(n,"ks",(function(){return Zt})),e.d(n,"ksb",(function(){return Vt})),e.d(n,"ksh",(function(){return Kt})),e.d(n,"ku",(function(){return Yt})),e.d(n,"kw",(function(){return Xt})),e.d(n,"ky",(function(){return Qt})),e.d(n,"lag",(function(){return tn})),e.d(n,"lb",(function(){return nn})),e.d(n,"lg",(function(){return en})),e.d(n,"lkt",(function(){return rn})),e.d(n,"ln",(function(){return on})),e.d(n,"lo",(function(){return sn})),e.d(n,"lt",(function(){return un})),e.d(n,"lv",(function(){return cn})),e.d(n,"mas",(function(){return an})),e.d(n,"mg",(function(){return fn})),e.d(n,"mgo",(function(){return ln})),e.d(n,"mk",(function(){return dn})),e.d(n,"ml",(function(){return hn})),e.d(n,"mn",(function(){return pn})),e.d(n,"mo",(function(){return mn})),e.d(n,"mr",(function(){return gn})),e.d(n,"ms",(function(){return yn})),e.d(n,"mt",(function(){return bn})),e.d(n,"my",(function(){return wn})),e.d(n,"nah",(function(){return vn})),e.d(n,"naq",(function(){return xn})),e.d(n,"nb",(function(){return kn})),e.d(n,"nd",(function(){return Sn})),e.d(n,"ne",(function(){return En})),e.d(n,"nl",(function(){return On})),e.d(n,"nn",(function(){return Cn})),e.d(n,"nnh",(function(){return _n})),e.d(n,"no",(function(){return Tn})),e.d(n,"nqo",(function(){return Nn})),e.d(n,"nr",(function(){return jn})),e.d(n,"nso",(function(){return Rn})),e.d(n,"ny",(function(){return An})),e.d(n,"nyn",(function(){return Fn})),e.d(n,"om",(function(){return Pn})),e.d(n,"or",(function(){return Ln})),e.d(n,"os",(function(){return Bn})),e.d(n,"osa",(function(){return $n})),e.d(n,"pa",(function(){return Dn})),e.d(n,"pap",(function(){return qn})),e.d(n,"pl",(function(){return In})),e.d(n,"prg",(function(){return zn})),e.d(n,"ps",(function(){return Mn})),e.d(n,"pt",(function(){return Un})),e.d(n,"pt_PT",(function(){return Hn})),e.d(n,"rm",(function(){return Jn})),e.d(n,"ro",(function(){return Wn})),e.d(n,"rof",(function(){return Gn})),e.d(n,"root",(function(){return Zn})),e.d(n,"ru",(function(){return Vn})),e.d(n,"rwk",(function(){return Kn})),e.d(n,"sah",(function(){return Yn})),e.d(n,"saq",(function(){return Xn})),e.d(n,"sc",(function(){return Qn})),e.d(n,"scn",(function(){return te})),e.d(n,"sd",(function(){return ne})),e.d(n,"sdh",(function(){return ee})),e.d(n,"se",(function(){return re})),e.d(n,"seh",(function(){return ie})),e.d(n,"ses",(function(){return oe})),e.d(n,"sg",(function(){return se})),e.d(n,"sh",(function(){return ue})),e.d(n,"shi",(function(){return ce})),e.d(n,"si",(function(){return ae})),e.d(n,"sk",(function(){return fe})),e.d(n,"sl",(function(){return le})),e.d(n,"sma",(function(){return de})),e.d(n,"smi",(function(){return he})),e.d(n,"smj",(function(){return pe})),e.d(n,"smn",(function(){return me})),e.d(n,"sms",(function(){return ge})),e.d(n,"sn",(function(){return ye})),e.d(n,"so",(function(){return be})),e.d(n,"sq",(function(){return we})),e.d(n,"sr",(function(){return ve})),e.d(n,"ss",(function(){return xe})),e.d(n,"ssy",(function(){return ke})),e.d(n,"st",(function(){return Se})),e.d(n,"su",(function(){return Ee})),e.d(n,"sv",(function(){return Oe})),e.d(n,"sw",(function(){return Ce})),e.d(n,"syr",(function(){return _e})),e.d(n,"ta",(function(){return Te})),e.d(n,"te",(function(){return Ne})),e.d(n,"teo",(function(){return je})),e.d(n,"th",(function(){return Re})),e.d(n,"ti",(function(){return Ae})),e.d(n,"tig",(function(){return Fe})),e.d(n,"tk",(function(){return Pe})),e.d(n,"tl",(function(){return Le})),e.d(n,"tn",(function(){return Be})),e.d(n,"to",(function(){return $e})),e.d(n,"tr",(function(){return De})),e.d(n,"ts",(function(){return qe})),e.d(n,"tzm",(function(){return Ie})),e.d(n,"ug",(function(){return ze})),e.d(n,"uk",(function(){return Me})),e.d(n,"ur",(function(){return Ue})),e.d(n,"uz",(function(){return He})),e.d(n,"ve",(function(){return Je})),e.d(n,"vi",(function(){return We})),e.d(n,"vo",(function(){return Ge})),e.d(n,"vun",(function(){return Ze})),e.d(n,"wa",(function(){return Ve})),e.d(n,"wae",(function(){return Ke})),e.d(n,"wo",(function(){return Ye})),e.d(n,"xh",(function(){return Xe})),e.d(n,"xog",(function(){return Qe})),e.d(n,"yi",(function(){return tr})),e.d(n,"yo",(function(){return nr})),e.d(n,"yue",(function(){return er})),e.d(n,"zh",(function(){return rr})),e.d(n,"zu",(function(){return ir}));const a=u,f=r,l=i,d=o,h=r;function p(t){var n=String(t).split("."),e=Number(n[0])==t&&n[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":e>=3&&e<=10?"few":e>=11&&e<=99?"many":"other"}function m(t){var n=String(t).split("."),e=Number(n[0])==t&&n[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":e>=3&&e<=10?"few":e>=11&&e<=99?"many":"other"}const g=o,y=r,b=s,w=r;function v(t){var n=String(t).split("."),e=Number(n[0])==t,r=e&&n[0].slice(-1),i=e&&n[0].slice(-2);return 1==r&&11!=i?"one":r>=2&&r<=4&&(i<12||i>14)?"few":e&&0==r||r>=5&&r<=9||i>=11&&i<=14?"many":"other"}const x=r,k=r,S=r,E=i,O=u,C=o,_=u;function T(t){var n=String(t).split("."),e=Number(n[0])==t,r=e&&n[0].slice(-1),i=e&&n[0].slice(-2),o=e&&n[0].slice(-6);return 1==r&&11!=i&&71!=i&&91!=i?"one":2==r&&12!=i&&72!=i&&92!=i?"two":(3==r||4==r||9==r)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=t&&e&&0==o?"many":"other"}const N=r;function j(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}const R=s,A=r;function F(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=r.slice(-1);return i&&(1==e||2==e||3==e)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const P=r,L=r,B=r;function $(t){var n=String(t).split("."),e=n[0],r=!n[1];return 1==t&&r?"one":e>=2&&e<=4&&r?"few":r?"other":"many"}function D(t){return 0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"}function q(t){var n=String(t).split("."),e=n[0],r=Number(n[0])==t;return 1!=t&&(r||0!=e&&1!=e)?"other":"one"}const I=s;function z(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-2),s=r.slice(-2);return i&&1==o||1==s?"one":i&&2==o||2==s?"two":i&&(3==o||4==o)||3==s||4==s?"few":"other"}const M=r,U=u,H=r,J=r,W=s,G=r,Z=r,V=s,K=r,Y=o;function X(t){return t>=0&&t<2?"one":"other"}const Q=s;function tt(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=r.slice(-1);return i&&(1==e||2==e||3==e)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const nt=r;function et(t){return t>=0&&t<2?"one":"other"}const rt=r,it=s;function ot(t){var n=String(t).split("."),e=Number(n[0])==t;return 1==t?"one":2==t?"two":e&&t>=3&&t<=6?"few":e&&t>=7&&t<=10?"many":"other"}function st(t){var n=String(t).split("."),e=Number(n[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":e&&t>=3&&t<=10||e&&t>=13&&t<=19?"few":"other"}const ut=s,ct=r,at=o,ft=i;function lt(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return r&&1==i?"one":r&&2==i?"two":!r||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?r?"other":"many":"few"}const dt=r,ht=r;function pt(t){var n=String(t).split("."),e=n[0],r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1);return 1==t&&r?"one":2==e&&r?"two":r&&(t<0||t>10)&&i&&0==o?"many":"other"}const mt=o;function gt(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}function yt(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-2),s=r.slice(-2);return i&&1==o||1==s?"one":i&&2==o||2==s?"two":i&&(3==o||4==o)||3==s||4==s?"few":"other"}const bt=r;function wt(t){return t>=0&&t<2?"one":"other"}const vt=s,xt=u,kt=u,St=u,Et=s;function Ot(t){var n=String(t).split("."),e=n[0],r=Number(n[0])==t,i=e.slice(-1),o=e.slice(-2);return r&&1==i&&11!=o||!r?"one":"other"}const Ct=s,_t=c;function Tt(t){var n=String(t).split("."),e=n[0],r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1);return 1==t&&r?"one":2==e&&r?"two":r&&(t<0||t>10)&&i&&0==o?"many":"other"}const Nt=u,jt=u,Rt=r,At=s,Ft=r,Pt=u,Lt=u,Bt=r;function $t(t){return t>=0&&t<2?"one":"other"}const Dt=r,qt=r,It=u,zt=u,Mt=r,Ut=r,Ht=r,Jt=u,Wt=o,Gt=u,Zt=r,Vt=r;function Kt(t){return 0==t?"zero":1==t?"one":"other"}const Yt=r;function Xt(t){var n=String(t).split("."),e=Number(n[0])==t,r=e&&n[0].slice(-2),i=e&&n[0].slice(-3),o=e&&n[0].slice(-5),s=e&&n[0].slice(-6);return 0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||e&&0==i&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=t&&1e5==s?"two":3==r||23==r||43==r||63==r||83==r?"few":1==t||1!=r&&21!=r&&41!=r&&61!=r&&81!=r?"other":"many"}const Qt=r;function tn(t){var n=String(t).split(".")[0];return 0==t?"zero":0!=n&&1!=n||0==t?"other":"one"}const nn=r,en=r,rn=u,on=i,sn=u;function un(t){var n=String(t).split("."),e=n[1]||"",r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=e?"many":"other"}function cn(t){var n=String(t).split("."),e=n[1]||"",r=e.length,i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2),u=e.slice(-2),c=e.slice(-1);return i&&0==o||s>=11&&s<=19||2==r&&u>=11&&u<=19?"zero":1==o&&11!=s||2==r&&1==c&&11!=u||2!=r&&1==c?"one":"other"}const an=r,fn=i,ln=r;function dn(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":"other"}const hn=r,pn=r;function mn(t){var n=String(t).split("."),e=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return 1==t&&e?"one":!e||0==t||r>=2&&r<=19?"few":"other"}const gn=r,yn=u;function bn(t){var n=String(t).split("."),e=Number(n[0])==t&&n[0].slice(-2);return 1==t?"one":0==t||e>=2&&e<=10?"few":e>=11&&e<=19?"many":"other"}const wn=u,vn=r,xn=c,kn=r,Sn=r,En=r,On=s,Cn=r,_n=r,Tn=r,Nn=u,jn=r,Rn=i,An=r,Fn=r,Pn=r,Ln=r,Bn=r,$n=u,Dn=i,qn=r;function In(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return 1==t&&r?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&1!=e&&(0==i||1==i)||r&&i>=5&&i<=9||r&&o>=12&&o<=14?"many":"other"}function zn(t){var n=String(t).split("."),e=n[1]||"",r=e.length,i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2),u=e.slice(-2),c=e.slice(-1);return i&&0==o||s>=11&&s<=19||2==r&&u>=11&&u<=19?"zero":1==o&&11!=s||2==r&&1==c&&11!=u||2!=r&&1==c?"one":"other"}const Mn=r;function Un(t){var n=String(t).split(".")[0];return 0==n||1==n?"one":"other"}const Hn=s,Jn=r;function Wn(t){var n=String(t).split("."),e=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return 1==t&&e?"one":!e||0==t||r>=2&&r<=19?"few":"other"}const Gn=r,Zn=u;function Vn(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return r&&1==i&&11!=o?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&0==i||r&&i>=5&&i<=9||r&&o>=11&&o<=14?"many":"other"}const Kn=r,Yn=u,Xn=r,Qn=s,te=s,ne=r,ee=r,re=c,ie=r,oe=u,se=u;function ue(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}function ce(t){var n=String(t).split("."),e=Number(n[0])==t;return t>=0&&t<=1?"one":e&&t>=2&&t<=10?"few":"other"}function ae(t){var n=String(t).split("."),e=n[0],r=n[1]||"";return 0==t||1==t||0==e&&1==r?"one":"other"}function fe(t){var n=String(t).split("."),e=n[0],r=!n[1];return 1==t&&r?"one":e>=2&&e<=4&&r?"few":r?"other":"many"}function le(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-2);return r&&1==i?"one":r&&2==i?"two":r&&(3==i||4==i)||!r?"few":"other"}const de=c,he=c,pe=c,me=c,ge=c,ye=r,be=r,we=r;function ve(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}const xe=r,ke=r,Se=r,Ee=u,Oe=s,Ce=s,_e=r,Te=r,Ne=r,je=r,Re=u,Ae=i,Fe=r,Pe=r;function Le(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=r.slice(-1);return i&&(1==e||2==e||3==e)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const Be=r,$e=u,De=r,qe=r;function Ie(t){var n=String(t).split("."),e=Number(n[0])==t;return 0==t||1==t||e&&t>=11&&t<=99?"one":"other"}const ze=r;function Me(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return r&&1==i&&11!=o?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&0==i||r&&i>=5&&i<=9||r&&o>=11&&o<=14?"many":"other"}const Ue=s,He=r,Je=r,We=u,Ge=r,Ze=r,Ve=i,Ke=r,Ye=u,Xe=r,Qe=r,tr=s,nr=u,er=u,rr=u,ir=o},function(t,n,e){"use strict";e.r(n),e.d(n,"_in",(function(){return p})),e.d(n,"af",(function(){return m})),e.d(n,"ak",(function(){return g})),e.d(n,"am",(function(){return y})),e.d(n,"an",(function(){return b})),e.d(n,"ar",(function(){return w})),e.d(n,"ars",(function(){return v})),e.d(n,"as",(function(){return x})),e.d(n,"asa",(function(){return k})),e.d(n,"ast",(function(){return S})),e.d(n,"az",(function(){return E})),e.d(n,"be",(function(){return O})),e.d(n,"bem",(function(){return C})),e.d(n,"bez",(function(){return _})),e.d(n,"bg",(function(){return T})),e.d(n,"bho",(function(){return N})),e.d(n,"bm",(function(){return j})),e.d(n,"bn",(function(){return R})),e.d(n,"bo",(function(){return A})),e.d(n,"br",(function(){return F})),e.d(n,"brx",(function(){return P})),e.d(n,"bs",(function(){return L})),e.d(n,"ca",(function(){return B})),e.d(n,"ce",(function(){return $})),e.d(n,"ceb",(function(){return D})),e.d(n,"cgg",(function(){return q})),e.d(n,"chr",(function(){return I})),e.d(n,"ckb",(function(){return z})),e.d(n,"cs",(function(){return M})),e.d(n,"cy",(function(){return U})),e.d(n,"da",(function(){return H})),e.d(n,"de",(function(){return J})),e.d(n,"dsb",(function(){return W})),e.d(n,"dv",(function(){return G})),e.d(n,"dz",(function(){return Z})),e.d(n,"ee",(function(){return V})),e.d(n,"el",(function(){return K})),e.d(n,"en",(function(){return Y})),e.d(n,"eo",(function(){return X})),e.d(n,"es",(function(){return Q})),e.d(n,"et",(function(){return tt})),e.d(n,"eu",(function(){return nt})),e.d(n,"fa",(function(){return et})),e.d(n,"ff",(function(){return rt})),e.d(n,"fi",(function(){return it})),e.d(n,"fil",(function(){return ot})),e.d(n,"fo",(function(){return st})),e.d(n,"fr",(function(){return ut})),e.d(n,"fur",(function(){return ct})),e.d(n,"fy",(function(){return at})),e.d(n,"ga",(function(){return ft})),e.d(n,"gd",(function(){return lt})),e.d(n,"gl",(function(){return dt})),e.d(n,"gsw",(function(){return ht})),e.d(n,"gu",(function(){return pt})),e.d(n,"guw",(function(){return mt})),e.d(n,"gv",(function(){return gt})),e.d(n,"ha",(function(){return yt})),e.d(n,"haw",(function(){return bt})),e.d(n,"he",(function(){return wt})),e.d(n,"hi",(function(){return vt})),e.d(n,"hr",(function(){return xt})),e.d(n,"hsb",(function(){return kt})),e.d(n,"hu",(function(){return St})),e.d(n,"hy",(function(){return Et})),e.d(n,"ia",(function(){return Ot})),e.d(n,"id",(function(){return Ct})),e.d(n,"ig",(function(){return _t})),e.d(n,"ii",(function(){return Tt})),e.d(n,"io",(function(){return Nt})),e.d(n,"is",(function(){return jt})),e.d(n,"it",(function(){return Rt})),e.d(n,"iu",(function(){return At})),e.d(n,"iw",(function(){return Ft})),e.d(n,"ja",(function(){return Pt})),e.d(n,"jbo",(function(){return Lt})),e.d(n,"jgo",(function(){return Bt})),e.d(n,"ji",(function(){return $t})),e.d(n,"jmc",(function(){return Dt})),e.d(n,"jv",(function(){return qt})),e.d(n,"jw",(function(){return It})),e.d(n,"ka",(function(){return zt})),e.d(n,"kab",(function(){return Mt})),e.d(n,"kaj",(function(){return Ut})),e.d(n,"kcg",(function(){return Ht})),e.d(n,"kde",(function(){return Jt})),e.d(n,"kea",(function(){return Wt})),e.d(n,"kk",(function(){return Gt})),e.d(n,"kkj",(function(){return Zt})),e.d(n,"kl",(function(){return Vt})),e.d(n,"km",(function(){return Kt})),e.d(n,"kn",(function(){return Yt})),e.d(n,"ko",(function(){return Xt})),e.d(n,"ks",(function(){return Qt})),e.d(n,"ksb",(function(){return tn})),e.d(n,"ksh",(function(){return nn})),e.d(n,"ku",(function(){return en})),e.d(n,"kw",(function(){return rn})),e.d(n,"ky",(function(){return on})),e.d(n,"lag",(function(){return sn})),e.d(n,"lb",(function(){return un})),e.d(n,"lg",(function(){return cn})),e.d(n,"lkt",(function(){return an})),e.d(n,"ln",(function(){return fn})),e.d(n,"lo",(function(){return ln})),e.d(n,"lt",(function(){return dn})),e.d(n,"lv",(function(){return hn})),e.d(n,"mas",(function(){return pn})),e.d(n,"mg",(function(){return mn})),e.d(n,"mgo",(function(){return gn})),e.d(n,"mk",(function(){return yn})),e.d(n,"ml",(function(){return bn})),e.d(n,"mn",(function(){return wn})),e.d(n,"mo",(function(){return vn})),e.d(n,"mr",(function(){return xn})),e.d(n,"ms",(function(){return kn})),e.d(n,"mt",(function(){return Sn})),e.d(n,"my",(function(){return En})),e.d(n,"nah",(function(){return On})),e.d(n,"naq",(function(){return Cn})),e.d(n,"nb",(function(){return _n})),e.d(n,"nd",(function(){return Tn})),e.d(n,"ne",(function(){return Nn})),e.d(n,"nl",(function(){return jn})),e.d(n,"nn",(function(){return Rn})),e.d(n,"nnh",(function(){return An})),e.d(n,"no",(function(){return Fn})),e.d(n,"nqo",(function(){return Pn})),e.d(n,"nr",(function(){return Ln})),e.d(n,"nso",(function(){return Bn})),e.d(n,"ny",(function(){return $n})),e.d(n,"nyn",(function(){return Dn})),e.d(n,"om",(function(){return qn})),e.d(n,"or",(function(){return In})),e.d(n,"os",(function(){return zn})),e.d(n,"osa",(function(){return Mn})),e.d(n,"pa",(function(){return Un})),e.d(n,"pap",(function(){return Hn})),e.d(n,"pl",(function(){return Jn})),e.d(n,"prg",(function(){return Wn})),e.d(n,"ps",(function(){return Gn})),e.d(n,"pt",(function(){return Zn})),e.d(n,"pt_PT",(function(){return Vn})),e.d(n,"rm",(function(){return Kn})),e.d(n,"ro",(function(){return Yn})),e.d(n,"rof",(function(){return Xn})),e.d(n,"root",(function(){return Qn})),e.d(n,"ru",(function(){return te})),e.d(n,"rwk",(function(){return ne})),e.d(n,"sah",(function(){return ee})),e.d(n,"saq",(function(){return re})),e.d(n,"sc",(function(){return ie})),e.d(n,"scn",(function(){return oe})),e.d(n,"sd",(function(){return se})),e.d(n,"sdh",(function(){return ue})),e.d(n,"se",(function(){return ce})),e.d(n,"seh",(function(){return ae})),e.d(n,"ses",(function(){return fe})),e.d(n,"sg",(function(){return le})),e.d(n,"sh",(function(){return de})),e.d(n,"shi",(function(){return he})),e.d(n,"si",(function(){return pe})),e.d(n,"sk",(function(){return me})),e.d(n,"sl",(function(){return ge})),e.d(n,"sma",(function(){return ye})),e.d(n,"smi",(function(){return be})),e.d(n,"smj",(function(){return we})),e.d(n,"smn",(function(){return ve})),e.d(n,"sms",(function(){return xe})),e.d(n,"sn",(function(){return ke})),e.d(n,"so",(function(){return Se})),e.d(n,"sq",(function(){return Ee})),e.d(n,"sr",(function(){return Oe})),e.d(n,"ss",(function(){return Ce})),e.d(n,"ssy",(function(){return _e})),e.d(n,"st",(function(){return Te})),e.d(n,"su",(function(){return Ne})),e.d(n,"sv",(function(){return je})),e.d(n,"sw",(function(){return Re})),e.d(n,"syr",(function(){return Ae})),e.d(n,"ta",(function(){return Fe})),e.d(n,"te",(function(){return Pe})),e.d(n,"teo",(function(){return Le})),e.d(n,"th",(function(){return Be})),e.d(n,"ti",(function(){return $e})),e.d(n,"tig",(function(){return De})),e.d(n,"tk",(function(){return qe})),e.d(n,"tl",(function(){return Ie})),e.d(n,"tn",(function(){return ze})),e.d(n,"to",(function(){return Me})),e.d(n,"tr",(function(){return Ue})),e.d(n,"ts",(function(){return He})),e.d(n,"tzm",(function(){return Je})),e.d(n,"ug",(function(){return We})),e.d(n,"uk",(function(){return Ge})),e.d(n,"ur",(function(){return Ze})),e.d(n,"uz",(function(){return Ve})),e.d(n,"ve",(function(){return Ke})),e.d(n,"vi",(function(){return Ye})),e.d(n,"vo",(function(){return Xe})),e.d(n,"vun",(function(){return Qe})),e.d(n,"wa",(function(){return tr})),e.d(n,"wae",(function(){return nr})),e.d(n,"wo",(function(){return er})),e.d(n,"xh",(function(){return rr})),e.d(n,"xog",(function(){return ir})),e.d(n,"yi",(function(){return or})),e.d(n,"yo",(function(){return sr})),e.d(n,"yue",(function(){return ur})),e.d(n,"zh",(function(){return cr})),e.d(n,"zu",(function(){return ar}));const r="zero",i="one",o="two",s="few",u="many",c="other",a={cardinal:[i,c],ordinal:[c]},f={cardinal:[c],ordinal:[c]},l={cardinal:[i,s,u,c],ordinal:[c]},d={cardinal:[i,c],ordinal:[i,c]},h={cardinal:[i,o,c],ordinal:[c]},p=f,m=a,g=a,y=a,b=a,w={cardinal:[r,i,o,s,u,c],ordinal:[c]},v={cardinal:[r,i,o,s,u,c],ordinal:[c]},x={cardinal:[i,c],ordinal:[i,o,s,u,c]},k=a,S=a,E={cardinal:[i,c],ordinal:[i,s,u,c]},O={cardinal:[i,s,u,c],ordinal:[s,c]},C=a,_=a,T=a,N=a,j=f,R={cardinal:[i,c],ordinal:[i,o,s,u,c]},A=f,F={cardinal:[i,o,s,u,c],ordinal:[c]},P=a,L={cardinal:[i,s,c],ordinal:[c]},B={cardinal:[i,c],ordinal:[i,o,s,c]},$=a,D=a,q=a,I=a,z=a,M=l,U={cardinal:[r,i,o,s,u,c],ordinal:[r,i,o,s,u,c]},H=a,J=a,W={cardinal:[i,o,s,c],ordinal:[c]},G=a,Z=f,V=a,K=a,Y={cardinal:[i,c],ordinal:[i,o,s,c]},X=a,Q=a,tt=a,nt=a,et=a,rt=a,it=a,ot=d,st=a,ut=d,ct=a,at=a,ft={cardinal:[i,o,s,u,c],ordinal:[i,c]},lt={cardinal:[i,o,s,c],ordinal:[i,o,s,c]},dt=a,ht=a,pt={cardinal:[i,c],ordinal:[i,o,s,u,c]},mt=a,gt={cardinal:[i,o,s,u,c],ordinal:[c]},yt=a,bt=a,wt={cardinal:[i,o,u,c],ordinal:[c]},vt={cardinal:[i,c],ordinal:[i,o,s,u,c]},xt={cardinal:[i,s,c],ordinal:[c]},kt={cardinal:[i,o,s,c],ordinal:[c]},St=d,Et=d,Ot=a,Ct=f,_t=f,Tt=f,Nt=a,jt=a,Rt={cardinal:[i,c],ordinal:[u,c]},At=h,Ft={cardinal:[i,o,u,c],ordinal:[c]},Pt=f,Lt=f,Bt=a,$t=a,Dt=a,qt=f,It=f,zt={cardinal:[i,c],ordinal:[i,u,c]},Mt=a,Ut=a,Ht=a,Jt=f,Wt=f,Gt={cardinal:[i,c],ordinal:[u,c]},Zt=a,Vt=a,Kt=f,Yt=a,Xt=f,Qt=a,tn=a,nn={cardinal:[r,i,c],ordinal:[c]},en=a,rn={cardinal:[r,i,o,s,u,c],ordinal:[i,u,c]},on=a,sn={cardinal:[r,i,c],ordinal:[c]},un=a,cn=a,an=f,fn=a,ln={cardinal:[c],ordinal:[i,c]},dn=l,hn={cardinal:[r,i,c],ordinal:[c]},pn=a,mn=a,gn=a,yn={cardinal:[i,c],ordinal:[i,o,u,c]},bn=a,wn=a,vn={cardinal:[i,s,c],ordinal:[i,c]},xn={cardinal:[i,c],ordinal:[i,o,s,c]},kn={cardinal:[c],ordinal:[i,c]},Sn=l,En=f,On=a,Cn=h,_n=a,Tn=a,Nn=d,jn=a,Rn=a,An=a,Fn=a,Pn=f,Ln=a,Bn=a,$n=a,Dn=a,qn=a,In={cardinal:[i,c],ordinal:[i,o,s,u,c]},zn=a,Mn=f,Un=a,Hn=a,Jn=l,Wn={cardinal:[r,i,c],ordinal:[c]},Gn=a,Zn=a,Vn=a,Kn=a,Yn={cardinal:[i,s,c],ordinal:[i,c]},Xn=a,Qn=f,te=l,ne=a,ee=f,re=a,ie={cardinal:[i,c],ordinal:[u,c]},oe={cardinal:[i,c],ordinal:[u,c]},se=a,ue=a,ce=h,ae=a,fe=f,le=f,de={cardinal:[i,s,c],ordinal:[c]},he={cardinal:[i,s,c],ordinal:[c]},pe=a,me=l,ge={cardinal:[i,o,s,c],ordinal:[c]},ye=h,be=h,we=h,ve=h,xe=h,ke=a,Se=a,Ee={cardinal:[i,c],ordinal:[i,u,c]},Oe={cardinal:[i,s,c],ordinal:[c]},Ce=a,_e=a,Te=a,Ne=f,je=d,Re=a,Ae=a,Fe=a,Pe=a,Le=a,Be=f,$e=a,De=a,qe={cardinal:[i,c],ordinal:[s,c]},Ie=d,ze=a,Me=f,Ue=a,He=a,Je=a,We=a,Ge={cardinal:[i,s,u,c],ordinal:[s,c]},Ze=a,Ve=a,Ke=a,Ye={cardinal:[c],ordinal:[i,c]},Xe=a,Qe=a,tr=a,nr=a,er=f,rr=a,ir=a,or=a,sr=f,ur=f,cr=f,ar=a},function(t,n,e){"use strict";function r(t,n){return n?"other":1==t?"one":"other"}function i(t,n){return n?"other":0==t||1==t?"one":"other"}function o(t,n){var e=!String(t).split(".")[1];return n?"other":1==t&&e?"one":"other"}function s(t,n){return"other"}function u(t,n){return n?"other":1==t?"one":2==t?"two":"other"}e.r(n),e.d(n,"_in",(function(){return c})),e.d(n,"af",(function(){return a})),e.d(n,"ak",(function(){return f})),e.d(n,"am",(function(){return l})),e.d(n,"an",(function(){return d})),e.d(n,"ar",(function(){return h})),e.d(n,"ars",(function(){return p})),e.d(n,"as",(function(){return m})),e.d(n,"asa",(function(){return g})),e.d(n,"ast",(function(){return y})),e.d(n,"az",(function(){return b})),e.d(n,"be",(function(){return w})),e.d(n,"bem",(function(){return v})),e.d(n,"bez",(function(){return x})),e.d(n,"bg",(function(){return k})),e.d(n,"bho",(function(){return S})),e.d(n,"bm",(function(){return E})),e.d(n,"bn",(function(){return O})),e.d(n,"bo",(function(){return C})),e.d(n,"br",(function(){return _})),e.d(n,"brx",(function(){return T})),e.d(n,"bs",(function(){return N})),e.d(n,"ca",(function(){return j})),e.d(n,"ce",(function(){return R})),e.d(n,"ceb",(function(){return A})),e.d(n,"cgg",(function(){return F})),e.d(n,"chr",(function(){return P})),e.d(n,"ckb",(function(){return L})),e.d(n,"cs",(function(){return B})),e.d(n,"cy",(function(){return $})),e.d(n,"da",(function(){return D})),e.d(n,"de",(function(){return q})),e.d(n,"dsb",(function(){return I})),e.d(n,"dv",(function(){return z})),e.d(n,"dz",(function(){return M})),e.d(n,"ee",(function(){return U})),e.d(n,"el",(function(){return H})),e.d(n,"en",(function(){return J})),e.d(n,"eo",(function(){return W})),e.d(n,"es",(function(){return G})),e.d(n,"et",(function(){return Z})),e.d(n,"eu",(function(){return V})),e.d(n,"fa",(function(){return K})),e.d(n,"ff",(function(){return Y})),e.d(n,"fi",(function(){return X})),e.d(n,"fil",(function(){return Q})),e.d(n,"fo",(function(){return tt})),e.d(n,"fr",(function(){return nt})),e.d(n,"fur",(function(){return et})),e.d(n,"fy",(function(){return rt})),e.d(n,"ga",(function(){return it})),e.d(n,"gd",(function(){return ot})),e.d(n,"gl",(function(){return st})),e.d(n,"gsw",(function(){return ut})),e.d(n,"gu",(function(){return ct})),e.d(n,"guw",(function(){return at})),e.d(n,"gv",(function(){return ft})),e.d(n,"ha",(function(){return lt})),e.d(n,"haw",(function(){return dt})),e.d(n,"he",(function(){return ht})),e.d(n,"hi",(function(){return pt})),e.d(n,"hr",(function(){return mt})),e.d(n,"hsb",(function(){return gt})),e.d(n,"hu",(function(){return yt})),e.d(n,"hy",(function(){return bt})),e.d(n,"ia",(function(){return wt})),e.d(n,"id",(function(){return vt})),e.d(n,"ig",(function(){return xt})),e.d(n,"ii",(function(){return kt})),e.d(n,"io",(function(){return St})),e.d(n,"is",(function(){return Et})),e.d(n,"it",(function(){return Ot})),e.d(n,"iu",(function(){return Ct})),e.d(n,"iw",(function(){return _t})),e.d(n,"ja",(function(){return Tt})),e.d(n,"jbo",(function(){return Nt})),e.d(n,"jgo",(function(){return jt})),e.d(n,"ji",(function(){return Rt})),e.d(n,"jmc",(function(){return At})),e.d(n,"jv",(function(){return Ft})),e.d(n,"jw",(function(){return Pt})),e.d(n,"ka",(function(){return Lt})),e.d(n,"kab",(function(){return Bt})),e.d(n,"kaj",(function(){return $t})),e.d(n,"kcg",(function(){return Dt})),e.d(n,"kde",(function(){return qt})),e.d(n,"kea",(function(){return It})),e.d(n,"kk",(function(){return zt})),e.d(n,"kkj",(function(){return Mt})),e.d(n,"kl",(function(){return Ut})),e.d(n,"km",(function(){return Ht})),e.d(n,"kn",(function(){return Jt})),e.d(n,"ko",(function(){return Wt})),e.d(n,"ks",(function(){return Gt})),e.d(n,"ksb",(function(){return Zt})),e.d(n,"ksh",(function(){return Vt})),e.d(n,"ku",(function(){return Kt})),e.d(n,"kw",(function(){return Yt})),e.d(n,"ky",(function(){return Xt})),e.d(n,"lag",(function(){return Qt})),e.d(n,"lb",(function(){return tn})),e.d(n,"lg",(function(){return nn})),e.d(n,"lkt",(function(){return en})),e.d(n,"ln",(function(){return rn})),e.d(n,"lo",(function(){return on})),e.d(n,"lt",(function(){return sn})),e.d(n,"lv",(function(){return un})),e.d(n,"mas",(function(){return cn})),e.d(n,"mg",(function(){return an})),e.d(n,"mgo",(function(){return fn})),e.d(n,"mk",(function(){return ln})),e.d(n,"ml",(function(){return dn})),e.d(n,"mn",(function(){return hn})),e.d(n,"mo",(function(){return pn})),e.d(n,"mr",(function(){return mn})),e.d(n,"ms",(function(){return gn})),e.d(n,"mt",(function(){return yn})),e.d(n,"my",(function(){return bn})),e.d(n,"nah",(function(){return wn})),e.d(n,"naq",(function(){return vn})),e.d(n,"nb",(function(){return xn})),e.d(n,"nd",(function(){return kn})),e.d(n,"ne",(function(){return Sn})),e.d(n,"nl",(function(){return En})),e.d(n,"nn",(function(){return On})),e.d(n,"nnh",(function(){return Cn})),e.d(n,"no",(function(){return _n})),e.d(n,"nqo",(function(){return Tn})),e.d(n,"nr",(function(){return Nn})),e.d(n,"nso",(function(){return jn})),e.d(n,"ny",(function(){return Rn})),e.d(n,"nyn",(function(){return An})),e.d(n,"om",(function(){return Fn})),e.d(n,"or",(function(){return Pn})),e.d(n,"os",(function(){return Ln})),e.d(n,"osa",(function(){return Bn})),e.d(n,"pa",(function(){return $n})),e.d(n,"pap",(function(){return Dn})),e.d(n,"pl",(function(){return qn})),e.d(n,"prg",(function(){return In})),e.d(n,"ps",(function(){return zn})),e.d(n,"pt",(function(){return Mn})),e.d(n,"pt_PT",(function(){return Un})),e.d(n,"rm",(function(){return Hn})),e.d(n,"ro",(function(){return Jn})),e.d(n,"rof",(function(){return Wn})),e.d(n,"root",(function(){return Gn})),e.d(n,"ru",(function(){return Zn})),e.d(n,"rwk",(function(){return Vn})),e.d(n,"sah",(function(){return Kn})),e.d(n,"saq",(function(){return Yn})),e.d(n,"sc",(function(){return Xn})),e.d(n,"scn",(function(){return Qn})),e.d(n,"sd",(function(){return te})),e.d(n,"sdh",(function(){return ne})),e.d(n,"se",(function(){return ee})),e.d(n,"seh",(function(){return re})),e.d(n,"ses",(function(){return ie})),e.d(n,"sg",(function(){return oe})),e.d(n,"sh",(function(){return se})),e.d(n,"shi",(function(){return ue})),e.d(n,"si",(function(){return ce})),e.d(n,"sk",(function(){return ae})),e.d(n,"sl",(function(){return fe})),e.d(n,"sma",(function(){return le})),e.d(n,"smi",(function(){return de})),e.d(n,"smj",(function(){return he})),e.d(n,"smn",(function(){return pe})),e.d(n,"sms",(function(){return me})),e.d(n,"sn",(function(){return ge})),e.d(n,"so",(function(){return ye})),e.d(n,"sq",(function(){return be})),e.d(n,"sr",(function(){return we})),e.d(n,"ss",(function(){return ve})),e.d(n,"ssy",(function(){return xe})),e.d(n,"st",(function(){return ke})),e.d(n,"su",(function(){return Se})),e.d(n,"sv",(function(){return Ee})),e.d(n,"sw",(function(){return Oe})),e.d(n,"syr",(function(){return Ce})),e.d(n,"ta",(function(){return _e})),e.d(n,"te",(function(){return Te})),e.d(n,"teo",(function(){return Ne})),e.d(n,"th",(function(){return je})),e.d(n,"ti",(function(){return Re})),e.d(n,"tig",(function(){return Ae})),e.d(n,"tk",(function(){return Fe})),e.d(n,"tl",(function(){return Pe})),e.d(n,"tn",(function(){return Le})),e.d(n,"to",(function(){return Be})),e.d(n,"tr",(function(){return $e})),e.d(n,"ts",(function(){return De})),e.d(n,"tzm",(function(){return qe})),e.d(n,"ug",(function(){return Ie})),e.d(n,"uk",(function(){return ze})),e.d(n,"ur",(function(){return Me})),e.d(n,"uz",(function(){return Ue})),e.d(n,"ve",(function(){return He})),e.d(n,"vi",(function(){return Je})),e.d(n,"vo",(function(){return We})),e.d(n,"vun",(function(){return Ge})),e.d(n,"wa",(function(){return Ze})),e.d(n,"wae",(function(){return Ve})),e.d(n,"wo",(function(){return Ke})),e.d(n,"xh",(function(){return Ye})),e.d(n,"xog",(function(){return Xe})),e.d(n,"yi",(function(){return Qe})),e.d(n,"yo",(function(){return tr})),e.d(n,"yue",(function(){return nr})),e.d(n,"zh",(function(){return er})),e.d(n,"zu",(function(){return rr}));const c=s,a=r,f=i;function l(t,n){return n?"other":t>=0&&t<=1?"one":"other"}const d=r;function h(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return n?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"}function p(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return n?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"}function m(t,n){return n?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}const g=r,y=o;function b(t,n){var e=String(t).split(".")[0],r=e.slice(-1),i=e.slice(-2),o=e.slice(-3);return n?1==r||2==r||5==r||7==r||8==r||20==i||50==i||70==i||80==i?"one":3==r||4==r||100==o||200==o||300==o||400==o||500==o||600==o||700==o||800==o||900==o?"few":0==e||6==r||40==i||60==i||90==i?"many":"other":1==t?"one":"other"}function w(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return n?2!=i&&3!=i||12==o||13==o?"other":"few":1==i&&11!=o?"one":i>=2&&i<=4&&(o<12||o>14)?"few":r&&0==i||i>=5&&i<=9||o>=11&&o<=14?"many":"other"}const v=r,x=r,k=r,S=i,E=s;function O(t,n){return n?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}const C=s;function _(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2),s=r&&e[0].slice(-6);return n?"other":1==i&&11!=o&&71!=o&&91!=o?"one":2==i&&12!=o&&72!=o&&92!=o?"two":(3==i||4==i||9==i)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&r&&0==s?"many":"other"}const T=r;function N(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}function j(t,n){var e=!String(t).split(".")[1];return n?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&e?"one":"other"}const R=r;function A(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=i.slice(-1);return n?"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"}const F=r,P=r,L=r;function B(t,n){var e=String(t).split("."),r=e[0],i=!e[1];return n?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"}function $(t,n){return n?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"}function D(t,n){var e=String(t).split("."),r=e[0],i=Number(e[0])==t;return n||1!=t&&(i||0!=r&&1!=r)?"other":"one"}const q=o;function I(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-2),u=i.slice(-2);return n?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"}const z=r,M=s,U=r,H=r;function J(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2);return n?1==o&&11!=s?"one":2==o&&12!=s?"two":3==o&&13!=s?"few":"other":1==t&&r?"one":"other"}const W=r,G=r,Z=o,V=r;function K(t,n){return n?"other":t>=0&&t<=1?"one":"other"}function Y(t,n){return n?"other":t>=0&&t<2?"one":"other"}const X=o;function Q(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=i.slice(-1);return n?1==t?"one":"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"}const tt=r;function nt(t,n){return n?1==t?"one":"other":t>=0&&t<2?"one":"other"}const et=r,rt=o;function it(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"}function ot(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"}const st=o,ut=r;function ct(t,n){return n?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}const at=i;function ft(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-1),s=r.slice(-2);return n?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?i?"other":"many":"few"}const lt=r,dt=r;function ht(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=Number(e[0])==t,s=o&&e[0].slice(-1);return n?"other":1==t&&i?"one":2==r&&i?"two":i&&(t<0||t>10)&&o&&0==s?"many":"other"}function pt(t,n){return n?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}function mt(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}function gt(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-2),u=i.slice(-2);return n?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"}function yt(t,n){return n?1==t||5==t?"one":"other":1==t?"one":"other"}function bt(t,n){return n?1==t?"one":"other":t>=0&&t<2?"one":"other"}const wt=o,vt=s,xt=s,kt=s,St=o;function Et(t,n){var e=String(t).split("."),r=e[0],i=Number(e[0])==t,o=r.slice(-1),s=r.slice(-2);return n?"other":i&&1==o&&11!=s||!i?"one":"other"}function Ot(t,n){var e=!String(t).split(".")[1];return n?11==t||8==t||80==t||800==t?"many":"other":1==t&&e?"one":"other"}const Ct=u;function _t(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=Number(e[0])==t,s=o&&e[0].slice(-1);return n?"other":1==t&&i?"one":2==r&&i?"two":i&&(t<0||t>10)&&o&&0==s?"many":"other"}const Tt=s,Nt=s,jt=r,Rt=o,At=r,Ft=s,Pt=s;function Lt(t,n){var e=String(t).split(".")[0],r=e.slice(-2);return n?1==e?"one":0==e||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"}function Bt(t,n){return n?"other":t>=0&&t<2?"one":"other"}const $t=r,Dt=r,qt=s,It=s;function zt(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1);return n?6==i||9==i||r&&0==i&&0!=t?"many":"other":1==t?"one":"other"}const Mt=r,Ut=r,Ht=s;function Jt(t,n){return n?"other":t>=0&&t<=1?"one":"other"}const Wt=s,Gt=r,Zt=r;function Vt(t,n){return n?"other":0==t?"zero":1==t?"one":"other"}const Kt=r;function Yt(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-2),o=r&&e[0].slice(-3),s=r&&e[0].slice(-5),u=r&&e[0].slice(-6);return n?r&&t>=1&&t<=4||i>=1&&i<=4||i>=21&&i<=24||i>=41&&i<=44||i>=61&&i<=64||i>=81&&i<=84?"one":5==t||5==i?"many":"other":0==t?"zero":1==t?"one":2==i||22==i||42==i||62==i||82==i||r&&0==o&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=t&&1e5==u?"two":3==i||23==i||43==i||63==i||83==i?"few":1==t||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"}const Xt=r;function Qt(t,n){var e=String(t).split(".")[0];return n?"other":0==t?"zero":0!=e&&1!=e||0==t?"other":"one"}const tn=r,nn=r,en=s,rn=i;function on(t,n){return n&&1==t?"one":"other"}function sn(t,n){var e=String(t).split("."),r=e[1]||"",i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2);return n?"other":1==o&&(s<11||s>19)?"one":o>=2&&o<=9&&(s<11||s>19)?"few":0!=r?"many":"other"}function un(t,n){var e=String(t).split("."),r=e[1]||"",i=r.length,o=Number(e[0])==t,s=o&&e[0].slice(-1),u=o&&e[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return n?"other":o&&0==s||u>=11&&u<=19||2==i&&c>=11&&c<=19?"zero":1==s&&11!=u||2==i&&1==a&&11!=c||2!=i&&1==a?"one":"other"}const cn=r,an=i,fn=r;function ln(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?1==s&&11!=u?"one":2==s&&12!=u?"two":7!=s&&8!=s||17==u||18==u?"other":"many":o&&1==s&&11!=u||1==c&&11!=a?"one":"other"}const dn=r,hn=r;function pn(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t&&e[0].slice(-2);return n?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"}function mn(t,n){return n?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other"}function gn(t,n){return n&&1==t?"one":"other"}function yn(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return n?"other":1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"}const bn=s,wn=r,vn=u,xn=r,kn=r;function Sn(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"}const En=o,On=r,Cn=r,_n=r,Tn=s,Nn=r,jn=i,Rn=r,An=r,Fn=r;function Pn(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?1==t||5==t||r&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"}const Ln=r,Bn=s,$n=i,Dn=r;function qn(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-1),s=r.slice(-2);return n?"other":1==t&&i?"one":i&&o>=2&&o<=4&&(s<12||s>14)?"few":i&&1!=r&&(0==o||1==o)||i&&o>=5&&o<=9||i&&s>=12&&s<=14?"many":"other"}function In(t,n){var e=String(t).split("."),r=e[1]||"",i=r.length,o=Number(e[0])==t,s=o&&e[0].slice(-1),u=o&&e[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return n?"other":o&&0==s||u>=11&&u<=19||2==i&&c>=11&&c<=19?"zero":1==s&&11!=u||2==i&&1==a&&11!=c||2!=i&&1==a?"one":"other"}const zn=r;function Mn(t,n){var e=String(t).split(".")[0];return n?"other":0==e||1==e?"one":"other"}const Un=o,Hn=r;function Jn(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t&&e[0].slice(-2);return n?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"}const Wn=r,Gn=s;function Zn(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-1),s=r.slice(-2);return n?"other":i&&1==o&&11!=s?"one":i&&o>=2&&o<=4&&(s<12||s>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&s>=11&&s<=14?"many":"other"}const Vn=r,Kn=s,Yn=r;function Xn(t,n){var e=!String(t).split(".")[1];return n?11==t||8==t||80==t||800==t?"many":"other":1==t&&e?"one":"other"}function Qn(t,n){var e=!String(t).split(".")[1];return n?11==t||8==t||80==t||800==t?"many":"other":1==t&&e?"one":"other"}const te=r,ne=r,ee=u,re=r,ie=s,oe=s;function se(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}function ue(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"}function ce(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"";return n?"other":0==t||1==t||0==r&&1==i?"one":"other"}function ae(t,n){var e=String(t).split("."),r=e[0],i=!e[1];return n?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"}function fe(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-2);return n?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"}const le=u,de=u,he=u,pe=u,me=u,ge=r,ye=r;function be(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return n?1==t?"one":4==i&&14!=o?"many":"other":1==t?"one":"other"}function we(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}const ve=r,xe=r,ke=r,Se=s;function Ee(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2);return n?1!=o&&2!=o||11==s||12==s?"other":"one":1==t&&r?"one":"other"}const Oe=o,Ce=r,_e=r,Te=r,Ne=r,je=s,Re=i,Ae=r;function Fe(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-1);return n?6==r||9==r||10==t?"few":"other":1==t?"one":"other"}function Pe(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=i.slice(-1);return n?1==t?"one":"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"}const Le=r,Be=s,$e=r,De=r;function qe(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"}const Ie=r;function ze(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=Number(e[0])==t,s=o&&e[0].slice(-1),u=o&&e[0].slice(-2),c=r.slice(-1),a=r.slice(-2);return n?3==s&&13!=u?"few":"other":i&&1==c&&11!=a?"one":i&&c>=2&&c<=4&&(a<12||a>14)?"few":i&&0==c||i&&c>=5&&c<=9||i&&a>=11&&a<=14?"many":"other"}const Me=o,Ue=r,He=r;function Je(t,n){return n&&1==t?"one":"other"}const We=r,Ge=r,Ze=i,Ve=r,Ke=s,Ye=r,Xe=r,Qe=o,tr=s,nr=s,er=s;function rr(t,n){return n?"other":t>=0&&t<=1?"one":"other"}},function(t,n){var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,n){return t<<n|t>>>32-n},rotr:function(t,n){return t<<32-n|t>>>n},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var n=0;n<t.length;n++)t[n]=r.endian(t[n]);return t},randomBytes:function(t){for(var n=[];t>0;t--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(t){for(var n=[],e=0,r=0;e<t.length;e++,r+=8)n[r>>>5]|=t[e]<<24-r%32;return n},wordsToBytes:function(t){for(var n=[],e=0;e<32*t.length;e+=8)n.push(t[e>>>5]>>>24-e%32&255);return n},bytesToHex:function(t){for(var n=[],e=0;e<t.length;e++)n.push((t[e]>>>4).toString(16)),n.push((15&t[e]).toString(16));return n.join("")},hexToBytes:function(t){for(var n=[],e=0;e<t.length;e+=2)n.push(parseInt(t.substr(e,2),16));return n},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var i=t[r]<<16|t[r+1]<<8|t[r+2],o=0;o<4;o++)8*r+6*o<=8*t.length?n.push(e.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|e.indexOf(t.charAt(r))>>>6-2*i);return n}},t.exports=r},function(t,n){function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
|
1
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.transifex=n():t.transifex=n()}(global,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=68)}([function(t,n,e){"use strict";var r=e(9),i=Object.prototype.toString;function o(t){return"[object Array]"===i.call(t)}function s(t){return void 0===t}function u(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==i.call(t))return!1;var n=Object.getPrototypeOf(t);return null===n||n===Object.prototype}function a(t){return"[object Function]"===i.call(t)}function f(t,n){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var e=0,r=t.length;e<r;e++)n.call(null,t[e],e,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&n.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:function(t){return null!==t&&!s(t)&&null!==t.constructor&&!s(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:u,isPlainObject:c,isUndefined:s,isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:a,isStream:function(t){return u(t)&&a(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:f,merge:function t(){var n={};function e(e,r){c(n[r])&&c(e)?n[r]=t(n[r],e):c(e)?n[r]=t({},e):o(e)?n[r]=e.slice():n[r]=e}for(var r=0,i=arguments.length;r<i;r++)f(arguments[r],e);return n},extend:function(t,n,e){return f(n,(function(n,i){t[i]=e&&"function"==typeof n?r(n,e):n})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},function(t,n,e){"use strict";var r=e(0),i=e(27),o=e(4),s={"Content-Type":"application/x-www-form-urlencoded"};function u(t,n){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=n)}var c,a={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:("undefined"!=typeof XMLHttpRequest?c=e(28):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(c=e(34)),c),transformRequest:[function(t,n){return i(n,"Accept"),i(n,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(u(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||n&&"application/json"===n["Content-Type"]?(u(n,"application/json"),function(t,n,e){if(r.isString(t))try{return(n||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(e||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var n=this.transitional||a.transitional,e=n&&n.silentJSONParsing,i=n&&n.forcedJSONParsing,s=!e&&"json"===this.responseType;if(s||i&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(s){if("SyntaxError"===t.name)throw o(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){a.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){a.headers[t]=r.merge(s)})),t.exports=a},function(t,n,e){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},function(t,n,e){"use strict";var r=e(0);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,n,e){if(!n)return t;var o;if(e)o=e(n);else if(r.isURLSearchParams(n))o=n.toString();else{var s=[];r.forEach(n,(function(t,n){null!=t&&(r.isArray(t)?n+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(n)+"="+i(t))})))})),o=s.join("&")}if(o){var u=t.indexOf("#");-1!==u&&(t=t.slice(0,u)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},function(t,n,e){"use strict";t.exports=function(t,n,e,r,i){return t.config=n,e&&(t.code=e),t.request=r,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},t}},function(t,n,e){"use strict";var r=e(4);t.exports=function(t,n,e,i,o){var s=new Error(t);return r(s,n,e,i,o)}},function(t,n){t.exports={version:"0.24.0"}},function(t,n,e){t.exports=e(22)},function(t,n,e){"use strict";var r=e(52),i=e(63),o=e(64),s=e(65),u=e(19);function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function a(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach((function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})),n.default=t,Object.freeze(n)}var f=c(r),l=a(i),d=a(o),h=a(s);function p(t){if("string"!=typeof t||t.length<2)throw new RangeError("Invalid language tag: "+t);if(t.startsWith("pt-PT"))return"pt-PT";const n=t.match(/.+?(?=[-_])/);return n?n[0]:t}function m(t){if("function"==typeof t){const n=p(t.name);return{isDefault:!1,id:u.identifier(n),lc:n,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}const n=p(t),e=u.identifier(n);return function(t){return t in h}(e)?{isDefault:!0,id:e,lc:n,locale:t,getCardinal:l[e],getPlural:h[e],cardinals:d[e].cardinal,ordinals:d[e].ordinal}:null}function g(t){const n=p(t);return u.identifier(n)in h}class y{constructor(t,n){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},requireAllArguments:!1,returnType:"string",strict:n&&n.strictNumberSign||!1},n),"*"===t)this.plurals=function(t){const n=Object.keys(h).filter(n=>n!==t);return n.unshift(t),n.map(m)}(y.defaultLocale);else if(Array.isArray(t))this.plurals=t.map(m).filter(Boolean);else if(t){const n=m(t);n&&(this.plurals=[n])}if(0===this.plurals.length){const t=m(y.defaultLocale);this.plurals=[t]}}static escape(t,n){const e=n?/[#{}]/g:/[{}]/g;return String(t).replace(e,"'$&'")}static supportedLocalesOf(t){return(Array.isArray(t)?t:[t]).filter(g)}resolvedOptions(){return Object.assign(Object.assign({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})}compile(t){const n=new f.default(this.options),e="return "+n.compile(t,this.plurals[0]),r=[],i=[];for(const[t,e]of Object.entries(n.runtime))r.push(t),i.push(e);return new Function(...r,e)(...i)}}y.defaultLocale="en",t.exports=y},function(t,n,e){"use strict";t.exports=function(t,n){return function(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];return t.apply(n,e)}}},function(t,n,e){"use strict";var r=e(5);t.exports=function(t,n,e){var i=e.config.validateStatus;e.status&&i&&!i(e.status)?n(r("Request failed with status code "+e.status,e.config,null,e.request,e)):t(e)}},function(t,n,e){"use strict";var r=e(30),i=e(31);t.exports=function(t,n){return t&&!r(n)?i(t,n):n}},function(t,n){t.exports=require("http")},function(t,n){t.exports=require("https")},function(t,n,e){var r=e(15),i=r.URL,o=e(12),s=e(13),u=e(35).Writable,c=e(36),a=e(37),f=["abort","aborted","connect","error","socket","timeout"],l=Object.create(null);f.forEach((function(t){l[t]=function(n,e,r){this._redirectable.emit(t,n,e,r)}}));var d=x("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),h=x("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),p=x("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),m=x("ERR_STREAM_WRITE_AFTER_END","write after end");function g(t,n){u.call(this),this._sanitizeOptions(t),this._options=t,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],n&&this.on("response",n);var e=this;this._onNativeResponse=function(t){e._processResponse(t)},this._performRequest()}function y(t){var n={maxRedirects:21,maxBodyLength:10485760},e={};return Object.keys(t).forEach((function(o){var s=o+":",u=e[s]=t[o],f=n[o]=Object.create(u);Object.defineProperties(f,{request:{value:function(t,o,u){if("string"==typeof t){var f=t;try{t=w(new i(f))}catch(n){t=r.parse(f)}}else i&&t instanceof i?t=w(t):(u=o,o=t,t={protocol:s});return"function"==typeof o&&(u=o,o=null),(o=Object.assign({maxRedirects:n.maxRedirects,maxBodyLength:n.maxBodyLength},t,o)).nativeProtocols=e,c.equal(o.protocol,s,"protocol mismatch"),a("options",o),new g(o,u)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(t,n,e){var r=f.request(t,n,e);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),n}function b(){}function w(t){var n={protocol:t.protocol,hostname:t.hostname.startsWith("[")?t.hostname.slice(1,-1):t.hostname,hash:t.hash,search:t.search,pathname:t.pathname,path:t.pathname+t.search,href:t.href};return""!==t.port&&(n.port=Number(t.port)),n}function v(t,n){var e;for(var r in n)t.test(r)&&(e=n[r],delete n[r]);return null==e?void 0:String(e).trim()}function x(t,n){function e(t){Error.captureStackTrace(this,this.constructor),t?(this.message=n+": "+t.message,this.cause=t):this.message=n}return e.prototype=new Error,e.prototype.constructor=e,e.prototype.name="Error ["+t+"]",e.prototype.code=t,e}function k(t){for(var n=0;n<f.length;n++)t.removeListener(f[n],l[f[n]]);t.on("error",b),t.abort()}g.prototype=Object.create(u.prototype),g.prototype.abort=function(){k(this._currentRequest),this.emit("abort")},g.prototype.write=function(t,n,e){if(this._ending)throw new m;if(!("string"==typeof t||"object"==typeof t&&"length"in t))throw new TypeError("data should be a string, Buffer or Uint8Array");"function"==typeof n&&(e=n,n=null),0!==t.length?this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:n}),this._currentRequest.write(t,n,e)):(this.emit("error",new p),this.abort()):e&&e()},g.prototype.end=function(t,n,e){if("function"==typeof t?(e=t,t=n=null):"function"==typeof n&&(e=n,n=null),t){var r=this,i=this._currentRequest;this.write(t,n,(function(){r._ended=!0,i.end(null,null,e)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,e)},g.prototype.setHeader=function(t,n){this._options.headers[t]=n,this._currentRequest.setHeader(t,n)},g.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)},g.prototype.setTimeout=function(t,n){var e=this;function r(n){n.setTimeout(t),n.removeListener("timeout",n.destroy),n.addListener("timeout",n.destroy)}function i(n){e._timeout&&clearTimeout(e._timeout),e._timeout=setTimeout((function(){e.emit("timeout"),o()}),t),r(n)}function o(){e._timeout&&(clearTimeout(e._timeout),e._timeout=null),e.removeListener("abort",o),e.removeListener("error",o),e.removeListener("response",o),n&&e.removeListener("timeout",n),e.socket||e._currentRequest.removeListener("socket",i)}return n&&this.on("timeout",n),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",r),this.on("abort",o),this.on("error",o),this.on("response",o),this},["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach((function(t){g.prototype[t]=function(n,e){return this._currentRequest[t](n,e)}})),["aborted","connection","socket"].forEach((function(t){Object.defineProperty(g.prototype,t,{get:function(){return this._currentRequest[t]}})})),g.prototype._sanitizeOptions=function(t){if(t.headers||(t.headers={}),t.host&&(t.hostname||(t.hostname=t.host),delete t.host),!t.pathname&&t.path){var n=t.path.indexOf("?");n<0?t.pathname=t.path:(t.pathname=t.path.substring(0,n),t.search=t.path.substring(n))}},g.prototype._performRequest=function(){var t=this._options.protocol,n=this._options.nativeProtocols[t];if(n){if(this._options.agents){var e=t.substr(0,t.length-1);this._options.agent=this._options.agents[e]}var i=this._currentRequest=n.request(this._options,this._onNativeResponse);this._currentUrl=r.format(this._options),i._redirectable=this;for(var o=0;o<f.length;o++)i.on(f[o],l[f[o]]);if(this._isRedirect){var s=0,u=this,c=this._requestBodyBuffers;!function t(n){if(i===u._currentRequest)if(n)u.emit("error",n);else if(s<c.length){var e=c[s++];i.finished||i.write(e.data,e.encoding,t)}else u._ended&&i.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},g.prototype._processResponse=function(t){var n=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:n});var e=t.headers.location;if(e&&!1!==this._options.followRedirects&&n>=300&&n<400){if(k(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)return void this.emit("error",new h);((301===n||302===n)&&"POST"===this._options.method||303===n&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],v(/^content-/i,this._options.headers));var i,o=v(/^host$/i,this._options.headers),s=r.parse(this._currentUrl),u=o||s.host,c=/^\w+:/.test(e)?this._currentUrl:r.format(Object.assign(s,{host:u}));try{i=r.resolve(c,e)}catch(t){return void this.emit("error",new d(t))}a("redirecting to",i),this._isRedirect=!0;var f=r.parse(i);if(Object.assign(this._options,f),f.host===u||function(t,n){const e=t.length-n.length-1;return e>0&&"."===t[e]&&t.endsWith(n)}(f.host,u)||v(/^(?:authorization|cookie)$/i,this._options.headers),"function"==typeof this._options.beforeRedirect){var l={headers:t.headers};try{this._options.beforeRedirect.call(null,this._options,l)}catch(t){return void this.emit("error",t)}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(t){this.emit("error",new d(t))}}else t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),this._requestBodyBuffers=[]},t.exports=y({http:o,https:s}),t.exports.wrap=y},function(t,n){t.exports=require("url")},function(t,n,e){t.exports=function(t){function n(t){let e,i,o,s=null;function u(...t){if(!u.enabled)return;const r=u,i=Number(new Date),o=i-(e||i);r.diff=o,r.prev=e,r.curr=i,e=i,t[0]=n.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(e,i)=>{if("%%"===e)return"%";s++;const o=n.formatters[i];if("function"==typeof o){const n=t[s];e=o.call(r,n),t.splice(s,1),s--}return e}),n.formatArgs.call(r,t);(r.log||n.log).apply(r,t)}return u.namespace=t,u.useColors=n.useColors(),u.color=n.selectColor(t),u.extend=r,u.destroy=n.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==n.namespaces&&(i=n.namespaces,o=n.enabled(t)),o),set:t=>{s=t}}),"function"==typeof n.init&&n.init(u),u}function r(t,e){const r=n(this.namespace+(void 0===e?":":e)+t);return r.log=this.log,r}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return n.debug=n,n.default=n,n.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},n.disable=function(){const t=[...n.names.map(i),...n.skips.map(i).map(t=>"-"+t)].join(",");return n.enable(""),t},n.enable=function(t){let e;n.save(t),n.namespaces=t,n.names=[],n.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(e=0;e<i;e++)r[e]&&("-"===(t=r[e].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+t.substr(1)+"$")):n.names.push(new RegExp("^"+t+"$")))},n.enabled=function(t){if("*"===t[t.length-1])return!0;let e,r;for(e=0,r=n.skips.length;e<r;e++)if(n.skips[e].test(t))return!1;for(e=0,r=n.names.length;e<r;e++)if(n.names[e].test(t))return!0;return!1},n.humanize=e(40),n.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(e=>{n[e]=t[e]}),n.names=[],n.skips=[],n.formatters={},n.selectColor=function(t){let e=0;for(let n=0;n<t.length;n++)e=(e<<5)-e+t.charCodeAt(n),e|=0;return n.colors[Math.abs(e)%n.colors.length]},n.enable(n.load()),n}},function(t,n,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,n,e){"use strict";var r=e(0);t.exports=function(t,n){n=n||{};var e={};function i(t,n){return r.isPlainObject(t)&&r.isPlainObject(n)?r.merge(t,n):r.isPlainObject(n)?r.merge({},n):r.isArray(n)?n.slice():n}function o(e){return r.isUndefined(n[e])?r.isUndefined(t[e])?void 0:i(void 0,t[e]):i(t[e],n[e])}function s(t){if(!r.isUndefined(n[t]))return i(void 0,n[t])}function u(e){return r.isUndefined(n[e])?r.isUndefined(t[e])?void 0:i(void 0,t[e]):i(void 0,n[e])}function c(e){return e in n?i(t[e],n[e]):e in t?i(void 0,t[e]):void 0}var a={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(n)),(function(t){var n=a[t]||o,i=n(t);r.isUndefined(i)&&n!==c||(e[t]=i)})),e}},function(t,n,e){const r=e(62);t.exports={identifier:function(t,n){n&&(t+=" "+function(t){let n=0;for(let e=0;e<t.length;++e){n=(n<<5)-n+t.charCodeAt(e),n|=0}return n}(t).toString(36));const e=t.trim().replace(/\W+/g,"_");return r.ES3[e]||r.ESnext[e]||/^\d/.test(e)?"_"+e:e},property:function(t,n){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(n)&&!r.ES3[n])return t?t+"."+n:n;{const e=JSON.stringify(n);return t?t+"["+e+"]":e}}}},function(t,n){var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var n=[],e=0;e<t.length;e++)n.push(255&t.charCodeAt(e));return n},bytesToString:function(t){for(var n=[],e=0;e<t.length;e++)n.push(String.fromCharCode(t[e]));return n.join("")}}};t.exports=e},function(t,n,e){var r,i,o,s,u;r=e(66),i=e(20).utf8,o=e(67),s=e(20).bin,(u=function(t,n){t.constructor==String?t=n&&"binary"===n.encoding?s.stringToBytes(t):i.stringToBytes(t):o(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var e=r.bytesToWords(t),c=8*t.length,a=1732584193,f=-271733879,l=-1732584194,d=271733878,h=0;h<e.length;h++)e[h]=16711935&(e[h]<<8|e[h]>>>24)|4278255360&(e[h]<<24|e[h]>>>8);e[c>>>5]|=128<<c%32,e[14+(c+64>>>9<<4)]=c;var p=u._ff,m=u._gg,g=u._hh,y=u._ii;for(h=0;h<e.length;h+=16){var b=a,w=f,v=l,x=d;a=p(a,f,l,d,e[h+0],7,-680876936),d=p(d,a,f,l,e[h+1],12,-389564586),l=p(l,d,a,f,e[h+2],17,606105819),f=p(f,l,d,a,e[h+3],22,-1044525330),a=p(a,f,l,d,e[h+4],7,-176418897),d=p(d,a,f,l,e[h+5],12,1200080426),l=p(l,d,a,f,e[h+6],17,-1473231341),f=p(f,l,d,a,e[h+7],22,-45705983),a=p(a,f,l,d,e[h+8],7,1770035416),d=p(d,a,f,l,e[h+9],12,-1958414417),l=p(l,d,a,f,e[h+10],17,-42063),f=p(f,l,d,a,e[h+11],22,-1990404162),a=p(a,f,l,d,e[h+12],7,1804603682),d=p(d,a,f,l,e[h+13],12,-40341101),l=p(l,d,a,f,e[h+14],17,-1502002290),a=m(a,f=p(f,l,d,a,e[h+15],22,1236535329),l,d,e[h+1],5,-165796510),d=m(d,a,f,l,e[h+6],9,-1069501632),l=m(l,d,a,f,e[h+11],14,643717713),f=m(f,l,d,a,e[h+0],20,-373897302),a=m(a,f,l,d,e[h+5],5,-701558691),d=m(d,a,f,l,e[h+10],9,38016083),l=m(l,d,a,f,e[h+15],14,-660478335),f=m(f,l,d,a,e[h+4],20,-405537848),a=m(a,f,l,d,e[h+9],5,568446438),d=m(d,a,f,l,e[h+14],9,-1019803690),l=m(l,d,a,f,e[h+3],14,-187363961),f=m(f,l,d,a,e[h+8],20,1163531501),a=m(a,f,l,d,e[h+13],5,-1444681467),d=m(d,a,f,l,e[h+2],9,-51403784),l=m(l,d,a,f,e[h+7],14,1735328473),a=g(a,f=m(f,l,d,a,e[h+12],20,-1926607734),l,d,e[h+5],4,-378558),d=g(d,a,f,l,e[h+8],11,-2022574463),l=g(l,d,a,f,e[h+11],16,1839030562),f=g(f,l,d,a,e[h+14],23,-35309556),a=g(a,f,l,d,e[h+1],4,-1530992060),d=g(d,a,f,l,e[h+4],11,1272893353),l=g(l,d,a,f,e[h+7],16,-155497632),f=g(f,l,d,a,e[h+10],23,-1094730640),a=g(a,f,l,d,e[h+13],4,681279174),d=g(d,a,f,l,e[h+0],11,-358537222),l=g(l,d,a,f,e[h+3],16,-722521979),f=g(f,l,d,a,e[h+6],23,76029189),a=g(a,f,l,d,e[h+9],4,-640364487),d=g(d,a,f,l,e[h+12],11,-421815835),l=g(l,d,a,f,e[h+15],16,530742520),a=y(a,f=g(f,l,d,a,e[h+2],23,-995338651),l,d,e[h+0],6,-198630844),d=y(d,a,f,l,e[h+7],10,1126891415),l=y(l,d,a,f,e[h+14],15,-1416354905),f=y(f,l,d,a,e[h+5],21,-57434055),a=y(a,f,l,d,e[h+12],6,1700485571),d=y(d,a,f,l,e[h+3],10,-1894986606),l=y(l,d,a,f,e[h+10],15,-1051523),f=y(f,l,d,a,e[h+1],21,-2054922799),a=y(a,f,l,d,e[h+8],6,1873313359),d=y(d,a,f,l,e[h+15],10,-30611744),l=y(l,d,a,f,e[h+6],15,-1560198380),f=y(f,l,d,a,e[h+13],21,1309151649),a=y(a,f,l,d,e[h+4],6,-145523070),d=y(d,a,f,l,e[h+11],10,-1120210379),l=y(l,d,a,f,e[h+2],15,718787259),f=y(f,l,d,a,e[h+9],21,-343485551),a=a+b>>>0,f=f+w>>>0,l=l+v>>>0,d=d+x>>>0}return r.endian([a,f,l,d])})._ff=function(t,n,e,r,i,o,s){var u=t+(n&e|~n&r)+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._gg=function(t,n,e,r,i,o,s){var u=t+(n&r|e&~r)+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._hh=function(t,n,e,r,i,o,s){var u=t+(n^e^r)+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._ii=function(t,n,e,r,i,o,s){var u=t+(e^(n|~r))+(i>>>0)+s;return(u<<o|u>>>32-o)+n},u._blocksize=16,u._digestsize=16,t.exports=function(t,n){if(null==t)throw new Error("Illegal argument "+t);var e=r.wordsToBytes(u(t,n));return n&&n.asBytes?e:n&&n.asString?s.bytesToString(e):r.bytesToHex(e)}},function(t,n,e){"use strict";var r=e(0),i=e(9),o=e(23),s=e(18);var u=function t(n){var e=new o(n),u=i(o.prototype.request,e);return r.extend(u,o.prototype,e),r.extend(u,e),u.create=function(e){return t(s(n,e))},u}(e(1));u.Axios=o,u.Cancel=e(2),u.CancelToken=e(49),u.isCancel=e(17),u.VERSION=e(6).version,u.all=function(t){return Promise.all(t)},u.spread=e(50),u.isAxiosError=e(51),t.exports=u,t.exports.default=u},function(t,n,e){"use strict";var r=e(0),i=e(3),o=e(24),s=e(25),u=e(18),c=e(48),a=c.validators;function f(t){this.defaults=t,this.interceptors={request:new o,response:new o}}f.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=u(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var n=t.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean)},!1);var e=[],r=!0;this.interceptors.request.forEach((function(n){"function"==typeof n.runWhen&&!1===n.runWhen(t)||(r=r&&n.synchronous,e.unshift(n.fulfilled,n.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(t){o.push(t.fulfilled,t.rejected)})),!r){var f=[s,void 0];for(Array.prototype.unshift.apply(f,e),f=f.concat(o),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var l=t;e.length;){var d=e.shift(),h=e.shift();try{l=d(l)}catch(t){h(t);break}}try{i=s(l)}catch(t){return Promise.reject(t)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},f.prototype.getUri=function(t){return t=u(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){f.prototype[t]=function(n,e){return this.request(u(e||{},{method:t,url:n,data:(e||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(n,e,r){return this.request(u(r||{},{method:t,url:n,data:e}))}})),t.exports=f},function(t,n,e){"use strict";var r=e(0);function i(){this.handlers=[]}i.prototype.use=function(t,n,e){return this.handlers.push({fulfilled:t,rejected:n,synchronous:!!e&&e.synchronous,runWhen:e?e.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(n){null!==n&&t(n)}))},t.exports=i},function(t,n,e){"use strict";var r=e(0),i=e(26),o=e(17),s=e(1),u=e(2);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new u("canceled")}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(n){delete t.headers[n]})),(t.adapter||s.adapter)(t).then((function(n){return c(t),n.data=i.call(t,n.data,n.headers,t.transformResponse),n}),(function(n){return o(n)||(c(t),n&&n.response&&(n.response.data=i.call(t,n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)}))}},function(t,n,e){"use strict";var r=e(0),i=e(1);t.exports=function(t,n,e){var o=this||i;return r.forEach(e,(function(e){t=e.call(o,t,n)})),t}},function(t,n,e){"use strict";var r=e(0);t.exports=function(t,n){r.forEach(t,(function(e,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=e,delete t[r])}))}},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(29),s=e(3),u=e(11),c=e(32),a=e(33),f=e(5),l=e(1),d=e(2);t.exports=function(t){return new Promise((function(n,e){var h,p=t.data,m=t.headers,g=t.responseType;function y(){t.cancelToken&&t.cancelToken.unsubscribe(h),t.signal&&t.signal.removeEventListener("abort",h)}r.isFormData(p)&&delete m["Content-Type"];var b=new XMLHttpRequest;if(t.auth){var w=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(w+":"+v)}var x=u(t.baseURL,t.url);function k(){if(b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:t,request:b};i((function(t){n(t),y()}),(function(t){e(t),y()}),o),b=null}}if(b.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),b.timeout=t.timeout,"onloadend"in b?b.onloadend=k:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(k)},b.onabort=function(){b&&(e(f("Request aborted",t,"ECONNABORTED",b)),b=null)},b.onerror=function(){e(f("Network Error",t,null,b)),b=null},b.ontimeout=function(){var n=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||l.transitional;t.timeoutErrorMessage&&(n=t.timeoutErrorMessage),e(f(n,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",b)),b=null},r.isStandardBrowserEnv()){var S=(t.withCredentials||a(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(m[t.xsrfHeaderName]=S)}"setRequestHeader"in b&&r.forEach(m,(function(t,n){void 0===p&&"content-type"===n.toLowerCase()?delete m[n]:b.setRequestHeader(n,t)})),r.isUndefined(t.withCredentials)||(b.withCredentials=!!t.withCredentials),g&&"json"!==g&&(b.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&b.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(t){b&&(e(!t||t&&t.type?new d("canceled"):t),b.abort(),b=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),p||(p=null),b.send(p)}))}},function(t,n,e){"use strict";var r=e(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,n,e,i,o,s){var u=[];u.push(t+"="+encodeURIComponent(n)),r.isNumber(e)&&u.push("expires="+new Date(e).toGMTString()),r.isString(i)&&u.push("path="+i),r.isString(o)&&u.push("domain="+o),!0===s&&u.push("secure"),document.cookie=u.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,n,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,n,e){"use strict";t.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}},function(t,n,e){"use strict";var r=e(0),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var n,e,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),n=r.trim(t.substr(0,o)).toLowerCase(),e=r.trim(t.substr(o+1)),n){if(s[n]&&i.indexOf(n)>=0)return;s[n]="set-cookie"===n?(s[n]?s[n]:[]).concat([e]):s[n]?s[n]+", "+e:e}})),s):s}},function(t,n,e){"use strict";var r=e(0);t.exports=r.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");function i(t){var r=t;return n&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return t=i(window.location.href),function(n){var e=r.isString(n)?i(n):n;return e.protocol===t.protocol&&e.host===t.host}}():function(){return!0}},function(t,n,e){"use strict";var r=e(0),i=e(10),o=e(11),s=e(3),u=e(12),c=e(13),a=e(14).http,f=e(14).https,l=e(15),d=e(47),h=e(6).version,p=e(5),m=e(4),g=e(1),y=e(2),b=/https:?/;t.exports=function(t){return new Promise((function(n,e){var w;function v(){t.cancelToken&&t.cancelToken.unsubscribe(w),t.signal&&t.signal.removeEventListener("abort",w)}var x=function(t){v(),n(t)},k=function(t){v(),e(t)},S=t.data,E=t.headers,O={};if(Object.keys(E).forEach((function(t){O[t.toLowerCase()]=t})),"user-agent"in O?E[O["user-agent"]]||delete E[O["user-agent"]]:E["User-Agent"]="axios/"+h,S&&!r.isStream(S)){if(Buffer.isBuffer(S));else if(r.isArrayBuffer(S))S=Buffer.from(new Uint8Array(S));else{if(!r.isString(S))return k(p("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));S=Buffer.from(S,"utf-8")}O["content-length"]||(E["Content-Length"]=S.length)}var C=void 0;t.auth&&(C=(t.auth.username||"")+":"+(t.auth.password||""));var _=o(t.baseURL,t.url),T=l.parse(_),N=T.protocol||"http:";if(!C&&T.auth){var j=T.auth.split(":");C=(j[0]||"")+":"+(j[1]||"")}C&&O.authorization&&delete E[O.authorization];var R=b.test(N),A=R?t.httpsAgent:t.httpAgent,F={path:s(T.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:E,agent:A,agents:{http:t.httpAgent,https:t.httpsAgent},auth:C};t.socketPath?F.socketPath=t.socketPath:(F.hostname=T.hostname,F.port=T.port);var P,L=t.proxy;if(!L&&!1!==L){var B=N.slice(0,-1)+"_proxy",$=process.env[B]||process.env[B.toUpperCase()];if($){var D=l.parse($),q=process.env.no_proxy||process.env.NO_PROXY,I=!0;if(q)I=!q.split(",").map((function(t){return t.trim()})).some((function(t){return!!t&&("*"===t||("."===t[0]&&T.hostname.substr(T.hostname.length-t.length)===t||T.hostname===t))}));if(I&&(L={host:D.hostname,port:D.port,protocol:D.protocol},D.auth)){var z=D.auth.split(":");L.auth={username:z[0],password:z[1]}}}}L&&(F.headers.host=T.hostname+(T.port?":"+T.port:""),function t(n,e,r){if(n.hostname=e.host,n.host=e.host,n.port=e.port,n.path=r,e.auth){var i=Buffer.from(e.auth.username+":"+e.auth.password,"utf8").toString("base64");n.headers["Proxy-Authorization"]="Basic "+i}n.beforeRedirect=function(n){n.headers.host=n.host,t(n,e,n.href)}}(F,L,N+"//"+T.hostname+(T.port?":"+T.port:"")+F.path));var M=R&&(!L||b.test(L.protocol));t.transport?P=t.transport:0===t.maxRedirects?P=M?c:u:(t.maxRedirects&&(F.maxRedirects=t.maxRedirects),P=M?f:a),t.maxBodyLength>-1&&(F.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(F.insecureHTTPParser=t.insecureHTTPParser);var U=P.request(F,(function(n){if(!U.aborted){var e=n,o=n.req||U;if(204!==n.statusCode&&"HEAD"!==o.method&&!1!==t.decompress)switch(n.headers["content-encoding"]){case"gzip":case"compress":case"deflate":e=e.pipe(d.createUnzip()),delete n.headers["content-encoding"]}var s={status:n.statusCode,statusText:n.statusMessage,headers:n.headers,config:t,request:o};if("stream"===t.responseType)s.data=e,i(x,k,s);else{var u=[],c=0;e.on("data",(function(n){u.push(n),c+=n.length,t.maxContentLength>-1&&c>t.maxContentLength&&(e.destroy(),k(p("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,o)))})),e.on("error",(function(n){U.aborted||k(m(n,t,null,o))})),e.on("end",(function(){var n=Buffer.concat(u);"arraybuffer"!==t.responseType&&(n=n.toString(t.responseEncoding),t.responseEncoding&&"utf8"!==t.responseEncoding||(n=r.stripBOM(n))),s.data=n,i(x,k,s)}))}}}));if(U.on("error",(function(n){U.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==n.code||k(m(n,t,null,U))})),t.timeout){var H=parseInt(t.timeout,10);if(isNaN(H))return void k(p("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",U));U.setTimeout(H,(function(){U.abort();var n=t.transitional||g.transitional;k(p("timeout of "+H+"ms exceeded",t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",U))}))}(t.cancelToken||t.signal)&&(w=function(t){U.aborted||(U.abort(),k(!t||t&&t.type?new y("canceled"):t))},t.cancelToken&&t.cancelToken.subscribe(w),t.signal&&(t.signal.aborted?w():t.signal.addEventListener("abort",w))),r.isStream(S)?S.on("error",(function(n){k(m(n,t,null,U))})).pipe(U):U.end(S)}))}},function(t,n){t.exports=require("stream")},function(t,n){t.exports=require("assert")},function(t,n,e){var r;t.exports=function(){if(!r){try{r=e(38)("follow-redirects")}catch(t){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},function(t,n,e){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=e(39):t.exports=e(41)},function(t,n,e){n.formatArgs=function(n){if(n[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+n[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const e="color: "+this.color;n.splice(1,0,e,"color: inherit");let r=0,i=0;n[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))}),n.splice(i,0,e)},n.save=function(t){try{t?n.storage.setItem("debug",t):n.storage.removeItem("debug")}catch(t){}},n.load=function(){let t;try{t=n.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},n.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage=function(){try{return localStorage}catch(t){}}(),n.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.log=console.debug||console.log||(()=>{}),t.exports=e(16)(n);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(t,n){var e=1e3,r=6e4,i=60*r,o=24*i;function s(t,n,e,r){var i=n>=1.5*e;return Math.round(t/e)+" "+r+(i?"s":"")}t.exports=function(t,n){n=n||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var n=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!n)return;var s=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return 6048e5*s;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===u&&isFinite(t))return n.long?function(t){var n=Math.abs(t);if(n>=o)return s(t,n,o,"day");if(n>=i)return s(t,n,i,"hour");if(n>=r)return s(t,n,r,"minute");if(n>=e)return s(t,n,e,"second");return t+" ms"}(t):function(t){var n=Math.abs(t);if(n>=o)return Math.round(t/o)+"d";if(n>=i)return Math.round(t/i)+"h";if(n>=r)return Math.round(t/r)+"m";if(n>=e)return Math.round(t/e)+"s";return t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,n,e){const r=e(42),i=e(43);n.init=function(t){t.inspectOpts={};const e=Object.keys(n.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=n.inspectOpts[e[r]]},n.log=function(...t){return process.stderr.write(i.format(...t)+"\n")},n.formatArgs=function(e){const{namespace:r,useColors:i}=this;if(i){const n=this.color,i="[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${r} [0m`;e[0]=o+e[0].split("\n").join("\n"+o),e.push(i+"m+"+t.exports.humanize(this.diff)+"[0m")}else e[0]=function(){if(n.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+r+" "+e[0]},n.save=function(t){t?process.env.DEBUG=t:delete process.env.DEBUG},n.load=function(){return process.env.DEBUG},n.useColors=function(){return"colors"in n.inspectOpts?Boolean(n.inspectOpts.colors):r.isatty(process.stderr.fd)},n.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),n.colors=[6,2,3,4,5,1];try{const t=e(44);t&&(t.stderr||t).level>=2&&(n.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(t){}n.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,n)=>{const e=n.substring(6).toLowerCase().replace(/_([a-z])/g,(t,n)=>n.toUpperCase());let r=process.env[n];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),t[e]=r,t},{}),t.exports=e(16)(n);const{formatters:o}=t.exports;o.o=function(t){return this.inspectOpts.colors=this.useColors,i.inspect(t,this.inspectOpts).split("\n").map(t=>t.trim()).join(" ")},o.O=function(t){return this.inspectOpts.colors=this.useColors,i.inspect(t,this.inspectOpts)}},function(t,n){t.exports=require("tty")},function(t,n){t.exports=require("util")},function(t,n,e){"use strict";const r=e(45),i=e(46),o=process.env;let s;function u(t){return function(t){return 0!==t&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}(function(t){if(!1===s)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(t&&!t.isTTY&&!0!==s)return 0;const n=s?1:0;if("win32"===process.platform){const t=r.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(t[0])>=10&&Number(t[2])>=10586?Number(t[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(t=>t in o)||"codeship"===o.CI_NAME?1:n;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const t=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return t>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:(o.TERM,n)}(t))}i("no-color")||i("no-colors")||i("color=false")?s=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(s=!0),"FORCE_COLOR"in o&&(s=0===o.FORCE_COLOR.length||0!==parseInt(o.FORCE_COLOR,10)),t.exports={supportsColor:u,stdout:u(process.stdout),stderr:u(process.stderr)}},function(t,n){t.exports=require("os")},function(t,n,e){"use strict";t.exports=(t,n)=>{n=n||process.argv;const e=t.startsWith("-")?"":1===t.length?"-":"--",r=n.indexOf(e+t),i=n.indexOf("--");return-1!==r&&(-1===i||r<i)}},function(t,n){t.exports=require("zlib")},function(t,n,e){"use strict";var r=e(6).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,n){i[t]=function(e){return typeof e===t||"a"+(n<1?"n ":" ")+t}}));var o={};i.transitional=function(t,n,e){function i(t,n){return"[Axios v"+r+"] Transitional option '"+t+"'"+n+(e?". "+e:"")}return function(e,r,s){if(!1===t)throw new Error(i(r," has been removed"+(n?" in "+n:"")));return n&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+n+" and will be removed in the near future"))),!t||t(e,r,s)}},t.exports={assertOptions:function(t,n,e){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),i=r.length;i-- >0;){var o=r[i],s=n[o];if(s){var u=t[o],c=void 0===u||s(u,o,t);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==e)throw Error("Unknown option "+o)}},validators:i}},function(t,n,e){"use strict";var r=e(2);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(t){n=t}));var e=this;this.promise.then((function(t){if(e._listeners){var n,r=e._listeners.length;for(n=0;n<r;n++)e._listeners[n](t);e._listeners=null}})),this.promise.then=function(t){var n,r=new Promise((function(t){e.subscribe(t),n=t})).then(t);return r.cancel=function(){e.unsubscribe(n)},r},t((function(t){e.reason||(e.reason=new r(t),n(e.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},i.prototype.unsubscribe=function(t){if(this._listeners){var n=this._listeners.indexOf(t);-1!==n&&this._listeners.splice(n,1)}},i.source=function(){var t;return{token:new i((function(n){t=n})),cancel:t}},t.exports=i},function(t,n,e){"use strict";t.exports=function(t){return function(n){return t.apply(null,n)}}},function(t,n,e){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},function(t,n,e){"use strict";var r=e(53),i=e(56),o=e(57),s=e(19);function u(t){if(t&&t.__esModule)return t;var n=Object.create(null);return t&&Object.keys(t).forEach((function(e){if("default"!==e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})),n.default=t,Object.freeze(n)}var c=u(i),a=u(o);class f extends Error{constructor(t,n,e){super(t),this.token=n,this.type=e||"error"}}const l=t=>t<4?"short":4===t?"long":"narrow",d=t=>t%2==0?"2-digit":"numeric";function h(t,n){switch(t.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:return void n(`${t.desc} is not supported with width ${t.width}`)}}function p(t,n){const{char:e,desc:r,width:i}=t;return"d"===e?d(i):void n(r+" is not supported")}function m(t,n){const{char:e,desc:r,width:i}=t;if(("c"===e||"e"===e)&&i<3){n(`Numeric value is not supported for ${r}; falling back to weekday:short`,f.WARNING)}return l(i)}function g(t,n){const{char:e,desc:r,width:i}=t;switch(e){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void n(`${r} is not supported with width ${i}`);case"X":return void n(r+" is not supported")}return"short"}function y(t,n){switch(t.field){case"era":return{era:l(t.width)};case"year":return function(t,n){switch(t.char){case"y":return{year:d(t.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return n(t.desc+" is not supported; falling back to year:numeric",f.WARNING),{year:"numeric"}}}(t,n);case"month":return{month:h(t,n)};case"day":return{day:p(t,n)};case"weekday":return{weekday:m(t,n)};case"period":return;case"hour":return function(t){const n=d(t.width);let e;switch(t.char){case"h":e="h12";break;case"H":e="h23";break;case"k":e="h24";break;case"K":e="h11"}return e?{hour:n,hourCycle:e}:{hour:n}}(t);case"min":return{minute:d(t.width)};case"sec":return{second:d(t.width)};case"tz":return{timeZoneName:g(t,n)};case"quarter":case"week":case"sec-frac":case"ms":n(t.desc+" is not supported")}}function b(t,n=(t=>{throw t})){const e={},r=[];for(const i of t){const{error:t,field:o,str:s}=i;if(t){const e=new f(t.message,i);e.stack=t.stack,n(e)}if(s){n(new f("Ignoring string part: "+s,i,f.WARNING))}o&&(-1===r.indexOf(o)?r.push(o):n(new f(`Duplicate ${o} token`,i)));const u=y(i,(t,e)=>n(new f(t,i,e)));u&&Object.assign(e,u)}return e}const w={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},v=t=>t>="A"&&t<="Z"||t>="a"&&t<="z";function x(t,n){const e=t[n];if(!e)return null;if(v(e))return function(t,n){const e=t[n];let r=1;for(;t[++n]===e;)++r;const i=w[e];if(!i){return{char:e,error:new Error(`The letter ${e} is not a valid field identifier`),width:r}}return{char:e,field:i.field,desc:i.desc,width:r}}(t,n);if("'"===e)return function(t,n){let e=t[++n],r=2;if("'"===e)return{char:"'",str:e,width:r};for(;;){const i=t[++n];if(++r,void 0===i){return{char:"'",error:new Error("Unterminated quoted literal in pattern: "+(e||t)),str:e,width:r}}if("'"===i){if("'"!==t[++n])return{char:"'",str:e,width:r};++r}e+=i}}(t,n);let r=e,i=1;for(;;){const o=t[++n];if(!o||v(o)||"'"===o)return{char:e,str:r,width:i};r+=o,i+=1}}function k(t){const n=[];let e=0;for(;;){const r=x(t,e);if(!r)return n;n.push(r),e+=r.width}}class S extends Error{constructor(t,n){super(n),this.code=t}}class E extends S{constructor(t,n){super("BAD_OPTION",`Unknown ${t} option: ${n}`),this.stem=t,this.option=n}}class O extends S{constructor(t){super("BAD_STEM","Unknown stem: "+t),this.stem=t}}class C extends S{constructor(t,n){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=n}}class _ extends S{constructor(t){super("MISSING_OPTION","Required option missing for "+t),this.stem=t}}class T extends S{constructor(t,n){super("BAD_PATTERN",n),this.char=t}}class N extends S{constructor(t,n,e){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${e>1?e+" options":"one option"} (got ${n.length})`),this.stem=t,this.options=n}}class j extends S{constructor(t,n){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,n&&(this.message+=" with value "+n,this.source=n)}}function R(t,{numberingSystem:n}){return Array.isArray(t)||(t=[t]),n?t.map(t=>{const e=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${e}-${n}`}).concat(t):t}function A({scale:t,unit:n}){let e="number"==typeof t&&t>=0?t:1;return n&&"percent"===n.style&&(e*=.01),e}function F(t,n){const{decimal:e,group:r,integerWidth:i,notation:o,precision:s,roundingMode:u,sign:c,unit:a,unitPer:f,unitWidth:l}=t,d=(t,e)=>{n&&n(new j(t,e))},h={};if(a)switch(a.style){case"base-unit":h.style="decimal";break;case"currency":h.style="currency",h.currency=a.currency;break;case"measure-unit":h.style="unit",h.unit=a.unit.replace(/.*-/,""),f&&(h.unit+="-per-"+f.replace(/.*-/,""));break;case"percent":h.style="percent";break;case"permille":d("permille")}switch(l){case"unit-width-full-name":h.currencyDisplay="name",h.unitDisplay="long";break;case"unit-width-hidden":d(l);break;case"unit-width-iso-code":h.currencyDisplay="code";break;case"unit-width-narrow":h.currencyDisplay="narrowSymbol",h.unitDisplay="narrow";break;case"unit-width-short":h.currencyDisplay="symbol",h.unitDisplay="short"}switch(r){case"group-off":h.useGrouping=!1;break;case"group-auto":h.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":d(r),h.useGrouping=!0}if(s)switch(s.style){case"precision-fraction":{const{minFraction:t,maxFraction:n,minSignificant:e,maxSignificant:r,source:i}=s;"number"==typeof t&&(h.minimumFractionDigits=t,"number"==typeof e&&d("precision-fraction",i)),"number"==typeof n&&(h.maximumFractionDigits=n),"number"==typeof e&&(h.minimumSignificantDigits=e),"number"==typeof r&&(h.maximumSignificantDigits=r);break}case"precision-integer":h.maximumFractionDigits=0;break;case"precision-unlimited":h.maximumFractionDigits=20;break;case"precision-increment":case"precision-currency-standard":break;case"precision-currency-cash":d(s.style)}if(o)switch(o.style){case"compact-short":h.notation="compact",h.compactDisplay="short";break;case"compact-long":h.notation="compact",h.compactDisplay="long";break;case"notation-simple":h.notation="standard";break;case"scientific":case"engineering":{const{expDigits:t,expSign:n,source:e,style:r}=o;h.notation=r,(t&&t>1||n&&"sign-auto"!==n)&&d(r,e);break}}if(i){const{min:t,max:n,source:e}=i;if(t>0&&(h.minimumIntegerDigits=t),Number(n)>0){const t="engineering"===h.notation||"scientific"===h.notation;3===n&&t?h.notation="engineering":d("integer-width",e)}}switch(c){case"sign-auto":h.signDisplay="auto";break;case"sign-always":h.signDisplay="always";break;case"sign-except-zero":h.signDisplay="exceptZero";break;case"sign-never":h.signDisplay="never";break;case"sign-accounting":h.currencySign="accounting";break;case"sign-accounting-always":h.currencySign="accounting",h.signDisplay="always";break;case"sign-accounting-except-zero":h.currencySign="accounting",h.signDisplay="exceptZero"}return"decimal-always"===e&&d(e),u&&d(u),h}function P(t,n,e){const r=t[n];switch(r){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let i=1;for(;"¤"===t[++n];)++i;switch(i){case 1:return{char:r,currency:"default",width:i};case 2:return{char:r,currency:"iso-code",width:i};case 3:return{char:r,currency:"full-name",width:i};case 5:return{char:r,currency:"narrow",width:i};default:return e(new T("¤",`Invalid number (${i}) of ¤ chars in pattern`)),null}}case"*":{const e=t[n+1];if(e)return{char:r,pad:e,width:2};break}case"+":case"-":return{char:r,width:1};case"'":{let i=t[++n],o=2;if("'"===i)return{char:r,str:i,width:o};for(;;){const s=t[++n];if(++o,void 0===s){return e(new T("'","Unterminated quoted literal in pattern: "+i)),{char:r,str:i,width:o}}if("'"===s){if("'"!==t[++n])return{char:r,str:i,width:o};++o}i+=s}}}return null}const L=t=>t>="0"&&t<="9";function B(t,n){const e=t[n];if(L(e)){let r=e;for(;;){const e=t[++n];if(!L(e))return{char:"0",digits:r,width:r.length};r+=e}}switch(e){case"#":{let r=1;for(;"#"===t[++n];)++r;return{char:e,width:r}}case"@":{let r=1;for(;"@"===t[++n];)++r;let i=r;for(n-=1;"#"===t[++n];)++i;return{char:e,min:r,width:i}}case"E":{const r="+"===t[n+1];r&&++n;let i=0;for(;"0"===t[++n];)++i;const o=(r?2:1)+i;if(i)return{char:e,expDigits:i,plus:r,width:o};break}case".":case",":return{char:e,width:1}}return null}function $(t,n,e){let r;!function(t){t[t.Prefix=0]="Prefix",t[t.Number=1]="Number",t[t.Suffix=2]="Suffix"}(r||(r={}));const i=[],o=[],s=[];let u=r.Prefix,c="";for(;n<t.length;){const a=t[n];if(";"===a){n+=1;break}switch(u){case r.Prefix:{const s=P(t,n,e);if(s)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(s),n+=s.width;else{const e=B(t,n);e?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),u=r.Number,o.push(e),n+=e.width):(c+=a,n+=1)}break}case r.Number:{const e=B(t,n);e?(o.push(e),n+=e.width):u=r.Suffix;break}case r.Suffix:{const r=P(t,n,e);r?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(r),n+=r.width):(c+=a,n+=1);break}}}return c&&s.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:o,suffix:s},pos:n}}function D(t,n,e,r,i){let o=!1,s="";for(const u of t)switch(u.char){case"%":n.unit={style:u.style},i?o=!0:s="";break;case"¤":if(!e){r(new T("¤","The ¤ pattern requires a currency"));break}switch(n.unit={style:"currency",currency:e},u.currency){case"iso-code":n.unitWidth="unit-width-iso-code";break;case"full-name":n.unitWidth="unit-width-full-name";break;case"narrow":n.unitWidth="unit-width-narrow"}i?o=!0:s="";break;case"*":break;case"+":o||(s+="+");break;case"'":o||(s+=u.str)}return s}function q(t,n){let e=!1,r="";for(const i of t)switch(i.char){case"%":case"¤":n?e=!0:r="";break;case"-":e||(r+="-");break;case"'":e||(r+=i.str)}return r}function I(t,n,e=(t=>{throw t})){const{tokens:r,negative:i}=function(t,n){const{pattern:e,pos:r}=$(t,0,n);if(r<t.length){const{pattern:i}=$(t,r,n);return{tokens:e,negative:i}}return{tokens:e}}(t,e),o=function(t,n){const e={};let r=!1,i=!1,o=0,s="",u=-1,c="",a=0;for(let f=0;f<t.length;++f){const l=t[f];switch(l.char){case"#":if(-1===u){if(s){n(new T("#","Pattern has # after integer digits"))}o+=l.width}else a+=l.width;break;case"0":if(-1===u)s+=l.digits;else{if(a){n(new T("0","Pattern has digits after # in fraction"))}c+=l.digits}break;case"@":e.precision&&n(new C("precision",e.precision)),e.precision={style:"precision-fraction",minSignificant:l.min,maxSignificant:l.width};break;case",":r=!0;break;case".":if(1===u){n(new T(".","Pattern has more than one decimal separator"))}u=f;break;case"E":if(i&&n(new C("exponent",e.notation)),r){n(new T("E","Exponential patterns may not contain grouping separators"))}e.notation={style:"scientific"},l.expDigits>1&&(e.notation.expDigits=l.expDigits),l.plus&&(e.notation.expSign="sign-always"),i=!0}}r?e.group="group-auto":o+s.length>3&&(e.group="group-off");const f=Number(`${s||"0"}.${c}`);if(f&&(e.precision={style:"precision-increment",increment:f}),i)if(e.precision&&!f||(e.integerWidth=o?{min:1,max:o+s.length}:{min:Math.max(1,s.length)}),e.precision)f||(e.integerWidth={min:1,max:1});else{const t=s.length+c.length;-1===u?t>0&&(e.precision={style:"precision-fraction",maxSignificant:t}):(e.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+a},t>1&&(e.precision.minSignificant=t))}else s.length>1&&(e.integerWidth={min:s.length}),e.precision||!c.length&&!a||(e.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+a});return e}(r.number,e),s=D(r.prefix,o,n,e,!0),u=D(r.suffix,o,n,e,!1);if(i){const t=q(i.prefix,!0),n=q(i.suffix,!1);o.affix={pos:[s,u],neg:[t,n]},o.sign="sign-never"}else(s||u)&&(o.affix={pos:[s,u]});return o}function z(t){const[n]=t.split("-",1);return-1!==["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"].indexOf(n)}const M={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":0,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},U={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function H(t,n,e){if(function(t){return t in M}(t)){const r=M[t];if(n.length>r){if(0===r)for(const r of n)e(new E(t,r));else e(new N(t,n,r));return!1}if(function(t){return t in U}(t)&&n.length<U[t])return e(new _(t)),!1}return!0}function J(t,n){const e="fraction"===n?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,r=t&&t.match(e);if(r){const t=r[1].length;switch(r[2].charAt(0)){case"":return{min:t,max:t};case"+":return{min:t,max:null};case"#":return{min:t,max:t+r[2].length}}}return null}class W{constructor(t){this.skeleton={},this.onError=t}badOption(t,n){this.onError(new E(t,n))}assertEmpty(t){const n=this.skeleton[t];n&&this.onError(new C(t,n))}parseToken(t,n){if(!H(t,n,this.onError))return;const e=n[0],r=this.skeleton;switch(t){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),r.notation={style:t};break;case"scientific":case"engineering":{let e=null,i=void 0;for(const r of n)switch(r){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":i=r;break;default:/^\+e+$/.test(r)?e=r.length-1:this.badOption(t,r)}this.assertEmpty("notation");const o=n.join("/");r.notation=e&&i?{style:t,source:o,expDigits:e,expSign:i}:e?{style:t,source:o,expDigits:e}:i?{style:t,source:o,expSign:i}:{style:t,source:o};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),r.unit={style:t};break;case"currency":/^[A-Z]{3}$/.test(e)?(this.assertEmpty("unit"),r.unit={style:t,currency:e}):this.badOption(t,e);break;case"measure-unit":z(e)?(this.assertEmpty("unit"),r.unit={style:t,unit:e}):this.badOption(t,e);break;case"per-measure-unit":z(e)?(this.assertEmpty("unitPer"),r.unitPer=e):this.badOption(t,e);break;case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),r.unitWidth=t;break;case"precision-integer":case"precision-unlimited":case"precision-currency-standard":case"precision-currency-cash":this.assertEmpty("precision"),r.precision={style:t};break;case"precision-increment":{const n=Number(e);n>0?(this.assertEmpty("precision"),r.precision={style:t,increment:n}):this.badOption(t,e);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),r.roundingMode=t;break;case"integer-width":if(/^\+0*$/.test(e))this.assertEmpty("integerWidth"),r.integerWidth={source:e,min:e.length-1};else{const n=e.match(/^#*(0*)$/);n?(this.assertEmpty("integerWidth"),r.integerWidth={source:e,min:n[1].length,max:n[0].length}):this.badOption(t,e)}break;case"scale":{const n=Number(e);n>0?(this.assertEmpty("scale"),r.scale=n):this.badOption(t,e);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),r.group=t;break;case"latin":this.assertEmpty("numberingSystem"),r.numberingSystem="latn";break;case"numbering-system":-1!==["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(e)?(this.assertEmpty("numberingSystem"),r.numberingSystem=e):this.badOption(t,e);break;case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),r.sign=t;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),r.decimal=t;break;default:{const e=function(t,n,e){const r=J(t,"fraction");if(r){n.length>1&&e(new N(t,n,1));const i={style:"precision-fraction",source:t,minFraction:r.min};null!=r.max&&(i.maxFraction=r.max);const o=n[0],s=J(o,"significant");return s?(i.source=`${t}/${o}`,i.minSignificant=s.min,null!=s.max&&(i.maxSignificant=s.max)):o&&e(new E(t,o)),i}const i=J(t,"significant");if(i){for(const r of n)e(new E(t,r));const r={style:"precision-fraction",source:t,minSignificant:i.min};return null!=i.max&&(r.maxSignificant=i.max),r}return null}(t,n,this.onError);e?(this.assertEmpty("precision"),r.precision=e):this.onError(new O(t))}}}}function G(t,n=(t=>{throw t})){const e=[];for(const n of t.split(" "))if(n){const t=n.split("/"),r=t.shift()||"";e.push({stem:r,options:t})}const r=new W(n);for(const{stem:t,options:n}of e)r.parseToken(t,n);return r.skeleton}function Z(t,n,e,r){"string"==typeof n&&(n=0===n.indexOf("::")?G(n.slice(2),r):I(n,e,r));const i=R(t,n),o=F(n,r),s=function(t){const n=A(t),{precision:e}=t;return e&&"precision-increment"===e.style?t=>function(t,n){const e=+t+n/2;return e-e%+n}(t,e.increment)*n:t=>t*n}(n),u=new Intl.NumberFormat(i,o);if(n.affix){const[t,e]=n.affix.pos,[r,i]=n.affix.neg||["",""];return n=>{const o=u.format(s(n));return n<0?`${r}${o}${i}`:`${t}${o}${e}`}}return t=>u.format(s(t))}function V(t,n,e,r){"string"==typeof n&&(n=0===n.indexOf("::")?G(n.slice(2),r):I(n,e,r));const i=R(t,n),o=F(n,r),s=function(t){const n=A(t),{precision:e}=t;if(e&&"precision-increment"===e.style){const t="+n + "+e.increment/2;let r=`x - (x % +${e.increment})`;return 1!==n&&(r=`(${r}) * ${n}`),`function(n) { var x = ${t}; return ${r}; }`}return 1!==n?`function(n) { return n * ${n}; }`:null}(n),u=["(function() {",`var opt = ${JSON.stringify(o)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(i)}, opt);`];let c="nf.format(value)";if(s&&(u.push(`var mod = ${s};`),c="nf.format(mod(value))"),n.affix){const[t,e]=n.affix.pos.map(t=>JSON.stringify(t));if(n.affix.neg){const[r,i]=n.affix.neg.map(t=>JSON.stringify(t));c=`value < 0 ? ${r} + ${c} + ${i} : ${t} + ${c} + ${e}`}else c=`${t} + ${c} + ${e}`}return u.push(`return function(value) { return ${c}; }`),u.join("\n ")+"\n})()"}const K=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function Y(t){return t in a}t.exports=class{constructor(t){this.arguments=[],this.runtime={},this.options=t}compile(t,n,e){if("object"==typeof t){const r={};for(const i of Object.keys(t)){const o=e&&e[i]||n;r[i]=this.compile(t[i],o,e)}return r}this.plural=n;const i={cardinal:n.cardinals,ordinal:n.ordinals,strict:this.options.strict};this.arguments=[];const o=r.parse(t,i).map(t=>this.token(t,null)),s=this.arguments.length>0,u=this.concatenate(o,!0);if(this.options.requireAllArguments&&s){this.setRuntimeFn("reqArgs");return`(d) => { reqArgs(${JSON.stringify(this.arguments)}, d); return ${u}; }`}return`(${s?"d":""}) => ${u}`}cases(t,n){let e=!0;const r=t.cases.map(({key:t,tokens:r})=>{"other"===t&&(e=!1);const i=r.map(t=>this.token(t,n));return`${s.property(null,t.replace(/^=/,""))}: ${this.concatenate(i,!1)}`});if(e){const{type:n}=t,{cardinals:e,ordinals:r}=this.plural;if("select"===n||"plural"===n&&e.includes("other")||"selectordinal"===n&&r.includes("other"))throw new Error("No 'other' form found in "+JSON.stringify(t))}return`{ ${r.join(", ")} }`}concatenate(t,n){return"values"===this.options.returnType&&(n||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'}token(t,n){if("content"===t.type)return JSON.stringify(t.value);const{id:e,lc:r}=this.plural;let i,o;switch("arg"in t?(this.arguments.push(t.arg),i=[s.property("d",t.arg)]):i=[],t.type){case"argument":return this.options.biDiSupport?function(t,n){const e=K.test(n),r=JSON.stringify(e?"":"");return`${r} + ${t} + ${r}`}(String(i[0]),r):String(i[0]);case"select":o="select",n&&this.options.strict&&(n=null),i.push(this.cases(t,n)),this.setRuntimeFn("select");break;case"selectordinal":o="plural",i.push(t.pluralOffset||0,e,this.cases(t,t),1),this.setLocale(e,!0),this.setRuntimeFn("plural");break;case"plural":o="plural",i.push(t.pluralOffset||0,e,this.cases(t,t)),this.setLocale(e,!1),this.setRuntimeFn("plural");break;case"function":if(!this.options.customFormatters[t.key]){if("date"===t.key){o=this.setDateFormatter(t,i,n);break}if("number"===t.key){o=this.setNumberFormatter(t,i,n);break}}if(i.push(JSON.stringify(this.plural.locale)),t.param){n&&this.options.strict&&(n=null);const e=this.getFormatterArg(t,n);e&&i.push(e)}o=t.key,this.setFormatter(o);break;case"octothorpe":if(!n)return'"#"';i=[JSON.stringify(this.plural.locale),s.property("d",n.arg),n.pluralOffset||0],this.options.strict?(o="strictNumber",i.push(JSON.stringify(n.arg)),this.setRuntimeFn("strictNumber")):(o="number",this.setRuntimeFn("number"))}if(!o)throw new Error("Parser error for token "+JSON.stringify(t));return`${o}(${i.join(", ")})`}runtimeIncludes(t,n){if(s.identifier(t)!==t)throw new SyntaxError(`Reserved word used as ${n} identifier: ${t}`);const e=this.runtime[t];if(!e||e.type===n)return e;throw new TypeError(`Cannot override ${e.type} runtime function as ${n}: ${t}`)}setLocale(t,n){const e=this.runtimeIncludes(t,"locale"),{getCardinal:r,getPlural:i,isDefault:o}=this.plural;let s,u,c;if(!n&&o&&r){if(e)return;s=t=>r(t),u="@messageformat/runtime/lib/cardinals",c=()=>String(r)}else{if(e&&(!o||"@messageformat/runtime/lib/plurals"===e.module))return;s=(t,n)=>i(t,n),u=o?"@messageformat/runtime/lib/plurals":i.module||null,c=()=>String(i)}this.runtime[t]=Object.assign(s,{id:t,module:u,toString:c,type:"locale"})}setRuntimeFn(t){this.runtimeIncludes(t,"runtime")||(this.runtime[t]=Object.assign(c[t],{id:t,module:"@messageformat/runtime",type:"runtime"}))}getFormatterArg({key:t,param:n},e){const r=this.options.customFormatters[t]||Y(t)&&a[t];if(!r||!n)return null;const i="arg"in r&&r.arg||"string";if("options"===i){let e="";for(const r of n){if("content"!==r.type)throw new SyntaxError(`Expected literal options for ${t} formatter`);e+=r.value}const r={};for(const t of e.split(",")){const n=t.indexOf(":");if(-1===n)r[t.trim()]=null;else{const e=t.substring(0,n).trim(),i=t.substring(n+1).trim();if("true"===i)r[e]=!0;else if("false"===i)r[e]=!1;else if("null"===i)r[e]=null;else{const t=Number(i);r[e]=Number.isFinite(t)?t:i}}}return JSON.stringify(r)}{const t=n.map(t=>this.token(t,e));if("raw"===i)return`[${t.join(", ")}]`;const r=t.join(" + ");return r?`(${r}).trim()`:'""'}}setFormatter(t){if(this.runtimeIncludes(t,"formatter"))return;let n=this.options.customFormatters[t];if(n)"function"==typeof n&&(n={formatter:n}),this.runtime[t]=Object.assign(n.formatter,{type:"formatter"},"module"in n&&n.module&&n.id?{id:s.identifier(n.id),module:n.module}:{id:null,module:null});else{if(!Y(t))throw new Error("Formatting function not found: "+t);this.runtime[t]=Object.assign(a[t],{type:"formatter"},{id:t,module:"@messageformat/runtime/lib/formatters"})}}setDateFormatter({param:t},n,e){const{locale:r}=this.plural,i=t&&1===t.length&&t[0];if(i&&"content"===i.type&&/^\s*::/.test(i.value)){const t=i.value.trim().substr(2),n=s.identifier(`date_${r}_${t}`,!0);if(!this.runtimeIncludes(n,"formatter")){const e=function(t,n,e){"string"==typeof n&&(n=k(n));const r=b(n,e),i=new Intl.DateTimeFormat(t,r);return t=>i.format(t)}(r,t);this.runtime[n]=Object.assign(e,{id:n,module:null,toString:()=>function(t,n,e){"string"==typeof n&&(n=k(n));const r=b(n,e);return["(function() {",`var opt = ${JSON.stringify(r)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(t)}, opt);`,"return function(value) { return dtf.format(value); }"].join("\n ")+"\n})()"}(r,t),type:"formatter"})}return n}if(n.push(JSON.stringify(r)),t&&t.length>0){e&&this.options.strict&&(e=null);const r=t.map(t=>this.token(t,e));n.push("("+(r.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"}setNumberFormatter({param:t},n,e){const{locale:r}=this.plural;if(!t||0===t.length)return n.unshift(JSON.stringify(r)),n.push("0"),this.setRuntimeFn("number"),"number";if(n.push(JSON.stringify(r)),1===t.length&&"content"===t[0].type){const e=t[0].value.trim();switch(e){case"currency":return n.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}const i=e.match(/^currency:([A-Z]+)$/);if(i)return n.push(JSON.stringify(i[1])),this.setFormatter("numberCurrency"),"numberCurrency";const o=s.identifier(`number_${r}_${e}`,!0);if(!this.runtimeIncludes(o,"formatter")){const{currency:t}=this.options,n=Z(r,e,t);this.runtime[o]=Object.assign(n,{id:null,module:null,toString:()=>V(r,e,t),type:"formatter"})}return o}e&&this.options.strict&&(e=null);const i=t.map(t=>this.token(t,e));return n.push("("+(i.join(" + ")||'""')+").trim()"),n.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.parse=n.ParseError=void 0;const r=e(54),i=t=>({offset:t.offset,line:t.line,col:t.col,text:t.text,lineBreaks:t.lineBreaks}),o=t=>"plural"===t||"select"===t||"selectordinal"===t;const s=["number","date","time","spellout","ordinal","duration"],u=["zero","one","two","few","many","other"];class c extends Error{constructor(t,n){super(r.lexer.formatError(t,n))}}n.ParseError=c;class a{constructor(t,n){this.lexer=r.lexer.reset(t),this.cardinalKeys=n&&n.cardinal||u,this.ordinalKeys=n&&n.ordinal||u,this.strict=n&&n.strict||!1}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,n,e){if("="===e[0]){if("select"===n)throw new c(t,`The case ${e} is not valid with select`)}else if("select"!==n){const r="plural"===n?this.cardinalKeys:this.ordinalKeys;if(r.length>0&&!r.includes(e)){throw new c(t,`The ${n} case ${e} is not valid in this locale`)}}}parseSelect({value:t},n,e,r){const o={type:r,arg:t,cases:[],ctx:e};"plural"===r||"selectordinal"===r?n=!0:this.strict&&(n=!1);for(const t of this.lexer)switch(t.type){case"offset":if("select"===r)throw new c(t,"Unexpected plural offset for select");if(o.cases.length>0)throw new c(t,"Plural offset must be set before cases");o.pluralOffset=Number(t.value),e.text+=t.text,e.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,r,t.value),o.cases.push({key:t.value,tokens:this.parseBody(n),ctx:i(t)});break;case"end":return o;default:throw new c(t,"Unexpected lexer token: "+t.type)}throw new c(null,"Unexpected message end")}parseArgToken(t,n){const e=i(t),r=this.lexer.next();if(!r)throw new c(null,"Unexpected message end");if(e.text+=r.text,e.lineBreaks+=r.lineBreaks,this.strict&&("func-simple"===r.type||"func-args"===r.type)&&!s.includes(r.value)){const n="Invalid strict mode function arg type: "+r.value;throw new c(t,n)}switch(r.type){case"end":return{type:"argument",arg:t.value,ctx:e};case"func-simple":{const n=this.lexer.next();if(!n)throw new c(null,"Unexpected message end");if("end"!==n.type)throw new c(n,"Unexpected lexer token: "+n.type);if(e.text+=n.text,o(r.value.toLowerCase()))throw new c(r,"Invalid type identifier: "+r.value);return{type:"function",arg:t.value,key:r.value,ctx:e}}case"func-args":{if(o(r.value.toLowerCase())){const t="Invalid type identifier: "+r.value;throw new c(r,t)}let i=this.parseBody(!this.strict&&n);return this.strict&&i.length>0&&(i=function(t,n){let e="",r="";for(const i of n){const n=i.ctx.text;switch(r+=n,i.type){case"content":e+=i.value;break;case"argument":case"function":case"octothorpe":e+=n;break;default:throw new c(t,"Unsupported part in strict mode function arg style: "+n)}}return[{type:"content",value:e.trim(),ctx:Object.assign({},n[0].ctx,{text:r})}]}(t,i)),{type:"function",arg:t.value,key:r.value,param:i,ctx:e}}case"select":if(o(r.value))return this.parseSelect(t,n,e,r.value);throw new c(r,"Unexpected select type "+r.value);default:throw new c(r,"Unexpected lexer token: "+r.type)}}parseBody(t,n){const e=[];let r=null;for(const o of this.lexer)if("argument"===o.type)r&&(r=null),e.push(this.parseArgToken(o,t));else if("octothorpe"===o.type&&t)r&&(r=null),e.push({type:"octothorpe",ctx:i(o)});else{if("end"===o.type&&!n)return e;{let n=o.value;if(!t&&"quoted"===o.type&&"#"===n[0]){if(n.includes("{")){throw new c(o,"Unsupported escape pattern: "+n)}n=o.text}r?(r.value+=n,r.ctx.text+=o.text,r.ctx.lineBreaks+=o.lineBreaks):(r={type:"content",value:n,ctx:i(o)},e.push(r))}}if(n)return e;throw new c(null,"Unexpected message end")}}n.parse=function(t,n={}){return new a(t,n).parse()}},function(t,n,e){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(n,"__esModule",{value:!0}),n.lexer=n.states=void 0;const i=r(e(55));n.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:t=>t.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:t=>t.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:t=>t.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:t=>t.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:t=>t.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:t=>t.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:t=>t.substring(0,t.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},n.lexer=i.default.states(n.states)},function(t,n,e){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,e="boolean"==typeof(new RegExp).sticky;function r(t){return t&&"[object RegExp]"===n.call(t)}function i(t){return t&&"object"==typeof t&&!r(t)&&!Array.isArray(t)}function o(t){return"("+t+")"}function s(t){return t.length?"(?:"+t.map((function(t){return"(?:"+t+")"})).join("|")+")":"(?!)"}function u(t){if("string"==typeof t)return"(?:"+t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+")";if(r(t)){if(t.ignoreCase)throw new Error("RegExp /i flag not allowed");if(t.global)throw new Error("RegExp /g flag is implied");if(t.sticky)throw new Error("RegExp /y flag is implied");if(t.multiline)throw new Error("RegExp /m flag is implied");return t.source}throw new Error("Not a pattern: "+t)}function c(n,e){if(i(e)||(e={match:e}),e.include)throw new Error("Matching rules cannot also include states");var o={defaultType:n,lineBreaks:!!e.error||!!e.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in e)t.call(e,s)&&(o[s]=e[s]);if("string"==typeof o.type&&n!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+n+"')");var u=o.match;return o.match=Array.isArray(u)?u:u?[u]:[],o.match.sort((function(t,n){return r(t)&&r(n)?0:r(n)?-1:r(t)?1:n.length-t.length})),o}function a(t){return Array.isArray(t)?function(t){for(var n=[],e=0;e<t.length;e++){var r=t[e];if(r.include)for(var i=[].concat(r.include),o=0;o<i.length;o++)n.push({include:i[o]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));n.push(c(r.type,r))}}return n}(t):function(t){for(var n=Object.getOwnPropertyNames(t),e=[],r=0;r<n.length;r++){var o=n[r],s=t[o],u=[].concat(s);if("include"!==o){var a=[];u.forEach((function(t){i(t)?(a.length&&e.push(c(o,a)),e.push(c(o,t)),a=[]):a.push(t)})),a.length&&e.push(c(o,a))}else for(var f=0;f<u.length;f++)e.push({include:u[f]})}return e}(t)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function l(t,n){for(var i=null,c=Object.create(null),a=!0,l=null,d=[],h=[],p=0;p<t.length;p++)t[p].fallback&&(a=!1);for(p=0;p<t.length;p++){var m=t[p];if(m.include)throw new Error("Inheritance is not allowed in stateless lexers");if(m.error||m.fallback){if(i)throw!m.fallback==!i.fallback?new Error("Multiple "+(m.fallback?"fallback":"error")+" rules not allowed (for token '"+m.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+m.defaultType+"')");i=m}var g=m.match.slice();if(a)for(;g.length&&"string"==typeof g[0]&&1===g[0].length;)c[g.shift().charCodeAt(0)]=m;if(m.pop||m.push||m.next){if(!n)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+m.defaultType+"')");if(m.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+m.defaultType+"')")}if(0!==g.length){a=!1,d.push(m);for(var y=0;y<g.length;y++){var b=g[y];if(r(b))if(null===l)l=b.unicode;else if(l!==b.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var w=s(g.map(u)),v=new RegExp(w);if(v.test(""))throw new Error("RegExp matches empty string: "+v);if(new RegExp("|"+w).exec("").length-1>0)throw new Error("RegExp has capture groups: "+v+"\nUse (?: … ) instead");if(!m.lineBreaks&&v.test("\n"))throw new Error("Rule should declare lineBreaks: "+v);h.push(o(w))}}var x=i&&i.fallback,k=e&&!x?"ym":"gm",S=e||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(h)+S,k),groups:d,fast:c,error:i||f}}function d(t,n,e){var r=t&&(t.push||t.next);if(r&&!e[r])throw new Error("Missing state '"+r+"' (in token '"+t.defaultType+"' of state '"+n+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+n+"')")}var h=function(t,n){this.startState=n,this.states=t,this.buffer="",this.stack=[],this.reset()};h.prototype.reset=function(t,n){return this.buffer=t||"",this.index=0,this.line=n?n.line:1,this.col=n?n.col:1,this.queuedToken=n?n.queuedToken:null,this.queuedThrow=n?n.queuedThrow:null,this.setState(n?n.state:this.startState),this.stack=n&&n.stack?n.stack.slice():[],this},h.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedThrow:this.queuedThrow}},h.prototype.setState=function(t){if(t&&this.state!==t){this.state=t;var n=this.states[t];this.groups=n.groups,this.error=n.error,this.re=n.regexp,this.fast=n.fast}},h.prototype.popState=function(){this.setState(this.stack.pop())},h.prototype.pushState=function(t){this.stack.push(this.state),this.setState(t)};var p=e?function(t,n){return t.exec(n)}:function(t,n){var e=t.exec(n);return 0===e[0].length?null:e};function m(){return this.value}if(h.prototype._getGroup=function(t){for(var n=this.groups.length,e=0;e<n;e++)if(void 0!==t[e+1])return this.groups[e];throw new Error("Cannot find token type for matched text")},h.prototype.next=function(){var t=this.index;if(this.queuedGroup){var n=this._token(this.queuedGroup,this.queuedText,t);return this.queuedGroup=null,this.queuedText="",n}var e=this.buffer;if(t!==e.length){if(s=this.fast[e.charCodeAt(t)])return this._token(s,e.charAt(t),t);var r=this.re;r.lastIndex=t;var i=p(r,e),o=this.error;if(null==i)return this._token(o,e.slice(t,e.length),t);var s=this._getGroup(i),u=i[0];return o.fallback&&i.index!==t?(this.queuedGroup=s,this.queuedText=u,this._token(o,e.slice(t,i.index),t)):this._token(s,u,t)}},h.prototype._token=function(t,n,e){var r=0;if(t.lineBreaks){var i=/\n/g,o=1;if("\n"===n)r=1;else for(;i.exec(n);)r++,o=i.lastIndex}var s={type:"function"==typeof t.type&&t.type(n)||t.defaultType,value:"function"==typeof t.value?t.value(n):n,text:n,toString:m,offset:e,lineBreaks:r,line:this.line,col:this.col},u=n.length;if(this.index+=u,this.line+=r,0!==r?this.col=u-o+1:this.col+=u,t.shouldThrow)throw new Error(this.formatError(s,"invalid syntax"));return t.pop?this.popState():t.push?this.pushState(t.push):t.next&&this.setState(t.next),s},"undefined"!=typeof Symbol&&Symbol.iterator){var g=function(t){this.lexer=t};g.prototype.next=function(){var t=this.lexer.next();return{value:t,done:!t}},g.prototype[Symbol.iterator]=function(){return this},h.prototype[Symbol.iterator]=function(){return new g(this)}}return h.prototype.formatError=function(t,n){if(null==t){var e=this.buffer.slice(this.index);t={text:e,offset:this.index,lineBreaks:-1===e.indexOf("\n")?0:1,line:this.line,col:this.col}}var r=Math.max(0,t.offset-t.col+1),i=t.lineBreaks?t.text.indexOf("\n"):t.text.length,o=this.buffer.substring(r,t.offset+i);return n+=" at line "+t.line+" col "+t.col+":\n\n",n+=" "+o+"\n",n+=" "+Array(t.col).join(" ")+"^"},h.prototype.clone=function(){return new h(this.states,this.state)},h.prototype.has=function(t){return!0},{compile:function(t){var n=l(a(t));return new h({start:n},"start")},states:function(t,n){var e=t.$all?a(t.$all):[];delete t.$all;var r=Object.getOwnPropertyNames(t);n||(n=r[0]);for(var i=Object.create(null),o=0;o<r.length;o++){var s=r[o];i[s]=a(t[s]).concat(e)}for(o=0;o<r.length;o++){s=r[o];for(var u=i[s],c=Object.create(null),f=0;f<u.length;f++){var p=u[f];if(p.include){var m=[f,1];if(p.include!==s&&!c[p.include]){c[p.include]=!0;var g=i[p.include];if(!g)throw new Error("Cannot include nonexistent state '"+p.include+"' (in state '"+s+"')");for(var y=0;y<g.length;y++){var b=g[y];-1===u.indexOf(b)&&m.push(b)}}u.splice.apply(u,m),f--}}}var w=Object.create(null);for(o=0;o<r.length;o++)s=r[o],w[s]=l(i[s],!0);for(o=0;o<r.length;o++){var v=r[o],x=w[v],k=x.groups;for(f=0;f<k.length;f++)d(k[f],v,w);var S=Object.getOwnPropertyNames(x.fast);for(f=0;f<S.length;f++)d(x.fast[S[f]],v,w)}return new h(w,n)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(t){for(var n=Object.create(null),e=Object.create(null),r=Object.getOwnPropertyNames(t),i=0;i<r.length;i++){var o=r[i],s=t[o];(Array.isArray(s)?s:[s]).forEach((function(t){if((e[t.length]=e[t.length]||[]).push(t),"string"!=typeof t)throw new Error("keyword must be string (in keyword '"+o+"')");n[t]=o}))}function u(t){return JSON.stringify(t)}var c="";for(var a in c+="switch (value.length) {\n",e){var f=e[a];c+="case "+a+":\n",c+="switch (value) {\n",f.forEach((function(t){var e=n[t];c+="case "+u(t)+": return "+u(e)+"\n"})),c+="}\n"}return c+="}\n",Function("value",c)}}})?r.apply(n,i):r)||(t.exports=o)},function(t,n,e){"use strict";function r(t){return r[t]||(r[t]=new Intl.NumberFormat(t))}Object.defineProperty(n,"__esModule",{value:!0}),n.reqArgs=n.select=n.plural=n.strictNumber=n.number=n._nf=void 0,n._nf=r,n.number=function(t,n,e){return r(t).format(n-e)},n.strictNumber=function(t,n,e,i){var o=n-e;if(isNaN(o))throw new Error("`"+i+"` or its offset is not a number");return r(t).format(o)},n.plural=function(t,n,e,r,i){if({}.hasOwnProperty.call(r,t))return r[t];n&&(t-=n);var o=e(t,i);return o in r?r[o]:r.other},n.select=function(t,n){return{}.hasOwnProperty.call(n,t)?n[t]:n.other},n.reqArgs=function(t,n){for(var e=0;e<t.length;++e)if(!n||void 0===n[t[e]])throw new Error("Message requires argument '"+t[e]+"'")}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.time=n.numberPercent=n.numberInteger=n.numberFmt=n.numberCurrency=n.duration=n.date=void 0;var r=e(58);Object.defineProperty(n,"date",{enumerable:!0,get:function(){return r.date}});var i=e(59);Object.defineProperty(n,"duration",{enumerable:!0,get:function(){return i.duration}});var o=e(60);Object.defineProperty(n,"numberCurrency",{enumerable:!0,get:function(){return o.numberCurrency}}),Object.defineProperty(n,"numberFmt",{enumerable:!0,get:function(){return o.numberFmt}}),Object.defineProperty(n,"numberInteger",{enumerable:!0,get:function(){return o.numberInteger}}),Object.defineProperty(n,"numberPercent",{enumerable:!0,get:function(){return o.numberPercent}});var s=e(61);Object.defineProperty(n,"time",{enumerable:!0,get:function(){return s.time}})},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.date=void 0,n.date=function(t,n,e){var r={day:"numeric",month:"short",year:"numeric"};switch(e){case"full":r.weekday="long";case"long":r.month="long";break;case"short":r.month="numeric"}return new Date(t).toLocaleDateString(n,r)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.duration=void 0,n.duration=function(t){if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return String(t);var n="";t<0?(n="-",t=Math.abs(t)):t=Number(t);var e=t%60,r=[Math.round(e)===e?e:e.toFixed(3)];return t<60?r.unshift(0):(t=Math.round((t-Number(r[0]))/60),r.unshift(t%60),t>=60&&(t=Math.round((t-Number(r[0]))/60),r.unshift(t))),n+r.shift()+":"+r.map((function(t){return t<10?"0"+String(t):String(t)})).join(":")}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.numberPercent=n.numberInteger=n.numberCurrency=n.numberFmt=void 0;var r={};function i(t,n){var e=String(t)+JSON.stringify(n);return r[e]||(r[e]=new Intl.NumberFormat(t,n)),r[e]}n.numberFmt=function(t,n,e,r){var o=e&&e.split(":")||[],s=o[0],u=o[1];return i(n,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:u&&u.trim()||r,minimumFractionDigits:2,maximumFractionDigits:2}}[s]||{}).format(t)};n.numberCurrency=function(t,n,e){return i(n,{style:"currency",currency:e,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)};n.numberInteger=function(t,n){return i(n,{maximumFractionDigits:0}).format(t)};n.numberPercent=function(t,n){return i(n,{style:"percent"}).format(t)}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.time=void 0,n.time=function(t,n,e){var r={second:"numeric",minute:"numeric",hour:"numeric"};switch(e){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}return new Date(t).toLocaleTimeString(n,r)}},function(t,n){t.exports={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}}},function(t,n,e){"use strict";function r(t){return 1==t?"one":"other"}function i(t){return 0==t||1==t?"one":"other"}function o(t){return t>=0&&t<=1?"one":"other"}function s(t){var n=!String(t).split(".")[1];return 1==t&&n?"one":"other"}function u(t){return"other"}function c(t){return 1==t?"one":2==t?"two":"other"}e.r(n),e.d(n,"_in",(function(){return a})),e.d(n,"af",(function(){return f})),e.d(n,"ak",(function(){return l})),e.d(n,"am",(function(){return d})),e.d(n,"an",(function(){return h})),e.d(n,"ar",(function(){return p})),e.d(n,"ars",(function(){return m})),e.d(n,"as",(function(){return g})),e.d(n,"asa",(function(){return y})),e.d(n,"ast",(function(){return b})),e.d(n,"az",(function(){return w})),e.d(n,"be",(function(){return v})),e.d(n,"bem",(function(){return x})),e.d(n,"bez",(function(){return k})),e.d(n,"bg",(function(){return S})),e.d(n,"bho",(function(){return E})),e.d(n,"bm",(function(){return O})),e.d(n,"bn",(function(){return C})),e.d(n,"bo",(function(){return _})),e.d(n,"br",(function(){return T})),e.d(n,"brx",(function(){return N})),e.d(n,"bs",(function(){return j})),e.d(n,"ca",(function(){return R})),e.d(n,"ce",(function(){return A})),e.d(n,"ceb",(function(){return F})),e.d(n,"cgg",(function(){return P})),e.d(n,"chr",(function(){return L})),e.d(n,"ckb",(function(){return B})),e.d(n,"cs",(function(){return $})),e.d(n,"cy",(function(){return D})),e.d(n,"da",(function(){return q})),e.d(n,"de",(function(){return I})),e.d(n,"dsb",(function(){return z})),e.d(n,"dv",(function(){return M})),e.d(n,"dz",(function(){return U})),e.d(n,"ee",(function(){return H})),e.d(n,"el",(function(){return J})),e.d(n,"en",(function(){return W})),e.d(n,"eo",(function(){return G})),e.d(n,"es",(function(){return Z})),e.d(n,"et",(function(){return V})),e.d(n,"eu",(function(){return K})),e.d(n,"fa",(function(){return Y})),e.d(n,"ff",(function(){return X})),e.d(n,"fi",(function(){return Q})),e.d(n,"fil",(function(){return tt})),e.d(n,"fo",(function(){return nt})),e.d(n,"fr",(function(){return et})),e.d(n,"fur",(function(){return rt})),e.d(n,"fy",(function(){return it})),e.d(n,"ga",(function(){return ot})),e.d(n,"gd",(function(){return st})),e.d(n,"gl",(function(){return ut})),e.d(n,"gsw",(function(){return ct})),e.d(n,"gu",(function(){return at})),e.d(n,"guw",(function(){return ft})),e.d(n,"gv",(function(){return lt})),e.d(n,"ha",(function(){return dt})),e.d(n,"haw",(function(){return ht})),e.d(n,"he",(function(){return pt})),e.d(n,"hi",(function(){return mt})),e.d(n,"hr",(function(){return gt})),e.d(n,"hsb",(function(){return yt})),e.d(n,"hu",(function(){return bt})),e.d(n,"hy",(function(){return wt})),e.d(n,"ia",(function(){return vt})),e.d(n,"id",(function(){return xt})),e.d(n,"ig",(function(){return kt})),e.d(n,"ii",(function(){return St})),e.d(n,"io",(function(){return Et})),e.d(n,"is",(function(){return Ot})),e.d(n,"it",(function(){return Ct})),e.d(n,"iu",(function(){return _t})),e.d(n,"iw",(function(){return Tt})),e.d(n,"ja",(function(){return Nt})),e.d(n,"jbo",(function(){return jt})),e.d(n,"jgo",(function(){return Rt})),e.d(n,"ji",(function(){return At})),e.d(n,"jmc",(function(){return Ft})),e.d(n,"jv",(function(){return Pt})),e.d(n,"jw",(function(){return Lt})),e.d(n,"ka",(function(){return Bt})),e.d(n,"kab",(function(){return $t})),e.d(n,"kaj",(function(){return Dt})),e.d(n,"kcg",(function(){return qt})),e.d(n,"kde",(function(){return It})),e.d(n,"kea",(function(){return zt})),e.d(n,"kk",(function(){return Mt})),e.d(n,"kkj",(function(){return Ut})),e.d(n,"kl",(function(){return Ht})),e.d(n,"km",(function(){return Jt})),e.d(n,"kn",(function(){return Wt})),e.d(n,"ko",(function(){return Gt})),e.d(n,"ks",(function(){return Zt})),e.d(n,"ksb",(function(){return Vt})),e.d(n,"ksh",(function(){return Kt})),e.d(n,"ku",(function(){return Yt})),e.d(n,"kw",(function(){return Xt})),e.d(n,"ky",(function(){return Qt})),e.d(n,"lag",(function(){return tn})),e.d(n,"lb",(function(){return nn})),e.d(n,"lg",(function(){return en})),e.d(n,"lkt",(function(){return rn})),e.d(n,"ln",(function(){return on})),e.d(n,"lo",(function(){return sn})),e.d(n,"lt",(function(){return un})),e.d(n,"lv",(function(){return cn})),e.d(n,"mas",(function(){return an})),e.d(n,"mg",(function(){return fn})),e.d(n,"mgo",(function(){return ln})),e.d(n,"mk",(function(){return dn})),e.d(n,"ml",(function(){return hn})),e.d(n,"mn",(function(){return pn})),e.d(n,"mo",(function(){return mn})),e.d(n,"mr",(function(){return gn})),e.d(n,"ms",(function(){return yn})),e.d(n,"mt",(function(){return bn})),e.d(n,"my",(function(){return wn})),e.d(n,"nah",(function(){return vn})),e.d(n,"naq",(function(){return xn})),e.d(n,"nb",(function(){return kn})),e.d(n,"nd",(function(){return Sn})),e.d(n,"ne",(function(){return En})),e.d(n,"nl",(function(){return On})),e.d(n,"nn",(function(){return Cn})),e.d(n,"nnh",(function(){return _n})),e.d(n,"no",(function(){return Tn})),e.d(n,"nqo",(function(){return Nn})),e.d(n,"nr",(function(){return jn})),e.d(n,"nso",(function(){return Rn})),e.d(n,"ny",(function(){return An})),e.d(n,"nyn",(function(){return Fn})),e.d(n,"om",(function(){return Pn})),e.d(n,"or",(function(){return Ln})),e.d(n,"os",(function(){return Bn})),e.d(n,"osa",(function(){return $n})),e.d(n,"pa",(function(){return Dn})),e.d(n,"pap",(function(){return qn})),e.d(n,"pl",(function(){return In})),e.d(n,"prg",(function(){return zn})),e.d(n,"ps",(function(){return Mn})),e.d(n,"pt",(function(){return Un})),e.d(n,"pt_PT",(function(){return Hn})),e.d(n,"rm",(function(){return Jn})),e.d(n,"ro",(function(){return Wn})),e.d(n,"rof",(function(){return Gn})),e.d(n,"root",(function(){return Zn})),e.d(n,"ru",(function(){return Vn})),e.d(n,"rwk",(function(){return Kn})),e.d(n,"sah",(function(){return Yn})),e.d(n,"saq",(function(){return Xn})),e.d(n,"sc",(function(){return Qn})),e.d(n,"scn",(function(){return te})),e.d(n,"sd",(function(){return ne})),e.d(n,"sdh",(function(){return ee})),e.d(n,"se",(function(){return re})),e.d(n,"seh",(function(){return ie})),e.d(n,"ses",(function(){return oe})),e.d(n,"sg",(function(){return se})),e.d(n,"sh",(function(){return ue})),e.d(n,"shi",(function(){return ce})),e.d(n,"si",(function(){return ae})),e.d(n,"sk",(function(){return fe})),e.d(n,"sl",(function(){return le})),e.d(n,"sma",(function(){return de})),e.d(n,"smi",(function(){return he})),e.d(n,"smj",(function(){return pe})),e.d(n,"smn",(function(){return me})),e.d(n,"sms",(function(){return ge})),e.d(n,"sn",(function(){return ye})),e.d(n,"so",(function(){return be})),e.d(n,"sq",(function(){return we})),e.d(n,"sr",(function(){return ve})),e.d(n,"ss",(function(){return xe})),e.d(n,"ssy",(function(){return ke})),e.d(n,"st",(function(){return Se})),e.d(n,"su",(function(){return Ee})),e.d(n,"sv",(function(){return Oe})),e.d(n,"sw",(function(){return Ce})),e.d(n,"syr",(function(){return _e})),e.d(n,"ta",(function(){return Te})),e.d(n,"te",(function(){return Ne})),e.d(n,"teo",(function(){return je})),e.d(n,"th",(function(){return Re})),e.d(n,"ti",(function(){return Ae})),e.d(n,"tig",(function(){return Fe})),e.d(n,"tk",(function(){return Pe})),e.d(n,"tl",(function(){return Le})),e.d(n,"tn",(function(){return Be})),e.d(n,"to",(function(){return $e})),e.d(n,"tr",(function(){return De})),e.d(n,"ts",(function(){return qe})),e.d(n,"tzm",(function(){return Ie})),e.d(n,"ug",(function(){return ze})),e.d(n,"uk",(function(){return Me})),e.d(n,"ur",(function(){return Ue})),e.d(n,"uz",(function(){return He})),e.d(n,"ve",(function(){return Je})),e.d(n,"vi",(function(){return We})),e.d(n,"vo",(function(){return Ge})),e.d(n,"vun",(function(){return Ze})),e.d(n,"wa",(function(){return Ve})),e.d(n,"wae",(function(){return Ke})),e.d(n,"wo",(function(){return Ye})),e.d(n,"xh",(function(){return Xe})),e.d(n,"xog",(function(){return Qe})),e.d(n,"yi",(function(){return tr})),e.d(n,"yo",(function(){return nr})),e.d(n,"yue",(function(){return er})),e.d(n,"zh",(function(){return rr})),e.d(n,"zu",(function(){return ir}));const a=u,f=r,l=i,d=o,h=r;function p(t){var n=String(t).split("."),e=Number(n[0])==t&&n[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":e>=3&&e<=10?"few":e>=11&&e<=99?"many":"other"}function m(t){var n=String(t).split("."),e=Number(n[0])==t&&n[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":e>=3&&e<=10?"few":e>=11&&e<=99?"many":"other"}const g=o,y=r,b=s,w=r;function v(t){var n=String(t).split("."),e=Number(n[0])==t,r=e&&n[0].slice(-1),i=e&&n[0].slice(-2);return 1==r&&11!=i?"one":r>=2&&r<=4&&(i<12||i>14)?"few":e&&0==r||r>=5&&r<=9||i>=11&&i<=14?"many":"other"}const x=r,k=r,S=r,E=i,O=u,C=o,_=u;function T(t){var n=String(t).split("."),e=Number(n[0])==t,r=e&&n[0].slice(-1),i=e&&n[0].slice(-2),o=e&&n[0].slice(-6);return 1==r&&11!=i&&71!=i&&91!=i?"one":2==r&&12!=i&&72!=i&&92!=i?"two":(3==r||4==r||9==r)&&(i<10||i>19)&&(i<70||i>79)&&(i<90||i>99)?"few":0!=t&&e&&0==o?"many":"other"}const N=r;function j(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}const R=s,A=r;function F(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=r.slice(-1);return i&&(1==e||2==e||3==e)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const P=r,L=r,B=r;function $(t){var n=String(t).split("."),e=n[0],r=!n[1];return 1==t&&r?"one":e>=2&&e<=4&&r?"few":r?"other":"many"}function D(t){return 0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"}function q(t){var n=String(t).split("."),e=n[0],r=Number(n[0])==t;return 1!=t&&(r||0!=e&&1!=e)?"other":"one"}const I=s;function z(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-2),s=r.slice(-2);return i&&1==o||1==s?"one":i&&2==o||2==s?"two":i&&(3==o||4==o)||3==s||4==s?"few":"other"}const M=r,U=u,H=r,J=r,W=s,G=r,Z=r,V=s,K=r,Y=o;function X(t){return t>=0&&t<2?"one":"other"}const Q=s;function tt(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=r.slice(-1);return i&&(1==e||2==e||3==e)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const nt=r;function et(t){return t>=0&&t<2?"one":"other"}const rt=r,it=s;function ot(t){var n=String(t).split("."),e=Number(n[0])==t;return 1==t?"one":2==t?"two":e&&t>=3&&t<=6?"few":e&&t>=7&&t<=10?"many":"other"}function st(t){var n=String(t).split("."),e=Number(n[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":e&&t>=3&&t<=10||e&&t>=13&&t<=19?"few":"other"}const ut=s,ct=r,at=o,ft=i;function lt(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return r&&1==i?"one":r&&2==i?"two":!r||0!=o&&20!=o&&40!=o&&60!=o&&80!=o?r?"other":"many":"few"}const dt=r,ht=r;function pt(t){var n=String(t).split("."),e=n[0],r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1);return 1==t&&r?"one":2==e&&r?"two":r&&(t<0||t>10)&&i&&0==o?"many":"other"}const mt=o;function gt(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}function yt(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-2),s=r.slice(-2);return i&&1==o||1==s?"one":i&&2==o||2==s?"two":i&&(3==o||4==o)||3==s||4==s?"few":"other"}const bt=r;function wt(t){return t>=0&&t<2?"one":"other"}const vt=s,xt=u,kt=u,St=u,Et=s;function Ot(t){var n=String(t).split("."),e=n[0],r=Number(n[0])==t,i=e.slice(-1),o=e.slice(-2);return r&&1==i&&11!=o||!r?"one":"other"}const Ct=s,_t=c;function Tt(t){var n=String(t).split("."),e=n[0],r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1);return 1==t&&r?"one":2==e&&r?"two":r&&(t<0||t>10)&&i&&0==o?"many":"other"}const Nt=u,jt=u,Rt=r,At=s,Ft=r,Pt=u,Lt=u,Bt=r;function $t(t){return t>=0&&t<2?"one":"other"}const Dt=r,qt=r,It=u,zt=u,Mt=r,Ut=r,Ht=r,Jt=u,Wt=o,Gt=u,Zt=r,Vt=r;function Kt(t){return 0==t?"zero":1==t?"one":"other"}const Yt=r;function Xt(t){var n=String(t).split("."),e=Number(n[0])==t,r=e&&n[0].slice(-2),i=e&&n[0].slice(-3),o=e&&n[0].slice(-5),s=e&&n[0].slice(-6);return 0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||e&&0==i&&(o>=1e3&&o<=2e4||4e4==o||6e4==o||8e4==o)||0!=t&&1e5==s?"two":3==r||23==r||43==r||63==r||83==r?"few":1==t||1!=r&&21!=r&&41!=r&&61!=r&&81!=r?"other":"many"}const Qt=r;function tn(t){var n=String(t).split(".")[0];return 0==t?"zero":0!=n&&1!=n||0==t?"other":"one"}const nn=r,en=r,rn=u,on=i,sn=u;function un(t){var n=String(t).split("."),e=n[1]||"",r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=e?"many":"other"}function cn(t){var n=String(t).split("."),e=n[1]||"",r=e.length,i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2),u=e.slice(-2),c=e.slice(-1);return i&&0==o||s>=11&&s<=19||2==r&&u>=11&&u<=19?"zero":1==o&&11!=s||2==r&&1==c&&11!=u||2!=r&&1==c?"one":"other"}const an=r,fn=i,ln=r;function dn(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":"other"}const hn=r,pn=r;function mn(t){var n=String(t).split("."),e=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return 1==t&&e?"one":!e||0==t||r>=2&&r<=19?"few":"other"}const gn=r,yn=u;function bn(t){var n=String(t).split("."),e=Number(n[0])==t&&n[0].slice(-2);return 1==t?"one":0==t||e>=2&&e<=10?"few":e>=11&&e<=19?"many":"other"}const wn=u,vn=r,xn=c,kn=r,Sn=r,En=r,On=s,Cn=r,_n=r,Tn=r,Nn=u,jn=r,Rn=i,An=r,Fn=r,Pn=r,Ln=r,Bn=r,$n=u,Dn=i,qn=r;function In(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return 1==t&&r?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&1!=e&&(0==i||1==i)||r&&i>=5&&i<=9||r&&o>=12&&o<=14?"many":"other"}function zn(t){var n=String(t).split("."),e=n[1]||"",r=e.length,i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2),u=e.slice(-2),c=e.slice(-1);return i&&0==o||s>=11&&s<=19||2==r&&u>=11&&u<=19?"zero":1==o&&11!=s||2==r&&1==c&&11!=u||2!=r&&1==c?"one":"other"}const Mn=r;function Un(t){var n=String(t).split(".")[0];return 0==n||1==n?"one":"other"}const Hn=s,Jn=r;function Wn(t){var n=String(t).split("."),e=!n[1],r=Number(n[0])==t&&n[0].slice(-2);return 1==t&&e?"one":!e||0==t||r>=2&&r<=19?"few":"other"}const Gn=r,Zn=u;function Vn(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return r&&1==i&&11!=o?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&0==i||r&&i>=5&&i<=9||r&&o>=11&&o<=14?"many":"other"}const Kn=r,Yn=u,Xn=r,Qn=s,te=s,ne=r,ee=r,re=c,ie=r,oe=u,se=u;function ue(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}function ce(t){var n=String(t).split("."),e=Number(n[0])==t;return t>=0&&t<=1?"one":e&&t>=2&&t<=10?"few":"other"}function ae(t){var n=String(t).split("."),e=n[0],r=n[1]||"";return 0==t||1==t||0==e&&1==r?"one":"other"}function fe(t){var n=String(t).split("."),e=n[0],r=!n[1];return 1==t&&r?"one":e>=2&&e<=4&&r?"few":r?"other":"many"}function le(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-2);return r&&1==i?"one":r&&2==i?"two":r&&(3==i||4==i)||!r?"few":"other"}const de=c,he=c,pe=c,me=c,ge=c,ye=r,be=r,we=r;function ve(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=e.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":i&&o>=2&&o<=4&&(s<12||s>14)||u>=2&&u<=4&&(c<12||c>14)?"few":"other"}const xe=r,ke=r,Se=r,Ee=u,Oe=s,Ce=s,_e=r,Te=r,Ne=r,je=r,Re=u,Ae=i,Fe=r,Pe=r;function Le(t){var n=String(t).split("."),e=n[0],r=n[1]||"",i=!n[1],o=e.slice(-1),s=r.slice(-1);return i&&(1==e||2==e||3==e)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"}const Be=r,$e=u,De=r,qe=r;function Ie(t){var n=String(t).split("."),e=Number(n[0])==t;return 0==t||1==t||e&&t>=11&&t<=99?"one":"other"}const ze=r;function Me(t){var n=String(t).split("."),e=n[0],r=!n[1],i=e.slice(-1),o=e.slice(-2);return r&&1==i&&11!=o?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&0==i||r&&i>=5&&i<=9||r&&o>=11&&o<=14?"many":"other"}const Ue=s,He=r,Je=r,We=u,Ge=r,Ze=r,Ve=i,Ke=r,Ye=u,Xe=r,Qe=r,tr=s,nr=u,er=u,rr=u,ir=o},function(t,n,e){"use strict";e.r(n),e.d(n,"_in",(function(){return p})),e.d(n,"af",(function(){return m})),e.d(n,"ak",(function(){return g})),e.d(n,"am",(function(){return y})),e.d(n,"an",(function(){return b})),e.d(n,"ar",(function(){return w})),e.d(n,"ars",(function(){return v})),e.d(n,"as",(function(){return x})),e.d(n,"asa",(function(){return k})),e.d(n,"ast",(function(){return S})),e.d(n,"az",(function(){return E})),e.d(n,"be",(function(){return O})),e.d(n,"bem",(function(){return C})),e.d(n,"bez",(function(){return _})),e.d(n,"bg",(function(){return T})),e.d(n,"bho",(function(){return N})),e.d(n,"bm",(function(){return j})),e.d(n,"bn",(function(){return R})),e.d(n,"bo",(function(){return A})),e.d(n,"br",(function(){return F})),e.d(n,"brx",(function(){return P})),e.d(n,"bs",(function(){return L})),e.d(n,"ca",(function(){return B})),e.d(n,"ce",(function(){return $})),e.d(n,"ceb",(function(){return D})),e.d(n,"cgg",(function(){return q})),e.d(n,"chr",(function(){return I})),e.d(n,"ckb",(function(){return z})),e.d(n,"cs",(function(){return M})),e.d(n,"cy",(function(){return U})),e.d(n,"da",(function(){return H})),e.d(n,"de",(function(){return J})),e.d(n,"dsb",(function(){return W})),e.d(n,"dv",(function(){return G})),e.d(n,"dz",(function(){return Z})),e.d(n,"ee",(function(){return V})),e.d(n,"el",(function(){return K})),e.d(n,"en",(function(){return Y})),e.d(n,"eo",(function(){return X})),e.d(n,"es",(function(){return Q})),e.d(n,"et",(function(){return tt})),e.d(n,"eu",(function(){return nt})),e.d(n,"fa",(function(){return et})),e.d(n,"ff",(function(){return rt})),e.d(n,"fi",(function(){return it})),e.d(n,"fil",(function(){return ot})),e.d(n,"fo",(function(){return st})),e.d(n,"fr",(function(){return ut})),e.d(n,"fur",(function(){return ct})),e.d(n,"fy",(function(){return at})),e.d(n,"ga",(function(){return ft})),e.d(n,"gd",(function(){return lt})),e.d(n,"gl",(function(){return dt})),e.d(n,"gsw",(function(){return ht})),e.d(n,"gu",(function(){return pt})),e.d(n,"guw",(function(){return mt})),e.d(n,"gv",(function(){return gt})),e.d(n,"ha",(function(){return yt})),e.d(n,"haw",(function(){return bt})),e.d(n,"he",(function(){return wt})),e.d(n,"hi",(function(){return vt})),e.d(n,"hr",(function(){return xt})),e.d(n,"hsb",(function(){return kt})),e.d(n,"hu",(function(){return St})),e.d(n,"hy",(function(){return Et})),e.d(n,"ia",(function(){return Ot})),e.d(n,"id",(function(){return Ct})),e.d(n,"ig",(function(){return _t})),e.d(n,"ii",(function(){return Tt})),e.d(n,"io",(function(){return Nt})),e.d(n,"is",(function(){return jt})),e.d(n,"it",(function(){return Rt})),e.d(n,"iu",(function(){return At})),e.d(n,"iw",(function(){return Ft})),e.d(n,"ja",(function(){return Pt})),e.d(n,"jbo",(function(){return Lt})),e.d(n,"jgo",(function(){return Bt})),e.d(n,"ji",(function(){return $t})),e.d(n,"jmc",(function(){return Dt})),e.d(n,"jv",(function(){return qt})),e.d(n,"jw",(function(){return It})),e.d(n,"ka",(function(){return zt})),e.d(n,"kab",(function(){return Mt})),e.d(n,"kaj",(function(){return Ut})),e.d(n,"kcg",(function(){return Ht})),e.d(n,"kde",(function(){return Jt})),e.d(n,"kea",(function(){return Wt})),e.d(n,"kk",(function(){return Gt})),e.d(n,"kkj",(function(){return Zt})),e.d(n,"kl",(function(){return Vt})),e.d(n,"km",(function(){return Kt})),e.d(n,"kn",(function(){return Yt})),e.d(n,"ko",(function(){return Xt})),e.d(n,"ks",(function(){return Qt})),e.d(n,"ksb",(function(){return tn})),e.d(n,"ksh",(function(){return nn})),e.d(n,"ku",(function(){return en})),e.d(n,"kw",(function(){return rn})),e.d(n,"ky",(function(){return on})),e.d(n,"lag",(function(){return sn})),e.d(n,"lb",(function(){return un})),e.d(n,"lg",(function(){return cn})),e.d(n,"lkt",(function(){return an})),e.d(n,"ln",(function(){return fn})),e.d(n,"lo",(function(){return ln})),e.d(n,"lt",(function(){return dn})),e.d(n,"lv",(function(){return hn})),e.d(n,"mas",(function(){return pn})),e.d(n,"mg",(function(){return mn})),e.d(n,"mgo",(function(){return gn})),e.d(n,"mk",(function(){return yn})),e.d(n,"ml",(function(){return bn})),e.d(n,"mn",(function(){return wn})),e.d(n,"mo",(function(){return vn})),e.d(n,"mr",(function(){return xn})),e.d(n,"ms",(function(){return kn})),e.d(n,"mt",(function(){return Sn})),e.d(n,"my",(function(){return En})),e.d(n,"nah",(function(){return On})),e.d(n,"naq",(function(){return Cn})),e.d(n,"nb",(function(){return _n})),e.d(n,"nd",(function(){return Tn})),e.d(n,"ne",(function(){return Nn})),e.d(n,"nl",(function(){return jn})),e.d(n,"nn",(function(){return Rn})),e.d(n,"nnh",(function(){return An})),e.d(n,"no",(function(){return Fn})),e.d(n,"nqo",(function(){return Pn})),e.d(n,"nr",(function(){return Ln})),e.d(n,"nso",(function(){return Bn})),e.d(n,"ny",(function(){return $n})),e.d(n,"nyn",(function(){return Dn})),e.d(n,"om",(function(){return qn})),e.d(n,"or",(function(){return In})),e.d(n,"os",(function(){return zn})),e.d(n,"osa",(function(){return Mn})),e.d(n,"pa",(function(){return Un})),e.d(n,"pap",(function(){return Hn})),e.d(n,"pl",(function(){return Jn})),e.d(n,"prg",(function(){return Wn})),e.d(n,"ps",(function(){return Gn})),e.d(n,"pt",(function(){return Zn})),e.d(n,"pt_PT",(function(){return Vn})),e.d(n,"rm",(function(){return Kn})),e.d(n,"ro",(function(){return Yn})),e.d(n,"rof",(function(){return Xn})),e.d(n,"root",(function(){return Qn})),e.d(n,"ru",(function(){return te})),e.d(n,"rwk",(function(){return ne})),e.d(n,"sah",(function(){return ee})),e.d(n,"saq",(function(){return re})),e.d(n,"sc",(function(){return ie})),e.d(n,"scn",(function(){return oe})),e.d(n,"sd",(function(){return se})),e.d(n,"sdh",(function(){return ue})),e.d(n,"se",(function(){return ce})),e.d(n,"seh",(function(){return ae})),e.d(n,"ses",(function(){return fe})),e.d(n,"sg",(function(){return le})),e.d(n,"sh",(function(){return de})),e.d(n,"shi",(function(){return he})),e.d(n,"si",(function(){return pe})),e.d(n,"sk",(function(){return me})),e.d(n,"sl",(function(){return ge})),e.d(n,"sma",(function(){return ye})),e.d(n,"smi",(function(){return be})),e.d(n,"smj",(function(){return we})),e.d(n,"smn",(function(){return ve})),e.d(n,"sms",(function(){return xe})),e.d(n,"sn",(function(){return ke})),e.d(n,"so",(function(){return Se})),e.d(n,"sq",(function(){return Ee})),e.d(n,"sr",(function(){return Oe})),e.d(n,"ss",(function(){return Ce})),e.d(n,"ssy",(function(){return _e})),e.d(n,"st",(function(){return Te})),e.d(n,"su",(function(){return Ne})),e.d(n,"sv",(function(){return je})),e.d(n,"sw",(function(){return Re})),e.d(n,"syr",(function(){return Ae})),e.d(n,"ta",(function(){return Fe})),e.d(n,"te",(function(){return Pe})),e.d(n,"teo",(function(){return Le})),e.d(n,"th",(function(){return Be})),e.d(n,"ti",(function(){return $e})),e.d(n,"tig",(function(){return De})),e.d(n,"tk",(function(){return qe})),e.d(n,"tl",(function(){return Ie})),e.d(n,"tn",(function(){return ze})),e.d(n,"to",(function(){return Me})),e.d(n,"tr",(function(){return Ue})),e.d(n,"ts",(function(){return He})),e.d(n,"tzm",(function(){return Je})),e.d(n,"ug",(function(){return We})),e.d(n,"uk",(function(){return Ge})),e.d(n,"ur",(function(){return Ze})),e.d(n,"uz",(function(){return Ve})),e.d(n,"ve",(function(){return Ke})),e.d(n,"vi",(function(){return Ye})),e.d(n,"vo",(function(){return Xe})),e.d(n,"vun",(function(){return Qe})),e.d(n,"wa",(function(){return tr})),e.d(n,"wae",(function(){return nr})),e.d(n,"wo",(function(){return er})),e.d(n,"xh",(function(){return rr})),e.d(n,"xog",(function(){return ir})),e.d(n,"yi",(function(){return or})),e.d(n,"yo",(function(){return sr})),e.d(n,"yue",(function(){return ur})),e.d(n,"zh",(function(){return cr})),e.d(n,"zu",(function(){return ar}));const r="zero",i="one",o="two",s="few",u="many",c="other",a={cardinal:[i,c],ordinal:[c]},f={cardinal:[c],ordinal:[c]},l={cardinal:[i,s,u,c],ordinal:[c]},d={cardinal:[i,c],ordinal:[i,c]},h={cardinal:[i,o,c],ordinal:[c]},p=f,m=a,g=a,y=a,b=a,w={cardinal:[r,i,o,s,u,c],ordinal:[c]},v={cardinal:[r,i,o,s,u,c],ordinal:[c]},x={cardinal:[i,c],ordinal:[i,o,s,u,c]},k=a,S=a,E={cardinal:[i,c],ordinal:[i,s,u,c]},O={cardinal:[i,s,u,c],ordinal:[s,c]},C=a,_=a,T=a,N=a,j=f,R={cardinal:[i,c],ordinal:[i,o,s,u,c]},A=f,F={cardinal:[i,o,s,u,c],ordinal:[c]},P=a,L={cardinal:[i,s,c],ordinal:[c]},B={cardinal:[i,c],ordinal:[i,o,s,c]},$=a,D=a,q=a,I=a,z=a,M=l,U={cardinal:[r,i,o,s,u,c],ordinal:[r,i,o,s,u,c]},H=a,J=a,W={cardinal:[i,o,s,c],ordinal:[c]},G=a,Z=f,V=a,K=a,Y={cardinal:[i,c],ordinal:[i,o,s,c]},X=a,Q=a,tt=a,nt=a,et=a,rt=a,it=a,ot=d,st=a,ut=d,ct=a,at=a,ft={cardinal:[i,o,s,u,c],ordinal:[i,c]},lt={cardinal:[i,o,s,c],ordinal:[i,o,s,c]},dt=a,ht=a,pt={cardinal:[i,c],ordinal:[i,o,s,u,c]},mt=a,gt={cardinal:[i,o,s,u,c],ordinal:[c]},yt=a,bt=a,wt={cardinal:[i,o,u,c],ordinal:[c]},vt={cardinal:[i,c],ordinal:[i,o,s,u,c]},xt={cardinal:[i,s,c],ordinal:[c]},kt={cardinal:[i,o,s,c],ordinal:[c]},St=d,Et=d,Ot=a,Ct=f,_t=f,Tt=f,Nt=a,jt=a,Rt={cardinal:[i,c],ordinal:[u,c]},At=h,Ft={cardinal:[i,o,u,c],ordinal:[c]},Pt=f,Lt=f,Bt=a,$t=a,Dt=a,qt=f,It=f,zt={cardinal:[i,c],ordinal:[i,u,c]},Mt=a,Ut=a,Ht=a,Jt=f,Wt=f,Gt={cardinal:[i,c],ordinal:[u,c]},Zt=a,Vt=a,Kt=f,Yt=a,Xt=f,Qt=a,tn=a,nn={cardinal:[r,i,c],ordinal:[c]},en=a,rn={cardinal:[r,i,o,s,u,c],ordinal:[i,u,c]},on=a,sn={cardinal:[r,i,c],ordinal:[c]},un=a,cn=a,an=f,fn=a,ln={cardinal:[c],ordinal:[i,c]},dn=l,hn={cardinal:[r,i,c],ordinal:[c]},pn=a,mn=a,gn=a,yn={cardinal:[i,c],ordinal:[i,o,u,c]},bn=a,wn=a,vn={cardinal:[i,s,c],ordinal:[i,c]},xn={cardinal:[i,c],ordinal:[i,o,s,c]},kn={cardinal:[c],ordinal:[i,c]},Sn=l,En=f,On=a,Cn=h,_n=a,Tn=a,Nn=d,jn=a,Rn=a,An=a,Fn=a,Pn=f,Ln=a,Bn=a,$n=a,Dn=a,qn=a,In={cardinal:[i,c],ordinal:[i,o,s,u,c]},zn=a,Mn=f,Un=a,Hn=a,Jn=l,Wn={cardinal:[r,i,c],ordinal:[c]},Gn=a,Zn=a,Vn=a,Kn=a,Yn={cardinal:[i,s,c],ordinal:[i,c]},Xn=a,Qn=f,te=l,ne=a,ee=f,re=a,ie={cardinal:[i,c],ordinal:[u,c]},oe={cardinal:[i,c],ordinal:[u,c]},se=a,ue=a,ce=h,ae=a,fe=f,le=f,de={cardinal:[i,s,c],ordinal:[c]},he={cardinal:[i,s,c],ordinal:[c]},pe=a,me=l,ge={cardinal:[i,o,s,c],ordinal:[c]},ye=h,be=h,we=h,ve=h,xe=h,ke=a,Se=a,Ee={cardinal:[i,c],ordinal:[i,u,c]},Oe={cardinal:[i,s,c],ordinal:[c]},Ce=a,_e=a,Te=a,Ne=f,je=d,Re=a,Ae=a,Fe=a,Pe=a,Le=a,Be=f,$e=a,De=a,qe={cardinal:[i,c],ordinal:[s,c]},Ie=d,ze=a,Me=f,Ue=a,He=a,Je=a,We=a,Ge={cardinal:[i,s,u,c],ordinal:[s,c]},Ze=a,Ve=a,Ke=a,Ye={cardinal:[c],ordinal:[i,c]},Xe=a,Qe=a,tr=a,nr=a,er=f,rr=a,ir=a,or=a,sr=f,ur=f,cr=f,ar=a},function(t,n,e){"use strict";function r(t,n){return n?"other":1==t?"one":"other"}function i(t,n){return n?"other":0==t||1==t?"one":"other"}function o(t,n){var e=!String(t).split(".")[1];return n?"other":1==t&&e?"one":"other"}function s(t,n){return"other"}function u(t,n){return n?"other":1==t?"one":2==t?"two":"other"}e.r(n),e.d(n,"_in",(function(){return c})),e.d(n,"af",(function(){return a})),e.d(n,"ak",(function(){return f})),e.d(n,"am",(function(){return l})),e.d(n,"an",(function(){return d})),e.d(n,"ar",(function(){return h})),e.d(n,"ars",(function(){return p})),e.d(n,"as",(function(){return m})),e.d(n,"asa",(function(){return g})),e.d(n,"ast",(function(){return y})),e.d(n,"az",(function(){return b})),e.d(n,"be",(function(){return w})),e.d(n,"bem",(function(){return v})),e.d(n,"bez",(function(){return x})),e.d(n,"bg",(function(){return k})),e.d(n,"bho",(function(){return S})),e.d(n,"bm",(function(){return E})),e.d(n,"bn",(function(){return O})),e.d(n,"bo",(function(){return C})),e.d(n,"br",(function(){return _})),e.d(n,"brx",(function(){return T})),e.d(n,"bs",(function(){return N})),e.d(n,"ca",(function(){return j})),e.d(n,"ce",(function(){return R})),e.d(n,"ceb",(function(){return A})),e.d(n,"cgg",(function(){return F})),e.d(n,"chr",(function(){return P})),e.d(n,"ckb",(function(){return L})),e.d(n,"cs",(function(){return B})),e.d(n,"cy",(function(){return $})),e.d(n,"da",(function(){return D})),e.d(n,"de",(function(){return q})),e.d(n,"dsb",(function(){return I})),e.d(n,"dv",(function(){return z})),e.d(n,"dz",(function(){return M})),e.d(n,"ee",(function(){return U})),e.d(n,"el",(function(){return H})),e.d(n,"en",(function(){return J})),e.d(n,"eo",(function(){return W})),e.d(n,"es",(function(){return G})),e.d(n,"et",(function(){return Z})),e.d(n,"eu",(function(){return V})),e.d(n,"fa",(function(){return K})),e.d(n,"ff",(function(){return Y})),e.d(n,"fi",(function(){return X})),e.d(n,"fil",(function(){return Q})),e.d(n,"fo",(function(){return tt})),e.d(n,"fr",(function(){return nt})),e.d(n,"fur",(function(){return et})),e.d(n,"fy",(function(){return rt})),e.d(n,"ga",(function(){return it})),e.d(n,"gd",(function(){return ot})),e.d(n,"gl",(function(){return st})),e.d(n,"gsw",(function(){return ut})),e.d(n,"gu",(function(){return ct})),e.d(n,"guw",(function(){return at})),e.d(n,"gv",(function(){return ft})),e.d(n,"ha",(function(){return lt})),e.d(n,"haw",(function(){return dt})),e.d(n,"he",(function(){return ht})),e.d(n,"hi",(function(){return pt})),e.d(n,"hr",(function(){return mt})),e.d(n,"hsb",(function(){return gt})),e.d(n,"hu",(function(){return yt})),e.d(n,"hy",(function(){return bt})),e.d(n,"ia",(function(){return wt})),e.d(n,"id",(function(){return vt})),e.d(n,"ig",(function(){return xt})),e.d(n,"ii",(function(){return kt})),e.d(n,"io",(function(){return St})),e.d(n,"is",(function(){return Et})),e.d(n,"it",(function(){return Ot})),e.d(n,"iu",(function(){return Ct})),e.d(n,"iw",(function(){return _t})),e.d(n,"ja",(function(){return Tt})),e.d(n,"jbo",(function(){return Nt})),e.d(n,"jgo",(function(){return jt})),e.d(n,"ji",(function(){return Rt})),e.d(n,"jmc",(function(){return At})),e.d(n,"jv",(function(){return Ft})),e.d(n,"jw",(function(){return Pt})),e.d(n,"ka",(function(){return Lt})),e.d(n,"kab",(function(){return Bt})),e.d(n,"kaj",(function(){return $t})),e.d(n,"kcg",(function(){return Dt})),e.d(n,"kde",(function(){return qt})),e.d(n,"kea",(function(){return It})),e.d(n,"kk",(function(){return zt})),e.d(n,"kkj",(function(){return Mt})),e.d(n,"kl",(function(){return Ut})),e.d(n,"km",(function(){return Ht})),e.d(n,"kn",(function(){return Jt})),e.d(n,"ko",(function(){return Wt})),e.d(n,"ks",(function(){return Gt})),e.d(n,"ksb",(function(){return Zt})),e.d(n,"ksh",(function(){return Vt})),e.d(n,"ku",(function(){return Kt})),e.d(n,"kw",(function(){return Yt})),e.d(n,"ky",(function(){return Xt})),e.d(n,"lag",(function(){return Qt})),e.d(n,"lb",(function(){return tn})),e.d(n,"lg",(function(){return nn})),e.d(n,"lkt",(function(){return en})),e.d(n,"ln",(function(){return rn})),e.d(n,"lo",(function(){return on})),e.d(n,"lt",(function(){return sn})),e.d(n,"lv",(function(){return un})),e.d(n,"mas",(function(){return cn})),e.d(n,"mg",(function(){return an})),e.d(n,"mgo",(function(){return fn})),e.d(n,"mk",(function(){return ln})),e.d(n,"ml",(function(){return dn})),e.d(n,"mn",(function(){return hn})),e.d(n,"mo",(function(){return pn})),e.d(n,"mr",(function(){return mn})),e.d(n,"ms",(function(){return gn})),e.d(n,"mt",(function(){return yn})),e.d(n,"my",(function(){return bn})),e.d(n,"nah",(function(){return wn})),e.d(n,"naq",(function(){return vn})),e.d(n,"nb",(function(){return xn})),e.d(n,"nd",(function(){return kn})),e.d(n,"ne",(function(){return Sn})),e.d(n,"nl",(function(){return En})),e.d(n,"nn",(function(){return On})),e.d(n,"nnh",(function(){return Cn})),e.d(n,"no",(function(){return _n})),e.d(n,"nqo",(function(){return Tn})),e.d(n,"nr",(function(){return Nn})),e.d(n,"nso",(function(){return jn})),e.d(n,"ny",(function(){return Rn})),e.d(n,"nyn",(function(){return An})),e.d(n,"om",(function(){return Fn})),e.d(n,"or",(function(){return Pn})),e.d(n,"os",(function(){return Ln})),e.d(n,"osa",(function(){return Bn})),e.d(n,"pa",(function(){return $n})),e.d(n,"pap",(function(){return Dn})),e.d(n,"pl",(function(){return qn})),e.d(n,"prg",(function(){return In})),e.d(n,"ps",(function(){return zn})),e.d(n,"pt",(function(){return Mn})),e.d(n,"pt_PT",(function(){return Un})),e.d(n,"rm",(function(){return Hn})),e.d(n,"ro",(function(){return Jn})),e.d(n,"rof",(function(){return Wn})),e.d(n,"root",(function(){return Gn})),e.d(n,"ru",(function(){return Zn})),e.d(n,"rwk",(function(){return Vn})),e.d(n,"sah",(function(){return Kn})),e.d(n,"saq",(function(){return Yn})),e.d(n,"sc",(function(){return Xn})),e.d(n,"scn",(function(){return Qn})),e.d(n,"sd",(function(){return te})),e.d(n,"sdh",(function(){return ne})),e.d(n,"se",(function(){return ee})),e.d(n,"seh",(function(){return re})),e.d(n,"ses",(function(){return ie})),e.d(n,"sg",(function(){return oe})),e.d(n,"sh",(function(){return se})),e.d(n,"shi",(function(){return ue})),e.d(n,"si",(function(){return ce})),e.d(n,"sk",(function(){return ae})),e.d(n,"sl",(function(){return fe})),e.d(n,"sma",(function(){return le})),e.d(n,"smi",(function(){return de})),e.d(n,"smj",(function(){return he})),e.d(n,"smn",(function(){return pe})),e.d(n,"sms",(function(){return me})),e.d(n,"sn",(function(){return ge})),e.d(n,"so",(function(){return ye})),e.d(n,"sq",(function(){return be})),e.d(n,"sr",(function(){return we})),e.d(n,"ss",(function(){return ve})),e.d(n,"ssy",(function(){return xe})),e.d(n,"st",(function(){return ke})),e.d(n,"su",(function(){return Se})),e.d(n,"sv",(function(){return Ee})),e.d(n,"sw",(function(){return Oe})),e.d(n,"syr",(function(){return Ce})),e.d(n,"ta",(function(){return _e})),e.d(n,"te",(function(){return Te})),e.d(n,"teo",(function(){return Ne})),e.d(n,"th",(function(){return je})),e.d(n,"ti",(function(){return Re})),e.d(n,"tig",(function(){return Ae})),e.d(n,"tk",(function(){return Fe})),e.d(n,"tl",(function(){return Pe})),e.d(n,"tn",(function(){return Le})),e.d(n,"to",(function(){return Be})),e.d(n,"tr",(function(){return $e})),e.d(n,"ts",(function(){return De})),e.d(n,"tzm",(function(){return qe})),e.d(n,"ug",(function(){return Ie})),e.d(n,"uk",(function(){return ze})),e.d(n,"ur",(function(){return Me})),e.d(n,"uz",(function(){return Ue})),e.d(n,"ve",(function(){return He})),e.d(n,"vi",(function(){return Je})),e.d(n,"vo",(function(){return We})),e.d(n,"vun",(function(){return Ge})),e.d(n,"wa",(function(){return Ze})),e.d(n,"wae",(function(){return Ve})),e.d(n,"wo",(function(){return Ke})),e.d(n,"xh",(function(){return Ye})),e.d(n,"xog",(function(){return Xe})),e.d(n,"yi",(function(){return Qe})),e.d(n,"yo",(function(){return tr})),e.d(n,"yue",(function(){return nr})),e.d(n,"zh",(function(){return er})),e.d(n,"zu",(function(){return rr}));const c=s,a=r,f=i;function l(t,n){return n?"other":t>=0&&t<=1?"one":"other"}const d=r;function h(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return n?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"}function p(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return n?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"}function m(t,n){return n?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}const g=r,y=o;function b(t,n){var e=String(t).split(".")[0],r=e.slice(-1),i=e.slice(-2),o=e.slice(-3);return n?1==r||2==r||5==r||7==r||8==r||20==i||50==i||70==i||80==i?"one":3==r||4==r||100==o||200==o||300==o||400==o||500==o||600==o||700==o||800==o||900==o?"few":0==e||6==r||40==i||60==i||90==i?"many":"other":1==t?"one":"other"}function w(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return n?2!=i&&3!=i||12==o||13==o?"other":"few":1==i&&11!=o?"one":i>=2&&i<=4&&(o<12||o>14)?"few":r&&0==i||i>=5&&i<=9||o>=11&&o<=14?"many":"other"}const v=r,x=r,k=r,S=i,E=s;function O(t,n){return n?1==t||5==t||7==t||8==t||9==t||10==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}const C=s;function _(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2),s=r&&e[0].slice(-6);return n?"other":1==i&&11!=o&&71!=o&&91!=o?"one":2==i&&12!=o&&72!=o&&92!=o?"two":(3==i||4==i||9==i)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":0!=t&&r&&0==s?"many":"other"}const T=r;function N(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}function j(t,n){var e=!String(t).split(".")[1];return n?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&e?"one":"other"}const R=r;function A(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=i.slice(-1);return n?"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"}const F=r,P=r,L=r;function B(t,n){var e=String(t).split("."),r=e[0],i=!e[1];return n?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"}function $(t,n){return n?0==t||7==t||8==t||9==t?"zero":1==t?"one":2==t?"two":3==t||4==t?"few":5==t||6==t?"many":"other":0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other"}function D(t,n){var e=String(t).split("."),r=e[0],i=Number(e[0])==t;return n||1!=t&&(i||0!=r&&1!=r)?"other":"one"}const q=o;function I(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-2),u=i.slice(-2);return n?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"}const z=r,M=s,U=r,H=r;function J(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2);return n?1==o&&11!=s?"one":2==o&&12!=s?"two":3==o&&13!=s?"few":"other":1==t&&r?"one":"other"}const W=r,G=r,Z=o,V=r;function K(t,n){return n?"other":t>=0&&t<=1?"one":"other"}function Y(t,n){return n?"other":t>=0&&t<2?"one":"other"}const X=o;function Q(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=i.slice(-1);return n?1==t?"one":"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"}const tt=r;function nt(t,n){return n?1==t?"one":"other":t>=0&&t<2?"one":"other"}const et=r,rt=o;function it(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"}function ot(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?1==t||11==t?"one":2==t||12==t?"two":3==t||13==t?"few":"other":1==t||11==t?"one":2==t||12==t?"two":r&&t>=3&&t<=10||r&&t>=13&&t<=19?"few":"other"}const st=o,ut=r;function ct(t,n){return n?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}const at=i;function ft(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-1),s=r.slice(-2);return n?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?i?"other":"many":"few"}const lt=r,dt=r;function ht(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=Number(e[0])==t,s=o&&e[0].slice(-1);return n?"other":1==t&&i?"one":2==r&&i?"two":i&&(t<0||t>10)&&o&&0==s?"many":"other"}function pt(t,n){return n?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other"}function mt(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}function gt(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-2),u=i.slice(-2);return n?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"}function yt(t,n){return n?1==t||5==t?"one":"other":1==t?"one":"other"}function bt(t,n){return n?1==t?"one":"other":t>=0&&t<2?"one":"other"}const wt=o,vt=s,xt=s,kt=s,St=o;function Et(t,n){var e=String(t).split("."),r=e[0],i=Number(e[0])==t,o=r.slice(-1),s=r.slice(-2);return n?"other":i&&1==o&&11!=s||!i?"one":"other"}function Ot(t,n){var e=!String(t).split(".")[1];return n?11==t||8==t||80==t||800==t?"many":"other":1==t&&e?"one":"other"}const Ct=u;function _t(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=Number(e[0])==t,s=o&&e[0].slice(-1);return n?"other":1==t&&i?"one":2==r&&i?"two":i&&(t<0||t>10)&&o&&0==s?"many":"other"}const Tt=s,Nt=s,jt=r,Rt=o,At=r,Ft=s,Pt=s;function Lt(t,n){var e=String(t).split(".")[0],r=e.slice(-2);return n?1==e?"one":0==e||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"}function Bt(t,n){return n?"other":t>=0&&t<2?"one":"other"}const $t=r,Dt=r,qt=s,It=s;function zt(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1);return n?6==i||9==i||r&&0==i&&0!=t?"many":"other":1==t?"one":"other"}const Mt=r,Ut=r,Ht=s;function Jt(t,n){return n?"other":t>=0&&t<=1?"one":"other"}const Wt=s,Gt=r,Zt=r;function Vt(t,n){return n?"other":0==t?"zero":1==t?"one":"other"}const Kt=r;function Yt(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-2),o=r&&e[0].slice(-3),s=r&&e[0].slice(-5),u=r&&e[0].slice(-6);return n?r&&t>=1&&t<=4||i>=1&&i<=4||i>=21&&i<=24||i>=41&&i<=44||i>=61&&i<=64||i>=81&&i<=84?"one":5==t||5==i?"many":"other":0==t?"zero":1==t?"one":2==i||22==i||42==i||62==i||82==i||r&&0==o&&(s>=1e3&&s<=2e4||4e4==s||6e4==s||8e4==s)||0!=t&&1e5==u?"two":3==i||23==i||43==i||63==i||83==i?"few":1==t||1!=i&&21!=i&&41!=i&&61!=i&&81!=i?"other":"many"}const Xt=r;function Qt(t,n){var e=String(t).split(".")[0];return n?"other":0==t?"zero":0!=e&&1!=e||0==t?"other":"one"}const tn=r,nn=r,en=s,rn=i;function on(t,n){return n&&1==t?"one":"other"}function sn(t,n){var e=String(t).split("."),r=e[1]||"",i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2);return n?"other":1==o&&(s<11||s>19)?"one":o>=2&&o<=9&&(s<11||s>19)?"few":0!=r?"many":"other"}function un(t,n){var e=String(t).split("."),r=e[1]||"",i=r.length,o=Number(e[0])==t,s=o&&e[0].slice(-1),u=o&&e[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return n?"other":o&&0==s||u>=11&&u<=19||2==i&&c>=11&&c<=19?"zero":1==s&&11!=u||2==i&&1==a&&11!=c||2!=i&&1==a?"one":"other"}const cn=r,an=i,fn=r;function ln(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?1==s&&11!=u?"one":2==s&&12!=u?"two":7!=s&&8!=s||17==u||18==u?"other":"many":o&&1==s&&11!=u||1==c&&11!=a?"one":"other"}const dn=r,hn=r;function pn(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t&&e[0].slice(-2);return n?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"}function mn(t,n){return n?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other"}function gn(t,n){return n&&1==t?"one":"other"}function yn(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-2);return n?"other":1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"}const bn=s,wn=r,vn=u,xn=r,kn=r;function Sn(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"}const En=o,On=r,Cn=r,_n=r,Tn=s,Nn=r,jn=i,Rn=r,An=r,Fn=r;function Pn(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?1==t||5==t||r&&t>=7&&t<=9?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":1==t?"one":"other"}const Ln=r,Bn=s,$n=i,Dn=r;function qn(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-1),s=r.slice(-2);return n?"other":1==t&&i?"one":i&&o>=2&&o<=4&&(s<12||s>14)?"few":i&&1!=r&&(0==o||1==o)||i&&o>=5&&o<=9||i&&s>=12&&s<=14?"many":"other"}function In(t,n){var e=String(t).split("."),r=e[1]||"",i=r.length,o=Number(e[0])==t,s=o&&e[0].slice(-1),u=o&&e[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return n?"other":o&&0==s||u>=11&&u<=19||2==i&&c>=11&&c<=19?"zero":1==s&&11!=u||2==i&&1==a&&11!=c||2!=i&&1==a?"one":"other"}const zn=r;function Mn(t,n){var e=String(t).split(".")[0];return n?"other":0==e||1==e?"one":"other"}const Un=o,Hn=r;function Jn(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t&&e[0].slice(-2);return n?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"}const Wn=r,Gn=s;function Zn(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-1),s=r.slice(-2);return n?"other":i&&1==o&&11!=s?"one":i&&o>=2&&o<=4&&(s<12||s>14)?"few":i&&0==o||i&&o>=5&&o<=9||i&&s>=11&&s<=14?"many":"other"}const Vn=r,Kn=s,Yn=r;function Xn(t,n){var e=!String(t).split(".")[1];return n?11==t||8==t||80==t||800==t?"many":"other":1==t&&e?"one":"other"}function Qn(t,n){var e=!String(t).split(".")[1];return n?11==t||8==t||80==t||800==t?"many":"other":1==t&&e?"one":"other"}const te=r,ne=r,ee=u,re=r,ie=s,oe=s;function se(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}function ue(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"}function ce(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"";return n?"other":0==t||1==t||0==r&&1==i?"one":"other"}function ae(t,n){var e=String(t).split("."),r=e[0],i=!e[1];return n?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"}function fe(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=r.slice(-2);return n?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"}const le=u,de=u,he=u,pe=u,me=u,ge=r,ye=r;function be(t,n){var e=String(t).split("."),r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return n?1==t?"one":4==i&&14!=o?"many":"other":1==t?"one":"other"}function we(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return n?"other":o&&1==s&&11!=u||1==c&&11!=a?"one":o&&s>=2&&s<=4&&(u<12||u>14)||c>=2&&c<=4&&(a<12||a>14)?"few":"other"}const ve=r,xe=r,ke=r,Se=s;function Ee(t,n){var e=String(t).split("."),r=!e[1],i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2);return n?1!=o&&2!=o||11==s||12==s?"other":"one":1==t&&r?"one":"other"}const Oe=o,Ce=r,_e=r,Te=r,Ne=r,je=s,Re=i,Ae=r;function Fe(t,n){var e=String(t).split("."),r=Number(e[0])==t&&e[0].slice(-1);return n?6==r||9==r||10==t?"few":"other":1==t?"one":"other"}function Pe(t,n){var e=String(t).split("."),r=e[0],i=e[1]||"",o=!e[1],s=r.slice(-1),u=i.slice(-1);return n?1==t?"one":"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"}const Le=r,Be=s,$e=r,De=r;function qe(t,n){var e=String(t).split("."),r=Number(e[0])==t;return n?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"}const Ie=r;function ze(t,n){var e=String(t).split("."),r=e[0],i=!e[1],o=Number(e[0])==t,s=o&&e[0].slice(-1),u=o&&e[0].slice(-2),c=r.slice(-1),a=r.slice(-2);return n?3==s&&13!=u?"few":"other":i&&1==c&&11!=a?"one":i&&c>=2&&c<=4&&(a<12||a>14)?"few":i&&0==c||i&&c>=5&&c<=9||i&&a>=11&&a<=14?"many":"other"}const Me=o,Ue=r,He=r;function Je(t,n){return n&&1==t?"one":"other"}const We=r,Ge=r,Ze=i,Ve=r,Ke=s,Ye=r,Xe=r,Qe=o,tr=s,nr=s,er=s;function rr(t,n){return n?"other":t>=0&&t<=1?"one":"other"}},function(t,n){var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,n){return t<<n|t>>>32-n},rotr:function(t,n){return t<<32-n|t>>>n},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var n=0;n<t.length;n++)t[n]=r.endian(t[n]);return t},randomBytes:function(t){for(var n=[];t>0;t--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(t){for(var n=[],e=0,r=0;e<t.length;e++,r+=8)n[r>>>5]|=t[e]<<24-r%32;return n},wordsToBytes:function(t){for(var n=[],e=0;e<32*t.length;e+=8)n.push(t[e>>>5]>>>24-e%32&255);return n},bytesToHex:function(t){for(var n=[],e=0;e<t.length;e++)n.push((t[e]>>>4).toString(16)),n.push((15&t[e]).toString(16));return n.join("")},hexToBytes:function(t){for(var n=[],e=0;e<t.length;e+=2)n.push(parseInt(t.substr(e,2),16));return n},bytesToBase64:function(t){for(var n=[],r=0;r<t.length;r+=3)for(var i=t[r]<<16|t[r+1]<<8|t[r+2],o=0;o<4;o++)8*r+6*o<=8*t.length?n.push(e.charAt(i>>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&n.push((e.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|e.indexOf(t.charAt(r))>>>6-2*i);return n}},t.exports=r},function(t,n){function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
|
2
2
|
/*!
|
|
3
3
|
* Determine if an object is a Buffer
|
|
4
4
|
*
|
|
5
5
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
6
6
|
* @license MIT
|
|
7
7
|
*/
|
|
8
|
-
t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,n,e){"use strict";e.r(n),e.d(n,"generateKey",(function(){return
|
|
8
|
+
t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,n,e){"use strict";e.r(n),e.d(n,"generateKey",(function(){return p})),e.d(n,"generateHashedKey",(function(){return m})),e.d(n,"escape",(function(){return g})),e.d(n,"isString",(function(){return y})),e.d(n,"normalizeLocale",(function(){return b})),e.d(n,"isPluralized",(function(){return k})),e.d(n,"FETCHING_TRANSLATIONS",(function(){return S})),e.d(n,"TRANSLATIONS_FETCHED",(function(){return E})),e.d(n,"TRANSLATIONS_FETCH_FAILED",(function(){return O})),e.d(n,"LOCALE_CHANGED",(function(){return C})),e.d(n,"FETCHING_LOCALES",(function(){return _})),e.d(n,"LOCALES_FETCHED",(function(){return T})),e.d(n,"LOCALES_FETCH_FAILED",(function(){return N})),e.d(n,"onEvent",(function(){return R})),e.d(n,"offEvent",(function(){return A})),e.d(n,"sendEvent",(function(){return F})),e.d(n,"PseudoTranslationPolicy",(function(){return L})),e.d(n,"SourceStringPolicy",(function(){return B})),e.d(n,"SourceErrorPolicy",(function(){return $})),e.d(n,"ThrowErrorPolicy",(function(){return D})),e.d(n,"MessageFormatRenderer",(function(){return q})),e.d(n,"tx",(function(){return I})),e.d(n,"t",(function(){return z}));var r=e(7),i=e.n(r);class o{constructor(){this.translationsByLocale={}}update(t,n){this.translationsByLocale[t]||(this.translationsByLocale[t]={}),Object.assign(this.translationsByLocale[t],n)}getTranslations(t){return this.translationsByLocale[t]||{}}hasTranslations(t){return!!this.translationsByLocale[t]}isStale(t){return!this.hasTranslations(t)}get(t,n){return this.getTranslations(n)[t]||""}}class s{handle(t,n,e,r){return n}}class u{handle(t,n){return t}}var c=e(8),a=e.n(c);const f={};class l{render(t,n,e){const r=(n||"").split("_")[0];if(!f[r])try{f[r]=new a.a(r)}catch(t){f[r]=new a.a}return f[r].compile(t)(e)}}var d=e(21),h=e.n(d);function p(t,n={}){return n._key?n._key:n._context?`${t}::${n._context}`:""+t}function m(t,n={}){if(n._key)return n._key;let e="";return n._context&&(e=n._context,e=e.replace(/,/g,":")),h()(`5:${t}:${e}`)}function g(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function y(t){return"[object String]"===Object.prototype.toString.call(t)}function b(t){const n=t.split("-");let e;return e=1===n.length?t:[n[0],n[1].toUpperCase()].join("_"),e}const w=["zero","one","two","few","many","other"];function v(t){const n=t.indexOf("{");if(-1===n)return[null,null];let e=t.substring(0,n).trim();if("="===e[0]){if(e=e.substring(1),Number.isNaN(parseInt(e,10))||parseInt(e,10)!==parseFloat(e))return[null,null];if(e=parseInt(e,10),e=w[e],void 0===e)return[null,null]}else if(-1===w.indexOf(e))return[null,null];return[e,t.substring(n)]}function x(t){let[n,e]=[0,!1],r=0;for(;r<t.length;){const i=t[r];if("'"===i){const n=t[r+1];"'"===n?r+=1:e?e=!1:"{"!==n&&"}"!==n||(e=!0)}else if("{"===i)e||(n+=1);else if("}"===i&&(e||(n-=1),0===n))return[t.substring(1,r),t.substring(r+1).trim()];r+=1}return[null,null]}function k(t){const[n,e]=function(t){if(!(t.length>1&&"{"===t[0]&&"}"===t[t.length-1]))return[null,null];const n=t.indexOf(",");if(-1===n)return[null,null];const e=t.indexOf(",",n+1);if(-1===e)return[null,null];const r=t.substring(1,n).trim();return"plural"!==t.substring(n+1,e).trim()?[null,null]:[r,t.substring(e+1,t.length-1).trim()]}(t);let r=e;if(null==n)return!1;const i={};let o,s;if([o,r]=v(r),null==o)return!1;if([s,r]=x(r.trim()),null==s)return!1;for(i[o]=s;r.trim();){if([o,r]=v(r.trim()),null==o)return!1;if([s,r]=x(r.trim()),null==s)return!1;i[o]=s}return(1!==Object.keys(i).length||"other"in i)&&"one"in i&&"other"in i}const S="FETCHING_TRANSLATIONS",E="TRANSLATIONS_FETCHED",O="TRANSLATIONS_FETCH_FAILED",C="LOCALE_CHANGED",_="FETCHING_LOCALES",T="LOCALES_FETCHED",N="LOCALES_FETCH_FAILED",j={};function R(t,n){j[t]=j[t]||[],j[t].push(n)}function A(t,n){const e=j[t]||[],r=e.indexOf(n);-1!==r&&e.splice(r,1)}function F(t,n,e){(j[t]||[]).forEach(t=>{t(n,e)})}const P={a:"ȧ",A:"Ȧ",b:"ƀ",B:"Ɓ",c:"ƈ",C:"Ƈ",d:"ḓ",D:"Ḓ",e:"ḗ",E:"Ḗ",f:"ƒ",F:"Ƒ",g:"ɠ",G:"Ɠ",h:"ħ",H:"Ħ",i:"ī",I:"Ī",j:"ĵ",J:"Ĵ",k:"ķ",K:"Ķ",l:"ŀ",L:"Ŀ",m:"ḿ",M:"Ḿ",n:"ƞ",N:"Ƞ",o:"ǿ",O:"Ǿ",p:"ƥ",P:"Ƥ",q:"ɋ",Q:"Ɋ",r:"ř",R:"Ř",s:"ş",S:"Ş",t:"ŧ",T:"Ŧ",v:"ṽ",V:"Ṽ",u:"ŭ",U:"Ŭ",w:"ẇ",W:"Ẇ",x:"ẋ",X:"Ẋ",y:"ẏ",Y:"Ẏ",z:"ẑ",Z:"Ẑ"};const L=class{handle(t,n){return t.split(/__txnative__/).map(t=>{let n="";for(let e=0;e<t.length;e+=1){const r=t.charAt(e);if(P[r]){const t=r.toLowerCase();n+="a"===t||"e"===t||"o"===t||"u"===t?P[r]+P[r]:P[r]}else n+=r}return n}).join("__txnative__")}},B=u,$=s,D=class{handle(t,n,e,r){throw t||new Error(`Error translating "${n}"`)}},q=l,I=new class{constructor(){this.cdsHost="https://cds.svc.transifex.net",this.token="",this.secret="",this.filterTags="",this.cache=new o,this.missingPolicy=new u,this.errorPolicy=new s,this.stringRenderer=new l,this.currentLocale="",this.locales=[],this.languages=[]}init(t){const n=this;["cdsHost","token","secret","cache","filterTags","missingPolicy","errorPolicy","stringRenderer","currentLocale"].forEach(e=>{void 0!==t[e]&&(n[e]=t[e])}),this.fetchedTags={}}translate(t,n){return this.translateLocale(this.currentLocale,t,n)}translateLocale(t,n,e){try{let r=this.cache.get(p(n,e),t);if(r||(r=this.cache.get(m(n,e),t)),r&&r.startsWith("{???")&&k(n)){r=`{${n.substring(1,n.indexOf(",")).trim()}${r.substring(4)}`}let i=!1;if(r||(i=!0,r=n),e&&e._escapeVars){const n={};Object.keys(e).forEach(t=>{const r=e[t];n[t]=y(r)?g(r):r}),r=this.stringRenderer.render(r,t,n)}else r=this.stringRenderer.render(r,t,e);return i&&t&&(r=this.missingPolicy.handle(r,t)),y(r)||(r=""+r),r}catch(r){return this.errorPolicy.handle(r,""+n,t,e)}}async fetchTranslations(t,n={}){const e=n.filterTags||this.filterTags;if(n.refresh||this.cache.isStale(t)||!(!e&&this.cache.hasTranslations(t)||e&&-1!==(this.fetchedTags[t]||[]).indexOf(e))){e&&(t in this.fetchedTags||(this.fetchedTags[t]=[]),-1===this.fetchedTags[t].indexOf(e)&&this.fetchedTags[t].push(e));try{let n;F(S,{localeCode:t,filterTags:e},this);let r=202;for(;202===r;){let o=`${this.cdsHost}/content/${t}`;e&&(o=`${o}?filter[tags]=${e}`),n=await i.a.get(o,{headers:{Authorization:"Bearer "+this.token,"Accept-version":"v2","X-NATIVE-SDK":"txjs/node/2.2.0-alpha.0"}}),r=n.status}const{data:o}=n;if(!o||!o.data)throw F(O,{localeCode:t,filterTags:e},this),new Error("Could not fetch translations");{const n={};Object.keys(o.data).forEach(t=>{o.data[t].string&&(n[t]=o.data[t].string)}),this.cache.update(t,n),F(E,{localeCode:t,filterTags:e},this)}}catch(n){throw F(O,{localeCode:t,filterTags:e},this),n}}}async getLocales(t={}){if(!!!t.refresh&&this.locales.length>0)return[...this.locales];if(!this.token)return[];try{let t;F(_,null,this);let n=202;for(;202===n;)t=await i.a.get(this.cdsHost+"/languages",{headers:{Authorization:"Bearer "+this.token,"Accept-version":"v2","X-NATIVE-SDK":"txjs/node/2.2.0-alpha.0"}}),n=t.status;const{data:e}=t;if(!e||!e.data)throw F(N,null,this),new Error("Could not fetch languages");this.languages=e.data,this.locales=this.languages.map(t=>t.code),F(T,null,this)}catch(t){throw F(N,null,this),t}return[...this.locales]}getCurrentLocale(){return this.currentLocale}isCurrent(t){return t===this.currentLocale}async setCurrentLocale(t){if(!this.isCurrent(t)){if(!t)return this.currentLocale="",void F(C,this.currentLocale,this);await this.fetchTranslations(t),this.currentLocale=t,F(C,t,this)}}async getLanguages(t={}){return await this.getLocales(t),[...this.languages]}},z=I.translate.bind(I)}])}));
|
|
9
9
|
//# sourceMappingURL=node.native.js.map
|