@transifex/native 3.0.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -0
- package/dist/browser.native.js +2 -2
- package/dist/browser.native.js.map +1 -1
- package/dist/node.native.d.ts +20 -0
- package/dist/node.native.js +2 -2
- package/dist/node.native.js.map +1 -1
- package/package.json +1 -1
- package/src/TxNative.js +116 -1
- package/src/index.d.ts +20 -0
- package/src/utils.js +14 -0
package/dist/node.native.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.transifex=e():t.transifex=e()}(global,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=69)}([function(t,e,n){"use strict";var r=n(10),i=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return void 0===t}function u(t){return"[object ArrayBuffer]"===i.call(t)}function c(t){return null!==t&&"object"==typeof t}function a(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===i.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:u,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"[object FormData]"===i.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:a,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:f,isStream:function(t){return c(t)&&f(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===i.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){a(e[r])&&a(n)?e[r]=t(e[r],n):a(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),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,e,n){"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,e,n){"use strict";var r=n(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,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+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,e,n){"use strict";var r=n(0),i=n(28),o=n(4),s=n(5),u={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var a,f={transitional:s,adapter:("undefined"!=typeof XMLHttpRequest?a=n(29):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(a=n(35)),a),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"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)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!n&&"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){f.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){f.headers[t]=r.merge(u)})),t.exports=f},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),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,e,n){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},function(t,e){t.exports={version:"0.26.1"}},function(t,e,n){t.exports=n(23)},function(t,e,n){"use strict";var r=n(53),i=n(64),o=n(65),s=n(66),u=n(20);function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function a(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}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 e=t.match(/.+?(?=[-_])/);return e?e[0]:t}function m(t){if("function"==typeof t){const e=p(t.name);return{isDefault:!1,id:u.identifier(e),lc:e,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}const e=p(t),n=u.identifier(e);return function(t){return t in h}(n)?{isDefault:!0,id:n,lc:e,locale:t,getCardinal:l[n],getPlural:h[n],cardinals:d[n].cardinal,ordinals:d[n].ordinal}:null}function g(t){const e=p(t);return u.identifier(e)in h}class y{constructor(t,e){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},requireAllArguments:!1,returnType:"string",strict:e&&e.strictNumberSign||!1},e),"*"===t)this.plurals=function(t){const e=Object.keys(h).filter(e=>e!==t);return e.unshift(t),e.map(m)}(y.defaultLocale);else if(Array.isArray(t))this.plurals=t.map(m).filter(Boolean);else if(t){const e=m(t);e&&(this.plurals=[e])}if(0===this.plurals.length){const t=m(y.defaultLocale);this.plurals=[t]}}static escape(t,e){const n=e?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")}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 e=new f.default(this.options),n="return "+e.compile(t,this.plurals[0]),r=[],i=[];for(const[t,n]of Object.entries(e.runtime))r.push(t),i.push(n);return new Function(...r,n)(...i)}}y.defaultLocale="en",t.exports=y},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(31),i=n(32);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e){t.exports=require("http")},function(t,e){t.exports=require("https")},function(t,e,n){var r=n(16),i=r.URL,o=n(13),s=n(14),u=n(36).Writable,c=n(37),a=n(38),f=["abort","aborted","connect","error","socket","timeout"],l=Object.create(null);f.forEach((function(t){l[t]=function(e,n,r){this._redirectable.emit(t,e,n,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,e){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=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(t){n._processResponse(t)},this._performRequest()}function y(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach((function(o){var s=o+":",u=n[s]=t[o],f=e[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(e){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:e.maxRedirects,maxBodyLength:e.maxBodyLength},t,o)).nativeProtocols=n,c.equal(o.protocol,s,"protocol mismatch"),a("options",o),new g(o,u)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(t,e,n){var r=f.request(t,e,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),e}function b(){}function w(t){var e={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&&(e.port=Number(t.port)),e}function v(t,e){var n;for(var r in e)t.test(r)&&(n=e[r],delete e[r]);return null==n?void 0:String(n).trim()}function x(t,e){function n(t){Error.captureStackTrace(this,this.constructor),t?(this.message=e+": "+t.message,this.cause=t):this.message=e}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+t+"]",n.prototype.code=t,n}function k(t){for(var e=0;e<f.length;e++)t.removeListener(f[e],l[f[e]]);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,e,n){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 e&&(n=e,e=null),0!==t.length?this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new p),this.abort()):n&&n()},g.prototype.end=function(t,e,n){if("function"==typeof t?(n=t,t=e=null):"function"==typeof e&&(n=e,e=null),t){var r=this,i=this._currentRequest;this.write(t,e,(function(){r._ended=!0,i.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},g.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)},g.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)},g.prototype.setTimeout=function(t,e){var n=this;function r(e){e.setTimeout(t),e.removeListener("timeout",e.destroy),e.addListener("timeout",e.destroy)}function i(e){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),o()}),t),r(e)}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",i)}return e&&this.on("timeout",e),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(e,n){return this._currentRequest[t](e,n)}})),["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 e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}},g.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(e){if(this._options.agents){var n=t.substr(0,t.length-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=e.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(e){if(i===u._currentRequest)if(e)u.emit("error",e);else if(s<c.length){var n=c[s++];i.finished||i.write(n.data,n.encoding,t)}else u._ended&&i.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},g.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var n=t.headers.location;if(!n||!1===this._options.followRedirects||e<300||e>=400)return t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),void(this._requestBodyBuffers=[]);if(k(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new h);else{((301===e||302===e)&&"POST"===this._options.method||303===e&&!/^(?: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(n)?this._currentUrl:r.format(Object.assign(s,{host:u}));try{i=r.resolve(c,n)}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.protocol!==s.protocol&&"https:"!==f.protocol||f.host!==u&&!function(t,e){const n=t.length-e.length-1;return n>0&&"."===t[n]&&t.endsWith(e)}(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))}}},t.exports=y({http:o,https:s}),t.exports.wrap=y},function(t,e){t.exports=require("url")},function(t,e,n){t.exports=function(t){function e(t){let n,i,o,s=null;function u(...t){if(!u.enabled)return;const r=u,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";s++;const o=e.formatters[i];if("function"==typeof o){const e=t[s];n=o.call(r,e),t.splice(s,1),s--}return n}),e.formatArgs.call(r,t);(r.log||e.log).apply(r,t)}return u.namespace=t,u.useColors=e.useColors(),u.color=e.selectColor(t),u.extend=r,u.destroy=e.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==e.namespaces&&(i=e.namespaces,o=e.enabled(t)),o),set:t=>{s=t}}),"function"==typeof e.init&&e.init(u),u}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(i),...e.skips.map(i).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(41),e.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(n=>{e[n]=t[n]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){e=e||{};var n={};function i(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return i(void 0,e[t])}function u(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function c(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):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(e)),(function(t){var e=a[t]||o,i=e(t);r.isUndefined(i)&&e!==c||(n[t]=i)})),n}},function(t,e,n){const r=n(63);t.exports={identifier:function(t,e){e&&(t+=" "+function(t){let e=0;for(let n=0;n<t.length;++n){e=(e<<5)-e+t.charCodeAt(n),e|=0}return e}(t).toString(36));const n=t.trim().replace(/\W+/g,"_");return r.ES3[n]||r.ESnext[n]||/^\d/.test(n)?"_"+n:n},property:function(t,e){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&!r.ES3[e])return t?t+"."+e:e;{const n=JSON.stringify(e);return t?t+"["+n+"]":n}}}},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){var r,i,o,s,u;r=n(67),i=n(21).utf8,o=n(68),s=n(21).bin,(u=function(t,e){t.constructor==String?t=e&&"binary"===e.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 n=r.bytesToWords(t),c=8*t.length,a=1732584193,f=-271733879,l=-1732584194,d=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var p=u._ff,m=u._gg,g=u._hh,y=u._ii;for(h=0;h<n.length;h+=16){var b=a,w=f,v=l,x=d;a=p(a,f,l,d,n[h+0],7,-680876936),d=p(d,a,f,l,n[h+1],12,-389564586),l=p(l,d,a,f,n[h+2],17,606105819),f=p(f,l,d,a,n[h+3],22,-1044525330),a=p(a,f,l,d,n[h+4],7,-176418897),d=p(d,a,f,l,n[h+5],12,1200080426),l=p(l,d,a,f,n[h+6],17,-1473231341),f=p(f,l,d,a,n[h+7],22,-45705983),a=p(a,f,l,d,n[h+8],7,1770035416),d=p(d,a,f,l,n[h+9],12,-1958414417),l=p(l,d,a,f,n[h+10],17,-42063),f=p(f,l,d,a,n[h+11],22,-1990404162),a=p(a,f,l,d,n[h+12],7,1804603682),d=p(d,a,f,l,n[h+13],12,-40341101),l=p(l,d,a,f,n[h+14],17,-1502002290),a=m(a,f=p(f,l,d,a,n[h+15],22,1236535329),l,d,n[h+1],5,-165796510),d=m(d,a,f,l,n[h+6],9,-1069501632),l=m(l,d,a,f,n[h+11],14,643717713),f=m(f,l,d,a,n[h+0],20,-373897302),a=m(a,f,l,d,n[h+5],5,-701558691),d=m(d,a,f,l,n[h+10],9,38016083),l=m(l,d,a,f,n[h+15],14,-660478335),f=m(f,l,d,a,n[h+4],20,-405537848),a=m(a,f,l,d,n[h+9],5,568446438),d=m(d,a,f,l,n[h+14],9,-1019803690),l=m(l,d,a,f,n[h+3],14,-187363961),f=m(f,l,d,a,n[h+8],20,1163531501),a=m(a,f,l,d,n[h+13],5,-1444681467),d=m(d,a,f,l,n[h+2],9,-51403784),l=m(l,d,a,f,n[h+7],14,1735328473),a=g(a,f=m(f,l,d,a,n[h+12],20,-1926607734),l,d,n[h+5],4,-378558),d=g(d,a,f,l,n[h+8],11,-2022574463),l=g(l,d,a,f,n[h+11],16,1839030562),f=g(f,l,d,a,n[h+14],23,-35309556),a=g(a,f,l,d,n[h+1],4,-1530992060),d=g(d,a,f,l,n[h+4],11,1272893353),l=g(l,d,a,f,n[h+7],16,-155497632),f=g(f,l,d,a,n[h+10],23,-1094730640),a=g(a,f,l,d,n[h+13],4,681279174),d=g(d,a,f,l,n[h+0],11,-358537222),l=g(l,d,a,f,n[h+3],16,-722521979),f=g(f,l,d,a,n[h+6],23,76029189),a=g(a,f,l,d,n[h+9],4,-640364487),d=g(d,a,f,l,n[h+12],11,-421815835),l=g(l,d,a,f,n[h+15],16,530742520),a=y(a,f=g(f,l,d,a,n[h+2],23,-995338651),l,d,n[h+0],6,-198630844),d=y(d,a,f,l,n[h+7],10,1126891415),l=y(l,d,a,f,n[h+14],15,-1416354905),f=y(f,l,d,a,n[h+5],21,-57434055),a=y(a,f,l,d,n[h+12],6,1700485571),d=y(d,a,f,l,n[h+3],10,-1894986606),l=y(l,d,a,f,n[h+10],15,-1051523),f=y(f,l,d,a,n[h+1],21,-2054922799),a=y(a,f,l,d,n[h+8],6,1873313359),d=y(d,a,f,l,n[h+15],10,-30611744),l=y(l,d,a,f,n[h+6],15,-1560198380),f=y(f,l,d,a,n[h+13],21,1309151649),a=y(a,f,l,d,n[h+4],6,-145523070),d=y(d,a,f,l,n[h+11],10,-1120210379),l=y(l,d,a,f,n[h+2],15,718787259),f=y(f,l,d,a,n[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,e,n,r,i,o,s){var u=t+(e&n|~e&r)+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._gg=function(t,e,n,r,i,o,s){var u=t+(e&r|n&~r)+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._hh=function(t,e,n,r,i,o,s){var u=t+(e^n^r)+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._ii=function(t,e,n,r,i,o,s){var u=t+(n^(e|~r))+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._blocksize=16,u._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=r.wordsToBytes(u(t,e));return e&&e.asBytes?n:e&&e.asString?s.bytesToString(n):r.bytesToHex(n)}},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(24),s=n(19);var u=function t(e){var n=new o(e),u=i(o.prototype.request,n);return r.extend(u,o.prototype,n),r.extend(u,n),u.create=function(n){return t(s(e,n))},u}(n(3));u.Axios=o,u.Cancel=n(1),u.CancelToken=n(50),u.isCancel=n(18),u.VERSION=n(7).version,u.all=function(t){return Promise.all(t)},u.spread=n(51),u.isAxiosError=n(52),t.exports=u,t.exports.default=u},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(25),s=n(26),u=n(19),c=n(49),a=c.validators;function f(t){this.defaults=t,this.interceptors={request:new o,response:new o}}f.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,f=[];if(this.interceptors.response.forEach((function(t){f.push(t.fulfilled,t.rejected)})),!i){var l=[s,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(f),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var d=e;r.length;){var h=r.shift(),p=r.shift();try{d=h(d)}catch(t){p(t);break}}try{o=s(d)}catch(t){return Promise.reject(t)}for(;f.length;)o=o.then(f.shift(),f.shift());return o},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(e,n){return this.request(u(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(e,n,r){return this.request(u(r||{},{method:t,url:e,data:n}))}})),t.exports=f},function(t,e,n){"use strict";var r=n(0);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.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(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(0),i=n(27),o=n(18),s=n(3),u=n(1);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(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return c(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(0),i=n(3);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(0),i=n(11),o=n(30),s=n(2),u=n(12),c=n(33),a=n(34),f=n(6),l=n(5),d=n(1);t.exports=function(t){return new Promise((function(e,n){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){e(t),y()}),(function(t){n(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&&(n(f("Request aborted",t,"ECONNABORTED",b)),b=null)},b.onerror=function(){n(f("Network Error",t,null,b)),b=null},b.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||l;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(f(e,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,e){void 0===p&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,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&&(n(!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,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,s){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).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 e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(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 e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(0),i=n(11),o=n(12),s=n(2),u=n(13),c=n(14),a=n(15).http,f=n(15).https,l=n(16),d=n(48),h=n(7).version,p=n(6),m=n(4),g=n(5),y=n(1),b=/https:?/;t.exports=function(t){return new Promise((function(e,n){var w;function v(){t.cancelToken&&t.cancelToken.unsubscribe(w),t.signal&&t.signal.removeEventListener("abort",w)}var x=function(t){v(),e(t)},k=!1,S=function(t){v(),k=!0,n(t)},E=t.data,O=t.headers,C={};if(Object.keys(O).forEach((function(t){C[t.toLowerCase()]=t})),"user-agent"in C?O[C["user-agent"]]||delete O[C["user-agent"]]:O["User-Agent"]="axios/"+h,E&&!r.isStream(E)){if(Buffer.isBuffer(E));else if(r.isArrayBuffer(E))E=Buffer.from(new Uint8Array(E));else{if(!r.isString(E))return S(p("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));E=Buffer.from(E,"utf-8")}if(t.maxBodyLength>-1&&E.length>t.maxBodyLength)return S(p("Request body larger than maxBodyLength limit",t));C["content-length"]||(O["Content-Length"]=E.length)}var _=void 0;t.auth&&(_=(t.auth.username||"")+":"+(t.auth.password||""));var T=o(t.baseURL,t.url),N=l.parse(T),j=N.protocol||"http:";if(!_&&N.auth){var R=N.auth.split(":");_=(R[0]||"")+":"+(R[1]||"")}_&&C.authorization&&delete O[C.authorization];var A=b.test(j),F=A?t.httpsAgent:t.httpAgent;try{s(N.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(e){var P=new Error(e.message);P.config=t,P.url=t.url,P.exists=!0,S(P)}var L={path:s(N.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:O,agent:F,agents:{http:t.httpAgent,https:t.httpsAgent},auth:_};t.socketPath?L.socketPath=t.socketPath:(L.hostname=N.hostname,L.port=N.port);var B,I=t.proxy;if(!I&&!1!==I){var $=j.slice(0,-1)+"_proxy",q=process.env[$]||process.env[$.toUpperCase()];if(q){var D=l.parse(q),z=process.env.no_proxy||process.env.NO_PROXY,M=!0;if(z)M=!z.split(",").map((function(t){return t.trim()})).some((function(t){return!!t&&("*"===t||("."===t[0]&&N.hostname.substr(N.hostname.length-t.length)===t||N.hostname===t))}));if(M&&(I={host:D.hostname,port:D.port,protocol:D.protocol},D.auth)){var U=D.auth.split(":");I.auth={username:U[0],password:U[1]}}}}I&&(L.headers.host=N.hostname+(N.port?":"+N.port:""),function t(e,n,r){if(e.hostname=n.host,e.host=n.host,e.port=n.port,e.path=r,n.auth){var i=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(e){e.headers.host=e.host,t(e,n,e.href)}}(L,I,j+"//"+N.hostname+(N.port?":"+N.port:"")+L.path));var H=A&&(!I||b.test(I.protocol));t.transport?B=t.transport:0===t.maxRedirects?B=H?c:u:(t.maxRedirects&&(L.maxRedirects=t.maxRedirects),B=H?f:a),t.maxBodyLength>-1&&(L.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(L.insecureHTTPParser=t.insecureHTTPParser);var J=B.request(L,(function(e){if(!J.aborted){var n=e,o=e.req||J;if(204!==e.statusCode&&"HEAD"!==o.method&&!1!==t.decompress)switch(e.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(d.createUnzip()),delete e.headers["content-encoding"]}var s={status:e.statusCode,statusText:e.statusMessage,headers:e.headers,config:t,request:o};if("stream"===t.responseType)s.data=n,i(x,S,s);else{var u=[],c=0;n.on("data",(function(e){u.push(e),c+=e.length,t.maxContentLength>-1&&c>t.maxContentLength&&(k=!0,n.destroy(),S(p("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,o)))})),n.on("aborted",(function(){k||(n.destroy(),S(p("error request aborted",t,"ERR_REQUEST_ABORTED",o)))})),n.on("error",(function(e){J.aborted||S(m(e,t,null,o))})),n.on("end",(function(){try{var e=1===u.length?u[0]:Buffer.concat(u);"arraybuffer"!==t.responseType&&(e=e.toString(t.responseEncoding),t.responseEncoding&&"utf8"!==t.responseEncoding||(e=r.stripBOM(e))),s.data=e}catch(e){S(m(e,t,e.code,s.request,s))}i(x,S,s)}))}}}));if(J.on("error",(function(e){J.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==e.code||S(m(e,t,null,J))})),J.on("socket",(function(t){t.setKeepAlive(!0,6e4)})),t.timeout){var W=parseInt(t.timeout,10);if(isNaN(W))return void S(p("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",J));J.setTimeout(W,(function(){J.abort();var e="";e=t.timeoutErrorMessage?t.timeoutErrorMessage:"timeout of "+t.timeout+"ms exceeded";var n=t.transitional||g;S(p(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",J))}))}(t.cancelToken||t.signal)&&(w=function(t){J.aborted||(J.abort(),S(!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(E)?E.on("error",(function(e){S(m(e,t,null,J))})).pipe(J):J.end(E)}))}},function(t,e){t.exports=require("stream")},function(t,e){t.exports=require("assert")},function(t,e,n){var r;t.exports=function(){if(!r){try{r=n(39)("follow-redirects")}catch(t){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},function(t,e,n){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=n(40):t.exports=n(42)},function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.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+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.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`."))}})(),e.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"],e.log=console.debug||console.log||(()=>{}),t.exports=n(17)(e);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(t,e){var n=1e3,r=6e4,i=60*r,o=24*i;function s(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}t.exports=function(t,e){e=e||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\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(!e)return;var s=parseFloat(e[1]);switch((e[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*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===u&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=o)return s(t,e,o,"day");if(e>=i)return s(t,e,i,"hour");if(e>=r)return s(t,e,r,"minute");if(e>=n)return s(t,e,n,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=o)return Math.round(t/o)+"d";if(e>=i)return Math.round(t/i)+"h";if(e>=r)return Math.round(t/r)+"m";if(e>=n)return Math.round(t/n)+"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,e,n){const r=n(43),i=n(44);e.init=function(t){t.inspectOpts={};const n=Object.keys(e.inspectOpts);for(let r=0;r<n.length;r++)t.inspectOpts[n[r]]=e.inspectOpts[n[r]]},e.log=function(...t){return process.stderr.write(i.format(...t)+"\n")},e.formatArgs=function(n){const{namespace:r,useColors:i}=this;if(i){const e=this.color,i="[3"+(e<8?e:"8;5;"+e),o=` ${i};1m${r} [0m`;n[0]=o+n[0].split("\n").join("\n"+o),n.push(i+"m+"+t.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(e.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+r+" "+n[0]},e.save=function(t){t?process.env.DEBUG=t:delete process.env.DEBUG},e.load=function(){return process.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?Boolean(e.inspectOpts.colors):r.isatty(process.stderr.fd)},e.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`."),e.colors=[6,2,3,4,5,1];try{const t=n(45);t&&(t.stderr||t).level>=2&&(e.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){}e.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{const n=e.substring(6).toLowerCase().replace(/_([a-z])/g,(t,e)=>e.toUpperCase());let r=process.env[e];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),t[n]=r,t},{}),t.exports=n(17)(e);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,e){t.exports=require("tty")},function(t,e){t.exports=require("util")},function(t,e,n){"use strict";const r=n(46),i=n(47),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 e=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:e;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,e)}(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,e){t.exports=require("os")},function(t,e,n){"use strict";t.exports=(t,e)=>{e=e||process.argv;const n=t.startsWith("-")?"":1===t.length?"-":"--",r=e.indexOf(n+t),i=e.indexOf("--");return-1!==r&&(-1===i||r<i)}},function(t,e){t.exports=require("zlib")},function(t,e,n){"use strict";var r=n(7).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(i(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:function(t,e,n){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=e[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!==n)throw Error("Unknown option "+o)}},validators:i}},function(t,e,n){"use strict";var r=n(1);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.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 e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},function(t,e,n){"use strict";var r=n(54),i=n(57),o=n(58),s=n(20);function u(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var c=u(i),a=u(o);class f extends Error{constructor(t,e,n){super(t),this.token=e,this.type=n||"error"}}const l=t=>t<4?"short":4===t?"long":"narrow",d=t=>t%2==0?"2-digit":"numeric";function h(t,e){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 e(`${t.desc} is not supported with width ${t.width}`)}}function p(t,e){const{char:n,desc:r,width:i}=t;return"d"===n?d(i):void e(r+" is not supported")}function m(t,e){const{char:n,desc:r,width:i}=t;if(("c"===n||"e"===n)&&i<3){e(`Numeric value is not supported for ${r}; falling back to weekday:short`,f.WARNING)}return l(i)}function g(t,e){const{char:n,desc:r,width:i}=t;switch(n){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void e(`${r} is not supported with width ${i}`);case"X":return void e(r+" is not supported")}return"short"}function y(t,e){switch(t.field){case"era":return{era:l(t.width)};case"year":return function(t,e){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 e(t.desc+" is not supported; falling back to year:numeric",f.WARNING),{year:"numeric"}}}(t,e);case"month":return{month:h(t,e)};case"day":return{day:p(t,e)};case"weekday":return{weekday:m(t,e)};case"period":return;case"hour":return function(t){const e=d(t.width);let n;switch(t.char){case"h":n="h12";break;case"H":n="h23";break;case"k":n="h24";break;case"K":n="h11"}return n?{hour:e,hourCycle:n}:{hour:e}}(t);case"min":return{minute:d(t.width)};case"sec":return{second:d(t.width)};case"tz":return{timeZoneName:g(t,e)};case"quarter":case"week":case"sec-frac":case"ms":e(t.desc+" is not supported")}}function b(t,e=(t=>{throw t})){const n={},r=[];for(const i of t){const{error:t,field:o,str:s}=i;if(t){const n=new f(t.message,i);n.stack=t.stack,e(n)}if(s){e(new f("Ignoring string part: "+s,i,f.WARNING))}o&&(-1===r.indexOf(o)?r.push(o):e(new f(`Duplicate ${o} token`,i)));const u=y(i,(t,n)=>e(new f(t,i,n)));u&&Object.assign(n,u)}return n}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,e){const n=t[e];if(!n)return null;if(v(n))return function(t,e){const n=t[e];let r=1;for(;t[++e]===n;)++r;const i=w[n];if(!i){return{char:n,error:new Error(`The letter ${n} is not a valid field identifier`),width:r}}return{char:n,field:i.field,desc:i.desc,width:r}}(t,e);if("'"===n)return function(t,e){let n=t[++e],r=2;if("'"===n)return{char:"'",str:n,width:r};for(;;){const i=t[++e];if(++r,void 0===i){return{char:"'",error:new Error("Unterminated quoted literal in pattern: "+(n||t)),str:n,width:r}}if("'"===i){if("'"!==t[++e])return{char:"'",str:n,width:r};++r}n+=i}}(t,e);let r=n,i=1;for(;;){const o=t[++e];if(!o||v(o)||"'"===o)return{char:n,str:r,width:i};r+=o,i+=1}}function k(t){const e=[];let n=0;for(;;){const r=x(t,n);if(!r)return e;e.push(r),n+=r.width}}class S extends Error{constructor(t,e){super(e),this.code=t}}class E extends S{constructor(t,e){super("BAD_OPTION",`Unknown ${t} option: ${e}`),this.stem=t,this.option=e}}class O extends S{constructor(t){super("BAD_STEM","Unknown stem: "+t),this.stem=t}}class C extends S{constructor(t,e){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=e}}class _ extends S{constructor(t){super("MISSING_OPTION","Required option missing for "+t),this.stem=t}}class T extends S{constructor(t,e){super("BAD_PATTERN",e),this.char=t}}class N extends S{constructor(t,e,n){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${n>1?n+" options":"one option"} (got ${e.length})`),this.stem=t,this.options=e}}class j extends S{constructor(t,e){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,e&&(this.message+=" with value "+e,this.source=e)}}function R(t,{numberingSystem:e}){return Array.isArray(t)||(t=[t]),e?t.map(t=>{const n=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${n}-${e}`}).concat(t):t}function A({scale:t,unit:e}){let n="number"==typeof t&&t>=0?t:1;return e&&"percent"===e.style&&(n*=.01),n}function F(t,e){const{decimal:n,group:r,integerWidth:i,notation:o,precision:s,roundingMode:u,sign:c,unit:a,unitPer:f,unitWidth:l}=t,d=(t,n)=>{e&&e(new j(t,n))},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:e,minSignificant:n,maxSignificant:r,source:i}=s;"number"==typeof t&&(h.minimumFractionDigits=t,"number"==typeof n&&d("precision-fraction",i)),"number"==typeof e&&(h.maximumFractionDigits=e),"number"==typeof n&&(h.minimumSignificantDigits=n),"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:e,source:n,style:r}=o;h.notation=r,(t&&t>1||e&&"sign-auto"!==e)&&d(r,n);break}}if(i){const{min:t,max:e,source:n}=i;if(t>0&&(h.minimumIntegerDigits=t),Number(e)>0){const t="engineering"===h.notation||"scientific"===h.notation;3===e&&t?h.notation="engineering":d("integer-width",n)}}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"===n&&d(n),u&&d(u),h}function P(t,e,n){const r=t[e];switch(r){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let i=1;for(;"¤"===t[++e];)++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 n(new T("¤",`Invalid number (${i}) of ¤ chars in pattern`)),null}}case"*":{const n=t[e+1];if(n)return{char:r,pad:n,width:2};break}case"+":case"-":return{char:r,width:1};case"'":{let i=t[++e],o=2;if("'"===i)return{char:r,str:i,width:o};for(;;){const s=t[++e];if(++o,void 0===s){return n(new T("'","Unterminated quoted literal in pattern: "+i)),{char:r,str:i,width:o}}if("'"===s){if("'"!==t[++e])return{char:r,str:i,width:o};++o}i+=s}}}return null}const L=t=>t>="0"&&t<="9";function B(t,e){const n=t[e];if(L(n)){let r=n;for(;;){const n=t[++e];if(!L(n))return{char:"0",digits:r,width:r.length};r+=n}}switch(n){case"#":{let r=1;for(;"#"===t[++e];)++r;return{char:n,width:r}}case"@":{let r=1;for(;"@"===t[++e];)++r;let i=r;for(e-=1;"#"===t[++e];)++i;return{char:n,min:r,width:i}}case"E":{const r="+"===t[e+1];r&&++e;let i=0;for(;"0"===t[++e];)++i;const o=(r?2:1)+i;if(i)return{char:n,expDigits:i,plus:r,width:o};break}case".":case",":return{char:n,width:1}}return null}function I(t,e,n){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(;e<t.length;){const a=t[e];if(";"===a){e+=1;break}switch(u){case r.Prefix:{const s=P(t,e,n);if(s)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(s),e+=s.width;else{const n=B(t,e);n?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),u=r.Number,o.push(n),e+=n.width):(c+=a,e+=1)}break}case r.Number:{const n=B(t,e);n?(o.push(n),e+=n.width):u=r.Suffix;break}case r.Suffix:{const r=P(t,e,n);r?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(r),e+=r.width):(c+=a,e+=1);break}}}return c&&s.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:o,suffix:s},pos:e}}function $(t,e,n,r,i){let o=!1,s="";for(const u of t)switch(u.char){case"%":e.unit={style:u.style},i?o=!0:s="";break;case"¤":if(!n){r(new T("¤","The ¤ pattern requires a currency"));break}switch(e.unit={style:"currency",currency:n},u.currency){case"iso-code":e.unitWidth="unit-width-iso-code";break;case"full-name":e.unitWidth="unit-width-full-name";break;case"narrow":e.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,e){let n=!1,r="";for(const i of t)switch(i.char){case"%":case"¤":e?n=!0:r="";break;case"-":n||(r+="-");break;case"'":n||(r+=i.str)}return r}function D(t,e,n=(t=>{throw t})){const{tokens:r,negative:i}=function(t,e){const{pattern:n,pos:r}=I(t,0,e);if(r<t.length){const{pattern:i}=I(t,r,e);return{tokens:n,negative:i}}return{tokens:n}}(t,n),o=function(t,e){const n={};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){e(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){e(new T("0","Pattern has digits after # in fraction"))}c+=l.digits}break;case"@":n.precision&&e(new C("precision",n.precision)),n.precision={style:"precision-fraction",minSignificant:l.min,maxSignificant:l.width};break;case",":r=!0;break;case".":if(1===u){e(new T(".","Pattern has more than one decimal separator"))}u=f;break;case"E":if(i&&e(new C("exponent",n.notation)),r){e(new T("E","Exponential patterns may not contain grouping separators"))}n.notation={style:"scientific"},l.expDigits>1&&(n.notation.expDigits=l.expDigits),l.plus&&(n.notation.expSign="sign-always"),i=!0}}r?n.group="group-auto":o+s.length>3&&(n.group="group-off");const f=Number(`${s||"0"}.${c}`);if(f&&(n.precision={style:"precision-increment",increment:f}),i)if(n.precision&&!f||(n.integerWidth=o?{min:1,max:o+s.length}:{min:Math.max(1,s.length)}),n.precision)f||(n.integerWidth={min:1,max:1});else{const t=s.length+c.length;-1===u?t>0&&(n.precision={style:"precision-fraction",maxSignificant:t}):(n.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+a},t>1&&(n.precision.minSignificant=t))}else s.length>1&&(n.integerWidth={min:s.length}),n.precision||!c.length&&!a||(n.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+a});return n}(r.number,n),s=$(r.prefix,o,e,n,!0),u=$(r.suffix,o,e,n,!1);if(i){const t=q(i.prefix,!0),e=q(i.suffix,!1);o.affix={pos:[s,u],neg:[t,e]},o.sign="sign-never"}else(s||u)&&(o.affix={pos:[s,u]});return o}function z(t){const[e]=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(e)}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,e,n){if(function(t){return t in M}(t)){const r=M[t];if(e.length>r){if(0===r)for(const r of e)n(new E(t,r));else n(new N(t,e,r));return!1}if(function(t){return t in U}(t)&&e.length<U[t])return n(new _(t)),!1}return!0}function J(t,e){const n="fraction"===e?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,r=t&&t.match(n);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,e){this.onError(new E(t,e))}assertEmpty(t){const e=this.skeleton[t];e&&this.onError(new C(t,e))}parseToken(t,e){if(!H(t,e,this.onError))return;const n=e[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 n=null,i=void 0;for(const r of e)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)?n=r.length-1:this.badOption(t,r)}this.assertEmpty("notation");const o=e.join("/");r.notation=n&&i?{style:t,source:o,expDigits:n,expSign:i}:n?{style:t,source:o,expDigits:n}: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(n)?(this.assertEmpty("unit"),r.unit={style:t,currency:n}):this.badOption(t,n);break;case"measure-unit":z(n)?(this.assertEmpty("unit"),r.unit={style:t,unit:n}):this.badOption(t,n);break;case"per-measure-unit":z(n)?(this.assertEmpty("unitPer"),r.unitPer=n):this.badOption(t,n);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 e=Number(n);e>0?(this.assertEmpty("precision"),r.precision={style:t,increment:e}):this.badOption(t,n);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(n))this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:n.length-1};else{const e=n.match(/^#*(0*)$/);e?(this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:e[1].length,max:e[0].length}):this.badOption(t,n)}break;case"scale":{const e=Number(n);e>0?(this.assertEmpty("scale"),r.scale=e):this.badOption(t,n);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(n)?(this.assertEmpty("numberingSystem"),r.numberingSystem=n):this.badOption(t,n);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 n=function(t,e,n){const r=J(t,"fraction");if(r){e.length>1&&n(new N(t,e,1));const i={style:"precision-fraction",source:t,minFraction:r.min};null!=r.max&&(i.maxFraction=r.max);const o=e[0],s=J(o,"significant");return s?(i.source=`${t}/${o}`,i.minSignificant=s.min,null!=s.max&&(i.maxSignificant=s.max)):o&&n(new E(t,o)),i}const i=J(t,"significant");if(i){for(const r of e)n(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,e,this.onError);n?(this.assertEmpty("precision"),r.precision=n):this.onError(new O(t))}}}}function G(t,e=(t=>{throw t})){const n=[];for(const e of t.split(" "))if(e){const t=e.split("/"),r=t.shift()||"";n.push({stem:r,options:t})}const r=new W(e);for(const{stem:t,options:e}of n)r.parseToken(t,e);return r.skeleton}function Z(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?G(e.slice(2),r):D(e,n,r));const i=R(t,e),o=F(e,r),s=function(t){const e=A(t),{precision:n}=t;return n&&"precision-increment"===n.style?t=>function(t,e){const n=+t+e/2;return n-n%+e}(t,n.increment)*e:t=>t*e}(e),u=new Intl.NumberFormat(i,o);if(e.affix){const[t,n]=e.affix.pos,[r,i]=e.affix.neg||["",""];return e=>{const o=u.format(s(e));return e<0?`${r}${o}${i}`:`${t}${o}${n}`}}return t=>u.format(s(t))}function K(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?G(e.slice(2),r):D(e,n,r));const i=R(t,e),o=F(e,r),s=function(t){const e=A(t),{precision:n}=t;if(n&&"precision-increment"===n.style){const t="+n + "+n.increment/2;let r=`x - (x % +${n.increment})`;return 1!==e&&(r=`(${r}) * ${e}`),`function(n) { var x = ${t}; return ${r}; }`}return 1!==e?`function(n) { return n * ${e}; }`:null}(e),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))"),e.affix){const[t,n]=e.affix.pos.map(t=>JSON.stringify(t));if(e.affix.neg){const[r,i]=e.affix.neg.map(t=>JSON.stringify(t));c=`value < 0 ? ${r} + ${c} + ${i} : ${t} + ${c} + ${n}`}else c=`${t} + ${c} + ${n}`}return u.push(`return function(value) { return ${c}; }`),u.join("\n ")+"\n})()"}const V=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,e,n){if("object"==typeof t){const r={};for(const i of Object.keys(t)){const o=n&&n[i]||e;r[i]=this.compile(t[i],o,n)}return r}this.plural=e;const i={cardinal:e.cardinals,ordinal:e.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,e){let n=!0;const r=t.cases.map(({key:t,tokens:r})=>{"other"===t&&(n=!1);const i=r.map(t=>this.token(t,e));return`${s.property(null,t.replace(/^=/,""))}: ${this.concatenate(i,!1)}`});if(n){const{type:e}=t,{cardinals:n,ordinals:r}=this.plural;if("select"===e||"plural"===e&&n.includes("other")||"selectordinal"===e&&r.includes("other"))throw new Error("No 'other' form found in "+JSON.stringify(t))}return`{ ${r.join(", ")} }`}concatenate(t,e){return"values"===this.options.returnType&&(e||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'}token(t,e){if("content"===t.type)return JSON.stringify(t.value);const{id:n,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,e){const n=V.test(e),r=JSON.stringify(n?"":"");return`${r} + ${t} + ${r}`}(String(i[0]),r):String(i[0]);case"select":o="select",e&&this.options.strict&&(e=null),i.push(this.cases(t,e)),this.setRuntimeFn("select");break;case"selectordinal":o="plural",i.push(t.pluralOffset||0,n,this.cases(t,t),1),this.setLocale(n,!0),this.setRuntimeFn("plural");break;case"plural":o="plural",i.push(t.pluralOffset||0,n,this.cases(t,t)),this.setLocale(n,!1),this.setRuntimeFn("plural");break;case"function":if(!this.options.customFormatters[t.key]){if("date"===t.key){o=this.setDateFormatter(t,i,e);break}if("number"===t.key){o=this.setNumberFormatter(t,i,e);break}}if(i.push(JSON.stringify(this.plural.locale)),t.param){e&&this.options.strict&&(e=null);const n=this.getFormatterArg(t,e);n&&i.push(n)}o=t.key,this.setFormatter(o);break;case"octothorpe":if(!e)return'"#"';i=[JSON.stringify(this.plural.locale),s.property("d",e.arg),e.pluralOffset||0],this.options.strict?(o="strictNumber",i.push(JSON.stringify(e.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,e){if(s.identifier(t)!==t)throw new SyntaxError(`Reserved word used as ${e} identifier: ${t}`);const n=this.runtime[t];if(!n||n.type===e)return n;throw new TypeError(`Cannot override ${n.type} runtime function as ${e}: ${t}`)}setLocale(t,e){const n=this.runtimeIncludes(t,"locale"),{getCardinal:r,getPlural:i,isDefault:o}=this.plural;let s,u,c;if(!e&&o&&r){if(n)return;s=t=>r(t),u="@messageformat/runtime/lib/cardinals",c=()=>String(r)}else{if(n&&(!o||"@messageformat/runtime/lib/plurals"===n.module))return;s=(t,e)=>i(t,e),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:e},n){const r=this.options.customFormatters[t]||Y(t)&&a[t];if(!r||!e)return null;const i="arg"in r&&r.arg||"string";if("options"===i){let n="";for(const r of e){if("content"!==r.type)throw new SyntaxError(`Expected literal options for ${t} formatter`);n+=r.value}const r={};for(const t of n.split(",")){const e=t.indexOf(":");if(-1===e)r[t.trim()]=null;else{const n=t.substring(0,e).trim(),i=t.substring(e+1).trim();if("true"===i)r[n]=!0;else if("false"===i)r[n]=!1;else if("null"===i)r[n]=null;else{const t=Number(i);r[n]=Number.isFinite(t)?t:i}}}return JSON.stringify(r)}{const t=e.map(t=>this.token(t,n));if("raw"===i)return`[${t.join(", ")}]`;const r=t.join(" + ");return r?`(${r}).trim()`:'""'}}setFormatter(t){if(this.runtimeIncludes(t,"formatter"))return;let e=this.options.customFormatters[t];if(e)"function"==typeof e&&(e={formatter:e}),this.runtime[t]=Object.assign(e.formatter,{type:"formatter"},"module"in e&&e.module&&e.id?{id:s.identifier(e.id),module:e.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},e,n){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),e=s.identifier(`date_${r}_${t}`,!0);if(!this.runtimeIncludes(e,"formatter")){const n=function(t,e,n){"string"==typeof e&&(e=k(e));const r=b(e,n),i=new Intl.DateTimeFormat(t,r);return t=>i.format(t)}(r,t);this.runtime[e]=Object.assign(n,{id:e,module:null,toString:()=>function(t,e,n){"string"==typeof e&&(e=k(e));const r=b(e,n);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 e}if(e.push(JSON.stringify(r)),t&&t.length>0){n&&this.options.strict&&(n=null);const r=t.map(t=>this.token(t,n));e.push("("+(r.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"}setNumberFormatter({param:t},e,n){const{locale:r}=this.plural;if(!t||0===t.length)return e.unshift(JSON.stringify(r)),e.push("0"),this.setRuntimeFn("number"),"number";if(e.push(JSON.stringify(r)),1===t.length&&"content"===t[0].type){const n=t[0].value.trim();switch(n){case"currency":return e.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=n.match(/^currency:([A-Z]+)$/);if(i)return e.push(JSON.stringify(i[1])),this.setFormatter("numberCurrency"),"numberCurrency";const o=s.identifier(`number_${r}_${n}`,!0);if(!this.runtimeIncludes(o,"formatter")){const{currency:t}=this.options,e=Z(r,n,t);this.runtime[o]=Object.assign(e,{id:null,module:null,toString:()=>K(r,n,t),type:"formatter"})}return o}n&&this.options.strict&&(n=null);const i=t.map(t=>this.token(t,n));return e.push("("+(i.join(" + ")||'""')+").trim()"),e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.ParseError=void 0;const r=n(55),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,e){super(r.lexer.formatError(t,e))}}e.ParseError=c;class a{constructor(t,e){this.lexer=r.lexer.reset(t),this.cardinalKeys=e&&e.cardinal||u,this.ordinalKeys=e&&e.ordinal||u,this.strict=e&&e.strict||!1}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,e,n){if("="===n[0]){if("select"===e)throw new c(t,`The case ${n} is not valid with select`)}else if("select"!==e){const r="plural"===e?this.cardinalKeys:this.ordinalKeys;if(r.length>0&&!r.includes(n)){throw new c(t,`The ${e} case ${n} is not valid in this locale`)}}}parseSelect({value:t},e,n,r){const o={type:r,arg:t,cases:[],ctx:n};"plural"===r||"selectordinal"===r?e=!0:this.strict&&(e=!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),n.text+=t.text,n.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,r,t.value),o.cases.push({key:t.value,tokens:this.parseBody(e),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,e){const n=i(t),r=this.lexer.next();if(!r)throw new c(null,"Unexpected message end");if(n.text+=r.text,n.lineBreaks+=r.lineBreaks,this.strict&&("func-simple"===r.type||"func-args"===r.type)&&!s.includes(r.value)){const e="Invalid strict mode function arg type: "+r.value;throw new c(t,e)}switch(r.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{const e=this.lexer.next();if(!e)throw new c(null,"Unexpected message end");if("end"!==e.type)throw new c(e,"Unexpected lexer token: "+e.type);if(n.text+=e.text,o(r.value.toLowerCase()))throw new c(r,"Invalid type identifier: "+r.value);return{type:"function",arg:t.value,key:r.value,ctx:n}}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&&e);return this.strict&&i.length>0&&(i=function(t,e){let n="",r="";for(const i of e){const e=i.ctx.text;switch(r+=e,i.type){case"content":n+=i.value;break;case"argument":case"function":case"octothorpe":n+=e;break;default:throw new c(t,"Unsupported part in strict mode function arg style: "+e)}}return[{type:"content",value:n.trim(),ctx:Object.assign({},e[0].ctx,{text:r})}]}(t,i)),{type:"function",arg:t.value,key:r.value,param:i,ctx:n}}case"select":if(o(r.value))return this.parseSelect(t,e,n,r.value);throw new c(r,"Unexpected select type "+r.value);default:throw new c(r,"Unexpected lexer token: "+r.type)}}parseBody(t,e){const n=[];let r=null;for(const o of this.lexer)if("argument"===o.type)r&&(r=null),n.push(this.parseArgToken(o,t));else if("octothorpe"===o.type&&t)r&&(r=null),n.push({type:"octothorpe",ctx:i(o)});else{if("end"===o.type&&!e)return n;{let e=o.value;if(!t&&"quoted"===o.type&&"#"===e[0]){if(e.includes("{")){throw new c(o,"Unsupported escape pattern: "+e)}e=o.text}r?(r.value+=e,r.ctx.text+=o.text,r.ctx.lineBreaks+=o.lineBreaks):(r={type:"content",value:e,ctx:i(o)},n.push(r))}}if(e)return n;throw new c(null,"Unexpected message end")}}e.parse=function(t,e={}){return new a(t,e).parse()}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;const i=r(n(56));e.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}}},e.lexer=i.default.states(e.states)},function(t,e,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function r(t){return t&&"[object RegExp]"===e.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(e,n){if(i(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var o={defaultType:e,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in n)t.call(n,s)&&(o[s]=n[s]);if("string"==typeof o.type&&e!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+e+"')");var u=o.match;return o.match=Array.isArray(u)?u:u?[u]:[],o.match.sort((function(t,e){return r(t)&&r(e)?0:r(e)?-1:r(t)?1:e.length-t.length})),o}function a(t){return Array.isArray(t)?function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r.include)for(var i=[].concat(r.include),o=0;o<i.length;o++)e.push({include:i[o]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));e.push(c(r.type,r))}}return e}(t):function(t){for(var e=Object.getOwnPropertyNames(t),n=[],r=0;r<e.length;r++){var o=e[r],s=t[o],u=[].concat(s);if("include"!==o){var a=[];u.forEach((function(t){i(t)?(a.length&&n.push(c(o,a)),n.push(c(o,t)),a=[]):a.push(t)})),a.length&&n.push(c(o,a))}else for(var f=0;f<u.length;f++)n.push({include:u[f]})}return n}(t)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function l(t,e){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(!e)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=n&&!x?"ym":"gm",S=n||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(h)+S,k),groups:d,fast:c,error:i||f}}function d(t,e,n){var r=t&&(t.push||t.next);if(r&&!n[r])throw new Error("Missing state '"+r+"' (in token '"+t.defaultType+"' of state '"+e+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+e+"')")}var h=function(t,e){this.startState=e,this.states=t,this.buffer="",this.stack=[],this.reset()};h.prototype.reset=function(t,e){return this.buffer=t||"",this.index=0,this.line=e?e.line:1,this.col=e?e.col:1,this.queuedToken=e?e.queuedToken:null,this.queuedThrow=e?e.queuedThrow:null,this.setState(e?e.state:this.startState),this.stack=e&&e.stack?e.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 e=this.states[t];this.groups=e.groups,this.error=e.error,this.re=e.regexp,this.fast=e.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=n?function(t,e){return t.exec(e)}:function(t,e){var n=t.exec(e);return 0===n[0].length?null:n};function m(){return this.value}if(h.prototype._getGroup=function(t){for(var e=this.groups.length,n=0;n<e;n++)if(void 0!==t[n+1])return this.groups[n];throw new Error("Cannot find token type for matched text")},h.prototype.next=function(){var t=this.index;if(this.queuedGroup){var e=this._token(this.queuedGroup,this.queuedText,t);return this.queuedGroup=null,this.queuedText="",e}var n=this.buffer;if(t!==n.length){if(s=this.fast[n.charCodeAt(t)])return this._token(s,n.charAt(t),t);var r=this.re;r.lastIndex=t;var i=p(r,n),o=this.error;if(null==i)return this._token(o,n.slice(t,n.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,n.slice(t,i.index),t)):this._token(s,u,t)}},h.prototype._token=function(t,e,n){var r=0;if(t.lineBreaks){var i=/\n/g,o=1;if("\n"===e)r=1;else for(;i.exec(e);)r++,o=i.lastIndex}var s={type:"function"==typeof t.type&&t.type(e)||t.defaultType,value:"function"==typeof t.value?t.value(e):e,text:e,toString:m,offset:n,lineBreaks:r,line:this.line,col:this.col},u=e.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,e){if(null==t){var n=this.buffer.slice(this.index);t={text:n,offset:this.index,lineBreaks:-1===n.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 e+=" at line "+t.line+" col "+t.col+":\n\n",e+=" "+o+"\n",e+=" "+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 e=l(a(t));return new h({start:e},"start")},states:function(t,e){var n=t.$all?a(t.$all):[];delete t.$all;var r=Object.getOwnPropertyNames(t);e||(e=r[0]);for(var i=Object.create(null),o=0;o<r.length;o++){var s=r[o];i[s]=a(t[s]).concat(n)}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,e)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(t){for(var e=Object.create(null),n=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((n[t.length]=n[t.length]||[]).push(t),"string"!=typeof t)throw new Error("keyword must be string (in keyword '"+o+"')");e[t]=o}))}function u(t){return JSON.stringify(t)}var c="";for(var a in c+="switch (value.length) {\n",n){var f=n[a];c+="case "+a+":\n",c+="switch (value) {\n",f.forEach((function(t){var n=e[t];c+="case "+u(t)+": return "+u(n)+"\n"})),c+="}\n"}return c+="}\n",Function("value",c)}}})?r.apply(e,i):r)||(t.exports=o)},function(t,e,n){"use strict";function r(t){return r[t]||(r[t]=new Intl.NumberFormat(t))}Object.defineProperty(e,"__esModule",{value:!0}),e.reqArgs=e.select=e.plural=e.strictNumber=e.number=e._nf=void 0,e._nf=r,e.number=function(t,e,n){return r(t).format(e-n)},e.strictNumber=function(t,e,n,i){var o=e-n;if(isNaN(o))throw new Error("`"+i+"` or its offset is not a number");return r(t).format(o)},e.plural=function(t,e,n,r,i){if({}.hasOwnProperty.call(r,t))return r[t];e&&(t-=e);var o=n(t,i);return o in r?r[o]:r.other},e.select=function(t,e){return{}.hasOwnProperty.call(e,t)?e[t]:e.other},e.reqArgs=function(t,e){for(var n=0;n<t.length;++n)if(!e||void 0===e[t[n]])throw new Error("Message requires argument '".concat(t[n],"'"))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.time=e.numberPercent=e.numberInteger=e.numberFmt=e.numberCurrency=e.duration=e.date=void 0;var r=n(59);Object.defineProperty(e,"date",{enumerable:!0,get:function(){return r.date}});var i=n(60);Object.defineProperty(e,"duration",{enumerable:!0,get:function(){return i.duration}});var o=n(61);Object.defineProperty(e,"numberCurrency",{enumerable:!0,get:function(){return o.numberCurrency}}),Object.defineProperty(e,"numberFmt",{enumerable:!0,get:function(){return o.numberFmt}}),Object.defineProperty(e,"numberInteger",{enumerable:!0,get:function(){return o.numberInteger}}),Object.defineProperty(e,"numberPercent",{enumerable:!0,get:function(){return o.numberPercent}});var s=n(62);Object.defineProperty(e,"time",{enumerable:!0,get:function(){return s.time}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.date=void 0,e.date=function(t,e,n){var r={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":r.weekday="long";case"long":r.month="long";break;case"short":r.month="numeric"}return new Date(t).toLocaleDateString(e,r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.duration=void 0,e.duration=function(t){if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return String(t);var e="";t<0?(e="-",t=Math.abs(t)):t=Number(t);var n=t%60,r=[Math.round(n)===n?n:n.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))),e+r.shift()+":"+r.map((function(t){return t<10?"0"+String(t):String(t)})).join(":")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numberPercent=e.numberInteger=e.numberCurrency=e.numberFmt=void 0;var r={};function i(t,e){var n=String(t)+JSON.stringify(e);return r[n]||(r[n]=new Intl.NumberFormat(t,e)),r[n]}e.numberFmt=function(t,e,n,r){var o=n&&n.split(":")||[],s=o[0],u=o[1];return i(e,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:u&&u.trim()||r,minimumFractionDigits:2,maximumFractionDigits:2}}[s]||{}).format(t)};e.numberCurrency=function(t,e,n){return i(e,{style:"currency",currency:n,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)};e.numberInteger=function(t,e){return i(e,{maximumFractionDigits:0}).format(t)};e.numberPercent=function(t,e){return i(e,{style:"percent"}).format(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.time=void 0,e.time=function(t,e,n){var r={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}return new Date(t).toLocaleTimeString(e,r)}},function(t,e){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,e,n){"use strict";n.r(e),n.d(e,"af",(function(){return a})),n.d(e,"ak",(function(){return f})),n.d(e,"am",(function(){return l})),n.d(e,"an",(function(){return d})),n.d(e,"ar",(function(){return h})),n.d(e,"ars",(function(){return p})),n.d(e,"as",(function(){return m})),n.d(e,"asa",(function(){return g})),n.d(e,"ast",(function(){return y})),n.d(e,"az",(function(){return b})),n.d(e,"bal",(function(){return w})),n.d(e,"be",(function(){return v})),n.d(e,"bem",(function(){return x})),n.d(e,"bez",(function(){return k})),n.d(e,"bg",(function(){return S})),n.d(e,"bho",(function(){return E})),n.d(e,"bm",(function(){return O})),n.d(e,"bn",(function(){return C})),n.d(e,"bo",(function(){return _})),n.d(e,"br",(function(){return T})),n.d(e,"brx",(function(){return N})),n.d(e,"bs",(function(){return j})),n.d(e,"ca",(function(){return R})),n.d(e,"ce",(function(){return A})),n.d(e,"ceb",(function(){return F})),n.d(e,"cgg",(function(){return P})),n.d(e,"chr",(function(){return L})),n.d(e,"ckb",(function(){return B})),n.d(e,"cs",(function(){return I})),n.d(e,"cy",(function(){return $})),n.d(e,"da",(function(){return q})),n.d(e,"de",(function(){return D})),n.d(e,"doi",(function(){return z})),n.d(e,"dsb",(function(){return M})),n.d(e,"dv",(function(){return U})),n.d(e,"dz",(function(){return H})),n.d(e,"ee",(function(){return J})),n.d(e,"el",(function(){return W})),n.d(e,"en",(function(){return G})),n.d(e,"eo",(function(){return Z})),n.d(e,"es",(function(){return K})),n.d(e,"et",(function(){return V})),n.d(e,"eu",(function(){return Y})),n.d(e,"fa",(function(){return X})),n.d(e,"ff",(function(){return Q})),n.d(e,"fi",(function(){return tt})),n.d(e,"fil",(function(){return et})),n.d(e,"fo",(function(){return nt})),n.d(e,"fr",(function(){return rt})),n.d(e,"fur",(function(){return it})),n.d(e,"fy",(function(){return ot})),n.d(e,"ga",(function(){return st})),n.d(e,"gd",(function(){return ut})),n.d(e,"gl",(function(){return ct})),n.d(e,"gsw",(function(){return at})),n.d(e,"gu",(function(){return ft})),n.d(e,"guw",(function(){return lt})),n.d(e,"gv",(function(){return dt})),n.d(e,"ha",(function(){return ht})),n.d(e,"haw",(function(){return pt})),n.d(e,"he",(function(){return mt})),n.d(e,"hi",(function(){return gt})),n.d(e,"hnj",(function(){return yt})),n.d(e,"hr",(function(){return bt})),n.d(e,"hsb",(function(){return wt})),n.d(e,"hu",(function(){return vt})),n.d(e,"hy",(function(){return xt})),n.d(e,"ia",(function(){return kt})),n.d(e,"id",(function(){return St})),n.d(e,"ig",(function(){return Et})),n.d(e,"ii",(function(){return Ot})),n.d(e,"io",(function(){return Ct})),n.d(e,"is",(function(){return _t})),n.d(e,"it",(function(){return Tt})),n.d(e,"iu",(function(){return Nt})),n.d(e,"ja",(function(){return jt})),n.d(e,"jbo",(function(){return Rt})),n.d(e,"jgo",(function(){return At})),n.d(e,"jmc",(function(){return Ft})),n.d(e,"jv",(function(){return Pt})),n.d(e,"jw",(function(){return Lt})),n.d(e,"ka",(function(){return Bt})),n.d(e,"kab",(function(){return It})),n.d(e,"kaj",(function(){return $t})),n.d(e,"kcg",(function(){return qt})),n.d(e,"kde",(function(){return Dt})),n.d(e,"kea",(function(){return zt})),n.d(e,"kk",(function(){return Mt})),n.d(e,"kkj",(function(){return Ut})),n.d(e,"kl",(function(){return Ht})),n.d(e,"km",(function(){return Jt})),n.d(e,"kn",(function(){return Wt})),n.d(e,"ko",(function(){return Gt})),n.d(e,"ks",(function(){return Zt})),n.d(e,"ksb",(function(){return Kt})),n.d(e,"ksh",(function(){return Vt})),n.d(e,"ku",(function(){return Yt})),n.d(e,"kw",(function(){return Xt})),n.d(e,"ky",(function(){return Qt})),n.d(e,"lag",(function(){return te})),n.d(e,"lb",(function(){return ee})),n.d(e,"lg",(function(){return ne})),n.d(e,"lij",(function(){return re})),n.d(e,"lkt",(function(){return ie})),n.d(e,"ln",(function(){return oe})),n.d(e,"lo",(function(){return se})),n.d(e,"lt",(function(){return ue})),n.d(e,"lv",(function(){return ce})),n.d(e,"mas",(function(){return ae})),n.d(e,"mg",(function(){return fe})),n.d(e,"mgo",(function(){return le})),n.d(e,"mk",(function(){return de})),n.d(e,"ml",(function(){return he})),n.d(e,"mn",(function(){return pe})),n.d(e,"mo",(function(){return me})),n.d(e,"mr",(function(){return ge})),n.d(e,"ms",(function(){return ye})),n.d(e,"mt",(function(){return be})),n.d(e,"my",(function(){return we})),n.d(e,"nah",(function(){return ve})),n.d(e,"naq",(function(){return xe})),n.d(e,"nb",(function(){return ke})),n.d(e,"nd",(function(){return Se})),n.d(e,"ne",(function(){return Ee})),n.d(e,"nl",(function(){return Oe})),n.d(e,"nn",(function(){return Ce})),n.d(e,"nnh",(function(){return _e})),n.d(e,"no",(function(){return Te})),n.d(e,"nqo",(function(){return Ne})),n.d(e,"nr",(function(){return je})),n.d(e,"nso",(function(){return Re})),n.d(e,"ny",(function(){return Ae})),n.d(e,"nyn",(function(){return Fe})),n.d(e,"om",(function(){return Pe})),n.d(e,"or",(function(){return Le})),n.d(e,"os",(function(){return Be})),n.d(e,"osa",(function(){return Ie})),n.d(e,"pa",(function(){return $e})),n.d(e,"pap",(function(){return qe})),n.d(e,"pcm",(function(){return De})),n.d(e,"pl",(function(){return ze})),n.d(e,"prg",(function(){return Me})),n.d(e,"ps",(function(){return Ue})),n.d(e,"pt",(function(){return He})),n.d(e,"pt_PT",(function(){return Je})),n.d(e,"rm",(function(){return We})),n.d(e,"ro",(function(){return Ge})),n.d(e,"rof",(function(){return Ze})),n.d(e,"ru",(function(){return Ke})),n.d(e,"rwk",(function(){return Ve})),n.d(e,"sah",(function(){return Ye})),n.d(e,"saq",(function(){return Xe})),n.d(e,"sat",(function(){return Qe})),n.d(e,"sc",(function(){return tn})),n.d(e,"scn",(function(){return en})),n.d(e,"sd",(function(){return nn})),n.d(e,"sdh",(function(){return rn})),n.d(e,"se",(function(){return on})),n.d(e,"seh",(function(){return sn})),n.d(e,"ses",(function(){return un})),n.d(e,"sg",(function(){return cn})),n.d(e,"sh",(function(){return an})),n.d(e,"shi",(function(){return fn})),n.d(e,"si",(function(){return ln})),n.d(e,"sk",(function(){return dn})),n.d(e,"sl",(function(){return hn})),n.d(e,"sma",(function(){return pn})),n.d(e,"smi",(function(){return mn})),n.d(e,"smj",(function(){return gn})),n.d(e,"smn",(function(){return yn})),n.d(e,"sms",(function(){return bn})),n.d(e,"sn",(function(){return wn})),n.d(e,"so",(function(){return vn})),n.d(e,"sq",(function(){return xn})),n.d(e,"sr",(function(){return kn})),n.d(e,"ss",(function(){return Sn})),n.d(e,"ssy",(function(){return En})),n.d(e,"st",(function(){return On})),n.d(e,"su",(function(){return Cn})),n.d(e,"sv",(function(){return _n})),n.d(e,"sw",(function(){return Tn})),n.d(e,"syr",(function(){return Nn})),n.d(e,"ta",(function(){return jn})),n.d(e,"te",(function(){return Rn})),n.d(e,"teo",(function(){return An})),n.d(e,"th",(function(){return Fn})),n.d(e,"ti",(function(){return Pn})),n.d(e,"tig",(function(){return Ln})),n.d(e,"tk",(function(){return Bn})),n.d(e,"tl",(function(){return In})),n.d(e,"tn",(function(){return $n})),n.d(e,"to",(function(){return qn})),n.d(e,"tpi",(function(){return Dn})),n.d(e,"tr",(function(){return zn})),n.d(e,"ts",(function(){return Mn})),n.d(e,"tzm",(function(){return Un})),n.d(e,"ug",(function(){return Hn})),n.d(e,"uk",(function(){return Jn})),n.d(e,"und",(function(){return Wn})),n.d(e,"ur",(function(){return Gn})),n.d(e,"uz",(function(){return Zn})),n.d(e,"ve",(function(){return Kn})),n.d(e,"vi",(function(){return Vn})),n.d(e,"vo",(function(){return Yn})),n.d(e,"vun",(function(){return Xn})),n.d(e,"wa",(function(){return Qn})),n.d(e,"wae",(function(){return tr})),n.d(e,"wo",(function(){return er})),n.d(e,"xh",(function(){return nr})),n.d(e,"xog",(function(){return rr})),n.d(e,"yi",(function(){return ir})),n.d(e,"yo",(function(){return or})),n.d(e,"yue",(function(){return sr})),n.d(e,"zh",(function(){return ur})),n.d(e,"zu",(function(){return cr}));const r=t=>1==t?"one":"other",i=t=>0==t||1==t?"one":"other",o=t=>t>=0&&t<=1?"one":"other",s=t=>{const e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},u=t=>"other",c=t=>1==t?"one":2==t?"two":"other",a=r,f=i,l=o,d=r,h=t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},p=t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},m=o,g=r,y=s,b=r,w=r,v=t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),i=n&&e[0].slice(-2);return 1==r&&11!=i?"one":r>=2&&r<=4&&(i<12||i>14)?"few":n&&0==r||r>=5&&r<=9||i>=11&&i<=14?"many":"other"},x=r,k=r,S=r,E=i,O=u,C=o,_=u,T=t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),i=n&&e[0].slice(-2),o=n&&e[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&&n&&0==o?"many":"other"},N=r,j=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},R=s,A=r,F=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=r.slice(-1);return i&&(1==n||2==n||3==n)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},P=r,L=r,B=r,I=t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},$=t=>0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",q=t=>{const e=String(t).split("."),n=e[0],r=Number(e[0])==t;return 1!=t&&(r||0!=n&&1!=n)?"other":"one"},D=s,z=o,M=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.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"},U=r,H=u,J=r,W=r,G=s,Z=r,K=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 1==t?"one":0!=n&&0==i&&r?"many":"other"},V=s,Y=r,X=o,Q=t=>t>=0&&t<2?"one":"other",tt=s,et=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=r.slice(-1);return i&&(1==n||2==n||3==n)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},nt=r,rt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return t>=0&&t<2?"one":0!=n&&0==i&&r?"many":"other"},it=r,ot=s,st=t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t?"one":2==t?"two":n&&t>=3&&t<=6?"few":n&&t>=7&&t<=10?"many":"other"},ut=t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":n&&t>=3&&t<=10||n&&t>=13&&t<=19?"few":"other"},ct=s,at=r,ft=o,lt=i,dt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.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"},ht=r,pt=r,mt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=Number(e[0])==t,o=i&&e[0].slice(-1);return 1==t&&r?"one":2==n&&r?"two":r&&(t<0||t>10)&&i&&0==o?"many":"other"},gt=o,yt=u,bt=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},wt=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.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"},vt=r,xt=t=>t>=0&&t<2?"one":"other",kt=s,St=u,Et=u,Ot=u,Ct=s,_t=t=>{const e=String(t).split("."),n=e[0],r=Number(e[0])==t,i=n.slice(-1),o=n.slice(-2);return r&&1==i&&11!=o||!r?"one":"other"},Tt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 1==t&&r?"one":0!=n&&0==i&&r?"many":"other"},Nt=c,jt=u,Rt=u,At=r,Ft=r,Pt=u,Lt=u,Bt=r,It=t=>t>=0&&t<2?"one":"other",$t=r,qt=r,Dt=u,zt=u,Mt=r,Ut=r,Ht=r,Jt=u,Wt=o,Gt=u,Zt=r,Kt=r,Vt=t=>0==t?"zero":1==t?"one":"other",Yt=r,Xt=t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-2),i=n&&e[0].slice(-3),o=n&&e[0].slice(-5),s=n&&e[0].slice(-6);return 0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||n&&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"},Qt=r,te=t=>{const e=String(t).split(".")[0];return 0==t?"zero":0!=e&&1!=e||0==t?"other":"one"},ee=r,ne=r,re=s,ie=u,oe=i,se=u,ue=t=>{const e=String(t).split("."),n=e[1]||"",r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=n?"many":"other"},ce=t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2),u=n.slice(-2),c=n.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"},ae=r,fe=i,le=r,de=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":"other"},he=r,pe=r,me=t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||r>=2&&r<=19?"few":"other"},ge=r,ye=u,be=t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":0==t||n>=2&&n<=10?"few":n>=11&&n<=19?"many":"other"},we=u,ve=r,xe=c,ke=r,Se=r,Ee=r,Oe=s,Ce=r,_e=r,Te=r,Ne=u,je=r,Re=i,Ae=r,Fe=r,Pe=r,Le=r,Be=r,Ie=u,$e=i,qe=r,De=o,ze=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.slice(-2);return 1==t&&r?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&1!=n&&(0==i||1==i)||r&&i>=5&&i<=9||r&&o>=12&&o<=14?"many":"other"},Me=t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2),u=n.slice(-2),c=n.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"},Ue=r,He=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 0==n||1==n?"one":0!=n&&0==i&&r?"many":"other"},Je=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 1==t&&r?"one":0!=n&&0==i&&r?"many":"other"},We=r,Ge=t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||r>=2&&r<=19?"few":"other"},Ze=r,Ke=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.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"},Ve=r,Ye=u,Xe=r,Qe=c,tn=s,en=s,nn=r,rn=r,on=c,sn=r,un=u,cn=u,an=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},fn=t=>{const e=String(t).split("."),n=Number(e[0])==t;return t>=0&&t<=1?"one":n&&t>=2&&t<=10?"few":"other"},ln=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"";return 0==t||1==t||0==n&&1==r?"one":"other"},dn=t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},hn=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-2);return r&&1==i?"one":r&&2==i?"two":r&&(3==i||4==i)||!r?"few":"other"},pn=c,mn=c,gn=c,yn=c,bn=c,wn=r,vn=r,xn=r,kn=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},Sn=r,En=r,On=r,Cn=u,_n=s,Tn=s,Nn=r,jn=r,Rn=r,An=r,Fn=u,Pn=i,Ln=r,Bn=r,In=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=r.slice(-1);return i&&(1==n||2==n||3==n)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},$n=r,qn=u,Dn=u,zn=r,Mn=r,Un=t=>{const e=String(t).split("."),n=Number(e[0])==t;return 0==t||1==t||n&&t>=11&&t<=99?"one":"other"},Hn=r,Jn=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.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"},Wn=u,Gn=s,Zn=r,Kn=r,Vn=u,Yn=r,Xn=r,Qn=i,tr=r,er=u,nr=r,rr=r,ir=s,or=u,sr=u,ur=u,cr=o},function(t,e,n){"use strict";n.r(e),n.d(e,"af",(function(){return p})),n.d(e,"ak",(function(){return m})),n.d(e,"am",(function(){return g})),n.d(e,"an",(function(){return y})),n.d(e,"ar",(function(){return b})),n.d(e,"ars",(function(){return w})),n.d(e,"as",(function(){return v})),n.d(e,"asa",(function(){return x})),n.d(e,"ast",(function(){return k})),n.d(e,"az",(function(){return S})),n.d(e,"bal",(function(){return E})),n.d(e,"be",(function(){return O})),n.d(e,"bem",(function(){return C})),n.d(e,"bez",(function(){return _})),n.d(e,"bg",(function(){return T})),n.d(e,"bho",(function(){return N})),n.d(e,"bm",(function(){return j})),n.d(e,"bn",(function(){return R})),n.d(e,"bo",(function(){return A})),n.d(e,"br",(function(){return F})),n.d(e,"brx",(function(){return P})),n.d(e,"bs",(function(){return L})),n.d(e,"ca",(function(){return B})),n.d(e,"ce",(function(){return I})),n.d(e,"ceb",(function(){return $})),n.d(e,"cgg",(function(){return q})),n.d(e,"chr",(function(){return D})),n.d(e,"ckb",(function(){return z})),n.d(e,"cs",(function(){return M})),n.d(e,"cy",(function(){return U})),n.d(e,"da",(function(){return H})),n.d(e,"de",(function(){return J})),n.d(e,"doi",(function(){return W})),n.d(e,"dsb",(function(){return G})),n.d(e,"dv",(function(){return Z})),n.d(e,"dz",(function(){return K})),n.d(e,"ee",(function(){return V})),n.d(e,"el",(function(){return Y})),n.d(e,"en",(function(){return X})),n.d(e,"eo",(function(){return Q})),n.d(e,"es",(function(){return tt})),n.d(e,"et",(function(){return et})),n.d(e,"eu",(function(){return nt})),n.d(e,"fa",(function(){return rt})),n.d(e,"ff",(function(){return it})),n.d(e,"fi",(function(){return ot})),n.d(e,"fil",(function(){return st})),n.d(e,"fo",(function(){return ut})),n.d(e,"fr",(function(){return ct})),n.d(e,"fur",(function(){return at})),n.d(e,"fy",(function(){return ft})),n.d(e,"ga",(function(){return lt})),n.d(e,"gd",(function(){return dt})),n.d(e,"gl",(function(){return ht})),n.d(e,"gsw",(function(){return pt})),n.d(e,"gu",(function(){return mt})),n.d(e,"guw",(function(){return gt})),n.d(e,"gv",(function(){return yt})),n.d(e,"ha",(function(){return bt})),n.d(e,"haw",(function(){return wt})),n.d(e,"he",(function(){return vt})),n.d(e,"hi",(function(){return xt})),n.d(e,"hnj",(function(){return kt})),n.d(e,"hr",(function(){return St})),n.d(e,"hsb",(function(){return Et})),n.d(e,"hu",(function(){return Ot})),n.d(e,"hy",(function(){return Ct})),n.d(e,"ia",(function(){return _t})),n.d(e,"id",(function(){return Tt})),n.d(e,"ig",(function(){return Nt})),n.d(e,"ii",(function(){return jt})),n.d(e,"io",(function(){return Rt})),n.d(e,"is",(function(){return At})),n.d(e,"it",(function(){return Ft})),n.d(e,"iu",(function(){return Pt})),n.d(e,"ja",(function(){return Lt})),n.d(e,"jbo",(function(){return Bt})),n.d(e,"jgo",(function(){return It})),n.d(e,"jmc",(function(){return $t})),n.d(e,"jv",(function(){return qt})),n.d(e,"jw",(function(){return Dt})),n.d(e,"ka",(function(){return zt})),n.d(e,"kab",(function(){return Mt})),n.d(e,"kaj",(function(){return Ut})),n.d(e,"kcg",(function(){return Ht})),n.d(e,"kde",(function(){return Jt})),n.d(e,"kea",(function(){return Wt})),n.d(e,"kk",(function(){return Gt})),n.d(e,"kkj",(function(){return Zt})),n.d(e,"kl",(function(){return Kt})),n.d(e,"km",(function(){return Vt})),n.d(e,"kn",(function(){return Yt})),n.d(e,"ko",(function(){return Xt})),n.d(e,"ks",(function(){return Qt})),n.d(e,"ksb",(function(){return te})),n.d(e,"ksh",(function(){return ee})),n.d(e,"ku",(function(){return ne})),n.d(e,"kw",(function(){return re})),n.d(e,"ky",(function(){return ie})),n.d(e,"lag",(function(){return oe})),n.d(e,"lb",(function(){return se})),n.d(e,"lg",(function(){return ue})),n.d(e,"lij",(function(){return ce})),n.d(e,"lkt",(function(){return ae})),n.d(e,"ln",(function(){return fe})),n.d(e,"lo",(function(){return le})),n.d(e,"lt",(function(){return de})),n.d(e,"lv",(function(){return he})),n.d(e,"mas",(function(){return pe})),n.d(e,"mg",(function(){return me})),n.d(e,"mgo",(function(){return ge})),n.d(e,"mk",(function(){return ye})),n.d(e,"ml",(function(){return be})),n.d(e,"mn",(function(){return we})),n.d(e,"mo",(function(){return ve})),n.d(e,"mr",(function(){return xe})),n.d(e,"ms",(function(){return ke})),n.d(e,"mt",(function(){return Se})),n.d(e,"my",(function(){return Ee})),n.d(e,"nah",(function(){return Oe})),n.d(e,"naq",(function(){return Ce})),n.d(e,"nb",(function(){return _e})),n.d(e,"nd",(function(){return Te})),n.d(e,"ne",(function(){return Ne})),n.d(e,"nl",(function(){return je})),n.d(e,"nn",(function(){return Re})),n.d(e,"nnh",(function(){return Ae})),n.d(e,"no",(function(){return Fe})),n.d(e,"nqo",(function(){return Pe})),n.d(e,"nr",(function(){return Le})),n.d(e,"nso",(function(){return Be})),n.d(e,"ny",(function(){return Ie})),n.d(e,"nyn",(function(){return $e})),n.d(e,"om",(function(){return qe})),n.d(e,"or",(function(){return De})),n.d(e,"os",(function(){return ze})),n.d(e,"osa",(function(){return Me})),n.d(e,"pa",(function(){return Ue})),n.d(e,"pap",(function(){return He})),n.d(e,"pcm",(function(){return Je})),n.d(e,"pl",(function(){return We})),n.d(e,"prg",(function(){return Ge})),n.d(e,"ps",(function(){return Ze})),n.d(e,"pt",(function(){return Ke})),n.d(e,"pt_PT",(function(){return Ve})),n.d(e,"rm",(function(){return Ye})),n.d(e,"ro",(function(){return Xe})),n.d(e,"rof",(function(){return Qe})),n.d(e,"ru",(function(){return tn})),n.d(e,"rwk",(function(){return en})),n.d(e,"sah",(function(){return nn})),n.d(e,"saq",(function(){return rn})),n.d(e,"sat",(function(){return on})),n.d(e,"sc",(function(){return sn})),n.d(e,"scn",(function(){return un})),n.d(e,"sd",(function(){return cn})),n.d(e,"sdh",(function(){return an})),n.d(e,"se",(function(){return fn})),n.d(e,"seh",(function(){return ln})),n.d(e,"ses",(function(){return dn})),n.d(e,"sg",(function(){return hn})),n.d(e,"sh",(function(){return pn})),n.d(e,"shi",(function(){return mn})),n.d(e,"si",(function(){return gn})),n.d(e,"sk",(function(){return yn})),n.d(e,"sl",(function(){return bn})),n.d(e,"sma",(function(){return wn})),n.d(e,"smi",(function(){return vn})),n.d(e,"smj",(function(){return xn})),n.d(e,"smn",(function(){return kn})),n.d(e,"sms",(function(){return Sn})),n.d(e,"sn",(function(){return En})),n.d(e,"so",(function(){return On})),n.d(e,"sq",(function(){return Cn})),n.d(e,"sr",(function(){return _n})),n.d(e,"ss",(function(){return Tn})),n.d(e,"ssy",(function(){return Nn})),n.d(e,"st",(function(){return jn})),n.d(e,"su",(function(){return Rn})),n.d(e,"sv",(function(){return An})),n.d(e,"sw",(function(){return Fn})),n.d(e,"syr",(function(){return Pn})),n.d(e,"ta",(function(){return Ln})),n.d(e,"te",(function(){return Bn})),n.d(e,"teo",(function(){return In})),n.d(e,"th",(function(){return $n})),n.d(e,"ti",(function(){return qn})),n.d(e,"tig",(function(){return Dn})),n.d(e,"tk",(function(){return zn})),n.d(e,"tl",(function(){return Mn})),n.d(e,"tn",(function(){return Un})),n.d(e,"to",(function(){return Hn})),n.d(e,"tpi",(function(){return Jn})),n.d(e,"tr",(function(){return Wn})),n.d(e,"ts",(function(){return Gn})),n.d(e,"tzm",(function(){return Zn})),n.d(e,"ug",(function(){return Kn})),n.d(e,"uk",(function(){return Vn})),n.d(e,"und",(function(){return Yn})),n.d(e,"ur",(function(){return Xn})),n.d(e,"uz",(function(){return Qn})),n.d(e,"ve",(function(){return tr})),n.d(e,"vi",(function(){return er})),n.d(e,"vo",(function(){return nr})),n.d(e,"vun",(function(){return rr})),n.d(e,"wa",(function(){return ir})),n.d(e,"wae",(function(){return or})),n.d(e,"wo",(function(){return sr})),n.d(e,"xh",(function(){return ur})),n.d(e,"xog",(function(){return cr})),n.d(e,"yi",(function(){return ar})),n.d(e,"yo",(function(){return fr})),n.d(e,"yue",(function(){return lr})),n.d(e,"zh",(function(){return dr})),n.d(e,"zu",(function(){return hr}));const r="zero",i="one",o="two",s="few",u="many",c="other",a={cardinal:[i,c],ordinal:[c]},f={cardinal:[i,c],ordinal:[i,c]},l={cardinal:[c],ordinal:[c]},d={cardinal:[i,s,u,c],ordinal:[c]},h={cardinal:[i,o,c],ordinal:[c]},p=a,m=a,g=a,y=a,b={cardinal:[r,i,o,s,u,c],ordinal:[c]},w={cardinal:[r,i,o,s,u,c],ordinal:[c]},v={cardinal:[i,c],ordinal:[i,o,s,u,c]},x=a,k=a,S={cardinal:[i,c],ordinal:[i,s,u,c]},E=f,O={cardinal:[i,s,u,c],ordinal:[s,c]},C=a,_=a,T=a,N=a,j=l,R={cardinal:[i,c],ordinal:[i,o,s,u,c]},A=l,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]},I=a,$=a,q=a,D=a,z=a,M=d,U={cardinal:[r,i,o,s,u,c],ordinal:[r,i,o,s,u,c]},H=a,J=a,W=a,G={cardinal:[i,o,s,c],ordinal:[c]},Z=a,K=l,V=a,Y=a,X={cardinal:[i,c],ordinal:[i,o,s,c]},Q=a,tt={cardinal:[i,u,c],ordinal:[c]},et=a,nt=a,rt=a,it=a,ot=a,st=f,ut=a,ct={cardinal:[i,u,c],ordinal:[i,c]},at=a,ft=a,lt={cardinal:[i,o,s,u,c],ordinal:[i,c]},dt={cardinal:[i,o,s,c],ordinal:[i,o,s,c]},ht=a,pt=a,mt={cardinal:[i,c],ordinal:[i,o,s,u,c]},gt=a,yt={cardinal:[i,o,s,u,c],ordinal:[c]},bt=a,wt=a,vt={cardinal:[i,o,u,c],ordinal:[c]},xt={cardinal:[i,c],ordinal:[i,o,s,u,c]},kt=l,St={cardinal:[i,s,c],ordinal:[c]},Et={cardinal:[i,o,s,c],ordinal:[c]},Ot=f,Ct=f,_t=a,Tt=l,Nt=l,jt=l,Rt=a,At=a,Ft={cardinal:[i,u,c],ordinal:[u,c]},Pt=h,Lt=l,Bt=l,It=a,$t=a,qt=l,Dt=l,zt={cardinal:[i,c],ordinal:[i,u,c]},Mt=a,Ut=a,Ht=a,Jt=l,Wt=l,Gt={cardinal:[i,c],ordinal:[u,c]},Zt=a,Kt=a,Vt=l,Yt=a,Xt=l,Qt=a,te=a,ee={cardinal:[r,i,c],ordinal:[c]},ne=a,re={cardinal:[r,i,o,s,u,c],ordinal:[i,u,c]},ie=a,oe={cardinal:[r,i,c],ordinal:[c]},se=a,ue=a,ce={cardinal:[i,c],ordinal:[u,c]},ae=l,fe=a,le={cardinal:[c],ordinal:[i,c]},de=d,he={cardinal:[r,i,c],ordinal:[c]},pe=a,me=a,ge=a,ye={cardinal:[i,c],ordinal:[i,o,u,c]},be=a,we=a,ve={cardinal:[i,s,c],ordinal:[i,c]},xe={cardinal:[i,c],ordinal:[i,o,s,c]},ke={cardinal:[c],ordinal:[i,c]},Se=d,Ee=l,Oe=a,Ce=h,_e=a,Te=a,Ne=f,je=a,Re=a,Ae=a,Fe=a,Pe=l,Le=a,Be=a,Ie=a,$e=a,qe=a,De={cardinal:[i,c],ordinal:[i,o,s,u,c]},ze=a,Me=l,Ue=a,He=a,Je=a,We=d,Ge={cardinal:[r,i,c],ordinal:[c]},Ze=a,Ke={cardinal:[i,u,c],ordinal:[c]},Ve={cardinal:[i,u,c],ordinal:[c]},Ye=a,Xe={cardinal:[i,s,c],ordinal:[i,c]},Qe=a,tn=d,en=a,nn=l,rn=a,on=h,sn={cardinal:[i,c],ordinal:[u,c]},un={cardinal:[i,c],ordinal:[u,c]},cn=a,an=a,fn=h,ln=a,dn=l,hn=l,pn={cardinal:[i,s,c],ordinal:[c]},mn={cardinal:[i,s,c],ordinal:[c]},gn=a,yn=d,bn={cardinal:[i,o,s,c],ordinal:[c]},wn=h,vn=h,xn=h,kn=h,Sn=h,En=a,On=a,Cn={cardinal:[i,c],ordinal:[i,u,c]},_n={cardinal:[i,s,c],ordinal:[c]},Tn=a,Nn=a,jn=a,Rn=l,An=f,Fn=a,Pn=a,Ln=a,Bn=a,In=a,$n=l,qn=a,Dn=a,zn={cardinal:[i,c],ordinal:[s,c]},Mn=f,Un=a,Hn=l,Jn=l,Wn=a,Gn=a,Zn=a,Kn=a,Vn={cardinal:[i,s,u,c],ordinal:[s,c]},Yn=l,Xn=a,Qn=a,tr=a,er={cardinal:[c],ordinal:[i,c]},nr=a,rr=a,ir=a,or=a,sr=l,ur=a,cr=a,ar=a,fr=l,lr=l,dr=l,hr=a},function(t,e,n){"use strict";n.r(e),n.d(e,"af",(function(){return a})),n.d(e,"ak",(function(){return f})),n.d(e,"am",(function(){return l})),n.d(e,"an",(function(){return d})),n.d(e,"ar",(function(){return h})),n.d(e,"ars",(function(){return p})),n.d(e,"as",(function(){return m})),n.d(e,"asa",(function(){return g})),n.d(e,"ast",(function(){return y})),n.d(e,"az",(function(){return b})),n.d(e,"bal",(function(){return w})),n.d(e,"be",(function(){return v})),n.d(e,"bem",(function(){return x})),n.d(e,"bez",(function(){return k})),n.d(e,"bg",(function(){return S})),n.d(e,"bho",(function(){return E})),n.d(e,"bm",(function(){return O})),n.d(e,"bn",(function(){return C})),n.d(e,"bo",(function(){return _})),n.d(e,"br",(function(){return T})),n.d(e,"brx",(function(){return N})),n.d(e,"bs",(function(){return j})),n.d(e,"ca",(function(){return R})),n.d(e,"ce",(function(){return A})),n.d(e,"ceb",(function(){return F})),n.d(e,"cgg",(function(){return P})),n.d(e,"chr",(function(){return L})),n.d(e,"ckb",(function(){return B})),n.d(e,"cs",(function(){return I})),n.d(e,"cy",(function(){return $})),n.d(e,"da",(function(){return q})),n.d(e,"de",(function(){return D})),n.d(e,"doi",(function(){return z})),n.d(e,"dsb",(function(){return M})),n.d(e,"dv",(function(){return U})),n.d(e,"dz",(function(){return H})),n.d(e,"ee",(function(){return J})),n.d(e,"el",(function(){return W})),n.d(e,"en",(function(){return G})),n.d(e,"eo",(function(){return Z})),n.d(e,"es",(function(){return K})),n.d(e,"et",(function(){return V})),n.d(e,"eu",(function(){return Y})),n.d(e,"fa",(function(){return X})),n.d(e,"ff",(function(){return Q})),n.d(e,"fi",(function(){return tt})),n.d(e,"fil",(function(){return et})),n.d(e,"fo",(function(){return nt})),n.d(e,"fr",(function(){return rt})),n.d(e,"fur",(function(){return it})),n.d(e,"fy",(function(){return ot})),n.d(e,"ga",(function(){return st})),n.d(e,"gd",(function(){return ut})),n.d(e,"gl",(function(){return ct})),n.d(e,"gsw",(function(){return at})),n.d(e,"gu",(function(){return ft})),n.d(e,"guw",(function(){return lt})),n.d(e,"gv",(function(){return dt})),n.d(e,"ha",(function(){return ht})),n.d(e,"haw",(function(){return pt})),n.d(e,"he",(function(){return mt})),n.d(e,"hi",(function(){return gt})),n.d(e,"hnj",(function(){return yt})),n.d(e,"hr",(function(){return bt})),n.d(e,"hsb",(function(){return wt})),n.d(e,"hu",(function(){return vt})),n.d(e,"hy",(function(){return xt})),n.d(e,"ia",(function(){return kt})),n.d(e,"id",(function(){return St})),n.d(e,"ig",(function(){return Et})),n.d(e,"ii",(function(){return Ot})),n.d(e,"io",(function(){return Ct})),n.d(e,"is",(function(){return _t})),n.d(e,"it",(function(){return Tt})),n.d(e,"iu",(function(){return Nt})),n.d(e,"ja",(function(){return jt})),n.d(e,"jbo",(function(){return Rt})),n.d(e,"jgo",(function(){return At})),n.d(e,"jmc",(function(){return Ft})),n.d(e,"jv",(function(){return Pt})),n.d(e,"jw",(function(){return Lt})),n.d(e,"ka",(function(){return Bt})),n.d(e,"kab",(function(){return It})),n.d(e,"kaj",(function(){return $t})),n.d(e,"kcg",(function(){return qt})),n.d(e,"kde",(function(){return Dt})),n.d(e,"kea",(function(){return zt})),n.d(e,"kk",(function(){return Mt})),n.d(e,"kkj",(function(){return Ut})),n.d(e,"kl",(function(){return Ht})),n.d(e,"km",(function(){return Jt})),n.d(e,"kn",(function(){return Wt})),n.d(e,"ko",(function(){return Gt})),n.d(e,"ks",(function(){return Zt})),n.d(e,"ksb",(function(){return Kt})),n.d(e,"ksh",(function(){return Vt})),n.d(e,"ku",(function(){return Yt})),n.d(e,"kw",(function(){return Xt})),n.d(e,"ky",(function(){return Qt})),n.d(e,"lag",(function(){return te})),n.d(e,"lb",(function(){return ee})),n.d(e,"lg",(function(){return ne})),n.d(e,"lij",(function(){return re})),n.d(e,"lkt",(function(){return ie})),n.d(e,"ln",(function(){return oe})),n.d(e,"lo",(function(){return se})),n.d(e,"lt",(function(){return ue})),n.d(e,"lv",(function(){return ce})),n.d(e,"mas",(function(){return ae})),n.d(e,"mg",(function(){return fe})),n.d(e,"mgo",(function(){return le})),n.d(e,"mk",(function(){return de})),n.d(e,"ml",(function(){return he})),n.d(e,"mn",(function(){return pe})),n.d(e,"mo",(function(){return me})),n.d(e,"mr",(function(){return ge})),n.d(e,"ms",(function(){return ye})),n.d(e,"mt",(function(){return be})),n.d(e,"my",(function(){return we})),n.d(e,"nah",(function(){return ve})),n.d(e,"naq",(function(){return xe})),n.d(e,"nb",(function(){return ke})),n.d(e,"nd",(function(){return Se})),n.d(e,"ne",(function(){return Ee})),n.d(e,"nl",(function(){return Oe})),n.d(e,"nn",(function(){return Ce})),n.d(e,"nnh",(function(){return _e})),n.d(e,"no",(function(){return Te})),n.d(e,"nqo",(function(){return Ne})),n.d(e,"nr",(function(){return je})),n.d(e,"nso",(function(){return Re})),n.d(e,"ny",(function(){return Ae})),n.d(e,"nyn",(function(){return Fe})),n.d(e,"om",(function(){return Pe})),n.d(e,"or",(function(){return Le})),n.d(e,"os",(function(){return Be})),n.d(e,"osa",(function(){return Ie})),n.d(e,"pa",(function(){return $e})),n.d(e,"pap",(function(){return qe})),n.d(e,"pcm",(function(){return De})),n.d(e,"pl",(function(){return ze})),n.d(e,"prg",(function(){return Me})),n.d(e,"ps",(function(){return Ue})),n.d(e,"pt",(function(){return He})),n.d(e,"pt_PT",(function(){return Je})),n.d(e,"rm",(function(){return We})),n.d(e,"ro",(function(){return Ge})),n.d(e,"rof",(function(){return Ze})),n.d(e,"ru",(function(){return Ke})),n.d(e,"rwk",(function(){return Ve})),n.d(e,"sah",(function(){return Ye})),n.d(e,"saq",(function(){return Xe})),n.d(e,"sat",(function(){return Qe})),n.d(e,"sc",(function(){return tn})),n.d(e,"scn",(function(){return en})),n.d(e,"sd",(function(){return nn})),n.d(e,"sdh",(function(){return rn})),n.d(e,"se",(function(){return on})),n.d(e,"seh",(function(){return sn})),n.d(e,"ses",(function(){return un})),n.d(e,"sg",(function(){return cn})),n.d(e,"sh",(function(){return an})),n.d(e,"shi",(function(){return fn})),n.d(e,"si",(function(){return ln})),n.d(e,"sk",(function(){return dn})),n.d(e,"sl",(function(){return hn})),n.d(e,"sma",(function(){return pn})),n.d(e,"smi",(function(){return mn})),n.d(e,"smj",(function(){return gn})),n.d(e,"smn",(function(){return yn})),n.d(e,"sms",(function(){return bn})),n.d(e,"sn",(function(){return wn})),n.d(e,"so",(function(){return vn})),n.d(e,"sq",(function(){return xn})),n.d(e,"sr",(function(){return kn})),n.d(e,"ss",(function(){return Sn})),n.d(e,"ssy",(function(){return En})),n.d(e,"st",(function(){return On})),n.d(e,"su",(function(){return Cn})),n.d(e,"sv",(function(){return _n})),n.d(e,"sw",(function(){return Tn})),n.d(e,"syr",(function(){return Nn})),n.d(e,"ta",(function(){return jn})),n.d(e,"te",(function(){return Rn})),n.d(e,"teo",(function(){return An})),n.d(e,"th",(function(){return Fn})),n.d(e,"ti",(function(){return Pn})),n.d(e,"tig",(function(){return Ln})),n.d(e,"tk",(function(){return Bn})),n.d(e,"tl",(function(){return In})),n.d(e,"tn",(function(){return $n})),n.d(e,"to",(function(){return qn})),n.d(e,"tpi",(function(){return Dn})),n.d(e,"tr",(function(){return zn})),n.d(e,"ts",(function(){return Mn})),n.d(e,"tzm",(function(){return Un})),n.d(e,"ug",(function(){return Hn})),n.d(e,"uk",(function(){return Jn})),n.d(e,"und",(function(){return Wn})),n.d(e,"ur",(function(){return Gn})),n.d(e,"uz",(function(){return Zn})),n.d(e,"ve",(function(){return Kn})),n.d(e,"vi",(function(){return Vn})),n.d(e,"vo",(function(){return Yn})),n.d(e,"vun",(function(){return Xn})),n.d(e,"wa",(function(){return Qn})),n.d(e,"wae",(function(){return tr})),n.d(e,"wo",(function(){return er})),n.d(e,"xh",(function(){return nr})),n.d(e,"xog",(function(){return rr})),n.d(e,"yi",(function(){return ir})),n.d(e,"yo",(function(){return or})),n.d(e,"yue",(function(){return sr})),n.d(e,"zh",(function(){return ur})),n.d(e,"zu",(function(){return cr}));const r=(t,e)=>e?"other":1==t?"one":"other",i=(t,e)=>e?"other":0==t||1==t?"one":"other",o=(t,e)=>e?"other":t>=0&&t<=1?"one":"other",s=(t,e)=>{const n=!String(t).split(".")[1];return e?"other":1==t&&n?"one":"other"},u=(t,e)=>"other",c=(t,e)=>e?"other":1==t?"one":2==t?"two":"other",a=r,f=i,l=o,d=r,h=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},p=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},m=(t,e)=>e?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",g=r,y=s,b=(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-1),i=n.slice(-2),o=n.slice(-3);return e?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==n||6==r||40==i||60==i||90==i?"many":"other":1==t?"one":"other"},w=(t,e)=>1==t?"one":"other",v=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?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"},x=r,k=r,S=r,E=i,O=u,C=(t,e)=>e?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",_=u,T=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2),s=r&&n[0].slice(-6);return e?"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"},N=r,j=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},R=(t,e)=>{const n=!String(t).split(".")[1];return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&n?"one":"other"},A=r,F=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=i.slice(-1);return e?"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"},P=r,L=r,B=r,I=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1];return e?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"},$=(t,e)=>e?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",q=(t,e)=>{const n=String(t).split("."),r=n[0],i=Number(n[0])==t;return e||1!=t&&(i||0!=r&&1!=r)?"other":"one"},D=s,z=o,M=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-2),u=i.slice(-2);return e?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"},U=r,H=u,J=r,W=r,G=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return e?1==o&&11!=s?"one":2==o&&12!=s?"two":3==o&&13!=s?"few":"other":1==t&&r?"one":"other"},Z=r,K=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?"other":1==t?"one":0!=r&&0==o&&i?"many":"other"},V=s,Y=r,X=o,Q=(t,e)=>e?"other":t>=0&&t<2?"one":"other",tt=s,et=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=i.slice(-1);return e?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"},nt=r,rt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?1==t?"one":"other":t>=0&&t<2?"one":0!=r&&0==o&&i?"many":"other"},it=r,ot=s,st=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},ut=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?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"},ct=s,at=r,ft=(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",lt=i,dt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-1),s=r.slice(-2);return e?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?i?"other":"many":"few"},ht=r,pt=r,mt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=Number(n[0])==t,s=o&&n[0].slice(-1);return e?"other":1==t&&i?"one":2==r&&i?"two":i&&(t<0||t>10)&&o&&0==s?"many":"other"},gt=(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",yt=u,bt=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},wt=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-2),u=i.slice(-2);return e?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"},vt=(t,e)=>e?1==t||5==t?"one":"other":1==t?"one":"other",xt=(t,e)=>e?1==t?"one":"other":t>=0&&t<2?"one":"other",kt=s,St=u,Et=u,Ot=u,Ct=s,_t=(t,e)=>{const n=String(t).split("."),r=n[0],i=Number(n[0])==t,o=r.slice(-1),s=r.slice(-2);return e?"other":i&&1==o&&11!=s||!i?"one":"other"},Tt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&i?"one":0!=r&&0==o&&i?"many":"other"},Nt=c,jt=u,Rt=u,At=r,Ft=r,Pt=u,Lt=u,Bt=(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-2);return e?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"},It=(t,e)=>e?"other":t>=0&&t<2?"one":"other",$t=r,qt=r,Dt=u,zt=u,Mt=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1);return e?6==i||9==i||r&&0==i&&0!=t?"many":"other":1==t?"one":"other"},Ut=r,Ht=r,Jt=u,Wt=o,Gt=u,Zt=r,Kt=r,Vt=(t,e)=>e?"other":0==t?"zero":1==t?"one":"other",Yt=r,Xt=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-2),o=r&&n[0].slice(-3),s=r&&n[0].slice(-5),u=r&&n[0].slice(-6);return e?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"},Qt=r,te=(t,e)=>{const n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},ee=r,ne=r,re=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t;return e?11==t||8==t||i&&t>=80&&t<=89||i&&t>=800&&t<=899?"many":"other":1==t&&r?"one":"other"},ie=u,oe=i,se=(t,e)=>e&&1==t?"one":"other",ue=(t,e)=>{const n=String(t).split("."),r=n[1]||"",i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return e?"other":1==o&&(s<11||s>19)?"one":o>=2&&o<=9&&(s<11||s>19)?"few":0!=r?"many":"other"},ce=(t,e)=>{const n=String(t).split("."),r=n[1]||"",i=r.length,o=Number(n[0])==t,s=o&&n[0].slice(-1),u=o&&n[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return e?"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"},ae=r,fe=i,le=r,de=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?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"},he=r,pe=r,me=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"},ge=(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other",ye=(t,e)=>e&&1==t?"one":"other",be=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},we=u,ve=r,xe=c,ke=r,Se=r,Ee=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},Oe=s,Ce=r,_e=r,Te=r,Ne=u,je=r,Re=i,Ae=r,Fe=r,Pe=r,Le=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?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"},Be=r,Ie=u,$e=i,qe=r,De=o,ze=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-1),s=r.slice(-2);return e?"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"},Me=(t,e)=>{const n=String(t).split("."),r=n[1]||"",i=r.length,o=Number(n[0])==t,s=o&&n[0].slice(-1),u=o&&n[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return e?"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"},Ue=r,He=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?"other":0==r||1==r?"one":0!=r&&0==o&&i?"many":"other"},Je=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?"other":1==t&&i?"one":0!=r&&0==o&&i?"many":"other"},We=r,Ge=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"},Ze=r,Ke=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-1),s=r.slice(-2);return e?"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"},Ve=r,Ye=u,Xe=r,Qe=c,tn=(t,e)=>{const n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},en=(t,e)=>{const n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},nn=r,rn=r,on=c,sn=r,un=u,cn=u,an=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},fn=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"},ln=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"";return e?"other":0==t||1==t||0==r&&1==i?"one":"other"},dn=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1];return e?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"},hn=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-2);return e?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"},pn=c,mn=c,gn=c,yn=c,bn=c,wn=r,vn=r,xn=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?1==t?"one":4==i&&14!=o?"many":"other":1==t?"one":"other"},kn=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},Sn=r,En=r,On=r,Cn=u,_n=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return e?1!=o&&2!=o||11==s||12==s?"other":"one":1==t&&r?"one":"other"},Tn=s,Nn=r,jn=r,Rn=r,An=r,Fn=u,Pn=i,Ln=r,Bn=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-1);return e?6==r||9==r||10==t?"few":"other":1==t?"one":"other"},In=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=i.slice(-1);return e?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"},$n=r,qn=u,Dn=u,zn=r,Mn=r,Un=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"},Hn=r,Jn=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=Number(n[0])==t,s=o&&n[0].slice(-1),u=o&&n[0].slice(-2),c=r.slice(-1),a=r.slice(-2);return e?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"},Wn=u,Gn=s,Zn=r,Kn=r,Vn=(t,e)=>e&&1==t?"one":"other",Yn=r,Xn=r,Qn=i,tr=r,er=u,nr=r,rr=r,ir=s,or=u,sr=u,ur=u,cr=o},function(t,e){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var e=[],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?e.push(n.charAt(i>>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&e.push((n.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|n.indexOf(t.charAt(r))>>>6-2*i);return e}},t.exports=r},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.transifex=e():t.transifex=e()}(global,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=69)}([function(t,e,n){"use strict";var r=n(10),i=Object.prototype.toString;function o(t){return Array.isArray(t)}function s(t){return void 0===t}function u(t){return"[object ArrayBuffer]"===i.call(t)}function c(t){return null!==t&&"object"==typeof t}function a(t){if("[object Object]"!==i.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function f(t){return"[object Function]"===i.call(t)}function l(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),o(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}t.exports={isArray:o,isArrayBuffer:u,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"[object FormData]"===i.call(t)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:a,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:f,isStream:function(t){return c(t)&&f(t.pipe)},isURLSearchParams:function(t){return"[object URLSearchParams]"===i.call(t)},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:l,merge:function t(){var e={};function n(n,r){a(e[r])&&a(n)?e[r]=t(e[r],n):a(n)?e[r]=t({},n):o(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)l(arguments[r],n);return e},extend:function(t,e,n){return l(e,(function(e,i){t[i]=n&&"function"==typeof e?r(e,n):e})),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,e,n){t.exports=n(23)},function(t,e,n){"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,e,n){"use strict";var r=n(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,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+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,e,n){"use strict";var r=n(0),i=n(28),o=n(5),s=n(6),u={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var a,f={transitional:s,adapter:("undefined"!=typeof XMLHttpRequest?a=n(29):"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process)&&(a=n(35)),a),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"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)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,n=e&&e.silentJSONParsing,i=e&&e.forcedJSONParsing,s=!n&&"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){f.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){f.headers[t]=r.merge(u)})),t.exports=f},function(t,e,n){"use strict";t.exports=function(t,e,n,r,i){return t.config=e,n&&(t.code=n),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,e,n){"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},function(t,e,n){"use strict";var r=n(5);t.exports=function(t,e,n,i,o){var s=new Error(t);return r(s,e,n,i,o)}},function(t,e){t.exports={version:"0.26.1"}},function(t,e,n){"use strict";var r=n(53),i=n(64),o=n(65),s=n(66),u=n(20);function c(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function a(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}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 e=t.match(/.+?(?=[-_])/);return e?e[0]:t}function m(t){if("function"==typeof t){const e=p(t.name);return{isDefault:!1,id:u.identifier(e),lc:e,locale:t.name,getPlural:t,cardinals:t.cardinals||[],ordinals:t.ordinals||[]}}const e=p(t),n=u.identifier(e);return function(t){return t in h}(n)?{isDefault:!0,id:n,lc:e,locale:t,getCardinal:l[n],getPlural:h[n],cardinals:d[n].cardinal,ordinals:d[n].ordinal}:null}function g(t){const e=p(t);return u.identifier(e)in h}class y{constructor(t,e){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},requireAllArguments:!1,returnType:"string",strict:e&&e.strictNumberSign||!1},e),"*"===t)this.plurals=function(t){const e=Object.keys(h).filter(e=>e!==t);return e.unshift(t),e.map(m)}(y.defaultLocale);else if(Array.isArray(t))this.plurals=t.map(m).filter(Boolean);else if(t){const e=m(t);e&&(this.plurals=[e])}if(0===this.plurals.length){const t=m(y.defaultLocale);this.plurals=[t]}}static escape(t,e){const n=e?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")}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 e=new f.default(this.options),n="return "+e.compile(t,this.plurals[0]),r=[],i=[];for(const[t,n]of Object.entries(e.runtime))r.push(t),i.push(n);return new Function(...r,n)(...i)}}y.defaultLocale="en",t.exports=y},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(7);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";var r=n(31),i=n(32);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},function(t,e){t.exports=require("http")},function(t,e){t.exports=require("https")},function(t,e,n){var r=n(16),i=r.URL,o=n(13),s=n(14),u=n(36).Writable,c=n(37),a=n(38),f=["abort","aborted","connect","error","socket","timeout"],l=Object.create(null);f.forEach((function(t){l[t]=function(e,n,r){this._redirectable.emit(t,e,n,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,e){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=[],e&&this.on("response",e);var n=this;this._onNativeResponse=function(t){n._processResponse(t)},this._performRequest()}function y(t){var e={maxRedirects:21,maxBodyLength:10485760},n={};return Object.keys(t).forEach((function(o){var s=o+":",u=n[s]=t[o],f=e[o]=Object.create(u);Object.defineProperties(f,{request:{value:function(t,o,u){if("string"==typeof t){var f=t;try{t=b(new i(f))}catch(e){t=r.parse(f)}}else i&&t instanceof i?t=b(t):(u=o,o=t,t={protocol:s});return"function"==typeof o&&(u=o,o=null),(o=Object.assign({maxRedirects:e.maxRedirects,maxBodyLength:e.maxBodyLength},t,o)).nativeProtocols=n,c.equal(o.protocol,s,"protocol mismatch"),a("options",o),new g(o,u)},configurable:!0,enumerable:!0,writable:!0},get:{value:function(t,e,n){var r=f.request(t,e,n);return r.end(),r},configurable:!0,enumerable:!0,writable:!0}})})),e}function w(){}function b(t){var e={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&&(e.port=Number(t.port)),e}function v(t,e){var n;for(var r in e)t.test(r)&&(n=e[r],delete e[r]);return null==n?void 0:String(n).trim()}function x(t,e){function n(t){Error.captureStackTrace(this,this.constructor),t?(this.message=e+": "+t.message,this.cause=t):this.message=e}return n.prototype=new Error,n.prototype.constructor=n,n.prototype.name="Error ["+t+"]",n.prototype.code=t,n}function k(t){for(var e=0;e<f.length;e++)t.removeListener(f[e],l[f[e]]);t.on("error",w),t.abort()}g.prototype=Object.create(u.prototype),g.prototype.abort=function(){k(this._currentRequest),this.emit("abort")},g.prototype.write=function(t,e,n){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 e&&(n=e,e=null),0!==t.length?this._requestBodyLength+t.length<=this._options.maxBodyLength?(this._requestBodyLength+=t.length,this._requestBodyBuffers.push({data:t,encoding:e}),this._currentRequest.write(t,e,n)):(this.emit("error",new p),this.abort()):n&&n()},g.prototype.end=function(t,e,n){if("function"==typeof t?(n=t,t=e=null):"function"==typeof e&&(n=e,e=null),t){var r=this,i=this._currentRequest;this.write(t,e,(function(){r._ended=!0,i.end(null,null,n)})),this._ending=!0}else this._ended=this._ending=!0,this._currentRequest.end(null,null,n)},g.prototype.setHeader=function(t,e){this._options.headers[t]=e,this._currentRequest.setHeader(t,e)},g.prototype.removeHeader=function(t){delete this._options.headers[t],this._currentRequest.removeHeader(t)},g.prototype.setTimeout=function(t,e){var n=this;function r(e){e.setTimeout(t),e.removeListener("timeout",e.destroy),e.addListener("timeout",e.destroy)}function i(e){n._timeout&&clearTimeout(n._timeout),n._timeout=setTimeout((function(){n.emit("timeout"),o()}),t),r(e)}function o(){n._timeout&&(clearTimeout(n._timeout),n._timeout=null),n.removeListener("abort",o),n.removeListener("error",o),n.removeListener("response",o),e&&n.removeListener("timeout",e),n.socket||n._currentRequest.removeListener("socket",i)}return e&&this.on("timeout",e),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(e,n){return this._currentRequest[t](e,n)}})),["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 e=t.path.indexOf("?");e<0?t.pathname=t.path:(t.pathname=t.path.substring(0,e),t.search=t.path.substring(e))}},g.prototype._performRequest=function(){var t=this._options.protocol,e=this._options.nativeProtocols[t];if(e){if(this._options.agents){var n=t.substr(0,t.length-1);this._options.agent=this._options.agents[n]}var i=this._currentRequest=e.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(e){if(i===u._currentRequest)if(e)u.emit("error",e);else if(s<c.length){var n=c[s++];i.finished||i.write(n.data,n.encoding,t)}else u._ended&&i.end()}()}}else this.emit("error",new TypeError("Unsupported protocol "+t))},g.prototype._processResponse=function(t){var e=t.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:t.headers,statusCode:e});var n=t.headers.location;if(!n||!1===this._options.followRedirects||e<300||e>=400)return t.responseUrl=this._currentUrl,t.redirects=this._redirects,this.emit("response",t),void(this._requestBodyBuffers=[]);if(k(this._currentRequest),t.destroy(),++this._redirectCount>this._options.maxRedirects)this.emit("error",new h);else{((301===e||302===e)&&"POST"===this._options.method||303===e&&!/^(?: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(n)?this._currentUrl:r.format(Object.assign(s,{host:u}));try{i=r.resolve(c,n)}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.protocol!==s.protocol&&"https:"!==f.protocol||f.host!==u&&!function(t,e){const n=t.length-e.length-1;return n>0&&"."===t[n]&&t.endsWith(e)}(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))}}},t.exports=y({http:o,https:s}),t.exports.wrap=y},function(t,e){t.exports=require("url")},function(t,e,n){t.exports=function(t){function e(t){let n,i,o,s=null;function u(...t){if(!u.enabled)return;const r=u,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let s=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(n,i)=>{if("%%"===n)return"%";s++;const o=e.formatters[i];if("function"==typeof o){const e=t[s];n=o.call(r,e),t.splice(s,1),s--}return n}),e.formatArgs.call(r,t);(r.log||e.log).apply(r,t)}return u.namespace=t,u.useColors=e.useColors(),u.color=e.selectColor(t),u.extend=r,u.destroy=e.destroy,Object.defineProperty(u,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==e.namespaces&&(i=e.namespaces,o=e.enabled(t)),o),set:t=>{s=t}}),"function"==typeof e.init&&e.init(u),u}function r(t,n){const r=e(this.namespace+(void 0===n?":":n)+t);return r.log=this.log,r}function i(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){if(t instanceof Error)return t.stack||t.message;return t},e.disable=function(){const t=[...e.names.map(i),...e.skips.map(i).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let n;e.save(t),e.namespaces=t,e.names=[],e.skips=[];const r=("string"==typeof t?t:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(t=r[n].replace(/\*/g,".*?"))[0]?e.skips.push(new RegExp("^"+t.slice(1)+"$")):e.names.push(new RegExp("^"+t+"$")))},e.enabled=function(t){if("*"===t[t.length-1])return!0;let n,r;for(n=0,r=e.skips.length;n<r;n++)if(e.skips[n].test(t))return!1;for(n=0,r=e.names.length;n<r;n++)if(e.names[n].test(t))return!0;return!1},e.humanize=n(41),e.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(n=>{e[n]=t[n]}),e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;return e.colors[Math.abs(n)%e.colors.length]},e.enable(e.load()),e}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){e=e||{};var n={};function i(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return i(void 0,e[t])}function u(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function c(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):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(e)),(function(t){var e=a[t]||o,i=e(t);r.isUndefined(i)&&e!==c||(n[t]=i)})),n}},function(t,e,n){const r=n(63);t.exports={identifier:function(t,e){e&&(t+=" "+function(t){let e=0;for(let n=0;n<t.length;++n){e=(e<<5)-e+t.charCodeAt(n),e|=0}return e}(t).toString(36));const n=t.trim().replace(/\W+/g,"_");return r.ES3[n]||r.ESnext[n]||/^\d/.test(n)?"_"+n:n},property:function(t,e){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(e)&&!r.ES3[e])return t?t+"."+e:e;{const n=JSON.stringify(e);return t?t+"["+n+"]":n}}}},function(t,e){var n={utf8:{stringToBytes:function(t){return n.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(n.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],n=0;n<t.length;n++)e.push(255&t.charCodeAt(n));return e},bytesToString:function(t){for(var e=[],n=0;n<t.length;n++)e.push(String.fromCharCode(t[n]));return e.join("")}}};t.exports=n},function(t,e,n){var r,i,o,s,u;r=n(67),i=n(21).utf8,o=n(68),s=n(21).bin,(u=function(t,e){t.constructor==String?t=e&&"binary"===e.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 n=r.bytesToWords(t),c=8*t.length,a=1732584193,f=-271733879,l=-1732584194,d=271733878,h=0;h<n.length;h++)n[h]=16711935&(n[h]<<8|n[h]>>>24)|4278255360&(n[h]<<24|n[h]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var p=u._ff,m=u._gg,g=u._hh,y=u._ii;for(h=0;h<n.length;h+=16){var w=a,b=f,v=l,x=d;a=p(a,f,l,d,n[h+0],7,-680876936),d=p(d,a,f,l,n[h+1],12,-389564586),l=p(l,d,a,f,n[h+2],17,606105819),f=p(f,l,d,a,n[h+3],22,-1044525330),a=p(a,f,l,d,n[h+4],7,-176418897),d=p(d,a,f,l,n[h+5],12,1200080426),l=p(l,d,a,f,n[h+6],17,-1473231341),f=p(f,l,d,a,n[h+7],22,-45705983),a=p(a,f,l,d,n[h+8],7,1770035416),d=p(d,a,f,l,n[h+9],12,-1958414417),l=p(l,d,a,f,n[h+10],17,-42063),f=p(f,l,d,a,n[h+11],22,-1990404162),a=p(a,f,l,d,n[h+12],7,1804603682),d=p(d,a,f,l,n[h+13],12,-40341101),l=p(l,d,a,f,n[h+14],17,-1502002290),a=m(a,f=p(f,l,d,a,n[h+15],22,1236535329),l,d,n[h+1],5,-165796510),d=m(d,a,f,l,n[h+6],9,-1069501632),l=m(l,d,a,f,n[h+11],14,643717713),f=m(f,l,d,a,n[h+0],20,-373897302),a=m(a,f,l,d,n[h+5],5,-701558691),d=m(d,a,f,l,n[h+10],9,38016083),l=m(l,d,a,f,n[h+15],14,-660478335),f=m(f,l,d,a,n[h+4],20,-405537848),a=m(a,f,l,d,n[h+9],5,568446438),d=m(d,a,f,l,n[h+14],9,-1019803690),l=m(l,d,a,f,n[h+3],14,-187363961),f=m(f,l,d,a,n[h+8],20,1163531501),a=m(a,f,l,d,n[h+13],5,-1444681467),d=m(d,a,f,l,n[h+2],9,-51403784),l=m(l,d,a,f,n[h+7],14,1735328473),a=g(a,f=m(f,l,d,a,n[h+12],20,-1926607734),l,d,n[h+5],4,-378558),d=g(d,a,f,l,n[h+8],11,-2022574463),l=g(l,d,a,f,n[h+11],16,1839030562),f=g(f,l,d,a,n[h+14],23,-35309556),a=g(a,f,l,d,n[h+1],4,-1530992060),d=g(d,a,f,l,n[h+4],11,1272893353),l=g(l,d,a,f,n[h+7],16,-155497632),f=g(f,l,d,a,n[h+10],23,-1094730640),a=g(a,f,l,d,n[h+13],4,681279174),d=g(d,a,f,l,n[h+0],11,-358537222),l=g(l,d,a,f,n[h+3],16,-722521979),f=g(f,l,d,a,n[h+6],23,76029189),a=g(a,f,l,d,n[h+9],4,-640364487),d=g(d,a,f,l,n[h+12],11,-421815835),l=g(l,d,a,f,n[h+15],16,530742520),a=y(a,f=g(f,l,d,a,n[h+2],23,-995338651),l,d,n[h+0],6,-198630844),d=y(d,a,f,l,n[h+7],10,1126891415),l=y(l,d,a,f,n[h+14],15,-1416354905),f=y(f,l,d,a,n[h+5],21,-57434055),a=y(a,f,l,d,n[h+12],6,1700485571),d=y(d,a,f,l,n[h+3],10,-1894986606),l=y(l,d,a,f,n[h+10],15,-1051523),f=y(f,l,d,a,n[h+1],21,-2054922799),a=y(a,f,l,d,n[h+8],6,1873313359),d=y(d,a,f,l,n[h+15],10,-30611744),l=y(l,d,a,f,n[h+6],15,-1560198380),f=y(f,l,d,a,n[h+13],21,1309151649),a=y(a,f,l,d,n[h+4],6,-145523070),d=y(d,a,f,l,n[h+11],10,-1120210379),l=y(l,d,a,f,n[h+2],15,718787259),f=y(f,l,d,a,n[h+9],21,-343485551),a=a+w>>>0,f=f+b>>>0,l=l+v>>>0,d=d+x>>>0}return r.endian([a,f,l,d])})._ff=function(t,e,n,r,i,o,s){var u=t+(e&n|~e&r)+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._gg=function(t,e,n,r,i,o,s){var u=t+(e&r|n&~r)+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._hh=function(t,e,n,r,i,o,s){var u=t+(e^n^r)+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._ii=function(t,e,n,r,i,o,s){var u=t+(n^(e|~r))+(i>>>0)+s;return(u<<o|u>>>32-o)+e},u._blocksize=16,u._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var n=r.wordsToBytes(u(t,e));return e&&e.asBytes?n:e&&e.asString?s.bytesToString(n):r.bytesToHex(n)}},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(24),s=n(19);var u=function t(e){var n=new o(e),u=i(o.prototype.request,n);return r.extend(u,o.prototype,n),r.extend(u,n),u.create=function(n){return t(s(e,n))},u}(n(4));u.Axios=o,u.Cancel=n(2),u.CancelToken=n(50),u.isCancel=n(18),u.VERSION=n(8).version,u.all=function(t){return Promise.all(t)},u.spread=n(51),u.isAxiosError=n(52),t.exports=u,t.exports.default=u},function(t,e,n){"use strict";var r=n(0),i=n(3),o=n(25),s=n(26),u=n(19),c=n(49),a=c.validators;function f(t){this.defaults=t,this.interceptors={request:new o,response:new o}}f.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=u(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&c.assertOptions(n,{silentJSONParsing:a.transitional(a.boolean),forcedJSONParsing:a.transitional(a.boolean),clarifyTimeoutError:a.transitional(a.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,f=[];if(this.interceptors.response.forEach((function(t){f.push(t.fulfilled,t.rejected)})),!i){var l=[s,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(f),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var d=e;r.length;){var h=r.shift(),p=r.shift();try{d=h(d)}catch(t){p(t);break}}try{o=s(d)}catch(t){return Promise.reject(t)}for(;f.length;)o=o.then(f.shift(),f.shift());return o},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(e,n){return this.request(u(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){f.prototype[t]=function(e,n,r){return this.request(u(r||{},{method:t,url:e,data:n}))}})),t.exports=f},function(t,e,n){"use strict";var r=n(0);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.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(e){null!==e&&t(e)}))},t.exports=i},function(t,e,n){"use strict";var r=n(0),i=n(27),o=n(18),s=n(4),u=n(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(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return c(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},function(t,e,n){"use strict";var r=n(0),i=n(4);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},function(t,e,n){"use strict";var r=n(0),i=n(11),o=n(30),s=n(3),u=n(12),c=n(33),a=n(34),f=n(7),l=n(6),d=n(2);t.exports=function(t){return new Promise((function(e,n){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 w=new XMLHttpRequest;if(t.auth){var b=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(b+":"+v)}var x=u(t.baseURL,t.url);function k(){if(w){var r="getAllResponseHeaders"in w?c(w.getAllResponseHeaders()):null,o={data:g&&"text"!==g&&"json"!==g?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:r,config:t,request:w};i((function(t){e(t),y()}),(function(t){n(t),y()}),o),w=null}}if(w.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),w.timeout=t.timeout,"onloadend"in w?w.onloadend=k:w.onreadystatechange=function(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(k)},w.onabort=function(){w&&(n(f("Request aborted",t,"ECONNABORTED",w)),w=null)},w.onerror=function(){n(f("Network Error",t,null,w)),w=null},w.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||l;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(f(e,t,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",w)),w=null},r.isStandardBrowserEnv()){var S=(t.withCredentials||a(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;S&&(m[t.xsrfHeaderName]=S)}"setRequestHeader"in w&&r.forEach(m,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete m[e]:w.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(w.withCredentials=!!t.withCredentials),g&&"json"!==g&&(w.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&w.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(h=function(t){w&&(n(!t||t&&t.type?new d("canceled"):t),w.abort(),w=null)},t.cancelToken&&t.cancelToken.subscribe(h),t.signal&&(t.signal.aborted?h():t.signal.addEventListener("abort",h))),p||(p=null),w.send(p)}))}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,s){var u=[];u.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&u.push("expires="+new Date(n).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 e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(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 e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},function(t,e,n){"use strict";var r=n(0);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r=n(0),i=n(11),o=n(12),s=n(3),u=n(13),c=n(14),a=n(15).http,f=n(15).https,l=n(16),d=n(48),h=n(8).version,p=n(7),m=n(5),g=n(6),y=n(2),w=/https:?/;t.exports=function(t){return new Promise((function(e,n){var b;function v(){t.cancelToken&&t.cancelToken.unsubscribe(b),t.signal&&t.signal.removeEventListener("abort",b)}var x=function(t){v(),e(t)},k=!1,S=function(t){v(),k=!0,n(t)},E=t.data,O=t.headers,C={};if(Object.keys(O).forEach((function(t){C[t.toLowerCase()]=t})),"user-agent"in C?O[C["user-agent"]]||delete O[C["user-agent"]]:O["User-Agent"]="axios/"+h,E&&!r.isStream(E)){if(Buffer.isBuffer(E));else if(r.isArrayBuffer(E))E=Buffer.from(new Uint8Array(E));else{if(!r.isString(E))return S(p("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));E=Buffer.from(E,"utf-8")}if(t.maxBodyLength>-1&&E.length>t.maxBodyLength)return S(p("Request body larger than maxBodyLength limit",t));C["content-length"]||(O["Content-Length"]=E.length)}var _=void 0;t.auth&&(_=(t.auth.username||"")+":"+(t.auth.password||""));var T=o(t.baseURL,t.url),N=l.parse(T),j=N.protocol||"http:";if(!_&&N.auth){var A=N.auth.split(":");_=(A[0]||"")+":"+(A[1]||"")}_&&C.authorization&&delete O[C.authorization];var R=w.test(j),F=R?t.httpsAgent:t.httpAgent;try{s(N.path,t.params,t.paramsSerializer).replace(/^\?/,"")}catch(e){var P=new Error(e.message);P.config=t,P.url=t.url,P.exists=!0,S(P)}var L={path:s(N.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:O,agent:F,agents:{http:t.httpAgent,https:t.httpsAgent},auth:_};t.socketPath?L.socketPath=t.socketPath:(L.hostname=N.hostname,L.port=N.port);var B,$=t.proxy;if(!$&&!1!==$){var I=j.slice(0,-1)+"_proxy",D=process.env[I]||process.env[I.toUpperCase()];if(D){var q=l.parse(D),z=process.env.no_proxy||process.env.NO_PROXY,M=!0;if(z)M=!z.split(",").map((function(t){return t.trim()})).some((function(t){return!!t&&("*"===t||("."===t[0]&&N.hostname.substr(N.hostname.length-t.length)===t||N.hostname===t))}));if(M&&($={host:q.hostname,port:q.port,protocol:q.protocol},q.auth)){var U=q.auth.split(":");$.auth={username:U[0],password:U[1]}}}}$&&(L.headers.host=N.hostname+(N.port?":"+N.port:""),function t(e,n,r){if(e.hostname=n.host,e.host=n.host,e.port=n.port,e.path=r,n.auth){var i=Buffer.from(n.auth.username+":"+n.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+i}e.beforeRedirect=function(e){e.headers.host=e.host,t(e,n,e.href)}}(L,$,j+"//"+N.hostname+(N.port?":"+N.port:"")+L.path));var H=R&&(!$||w.test($.protocol));t.transport?B=t.transport:0===t.maxRedirects?B=H?c:u:(t.maxRedirects&&(L.maxRedirects=t.maxRedirects),B=H?f:a),t.maxBodyLength>-1&&(L.maxBodyLength=t.maxBodyLength),t.insecureHTTPParser&&(L.insecureHTTPParser=t.insecureHTTPParser);var J=B.request(L,(function(e){if(!J.aborted){var n=e,o=e.req||J;if(204!==e.statusCode&&"HEAD"!==o.method&&!1!==t.decompress)switch(e.headers["content-encoding"]){case"gzip":case"compress":case"deflate":n=n.pipe(d.createUnzip()),delete e.headers["content-encoding"]}var s={status:e.statusCode,statusText:e.statusMessage,headers:e.headers,config:t,request:o};if("stream"===t.responseType)s.data=n,i(x,S,s);else{var u=[],c=0;n.on("data",(function(e){u.push(e),c+=e.length,t.maxContentLength>-1&&c>t.maxContentLength&&(k=!0,n.destroy(),S(p("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,o)))})),n.on("aborted",(function(){k||(n.destroy(),S(p("error request aborted",t,"ERR_REQUEST_ABORTED",o)))})),n.on("error",(function(e){J.aborted||S(m(e,t,null,o))})),n.on("end",(function(){try{var e=1===u.length?u[0]:Buffer.concat(u);"arraybuffer"!==t.responseType&&(e=e.toString(t.responseEncoding),t.responseEncoding&&"utf8"!==t.responseEncoding||(e=r.stripBOM(e))),s.data=e}catch(e){S(m(e,t,e.code,s.request,s))}i(x,S,s)}))}}}));if(J.on("error",(function(e){J.aborted&&"ERR_FR_TOO_MANY_REDIRECTS"!==e.code||S(m(e,t,null,J))})),J.on("socket",(function(t){t.setKeepAlive(!0,6e4)})),t.timeout){var W=parseInt(t.timeout,10);if(isNaN(W))return void S(p("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",J));J.setTimeout(W,(function(){J.abort();var e="";e=t.timeoutErrorMessage?t.timeoutErrorMessage:"timeout of "+t.timeout+"ms exceeded";var n=t.transitional||g;S(p(e,t,n.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",J))}))}(t.cancelToken||t.signal)&&(b=function(t){J.aborted||(J.abort(),S(!t||t&&t.type?new y("canceled"):t))},t.cancelToken&&t.cancelToken.subscribe(b),t.signal&&(t.signal.aborted?b():t.signal.addEventListener("abort",b))),r.isStream(E)?E.on("error",(function(e){S(m(e,t,null,J))})).pipe(J):J.end(E)}))}},function(t,e){t.exports=require("stream")},function(t,e){t.exports=require("assert")},function(t,e,n){var r;t.exports=function(){if(!r){try{r=n(39)("follow-redirects")}catch(t){}"function"!=typeof r&&(r=function(){})}r.apply(null,arguments)}},function(t,e,n){"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?t.exports=n(40):t.exports=n(42)},function(t,e,n){e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(r++,"%c"===t&&(i=r))}),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(t){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(t){}!t&&"undefined"!=typeof process&&"env"in process&&(t=process.env.DEBUG);return t},e.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+)/)},e.storage=function(){try{return localStorage}catch(t){}}(),e.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`."))}})(),e.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"],e.log=console.debug||console.log||(()=>{}),t.exports=n(17)(e);const{formatters:r}=t.exports;r.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},function(t,e){var n=1e3,r=6e4,i=60*r,o=24*i;function s(t,e,n,r){var i=e>=1.5*n;return Math.round(t/n)+" "+r+(i?"s":"")}t.exports=function(t,e){e=e||{};var u=typeof t;if("string"===u&&t.length>0)return function(t){if((t=String(t)).length>100)return;var e=/^(-?(?:\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(!e)return;var s=parseFloat(e[1]);switch((e[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*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(t);if("number"===u&&isFinite(t))return e.long?function(t){var e=Math.abs(t);if(e>=o)return s(t,e,o,"day");if(e>=i)return s(t,e,i,"hour");if(e>=r)return s(t,e,r,"minute");if(e>=n)return s(t,e,n,"second");return t+" ms"}(t):function(t){var e=Math.abs(t);if(e>=o)return Math.round(t/o)+"d";if(e>=i)return Math.round(t/i)+"h";if(e>=r)return Math.round(t/r)+"m";if(e>=n)return Math.round(t/n)+"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,e,n){const r=n(43),i=n(44);e.init=function(t){t.inspectOpts={};const n=Object.keys(e.inspectOpts);for(let r=0;r<n.length;r++)t.inspectOpts[n[r]]=e.inspectOpts[n[r]]},e.log=function(...t){return process.stderr.write(i.format(...t)+"\n")},e.formatArgs=function(n){const{namespace:r,useColors:i}=this;if(i){const e=this.color,i="[3"+(e<8?e:"8;5;"+e),o=` ${i};1m${r} [0m`;n[0]=o+n[0].split("\n").join("\n"+o),n.push(i+"m+"+t.exports.humanize(this.diff)+"[0m")}else n[0]=function(){if(e.inspectOpts.hideDate)return"";return(new Date).toISOString()+" "}()+r+" "+n[0]},e.save=function(t){t?process.env.DEBUG=t:delete process.env.DEBUG},e.load=function(){return process.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?Boolean(e.inspectOpts.colors):r.isatty(process.stderr.fd)},e.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`."),e.colors=[6,2,3,4,5,1];try{const t=n(45);t&&(t.stderr||t).level>=2&&(e.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){}e.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{const n=e.substring(6).toLowerCase().replace(/_([a-z])/g,(t,e)=>e.toUpperCase());let r=process.env[e];return r=!!/^(yes|on|true|enabled)$/i.test(r)||!/^(no|off|false|disabled)$/i.test(r)&&("null"===r?null:Number(r)),t[n]=r,t},{}),t.exports=n(17)(e);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,e){t.exports=require("tty")},function(t,e){t.exports=require("util")},function(t,e,n){"use strict";const r=n(46),i=n(47),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 e=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:e;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,e)}(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,e){t.exports=require("os")},function(t,e,n){"use strict";t.exports=(t,e)=>{e=e||process.argv;const n=t.startsWith("-")?"":1===t.length?"-":"--",r=e.indexOf(n+t),i=e.indexOf("--");return-1!==r&&(-1===i||r<i)}},function(t,e){t.exports=require("zlib")},function(t,e,n){"use strict";var r=n(8).version,i={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){i[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var o={};i.transitional=function(t,e,n){function i(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,s){if(!1===t)throw new Error(i(r," has been removed"+(e?" in "+e:"")));return e&&!o[r]&&(o[r]=!0,console.warn(i(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,s)}},t.exports={assertOptions:function(t,e,n){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=e[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!==n)throw Error("Unknown option "+o)}},validators:i}},function(t,e,n){"use strict";var r=n(2);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.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 e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},function(t,e,n){"use strict";var r=n(54),i=n(57),o=n(58),s=n(20);function u(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var c=u(i),a=u(o);class f extends Error{constructor(t,e,n){super(t),this.token=e,this.type=n||"error"}}const l=t=>t<4?"short":4===t?"long":"narrow",d=t=>t%2==0?"2-digit":"numeric";function h(t,e){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 e(`${t.desc} is not supported with width ${t.width}`)}}function p(t,e){const{char:n,desc:r,width:i}=t;return"d"===n?d(i):void e(r+" is not supported")}function m(t,e){const{char:n,desc:r,width:i}=t;if(("c"===n||"e"===n)&&i<3){e(`Numeric value is not supported for ${r}; falling back to weekday:short`,f.WARNING)}return l(i)}function g(t,e){const{char:n,desc:r,width:i}=t;switch(n){case"v":case"z":return 4===i?"long":"short";case"V":return 4===i?"long":void e(`${r} is not supported with width ${i}`);case"X":return void e(r+" is not supported")}return"short"}function y(t,e){switch(t.field){case"era":return{era:l(t.width)};case"year":return function(t,e){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 e(t.desc+" is not supported; falling back to year:numeric",f.WARNING),{year:"numeric"}}}(t,e);case"month":return{month:h(t,e)};case"day":return{day:p(t,e)};case"weekday":return{weekday:m(t,e)};case"period":return;case"hour":return function(t){const e=d(t.width);let n;switch(t.char){case"h":n="h12";break;case"H":n="h23";break;case"k":n="h24";break;case"K":n="h11"}return n?{hour:e,hourCycle:n}:{hour:e}}(t);case"min":return{minute:d(t.width)};case"sec":return{second:d(t.width)};case"tz":return{timeZoneName:g(t,e)};case"quarter":case"week":case"sec-frac":case"ms":e(t.desc+" is not supported")}}function w(t,e=(t=>{throw t})){const n={},r=[];for(const i of t){const{error:t,field:o,str:s}=i;if(t){const n=new f(t.message,i);n.stack=t.stack,e(n)}if(s){e(new f("Ignoring string part: "+s,i,f.WARNING))}o&&(-1===r.indexOf(o)?r.push(o):e(new f(`Duplicate ${o} token`,i)));const u=y(i,(t,n)=>e(new f(t,i,n)));u&&Object.assign(n,u)}return n}const b={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,e){const n=t[e];if(!n)return null;if(v(n))return function(t,e){const n=t[e];let r=1;for(;t[++e]===n;)++r;const i=b[n];if(!i){return{char:n,error:new Error(`The letter ${n} is not a valid field identifier`),width:r}}return{char:n,field:i.field,desc:i.desc,width:r}}(t,e);if("'"===n)return function(t,e){let n=t[++e],r=2;if("'"===n)return{char:"'",str:n,width:r};for(;;){const i=t[++e];if(++r,void 0===i){return{char:"'",error:new Error("Unterminated quoted literal in pattern: "+(n||t)),str:n,width:r}}if("'"===i){if("'"!==t[++e])return{char:"'",str:n,width:r};++r}n+=i}}(t,e);let r=n,i=1;for(;;){const o=t[++e];if(!o||v(o)||"'"===o)return{char:n,str:r,width:i};r+=o,i+=1}}function k(t){const e=[];let n=0;for(;;){const r=x(t,n);if(!r)return e;e.push(r),n+=r.width}}class S extends Error{constructor(t,e){super(e),this.code=t}}class E extends S{constructor(t,e){super("BAD_OPTION",`Unknown ${t} option: ${e}`),this.stem=t,this.option=e}}class O extends S{constructor(t){super("BAD_STEM","Unknown stem: "+t),this.stem=t}}class C extends S{constructor(t,e){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=e}}class _ extends S{constructor(t){super("MISSING_OPTION","Required option missing for "+t),this.stem=t}}class T extends S{constructor(t,e){super("BAD_PATTERN",e),this.char=t}}class N extends S{constructor(t,e,n){super("TOO_MANY_OPTIONS",`Token ${t} only supports ${n>1?n+" options":"one option"} (got ${e.length})`),this.stem=t,this.options=e}}class j extends S{constructor(t,e){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,e&&(this.message+=" with value "+e,this.source=e)}}function A(t,{numberingSystem:e}){return Array.isArray(t)||(t=[t]),e?t.map(t=>{const n=-1===t.indexOf("-u-")?"u-nu":"nu";return`${t}-${n}-${e}`}).concat(t):t}function R({scale:t,unit:e}){let n="number"==typeof t&&t>=0?t:1;return e&&"percent"===e.style&&(n*=.01),n}function F(t,e){const{decimal:n,group:r,integerWidth:i,notation:o,precision:s,roundingMode:u,sign:c,unit:a,unitPer:f,unitWidth:l}=t,d=(t,n)=>{e&&e(new j(t,n))},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:e,minSignificant:n,maxSignificant:r,source:i}=s;"number"==typeof t&&(h.minimumFractionDigits=t,"number"==typeof n&&d("precision-fraction",i)),"number"==typeof e&&(h.maximumFractionDigits=e),"number"==typeof n&&(h.minimumSignificantDigits=n),"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:e,source:n,style:r}=o;h.notation=r,(t&&t>1||e&&"sign-auto"!==e)&&d(r,n);break}}if(i){const{min:t,max:e,source:n}=i;if(t>0&&(h.minimumIntegerDigits=t),Number(e)>0){const t="engineering"===h.notation||"scientific"===h.notation;3===e&&t?h.notation="engineering":d("integer-width",n)}}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"===n&&d(n),u&&d(u),h}function P(t,e,n){const r=t[e];switch(r){case"%":return{char:"%",style:"percent",width:1};case"‰":return{char:"%",style:"permille",width:1};case"¤":{let i=1;for(;"¤"===t[++e];)++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 n(new T("¤",`Invalid number (${i}) of ¤ chars in pattern`)),null}}case"*":{const n=t[e+1];if(n)return{char:r,pad:n,width:2};break}case"+":case"-":return{char:r,width:1};case"'":{let i=t[++e],o=2;if("'"===i)return{char:r,str:i,width:o};for(;;){const s=t[++e];if(++o,void 0===s){return n(new T("'","Unterminated quoted literal in pattern: "+i)),{char:r,str:i,width:o}}if("'"===s){if("'"!==t[++e])return{char:r,str:i,width:o};++o}i+=s}}}return null}const L=t=>t>="0"&&t<="9";function B(t,e){const n=t[e];if(L(n)){let r=n;for(;;){const n=t[++e];if(!L(n))return{char:"0",digits:r,width:r.length};r+=n}}switch(n){case"#":{let r=1;for(;"#"===t[++e];)++r;return{char:n,width:r}}case"@":{let r=1;for(;"@"===t[++e];)++r;let i=r;for(e-=1;"#"===t[++e];)++i;return{char:n,min:r,width:i}}case"E":{const r="+"===t[e+1];r&&++e;let i=0;for(;"0"===t[++e];)++i;const o=(r?2:1)+i;if(i)return{char:n,expDigits:i,plus:r,width:o};break}case".":case",":return{char:n,width:1}}return null}function $(t,e,n){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(;e<t.length;){const a=t[e];if(";"===a){e+=1;break}switch(u){case r.Prefix:{const s=P(t,e,n);if(s)c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(s),e+=s.width;else{const n=B(t,e);n?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),u=r.Number,o.push(n),e+=n.width):(c+=a,e+=1)}break}case r.Number:{const n=B(t,e);n?(o.push(n),e+=n.width):u=r.Suffix;break}case r.Suffix:{const r=P(t,e,n);r?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(r),e+=r.width):(c+=a,e+=1);break}}}return c&&s.push({char:"'",str:c,width:c.length}),{pattern:{prefix:i,number:o,suffix:s},pos:e}}function I(t,e,n,r,i){let o=!1,s="";for(const u of t)switch(u.char){case"%":e.unit={style:u.style},i?o=!0:s="";break;case"¤":if(!n){r(new T("¤","The ¤ pattern requires a currency"));break}switch(e.unit={style:"currency",currency:n},u.currency){case"iso-code":e.unitWidth="unit-width-iso-code";break;case"full-name":e.unitWidth="unit-width-full-name";break;case"narrow":e.unitWidth="unit-width-narrow"}i?o=!0:s="";break;case"*":break;case"+":o||(s+="+");break;case"'":o||(s+=u.str)}return s}function D(t,e){let n=!1,r="";for(const i of t)switch(i.char){case"%":case"¤":e?n=!0:r="";break;case"-":n||(r+="-");break;case"'":n||(r+=i.str)}return r}function q(t,e,n=(t=>{throw t})){const{tokens:r,negative:i}=function(t,e){const{pattern:n,pos:r}=$(t,0,e);if(r<t.length){const{pattern:i}=$(t,r,e);return{tokens:n,negative:i}}return{tokens:n}}(t,n),o=function(t,e){const n={};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){e(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){e(new T("0","Pattern has digits after # in fraction"))}c+=l.digits}break;case"@":n.precision&&e(new C("precision",n.precision)),n.precision={style:"precision-fraction",minSignificant:l.min,maxSignificant:l.width};break;case",":r=!0;break;case".":if(1===u){e(new T(".","Pattern has more than one decimal separator"))}u=f;break;case"E":if(i&&e(new C("exponent",n.notation)),r){e(new T("E","Exponential patterns may not contain grouping separators"))}n.notation={style:"scientific"},l.expDigits>1&&(n.notation.expDigits=l.expDigits),l.plus&&(n.notation.expSign="sign-always"),i=!0}}r?n.group="group-auto":o+s.length>3&&(n.group="group-off");const f=Number(`${s||"0"}.${c}`);if(f&&(n.precision={style:"precision-increment",increment:f}),i)if(n.precision&&!f||(n.integerWidth=o?{min:1,max:o+s.length}:{min:Math.max(1,s.length)}),n.precision)f||(n.integerWidth={min:1,max:1});else{const t=s.length+c.length;-1===u?t>0&&(n.precision={style:"precision-fraction",maxSignificant:t}):(n.precision={style:"precision-fraction",maxSignificant:Math.max(1,t)+a},t>1&&(n.precision.minSignificant=t))}else s.length>1&&(n.integerWidth={min:s.length}),n.precision||!c.length&&!a||(n.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+a});return n}(r.number,n),s=I(r.prefix,o,e,n,!0),u=I(r.suffix,o,e,n,!1);if(i){const t=D(i.prefix,!0),e=D(i.suffix,!1);o.affix={pos:[s,u],neg:[t,e]},o.sign="sign-never"}else(s||u)&&(o.affix={pos:[s,u]});return o}function z(t){const[e]=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(e)}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,e,n){if(function(t){return t in M}(t)){const r=M[t];if(e.length>r){if(0===r)for(const r of e)n(new E(t,r));else n(new N(t,e,r));return!1}if(function(t){return t in U}(t)&&e.length<U[t])return n(new _(t)),!1}return!0}function J(t,e){const n="fraction"===e?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,r=t&&t.match(n);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,e){this.onError(new E(t,e))}assertEmpty(t){const e=this.skeleton[t];e&&this.onError(new C(t,e))}parseToken(t,e){if(!H(t,e,this.onError))return;const n=e[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 n=null,i=void 0;for(const r of e)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)?n=r.length-1:this.badOption(t,r)}this.assertEmpty("notation");const o=e.join("/");r.notation=n&&i?{style:t,source:o,expDigits:n,expSign:i}:n?{style:t,source:o,expDigits:n}: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(n)?(this.assertEmpty("unit"),r.unit={style:t,currency:n}):this.badOption(t,n);break;case"measure-unit":z(n)?(this.assertEmpty("unit"),r.unit={style:t,unit:n}):this.badOption(t,n);break;case"per-measure-unit":z(n)?(this.assertEmpty("unitPer"),r.unitPer=n):this.badOption(t,n);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 e=Number(n);e>0?(this.assertEmpty("precision"),r.precision={style:t,increment:e}):this.badOption(t,n);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(n))this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:n.length-1};else{const e=n.match(/^#*(0*)$/);e?(this.assertEmpty("integerWidth"),r.integerWidth={source:n,min:e[1].length,max:e[0].length}):this.badOption(t,n)}break;case"scale":{const e=Number(n);e>0?(this.assertEmpty("scale"),r.scale=e):this.badOption(t,n);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(n)?(this.assertEmpty("numberingSystem"),r.numberingSystem=n):this.badOption(t,n);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 n=function(t,e,n){const r=J(t,"fraction");if(r){e.length>1&&n(new N(t,e,1));const i={style:"precision-fraction",source:t,minFraction:r.min};null!=r.max&&(i.maxFraction=r.max);const o=e[0],s=J(o,"significant");return s?(i.source=`${t}/${o}`,i.minSignificant=s.min,null!=s.max&&(i.maxSignificant=s.max)):o&&n(new E(t,o)),i}const i=J(t,"significant");if(i){for(const r of e)n(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,e,this.onError);n?(this.assertEmpty("precision"),r.precision=n):this.onError(new O(t))}}}}function G(t,e=(t=>{throw t})){const n=[];for(const e of t.split(" "))if(e){const t=e.split("/"),r=t.shift()||"";n.push({stem:r,options:t})}const r=new W(e);for(const{stem:t,options:e}of n)r.parseToken(t,e);return r.skeleton}function Z(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?G(e.slice(2),r):q(e,n,r));const i=A(t,e),o=F(e,r),s=function(t){const e=R(t),{precision:n}=t;return n&&"precision-increment"===n.style?t=>function(t,e){const n=+t+e/2;return n-n%+e}(t,n.increment)*e:t=>t*e}(e),u=new Intl.NumberFormat(i,o);if(e.affix){const[t,n]=e.affix.pos,[r,i]=e.affix.neg||["",""];return e=>{const o=u.format(s(e));return e<0?`${r}${o}${i}`:`${t}${o}${n}`}}return t=>u.format(s(t))}function K(t,e,n,r){"string"==typeof e&&(e=0===e.indexOf("::")?G(e.slice(2),r):q(e,n,r));const i=A(t,e),o=F(e,r),s=function(t){const e=R(t),{precision:n}=t;if(n&&"precision-increment"===n.style){const t="+n + "+n.increment/2;let r=`x - (x % +${n.increment})`;return 1!==e&&(r=`(${r}) * ${e}`),`function(n) { var x = ${t}; return ${r}; }`}return 1!==e?`function(n) { return n * ${e}; }`:null}(e),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))"),e.affix){const[t,n]=e.affix.pos.map(t=>JSON.stringify(t));if(e.affix.neg){const[r,i]=e.affix.neg.map(t=>JSON.stringify(t));c=`value < 0 ? ${r} + ${c} + ${i} : ${t} + ${c} + ${n}`}else c=`${t} + ${c} + ${n}`}return u.push(`return function(value) { return ${c}; }`),u.join("\n ")+"\n})()"}const V=new RegExp("^"+["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"].join("|^"));function X(t){return t in a}t.exports=class{constructor(t){this.arguments=[],this.runtime={},this.options=t}compile(t,e,n){if("object"==typeof t){const r={};for(const i of Object.keys(t)){const o=n&&n[i]||e;r[i]=this.compile(t[i],o,n)}return r}this.plural=e;const i={cardinal:e.cardinals,ordinal:e.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,e){let n=!0;const r=t.cases.map(({key:t,tokens:r})=>{"other"===t&&(n=!1);const i=r.map(t=>this.token(t,e));return`${s.property(null,t.replace(/^=/,""))}: ${this.concatenate(i,!1)}`});if(n){const{type:e}=t,{cardinals:n,ordinals:r}=this.plural;if("select"===e||"plural"===e&&n.includes("other")||"selectordinal"===e&&r.includes("other"))throw new Error("No 'other' form found in "+JSON.stringify(t))}return`{ ${r.join(", ")} }`}concatenate(t,e){return"values"===this.options.returnType&&(e||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'}token(t,e){if("content"===t.type)return JSON.stringify(t.value);const{id:n,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,e){const n=V.test(e),r=JSON.stringify(n?"":"");return`${r} + ${t} + ${r}`}(String(i[0]),r):String(i[0]);case"select":o="select",e&&this.options.strict&&(e=null),i.push(this.cases(t,e)),this.setRuntimeFn("select");break;case"selectordinal":o="plural",i.push(t.pluralOffset||0,n,this.cases(t,t),1),this.setLocale(n,!0),this.setRuntimeFn("plural");break;case"plural":o="plural",i.push(t.pluralOffset||0,n,this.cases(t,t)),this.setLocale(n,!1),this.setRuntimeFn("plural");break;case"function":if(!this.options.customFormatters[t.key]){if("date"===t.key){o=this.setDateFormatter(t,i,e);break}if("number"===t.key){o=this.setNumberFormatter(t,i,e);break}}if(i.push(JSON.stringify(this.plural.locale)),t.param){e&&this.options.strict&&(e=null);const n=this.getFormatterArg(t,e);n&&i.push(n)}o=t.key,this.setFormatter(o);break;case"octothorpe":if(!e)return'"#"';i=[JSON.stringify(this.plural.locale),s.property("d",e.arg),e.pluralOffset||0],this.options.strict?(o="strictNumber",i.push(JSON.stringify(e.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,e){if(s.identifier(t)!==t)throw new SyntaxError(`Reserved word used as ${e} identifier: ${t}`);const n=this.runtime[t];if(!n||n.type===e)return n;throw new TypeError(`Cannot override ${n.type} runtime function as ${e}: ${t}`)}setLocale(t,e){const n=this.runtimeIncludes(t,"locale"),{getCardinal:r,getPlural:i,isDefault:o}=this.plural;let s,u,c;if(!e&&o&&r){if(n)return;s=t=>r(t),u="@messageformat/runtime/lib/cardinals",c=()=>String(r)}else{if(n&&(!o||"@messageformat/runtime/lib/plurals"===n.module))return;s=(t,e)=>i(t,e),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:e},n){const r=this.options.customFormatters[t]||X(t)&&a[t];if(!r||!e)return null;const i="arg"in r&&r.arg||"string";if("options"===i){let n="";for(const r of e){if("content"!==r.type)throw new SyntaxError(`Expected literal options for ${t} formatter`);n+=r.value}const r={};for(const t of n.split(",")){const e=t.indexOf(":");if(-1===e)r[t.trim()]=null;else{const n=t.substring(0,e).trim(),i=t.substring(e+1).trim();if("true"===i)r[n]=!0;else if("false"===i)r[n]=!1;else if("null"===i)r[n]=null;else{const t=Number(i);r[n]=Number.isFinite(t)?t:i}}}return JSON.stringify(r)}{const t=e.map(t=>this.token(t,n));if("raw"===i)return`[${t.join(", ")}]`;const r=t.join(" + ");return r?`(${r}).trim()`:'""'}}setFormatter(t){if(this.runtimeIncludes(t,"formatter"))return;let e=this.options.customFormatters[t];if(e)"function"==typeof e&&(e={formatter:e}),this.runtime[t]=Object.assign(e.formatter,{type:"formatter"},"module"in e&&e.module&&e.id?{id:s.identifier(e.id),module:e.module}:{id:null,module:null});else{if(!X(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},e,n){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),e=s.identifier(`date_${r}_${t}`,!0);if(!this.runtimeIncludes(e,"formatter")){const n=function(t,e,n){"string"==typeof e&&(e=k(e));const r=w(e,n),i=new Intl.DateTimeFormat(t,r);return t=>i.format(t)}(r,t);this.runtime[e]=Object.assign(n,{id:e,module:null,toString:()=>function(t,e,n){"string"==typeof e&&(e=k(e));const r=w(e,n);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 e}if(e.push(JSON.stringify(r)),t&&t.length>0){n&&this.options.strict&&(n=null);const r=t.map(t=>this.token(t,n));e.push("("+(r.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"}setNumberFormatter({param:t},e,n){const{locale:r}=this.plural;if(!t||0===t.length)return e.unshift(JSON.stringify(r)),e.push("0"),this.setRuntimeFn("number"),"number";if(e.push(JSON.stringify(r)),1===t.length&&"content"===t[0].type){const n=t[0].value.trim();switch(n){case"currency":return e.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=n.match(/^currency:([A-Z]+)$/);if(i)return e.push(JSON.stringify(i[1])),this.setFormatter("numberCurrency"),"numberCurrency";const o=s.identifier(`number_${r}_${n}`,!0);if(!this.runtimeIncludes(o,"formatter")){const{currency:t}=this.options,e=Z(r,n,t);this.runtime[o]=Object.assign(e,{id:null,module:null,toString:()=>K(r,n,t),type:"formatter"})}return o}n&&this.options.strict&&(n=null);const i=t.map(t=>this.token(t,n));return e.push("("+(i.join(" + ")||'""')+").trim()"),e.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.ParseError=void 0;const r=n(55),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,e){super(r.lexer.formatError(t,e))}}e.ParseError=c;class a{constructor(t,e){this.lexer=r.lexer.reset(t),this.cardinalKeys=e&&e.cardinal||u,this.ordinalKeys=e&&e.ordinal||u,this.strict=e&&e.strict||!1}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,e,n){if("="===n[0]){if("select"===e)throw new c(t,`The case ${n} is not valid with select`)}else if("select"!==e){const r="plural"===e?this.cardinalKeys:this.ordinalKeys;if(r.length>0&&!r.includes(n)){throw new c(t,`The ${e} case ${n} is not valid in this locale`)}}}parseSelect({value:t},e,n,r){const o={type:r,arg:t,cases:[],ctx:n};"plural"===r||"selectordinal"===r?e=!0:this.strict&&(e=!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),n.text+=t.text,n.lineBreaks+=t.lineBreaks;break;case"case":this.checkSelectKey(t,r,t.value),o.cases.push({key:t.value,tokens:this.parseBody(e),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,e){const n=i(t),r=this.lexer.next();if(!r)throw new c(null,"Unexpected message end");if(n.text+=r.text,n.lineBreaks+=r.lineBreaks,this.strict&&("func-simple"===r.type||"func-args"===r.type)&&!s.includes(r.value)){const e="Invalid strict mode function arg type: "+r.value;throw new c(t,e)}switch(r.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{const e=this.lexer.next();if(!e)throw new c(null,"Unexpected message end");if("end"!==e.type)throw new c(e,"Unexpected lexer token: "+e.type);if(n.text+=e.text,o(r.value.toLowerCase()))throw new c(r,"Invalid type identifier: "+r.value);return{type:"function",arg:t.value,key:r.value,ctx:n}}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&&e);return this.strict&&i.length>0&&(i=function(t,e){let n="",r="";for(const i of e){const e=i.ctx.text;switch(r+=e,i.type){case"content":n+=i.value;break;case"argument":case"function":case"octothorpe":n+=e;break;default:throw new c(t,"Unsupported part in strict mode function arg style: "+e)}}return[{type:"content",value:n.trim(),ctx:Object.assign({},e[0].ctx,{text:r})}]}(t,i)),{type:"function",arg:t.value,key:r.value,param:i,ctx:n}}case"select":if(o(r.value))return this.parseSelect(t,e,n,r.value);throw new c(r,"Unexpected select type "+r.value);default:throw new c(r,"Unexpected lexer token: "+r.type)}}parseBody(t,e){const n=[];let r=null;for(const o of this.lexer)if("argument"===o.type)r&&(r=null),n.push(this.parseArgToken(o,t));else if("octothorpe"===o.type&&t)r&&(r=null),n.push({type:"octothorpe",ctx:i(o)});else{if("end"===o.type&&!e)return n;{let e=o.value;if(!t&&"quoted"===o.type&&"#"===e[0]){if(e.includes("{")){throw new c(o,"Unsupported escape pattern: "+e)}e=o.text}r?(r.value+=e,r.ctx.text+=o.text,r.ctx.lineBreaks+=o.lineBreaks):(r={type:"content",value:e,ctx:i(o)},n.push(r))}}if(e)return n;throw new c(null,"Unexpected message end")}}e.parse=function(t,e={}){return new a(t,e).parse()}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;const i=r(n(56));e.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}}},e.lexer=i.default.states(e.states)},function(t,e,n){var r,i,o;i=[],void 0===(o="function"==typeof(r=function(){"use strict";var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,n="boolean"==typeof(new RegExp).sticky;function r(t){return t&&"[object RegExp]"===e.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(e,n){if(i(n)||(n={match:n}),n.include)throw new Error("Matching rules cannot also include states");var o={defaultType:e,lineBreaks:!!n.error||!!n.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var s in n)t.call(n,s)&&(o[s]=n[s]);if("string"==typeof o.type&&e!==o.type)throw new Error("Type transform cannot be a string (type '"+o.type+"' for token '"+e+"')");var u=o.match;return o.match=Array.isArray(u)?u:u?[u]:[],o.match.sort((function(t,e){return r(t)&&r(e)?0:r(e)?-1:r(t)?1:e.length-t.length})),o}function a(t){return Array.isArray(t)?function(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(r.include)for(var i=[].concat(r.include),o=0;o<i.length;o++)e.push({include:i[o]});else{if(!r.type)throw new Error("Rule has no type: "+JSON.stringify(r));e.push(c(r.type,r))}}return e}(t):function(t){for(var e=Object.getOwnPropertyNames(t),n=[],r=0;r<e.length;r++){var o=e[r],s=t[o],u=[].concat(s);if("include"!==o){var a=[];u.forEach((function(t){i(t)?(a.length&&n.push(c(o,a)),n.push(c(o,t)),a=[]):a.push(t)})),a.length&&n.push(c(o,a))}else for(var f=0;f<u.length;f++)n.push({include:u[f]})}return n}(t)}var f=c("error",{lineBreaks:!0,shouldThrow:!0});function l(t,e){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(!e)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 w=g[y];if(r(w))if(null===l)l=w.unicode;else if(l!==w.unicode&&!1===m.fallback)throw new Error("If one rule is /u then all must be")}var b=s(g.map(u)),v=new RegExp(b);if(v.test(""))throw new Error("RegExp matches empty string: "+v);if(new RegExp("|"+b).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(b))}}var x=i&&i.fallback,k=n&&!x?"ym":"gm",S=n||x?"":"|";return!0===l&&(k+="u"),{regexp:new RegExp(s(h)+S,k),groups:d,fast:c,error:i||f}}function d(t,e,n){var r=t&&(t.push||t.next);if(r&&!n[r])throw new Error("Missing state '"+r+"' (in token '"+t.defaultType+"' of state '"+e+"')");if(t&&t.pop&&1!=+t.pop)throw new Error("pop must be 1 (in token '"+t.defaultType+"' of state '"+e+"')")}var h=function(t,e){this.startState=e,this.states=t,this.buffer="",this.stack=[],this.reset()};h.prototype.reset=function(t,e){return this.buffer=t||"",this.index=0,this.line=e?e.line:1,this.col=e?e.col:1,this.queuedToken=e?e.queuedToken:null,this.queuedThrow=e?e.queuedThrow:null,this.setState(e?e.state:this.startState),this.stack=e&&e.stack?e.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 e=this.states[t];this.groups=e.groups,this.error=e.error,this.re=e.regexp,this.fast=e.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=n?function(t,e){return t.exec(e)}:function(t,e){var n=t.exec(e);return 0===n[0].length?null:n};function m(){return this.value}if(h.prototype._getGroup=function(t){for(var e=this.groups.length,n=0;n<e;n++)if(void 0!==t[n+1])return this.groups[n];throw new Error("Cannot find token type for matched text")},h.prototype.next=function(){var t=this.index;if(this.queuedGroup){var e=this._token(this.queuedGroup,this.queuedText,t);return this.queuedGroup=null,this.queuedText="",e}var n=this.buffer;if(t!==n.length){if(s=this.fast[n.charCodeAt(t)])return this._token(s,n.charAt(t),t);var r=this.re;r.lastIndex=t;var i=p(r,n),o=this.error;if(null==i)return this._token(o,n.slice(t,n.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,n.slice(t,i.index),t)):this._token(s,u,t)}},h.prototype._token=function(t,e,n){var r=0;if(t.lineBreaks){var i=/\n/g,o=1;if("\n"===e)r=1;else for(;i.exec(e);)r++,o=i.lastIndex}var s={type:"function"==typeof t.type&&t.type(e)||t.defaultType,value:"function"==typeof t.value?t.value(e):e,text:e,toString:m,offset:n,lineBreaks:r,line:this.line,col:this.col},u=e.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,e){if(null==t){var n=this.buffer.slice(this.index);t={text:n,offset:this.index,lineBreaks:-1===n.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 e+=" at line "+t.line+" col "+t.col+":\n\n",e+=" "+o+"\n",e+=" "+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 e=l(a(t));return new h({start:e},"start")},states:function(t,e){var n=t.$all?a(t.$all):[];delete t.$all;var r=Object.getOwnPropertyNames(t);e||(e=r[0]);for(var i=Object.create(null),o=0;o<r.length;o++){var s=r[o];i[s]=a(t[s]).concat(n)}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 w=g[y];-1===u.indexOf(w)&&m.push(w)}}u.splice.apply(u,m),f--}}}var b=Object.create(null);for(o=0;o<r.length;o++)s=r[o],b[s]=l(i[s],!0);for(o=0;o<r.length;o++){var v=r[o],x=b[v],k=x.groups;for(f=0;f<k.length;f++)d(k[f],v,b);var S=Object.getOwnPropertyNames(x.fast);for(f=0;f<S.length;f++)d(x.fast[S[f]],v,b)}return new h(b,e)},error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:function(t){for(var e=Object.create(null),n=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((n[t.length]=n[t.length]||[]).push(t),"string"!=typeof t)throw new Error("keyword must be string (in keyword '"+o+"')");e[t]=o}))}function u(t){return JSON.stringify(t)}var c="";for(var a in c+="switch (value.length) {\n",n){var f=n[a];c+="case "+a+":\n",c+="switch (value) {\n",f.forEach((function(t){var n=e[t];c+="case "+u(t)+": return "+u(n)+"\n"})),c+="}\n"}return c+="}\n",Function("value",c)}}})?r.apply(e,i):r)||(t.exports=o)},function(t,e,n){"use strict";function r(t){return r[t]||(r[t]=new Intl.NumberFormat(t))}Object.defineProperty(e,"__esModule",{value:!0}),e.reqArgs=e.select=e.plural=e.strictNumber=e.number=e._nf=void 0,e._nf=r,e.number=function(t,e,n){return r(t).format(e-n)},e.strictNumber=function(t,e,n,i){var o=e-n;if(isNaN(o))throw new Error("`"+i+"` or its offset is not a number");return r(t).format(o)},e.plural=function(t,e,n,r,i){if({}.hasOwnProperty.call(r,t))return r[t];e&&(t-=e);var o=n(t,i);return o in r?r[o]:r.other},e.select=function(t,e){return{}.hasOwnProperty.call(e,t)?e[t]:e.other},e.reqArgs=function(t,e){for(var n=0;n<t.length;++n)if(!e||void 0===e[t[n]])throw new Error("Message requires argument '".concat(t[n],"'"))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.time=e.numberPercent=e.numberInteger=e.numberFmt=e.numberCurrency=e.duration=e.date=void 0;var r=n(59);Object.defineProperty(e,"date",{enumerable:!0,get:function(){return r.date}});var i=n(60);Object.defineProperty(e,"duration",{enumerable:!0,get:function(){return i.duration}});var o=n(61);Object.defineProperty(e,"numberCurrency",{enumerable:!0,get:function(){return o.numberCurrency}}),Object.defineProperty(e,"numberFmt",{enumerable:!0,get:function(){return o.numberFmt}}),Object.defineProperty(e,"numberInteger",{enumerable:!0,get:function(){return o.numberInteger}}),Object.defineProperty(e,"numberPercent",{enumerable:!0,get:function(){return o.numberPercent}});var s=n(62);Object.defineProperty(e,"time",{enumerable:!0,get:function(){return s.time}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.date=void 0,e.date=function(t,e,n){var r={day:"numeric",month:"short",year:"numeric"};switch(n){case"full":r.weekday="long";case"long":r.month="long";break;case"short":r.month="numeric"}return new Date(t).toLocaleDateString(e,r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.duration=void 0,e.duration=function(t){if("number"!=typeof t&&(t=Number(t)),!isFinite(t))return String(t);var e="";t<0?(e="-",t=Math.abs(t)):t=Number(t);var n=t%60,r=[Math.round(n)===n?n:n.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))),e+r.shift()+":"+r.map((function(t){return t<10?"0"+String(t):String(t)})).join(":")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.numberPercent=e.numberInteger=e.numberCurrency=e.numberFmt=void 0;var r={};function i(t,e){var n=String(t)+JSON.stringify(e);return r[n]||(r[n]=new Intl.NumberFormat(t,e)),r[n]}e.numberFmt=function(t,e,n,r){var o=n&&n.split(":")||[],s=o[0],u=o[1];return i(e,{integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:u&&u.trim()||r,minimumFractionDigits:2,maximumFractionDigits:2}}[s]||{}).format(t)};e.numberCurrency=function(t,e,n){return i(e,{style:"currency",currency:n,minimumFractionDigits:2,maximumFractionDigits:2}).format(t)};e.numberInteger=function(t,e){return i(e,{maximumFractionDigits:0}).format(t)};e.numberPercent=function(t,e){return i(e,{style:"percent"}).format(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.time=void 0,e.time=function(t,e,n){var r={second:"numeric",minute:"numeric",hour:"numeric"};switch(n){case"full":case"long":r.timeZoneName="short";break;case"short":delete r.second}return new Date(t).toLocaleTimeString(e,r)}},function(t,e){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,e,n){"use strict";n.r(e),n.d(e,"af",(function(){return a})),n.d(e,"ak",(function(){return f})),n.d(e,"am",(function(){return l})),n.d(e,"an",(function(){return d})),n.d(e,"ar",(function(){return h})),n.d(e,"ars",(function(){return p})),n.d(e,"as",(function(){return m})),n.d(e,"asa",(function(){return g})),n.d(e,"ast",(function(){return y})),n.d(e,"az",(function(){return w})),n.d(e,"bal",(function(){return b})),n.d(e,"be",(function(){return v})),n.d(e,"bem",(function(){return x})),n.d(e,"bez",(function(){return k})),n.d(e,"bg",(function(){return S})),n.d(e,"bho",(function(){return E})),n.d(e,"bm",(function(){return O})),n.d(e,"bn",(function(){return C})),n.d(e,"bo",(function(){return _})),n.d(e,"br",(function(){return T})),n.d(e,"brx",(function(){return N})),n.d(e,"bs",(function(){return j})),n.d(e,"ca",(function(){return A})),n.d(e,"ce",(function(){return R})),n.d(e,"ceb",(function(){return F})),n.d(e,"cgg",(function(){return P})),n.d(e,"chr",(function(){return L})),n.d(e,"ckb",(function(){return B})),n.d(e,"cs",(function(){return $})),n.d(e,"cy",(function(){return I})),n.d(e,"da",(function(){return D})),n.d(e,"de",(function(){return q})),n.d(e,"doi",(function(){return z})),n.d(e,"dsb",(function(){return M})),n.d(e,"dv",(function(){return U})),n.d(e,"dz",(function(){return H})),n.d(e,"ee",(function(){return J})),n.d(e,"el",(function(){return W})),n.d(e,"en",(function(){return G})),n.d(e,"eo",(function(){return Z})),n.d(e,"es",(function(){return K})),n.d(e,"et",(function(){return V})),n.d(e,"eu",(function(){return X})),n.d(e,"fa",(function(){return Y})),n.d(e,"ff",(function(){return Q})),n.d(e,"fi",(function(){return tt})),n.d(e,"fil",(function(){return et})),n.d(e,"fo",(function(){return nt})),n.d(e,"fr",(function(){return rt})),n.d(e,"fur",(function(){return it})),n.d(e,"fy",(function(){return ot})),n.d(e,"ga",(function(){return st})),n.d(e,"gd",(function(){return ut})),n.d(e,"gl",(function(){return ct})),n.d(e,"gsw",(function(){return at})),n.d(e,"gu",(function(){return ft})),n.d(e,"guw",(function(){return lt})),n.d(e,"gv",(function(){return dt})),n.d(e,"ha",(function(){return ht})),n.d(e,"haw",(function(){return pt})),n.d(e,"he",(function(){return mt})),n.d(e,"hi",(function(){return gt})),n.d(e,"hnj",(function(){return yt})),n.d(e,"hr",(function(){return wt})),n.d(e,"hsb",(function(){return bt})),n.d(e,"hu",(function(){return vt})),n.d(e,"hy",(function(){return xt})),n.d(e,"ia",(function(){return kt})),n.d(e,"id",(function(){return St})),n.d(e,"ig",(function(){return Et})),n.d(e,"ii",(function(){return Ot})),n.d(e,"io",(function(){return Ct})),n.d(e,"is",(function(){return _t})),n.d(e,"it",(function(){return Tt})),n.d(e,"iu",(function(){return Nt})),n.d(e,"ja",(function(){return jt})),n.d(e,"jbo",(function(){return At})),n.d(e,"jgo",(function(){return Rt})),n.d(e,"jmc",(function(){return Ft})),n.d(e,"jv",(function(){return Pt})),n.d(e,"jw",(function(){return Lt})),n.d(e,"ka",(function(){return Bt})),n.d(e,"kab",(function(){return $t})),n.d(e,"kaj",(function(){return It})),n.d(e,"kcg",(function(){return Dt})),n.d(e,"kde",(function(){return qt})),n.d(e,"kea",(function(){return zt})),n.d(e,"kk",(function(){return Mt})),n.d(e,"kkj",(function(){return Ut})),n.d(e,"kl",(function(){return Ht})),n.d(e,"km",(function(){return Jt})),n.d(e,"kn",(function(){return Wt})),n.d(e,"ko",(function(){return Gt})),n.d(e,"ks",(function(){return Zt})),n.d(e,"ksb",(function(){return Kt})),n.d(e,"ksh",(function(){return Vt})),n.d(e,"ku",(function(){return Xt})),n.d(e,"kw",(function(){return Yt})),n.d(e,"ky",(function(){return Qt})),n.d(e,"lag",(function(){return te})),n.d(e,"lb",(function(){return ee})),n.d(e,"lg",(function(){return ne})),n.d(e,"lij",(function(){return re})),n.d(e,"lkt",(function(){return ie})),n.d(e,"ln",(function(){return oe})),n.d(e,"lo",(function(){return se})),n.d(e,"lt",(function(){return ue})),n.d(e,"lv",(function(){return ce})),n.d(e,"mas",(function(){return ae})),n.d(e,"mg",(function(){return fe})),n.d(e,"mgo",(function(){return le})),n.d(e,"mk",(function(){return de})),n.d(e,"ml",(function(){return he})),n.d(e,"mn",(function(){return pe})),n.d(e,"mo",(function(){return me})),n.d(e,"mr",(function(){return ge})),n.d(e,"ms",(function(){return ye})),n.d(e,"mt",(function(){return we})),n.d(e,"my",(function(){return be})),n.d(e,"nah",(function(){return ve})),n.d(e,"naq",(function(){return xe})),n.d(e,"nb",(function(){return ke})),n.d(e,"nd",(function(){return Se})),n.d(e,"ne",(function(){return Ee})),n.d(e,"nl",(function(){return Oe})),n.d(e,"nn",(function(){return Ce})),n.d(e,"nnh",(function(){return _e})),n.d(e,"no",(function(){return Te})),n.d(e,"nqo",(function(){return Ne})),n.d(e,"nr",(function(){return je})),n.d(e,"nso",(function(){return Ae})),n.d(e,"ny",(function(){return Re})),n.d(e,"nyn",(function(){return Fe})),n.d(e,"om",(function(){return Pe})),n.d(e,"or",(function(){return Le})),n.d(e,"os",(function(){return Be})),n.d(e,"osa",(function(){return $e})),n.d(e,"pa",(function(){return Ie})),n.d(e,"pap",(function(){return De})),n.d(e,"pcm",(function(){return qe})),n.d(e,"pl",(function(){return ze})),n.d(e,"prg",(function(){return Me})),n.d(e,"ps",(function(){return Ue})),n.d(e,"pt",(function(){return He})),n.d(e,"pt_PT",(function(){return Je})),n.d(e,"rm",(function(){return We})),n.d(e,"ro",(function(){return Ge})),n.d(e,"rof",(function(){return Ze})),n.d(e,"ru",(function(){return Ke})),n.d(e,"rwk",(function(){return Ve})),n.d(e,"sah",(function(){return Xe})),n.d(e,"saq",(function(){return Ye})),n.d(e,"sat",(function(){return Qe})),n.d(e,"sc",(function(){return tn})),n.d(e,"scn",(function(){return en})),n.d(e,"sd",(function(){return nn})),n.d(e,"sdh",(function(){return rn})),n.d(e,"se",(function(){return on})),n.d(e,"seh",(function(){return sn})),n.d(e,"ses",(function(){return un})),n.d(e,"sg",(function(){return cn})),n.d(e,"sh",(function(){return an})),n.d(e,"shi",(function(){return fn})),n.d(e,"si",(function(){return ln})),n.d(e,"sk",(function(){return dn})),n.d(e,"sl",(function(){return hn})),n.d(e,"sma",(function(){return pn})),n.d(e,"smi",(function(){return mn})),n.d(e,"smj",(function(){return gn})),n.d(e,"smn",(function(){return yn})),n.d(e,"sms",(function(){return wn})),n.d(e,"sn",(function(){return bn})),n.d(e,"so",(function(){return vn})),n.d(e,"sq",(function(){return xn})),n.d(e,"sr",(function(){return kn})),n.d(e,"ss",(function(){return Sn})),n.d(e,"ssy",(function(){return En})),n.d(e,"st",(function(){return On})),n.d(e,"su",(function(){return Cn})),n.d(e,"sv",(function(){return _n})),n.d(e,"sw",(function(){return Tn})),n.d(e,"syr",(function(){return Nn})),n.d(e,"ta",(function(){return jn})),n.d(e,"te",(function(){return An})),n.d(e,"teo",(function(){return Rn})),n.d(e,"th",(function(){return Fn})),n.d(e,"ti",(function(){return Pn})),n.d(e,"tig",(function(){return Ln})),n.d(e,"tk",(function(){return Bn})),n.d(e,"tl",(function(){return $n})),n.d(e,"tn",(function(){return In})),n.d(e,"to",(function(){return Dn})),n.d(e,"tpi",(function(){return qn})),n.d(e,"tr",(function(){return zn})),n.d(e,"ts",(function(){return Mn})),n.d(e,"tzm",(function(){return Un})),n.d(e,"ug",(function(){return Hn})),n.d(e,"uk",(function(){return Jn})),n.d(e,"und",(function(){return Wn})),n.d(e,"ur",(function(){return Gn})),n.d(e,"uz",(function(){return Zn})),n.d(e,"ve",(function(){return Kn})),n.d(e,"vi",(function(){return Vn})),n.d(e,"vo",(function(){return Xn})),n.d(e,"vun",(function(){return Yn})),n.d(e,"wa",(function(){return Qn})),n.d(e,"wae",(function(){return tr})),n.d(e,"wo",(function(){return er})),n.d(e,"xh",(function(){return nr})),n.d(e,"xog",(function(){return rr})),n.d(e,"yi",(function(){return ir})),n.d(e,"yo",(function(){return or})),n.d(e,"yue",(function(){return sr})),n.d(e,"zh",(function(){return ur})),n.d(e,"zu",(function(){return cr}));const r=t=>1==t?"one":"other",i=t=>0==t||1==t?"one":"other",o=t=>t>=0&&t<=1?"one":"other",s=t=>{const e=!String(t).split(".")[1];return 1==t&&e?"one":"other"},u=t=>"other",c=t=>1==t?"one":2==t?"two":"other",a=r,f=i,l=o,d=r,h=t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},p=t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 0==t?"zero":1==t?"one":2==t?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},m=o,g=r,y=s,w=r,b=r,v=t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),i=n&&e[0].slice(-2);return 1==r&&11!=i?"one":r>=2&&r<=4&&(i<12||i>14)?"few":n&&0==r||r>=5&&r<=9||i>=11&&i<=14?"many":"other"},x=r,k=r,S=r,E=i,O=u,C=o,_=u,T=t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-1),i=n&&e[0].slice(-2),o=n&&e[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&&n&&0==o?"many":"other"},N=r,j=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},A=s,R=r,F=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=r.slice(-1);return i&&(1==n||2==n||3==n)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},P=r,L=r,B=r,$=t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},I=t=>0==t?"zero":1==t?"one":2==t?"two":3==t?"few":6==t?"many":"other",D=t=>{const e=String(t).split("."),n=e[0],r=Number(e[0])==t;return 1!=t&&(r||0!=n&&1!=n)?"other":"one"},q=s,z=o,M=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.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"},U=r,H=u,J=r,W=r,G=s,Z=r,K=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 1==t?"one":0!=n&&0==i&&r?"many":"other"},V=s,X=r,Y=o,Q=t=>t>=0&&t<2?"one":"other",tt=s,et=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=r.slice(-1);return i&&(1==n||2==n||3==n)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},nt=r,rt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return t>=0&&t<2?"one":0!=n&&0==i&&r?"many":"other"},it=r,ot=s,st=t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t?"one":2==t?"two":n&&t>=3&&t<=6?"few":n&&t>=7&&t<=10?"many":"other"},ut=t=>{const e=String(t).split("."),n=Number(e[0])==t;return 1==t||11==t?"one":2==t||12==t?"two":n&&t>=3&&t<=10||n&&t>=13&&t<=19?"few":"other"},ct=s,at=r,ft=o,lt=i,dt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.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"},ht=r,pt=r,mt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=Number(e[0])==t,o=i&&e[0].slice(-1);return 1==t&&r?"one":2==n&&r?"two":r&&(t<0||t>10)&&i&&0==o?"many":"other"},gt=o,yt=u,wt=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},bt=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.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"},vt=r,xt=t=>t>=0&&t<2?"one":"other",kt=s,St=u,Et=u,Ot=u,Ct=s,_t=t=>{const e=String(t).split("."),n=e[0],r=Number(e[0])==t,i=n.slice(-1),o=n.slice(-2);return r&&1==i&&11!=o||!r?"one":"other"},Tt=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 1==t&&r?"one":0!=n&&0==i&&r?"many":"other"},Nt=c,jt=u,At=u,Rt=r,Ft=r,Pt=u,Lt=u,Bt=r,$t=t=>t>=0&&t<2?"one":"other",It=r,Dt=r,qt=u,zt=u,Mt=r,Ut=r,Ht=r,Jt=u,Wt=o,Gt=u,Zt=r,Kt=r,Vt=t=>0==t?"zero":1==t?"one":"other",Xt=r,Yt=t=>{const e=String(t).split("."),n=Number(e[0])==t,r=n&&e[0].slice(-2),i=n&&e[0].slice(-3),o=n&&e[0].slice(-5),s=n&&e[0].slice(-6);return 0==t?"zero":1==t?"one":2==r||22==r||42==r||62==r||82==r||n&&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"},Qt=r,te=t=>{const e=String(t).split(".")[0];return 0==t?"zero":0!=e&&1!=e||0==t?"other":"one"},ee=r,ne=r,re=s,ie=u,oe=i,se=u,ue=t=>{const e=String(t).split("."),n=e[1]||"",r=Number(e[0])==t,i=r&&e[0].slice(-1),o=r&&e[0].slice(-2);return 1==i&&(o<11||o>19)?"one":i>=2&&i<=9&&(o<11||o>19)?"few":0!=n?"many":"other"},ce=t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2),u=n.slice(-2),c=n.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"},ae=r,fe=i,le=r,de=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.slice(-2),u=r.slice(-1),c=r.slice(-2);return i&&1==o&&11!=s||1==u&&11!=c?"one":"other"},he=r,pe=r,me=t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||r>=2&&r<=19?"few":"other"},ge=r,ye=u,we=t=>{const e=String(t).split("."),n=Number(e[0])==t&&e[0].slice(-2);return 1==t?"one":0==t||n>=2&&n<=10?"few":n>=11&&n<=19?"many":"other"},be=u,ve=r,xe=c,ke=r,Se=r,Ee=r,Oe=s,Ce=r,_e=r,Te=r,Ne=u,je=r,Ae=i,Re=r,Fe=r,Pe=r,Le=r,Be=r,$e=u,Ie=i,De=r,qe=o,ze=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.slice(-2);return 1==t&&r?"one":r&&i>=2&&i<=4&&(o<12||o>14)?"few":r&&1!=n&&(0==i||1==i)||r&&i>=5&&i<=9||r&&o>=12&&o<=14?"many":"other"},Me=t=>{const e=String(t).split("."),n=e[1]||"",r=n.length,i=Number(e[0])==t,o=i&&e[0].slice(-1),s=i&&e[0].slice(-2),u=n.slice(-2),c=n.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"},Ue=r,He=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 0==n||1==n?"one":0!=n&&0==i&&r?"many":"other"},Je=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-6);return 1==t&&r?"one":0!=n&&0==i&&r?"many":"other"},We=r,Ge=t=>{const e=String(t).split("."),n=!e[1],r=Number(e[0])==t&&e[0].slice(-2);return 1==t&&n?"one":!n||0==t||r>=2&&r<=19?"few":"other"},Ze=r,Ke=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.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"},Ve=r,Xe=u,Ye=r,Qe=c,tn=s,en=s,nn=r,rn=r,on=c,sn=r,un=u,cn=u,an=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},fn=t=>{const e=String(t).split("."),n=Number(e[0])==t;return t>=0&&t<=1?"one":n&&t>=2&&t<=10?"few":"other"},ln=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"";return 0==t||1==t||0==n&&1==r?"one":"other"},dn=t=>{const e=String(t).split("."),n=e[0],r=!e[1];return 1==t&&r?"one":n>=2&&n<=4&&r?"few":r?"other":"many"},hn=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-2);return r&&1==i?"one":r&&2==i?"two":r&&(3==i||4==i)||!r?"few":"other"},pn=c,mn=c,gn=c,yn=c,wn=c,bn=r,vn=r,xn=r,kn=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=n.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"},Sn=r,En=r,On=r,Cn=u,_n=s,Tn=s,Nn=r,jn=r,An=r,Rn=r,Fn=u,Pn=i,Ln=r,Bn=r,$n=t=>{const e=String(t).split("."),n=e[0],r=e[1]||"",i=!e[1],o=n.slice(-1),s=r.slice(-1);return i&&(1==n||2==n||3==n)||i&&4!=o&&6!=o&&9!=o||!i&&4!=s&&6!=s&&9!=s?"one":"other"},In=r,Dn=u,qn=u,zn=r,Mn=r,Un=t=>{const e=String(t).split("."),n=Number(e[0])==t;return 0==t||1==t||n&&t>=11&&t<=99?"one":"other"},Hn=r,Jn=t=>{const e=String(t).split("."),n=e[0],r=!e[1],i=n.slice(-1),o=n.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"},Wn=u,Gn=s,Zn=r,Kn=r,Vn=u,Xn=r,Yn=r,Qn=i,tr=r,er=u,nr=r,rr=r,ir=s,or=u,sr=u,ur=u,cr=o},function(t,e,n){"use strict";n.r(e),n.d(e,"af",(function(){return p})),n.d(e,"ak",(function(){return m})),n.d(e,"am",(function(){return g})),n.d(e,"an",(function(){return y})),n.d(e,"ar",(function(){return w})),n.d(e,"ars",(function(){return b})),n.d(e,"as",(function(){return v})),n.d(e,"asa",(function(){return x})),n.d(e,"ast",(function(){return k})),n.d(e,"az",(function(){return S})),n.d(e,"bal",(function(){return E})),n.d(e,"be",(function(){return O})),n.d(e,"bem",(function(){return C})),n.d(e,"bez",(function(){return _})),n.d(e,"bg",(function(){return T})),n.d(e,"bho",(function(){return N})),n.d(e,"bm",(function(){return j})),n.d(e,"bn",(function(){return A})),n.d(e,"bo",(function(){return R})),n.d(e,"br",(function(){return F})),n.d(e,"brx",(function(){return P})),n.d(e,"bs",(function(){return L})),n.d(e,"ca",(function(){return B})),n.d(e,"ce",(function(){return $})),n.d(e,"ceb",(function(){return I})),n.d(e,"cgg",(function(){return D})),n.d(e,"chr",(function(){return q})),n.d(e,"ckb",(function(){return z})),n.d(e,"cs",(function(){return M})),n.d(e,"cy",(function(){return U})),n.d(e,"da",(function(){return H})),n.d(e,"de",(function(){return J})),n.d(e,"doi",(function(){return W})),n.d(e,"dsb",(function(){return G})),n.d(e,"dv",(function(){return Z})),n.d(e,"dz",(function(){return K})),n.d(e,"ee",(function(){return V})),n.d(e,"el",(function(){return X})),n.d(e,"en",(function(){return Y})),n.d(e,"eo",(function(){return Q})),n.d(e,"es",(function(){return tt})),n.d(e,"et",(function(){return et})),n.d(e,"eu",(function(){return nt})),n.d(e,"fa",(function(){return rt})),n.d(e,"ff",(function(){return it})),n.d(e,"fi",(function(){return ot})),n.d(e,"fil",(function(){return st})),n.d(e,"fo",(function(){return ut})),n.d(e,"fr",(function(){return ct})),n.d(e,"fur",(function(){return at})),n.d(e,"fy",(function(){return ft})),n.d(e,"ga",(function(){return lt})),n.d(e,"gd",(function(){return dt})),n.d(e,"gl",(function(){return ht})),n.d(e,"gsw",(function(){return pt})),n.d(e,"gu",(function(){return mt})),n.d(e,"guw",(function(){return gt})),n.d(e,"gv",(function(){return yt})),n.d(e,"ha",(function(){return wt})),n.d(e,"haw",(function(){return bt})),n.d(e,"he",(function(){return vt})),n.d(e,"hi",(function(){return xt})),n.d(e,"hnj",(function(){return kt})),n.d(e,"hr",(function(){return St})),n.d(e,"hsb",(function(){return Et})),n.d(e,"hu",(function(){return Ot})),n.d(e,"hy",(function(){return Ct})),n.d(e,"ia",(function(){return _t})),n.d(e,"id",(function(){return Tt})),n.d(e,"ig",(function(){return Nt})),n.d(e,"ii",(function(){return jt})),n.d(e,"io",(function(){return At})),n.d(e,"is",(function(){return Rt})),n.d(e,"it",(function(){return Ft})),n.d(e,"iu",(function(){return Pt})),n.d(e,"ja",(function(){return Lt})),n.d(e,"jbo",(function(){return Bt})),n.d(e,"jgo",(function(){return $t})),n.d(e,"jmc",(function(){return It})),n.d(e,"jv",(function(){return Dt})),n.d(e,"jw",(function(){return qt})),n.d(e,"ka",(function(){return zt})),n.d(e,"kab",(function(){return Mt})),n.d(e,"kaj",(function(){return Ut})),n.d(e,"kcg",(function(){return Ht})),n.d(e,"kde",(function(){return Jt})),n.d(e,"kea",(function(){return Wt})),n.d(e,"kk",(function(){return Gt})),n.d(e,"kkj",(function(){return Zt})),n.d(e,"kl",(function(){return Kt})),n.d(e,"km",(function(){return Vt})),n.d(e,"kn",(function(){return Xt})),n.d(e,"ko",(function(){return Yt})),n.d(e,"ks",(function(){return Qt})),n.d(e,"ksb",(function(){return te})),n.d(e,"ksh",(function(){return ee})),n.d(e,"ku",(function(){return ne})),n.d(e,"kw",(function(){return re})),n.d(e,"ky",(function(){return ie})),n.d(e,"lag",(function(){return oe})),n.d(e,"lb",(function(){return se})),n.d(e,"lg",(function(){return ue})),n.d(e,"lij",(function(){return ce})),n.d(e,"lkt",(function(){return ae})),n.d(e,"ln",(function(){return fe})),n.d(e,"lo",(function(){return le})),n.d(e,"lt",(function(){return de})),n.d(e,"lv",(function(){return he})),n.d(e,"mas",(function(){return pe})),n.d(e,"mg",(function(){return me})),n.d(e,"mgo",(function(){return ge})),n.d(e,"mk",(function(){return ye})),n.d(e,"ml",(function(){return we})),n.d(e,"mn",(function(){return be})),n.d(e,"mo",(function(){return ve})),n.d(e,"mr",(function(){return xe})),n.d(e,"ms",(function(){return ke})),n.d(e,"mt",(function(){return Se})),n.d(e,"my",(function(){return Ee})),n.d(e,"nah",(function(){return Oe})),n.d(e,"naq",(function(){return Ce})),n.d(e,"nb",(function(){return _e})),n.d(e,"nd",(function(){return Te})),n.d(e,"ne",(function(){return Ne})),n.d(e,"nl",(function(){return je})),n.d(e,"nn",(function(){return Ae})),n.d(e,"nnh",(function(){return Re})),n.d(e,"no",(function(){return Fe})),n.d(e,"nqo",(function(){return Pe})),n.d(e,"nr",(function(){return Le})),n.d(e,"nso",(function(){return Be})),n.d(e,"ny",(function(){return $e})),n.d(e,"nyn",(function(){return Ie})),n.d(e,"om",(function(){return De})),n.d(e,"or",(function(){return qe})),n.d(e,"os",(function(){return ze})),n.d(e,"osa",(function(){return Me})),n.d(e,"pa",(function(){return Ue})),n.d(e,"pap",(function(){return He})),n.d(e,"pcm",(function(){return Je})),n.d(e,"pl",(function(){return We})),n.d(e,"prg",(function(){return Ge})),n.d(e,"ps",(function(){return Ze})),n.d(e,"pt",(function(){return Ke})),n.d(e,"pt_PT",(function(){return Ve})),n.d(e,"rm",(function(){return Xe})),n.d(e,"ro",(function(){return Ye})),n.d(e,"rof",(function(){return Qe})),n.d(e,"ru",(function(){return tn})),n.d(e,"rwk",(function(){return en})),n.d(e,"sah",(function(){return nn})),n.d(e,"saq",(function(){return rn})),n.d(e,"sat",(function(){return on})),n.d(e,"sc",(function(){return sn})),n.d(e,"scn",(function(){return un})),n.d(e,"sd",(function(){return cn})),n.d(e,"sdh",(function(){return an})),n.d(e,"se",(function(){return fn})),n.d(e,"seh",(function(){return ln})),n.d(e,"ses",(function(){return dn})),n.d(e,"sg",(function(){return hn})),n.d(e,"sh",(function(){return pn})),n.d(e,"shi",(function(){return mn})),n.d(e,"si",(function(){return gn})),n.d(e,"sk",(function(){return yn})),n.d(e,"sl",(function(){return wn})),n.d(e,"sma",(function(){return bn})),n.d(e,"smi",(function(){return vn})),n.d(e,"smj",(function(){return xn})),n.d(e,"smn",(function(){return kn})),n.d(e,"sms",(function(){return Sn})),n.d(e,"sn",(function(){return En})),n.d(e,"so",(function(){return On})),n.d(e,"sq",(function(){return Cn})),n.d(e,"sr",(function(){return _n})),n.d(e,"ss",(function(){return Tn})),n.d(e,"ssy",(function(){return Nn})),n.d(e,"st",(function(){return jn})),n.d(e,"su",(function(){return An})),n.d(e,"sv",(function(){return Rn})),n.d(e,"sw",(function(){return Fn})),n.d(e,"syr",(function(){return Pn})),n.d(e,"ta",(function(){return Ln})),n.d(e,"te",(function(){return Bn})),n.d(e,"teo",(function(){return $n})),n.d(e,"th",(function(){return In})),n.d(e,"ti",(function(){return Dn})),n.d(e,"tig",(function(){return qn})),n.d(e,"tk",(function(){return zn})),n.d(e,"tl",(function(){return Mn})),n.d(e,"tn",(function(){return Un})),n.d(e,"to",(function(){return Hn})),n.d(e,"tpi",(function(){return Jn})),n.d(e,"tr",(function(){return Wn})),n.d(e,"ts",(function(){return Gn})),n.d(e,"tzm",(function(){return Zn})),n.d(e,"ug",(function(){return Kn})),n.d(e,"uk",(function(){return Vn})),n.d(e,"und",(function(){return Xn})),n.d(e,"ur",(function(){return Yn})),n.d(e,"uz",(function(){return Qn})),n.d(e,"ve",(function(){return tr})),n.d(e,"vi",(function(){return er})),n.d(e,"vo",(function(){return nr})),n.d(e,"vun",(function(){return rr})),n.d(e,"wa",(function(){return ir})),n.d(e,"wae",(function(){return or})),n.d(e,"wo",(function(){return sr})),n.d(e,"xh",(function(){return ur})),n.d(e,"xog",(function(){return cr})),n.d(e,"yi",(function(){return ar})),n.d(e,"yo",(function(){return fr})),n.d(e,"yue",(function(){return lr})),n.d(e,"zh",(function(){return dr})),n.d(e,"zu",(function(){return hr}));const r="zero",i="one",o="two",s="few",u="many",c="other",a={cardinal:[i,c],ordinal:[c]},f={cardinal:[i,c],ordinal:[i,c]},l={cardinal:[c],ordinal:[c]},d={cardinal:[i,s,u,c],ordinal:[c]},h={cardinal:[i,o,c],ordinal:[c]},p=a,m=a,g=a,y=a,w={cardinal:[r,i,o,s,u,c],ordinal:[c]},b={cardinal:[r,i,o,s,u,c],ordinal:[c]},v={cardinal:[i,c],ordinal:[i,o,s,u,c]},x=a,k=a,S={cardinal:[i,c],ordinal:[i,s,u,c]},E=f,O={cardinal:[i,s,u,c],ordinal:[s,c]},C=a,_=a,T=a,N=a,j=l,A={cardinal:[i,c],ordinal:[i,o,s,u,c]},R=l,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,I=a,D=a,q=a,z=a,M=d,U={cardinal:[r,i,o,s,u,c],ordinal:[r,i,o,s,u,c]},H=a,J=a,W=a,G={cardinal:[i,o,s,c],ordinal:[c]},Z=a,K=l,V=a,X=a,Y={cardinal:[i,c],ordinal:[i,o,s,c]},Q=a,tt={cardinal:[i,u,c],ordinal:[c]},et=a,nt=a,rt=a,it=a,ot=a,st=f,ut=a,ct={cardinal:[i,u,c],ordinal:[i,c]},at=a,ft=a,lt={cardinal:[i,o,s,u,c],ordinal:[i,c]},dt={cardinal:[i,o,s,c],ordinal:[i,o,s,c]},ht=a,pt=a,mt={cardinal:[i,c],ordinal:[i,o,s,u,c]},gt=a,yt={cardinal:[i,o,s,u,c],ordinal:[c]},wt=a,bt=a,vt={cardinal:[i,o,u,c],ordinal:[c]},xt={cardinal:[i,c],ordinal:[i,o,s,u,c]},kt=l,St={cardinal:[i,s,c],ordinal:[c]},Et={cardinal:[i,o,s,c],ordinal:[c]},Ot=f,Ct=f,_t=a,Tt=l,Nt=l,jt=l,At=a,Rt=a,Ft={cardinal:[i,u,c],ordinal:[u,c]},Pt=h,Lt=l,Bt=l,$t=a,It=a,Dt=l,qt=l,zt={cardinal:[i,c],ordinal:[i,u,c]},Mt=a,Ut=a,Ht=a,Jt=l,Wt=l,Gt={cardinal:[i,c],ordinal:[u,c]},Zt=a,Kt=a,Vt=l,Xt=a,Yt=l,Qt=a,te=a,ee={cardinal:[r,i,c],ordinal:[c]},ne=a,re={cardinal:[r,i,o,s,u,c],ordinal:[i,u,c]},ie=a,oe={cardinal:[r,i,c],ordinal:[c]},se=a,ue=a,ce={cardinal:[i,c],ordinal:[u,c]},ae=l,fe=a,le={cardinal:[c],ordinal:[i,c]},de=d,he={cardinal:[r,i,c],ordinal:[c]},pe=a,me=a,ge=a,ye={cardinal:[i,c],ordinal:[i,o,u,c]},we=a,be=a,ve={cardinal:[i,s,c],ordinal:[i,c]},xe={cardinal:[i,c],ordinal:[i,o,s,c]},ke={cardinal:[c],ordinal:[i,c]},Se=d,Ee=l,Oe=a,Ce=h,_e=a,Te=a,Ne=f,je=a,Ae=a,Re=a,Fe=a,Pe=l,Le=a,Be=a,$e=a,Ie=a,De=a,qe={cardinal:[i,c],ordinal:[i,o,s,u,c]},ze=a,Me=l,Ue=a,He=a,Je=a,We=d,Ge={cardinal:[r,i,c],ordinal:[c]},Ze=a,Ke={cardinal:[i,u,c],ordinal:[c]},Ve={cardinal:[i,u,c],ordinal:[c]},Xe=a,Ye={cardinal:[i,s,c],ordinal:[i,c]},Qe=a,tn=d,en=a,nn=l,rn=a,on=h,sn={cardinal:[i,c],ordinal:[u,c]},un={cardinal:[i,c],ordinal:[u,c]},cn=a,an=a,fn=h,ln=a,dn=l,hn=l,pn={cardinal:[i,s,c],ordinal:[c]},mn={cardinal:[i,s,c],ordinal:[c]},gn=a,yn=d,wn={cardinal:[i,o,s,c],ordinal:[c]},bn=h,vn=h,xn=h,kn=h,Sn=h,En=a,On=a,Cn={cardinal:[i,c],ordinal:[i,u,c]},_n={cardinal:[i,s,c],ordinal:[c]},Tn=a,Nn=a,jn=a,An=l,Rn=f,Fn=a,Pn=a,Ln=a,Bn=a,$n=a,In=l,Dn=a,qn=a,zn={cardinal:[i,c],ordinal:[s,c]},Mn=f,Un=a,Hn=l,Jn=l,Wn=a,Gn=a,Zn=a,Kn=a,Vn={cardinal:[i,s,u,c],ordinal:[s,c]},Xn=l,Yn=a,Qn=a,tr=a,er={cardinal:[c],ordinal:[i,c]},nr=a,rr=a,ir=a,or=a,sr=l,ur=a,cr=a,ar=a,fr=l,lr=l,dr=l,hr=a},function(t,e,n){"use strict";n.r(e),n.d(e,"af",(function(){return a})),n.d(e,"ak",(function(){return f})),n.d(e,"am",(function(){return l})),n.d(e,"an",(function(){return d})),n.d(e,"ar",(function(){return h})),n.d(e,"ars",(function(){return p})),n.d(e,"as",(function(){return m})),n.d(e,"asa",(function(){return g})),n.d(e,"ast",(function(){return y})),n.d(e,"az",(function(){return w})),n.d(e,"bal",(function(){return b})),n.d(e,"be",(function(){return v})),n.d(e,"bem",(function(){return x})),n.d(e,"bez",(function(){return k})),n.d(e,"bg",(function(){return S})),n.d(e,"bho",(function(){return E})),n.d(e,"bm",(function(){return O})),n.d(e,"bn",(function(){return C})),n.d(e,"bo",(function(){return _})),n.d(e,"br",(function(){return T})),n.d(e,"brx",(function(){return N})),n.d(e,"bs",(function(){return j})),n.d(e,"ca",(function(){return A})),n.d(e,"ce",(function(){return R})),n.d(e,"ceb",(function(){return F})),n.d(e,"cgg",(function(){return P})),n.d(e,"chr",(function(){return L})),n.d(e,"ckb",(function(){return B})),n.d(e,"cs",(function(){return $})),n.d(e,"cy",(function(){return I})),n.d(e,"da",(function(){return D})),n.d(e,"de",(function(){return q})),n.d(e,"doi",(function(){return z})),n.d(e,"dsb",(function(){return M})),n.d(e,"dv",(function(){return U})),n.d(e,"dz",(function(){return H})),n.d(e,"ee",(function(){return J})),n.d(e,"el",(function(){return W})),n.d(e,"en",(function(){return G})),n.d(e,"eo",(function(){return Z})),n.d(e,"es",(function(){return K})),n.d(e,"et",(function(){return V})),n.d(e,"eu",(function(){return X})),n.d(e,"fa",(function(){return Y})),n.d(e,"ff",(function(){return Q})),n.d(e,"fi",(function(){return tt})),n.d(e,"fil",(function(){return et})),n.d(e,"fo",(function(){return nt})),n.d(e,"fr",(function(){return rt})),n.d(e,"fur",(function(){return it})),n.d(e,"fy",(function(){return ot})),n.d(e,"ga",(function(){return st})),n.d(e,"gd",(function(){return ut})),n.d(e,"gl",(function(){return ct})),n.d(e,"gsw",(function(){return at})),n.d(e,"gu",(function(){return ft})),n.d(e,"guw",(function(){return lt})),n.d(e,"gv",(function(){return dt})),n.d(e,"ha",(function(){return ht})),n.d(e,"haw",(function(){return pt})),n.d(e,"he",(function(){return mt})),n.d(e,"hi",(function(){return gt})),n.d(e,"hnj",(function(){return yt})),n.d(e,"hr",(function(){return wt})),n.d(e,"hsb",(function(){return bt})),n.d(e,"hu",(function(){return vt})),n.d(e,"hy",(function(){return xt})),n.d(e,"ia",(function(){return kt})),n.d(e,"id",(function(){return St})),n.d(e,"ig",(function(){return Et})),n.d(e,"ii",(function(){return Ot})),n.d(e,"io",(function(){return Ct})),n.d(e,"is",(function(){return _t})),n.d(e,"it",(function(){return Tt})),n.d(e,"iu",(function(){return Nt})),n.d(e,"ja",(function(){return jt})),n.d(e,"jbo",(function(){return At})),n.d(e,"jgo",(function(){return Rt})),n.d(e,"jmc",(function(){return Ft})),n.d(e,"jv",(function(){return Pt})),n.d(e,"jw",(function(){return Lt})),n.d(e,"ka",(function(){return Bt})),n.d(e,"kab",(function(){return $t})),n.d(e,"kaj",(function(){return It})),n.d(e,"kcg",(function(){return Dt})),n.d(e,"kde",(function(){return qt})),n.d(e,"kea",(function(){return zt})),n.d(e,"kk",(function(){return Mt})),n.d(e,"kkj",(function(){return Ut})),n.d(e,"kl",(function(){return Ht})),n.d(e,"km",(function(){return Jt})),n.d(e,"kn",(function(){return Wt})),n.d(e,"ko",(function(){return Gt})),n.d(e,"ks",(function(){return Zt})),n.d(e,"ksb",(function(){return Kt})),n.d(e,"ksh",(function(){return Vt})),n.d(e,"ku",(function(){return Xt})),n.d(e,"kw",(function(){return Yt})),n.d(e,"ky",(function(){return Qt})),n.d(e,"lag",(function(){return te})),n.d(e,"lb",(function(){return ee})),n.d(e,"lg",(function(){return ne})),n.d(e,"lij",(function(){return re})),n.d(e,"lkt",(function(){return ie})),n.d(e,"ln",(function(){return oe})),n.d(e,"lo",(function(){return se})),n.d(e,"lt",(function(){return ue})),n.d(e,"lv",(function(){return ce})),n.d(e,"mas",(function(){return ae})),n.d(e,"mg",(function(){return fe})),n.d(e,"mgo",(function(){return le})),n.d(e,"mk",(function(){return de})),n.d(e,"ml",(function(){return he})),n.d(e,"mn",(function(){return pe})),n.d(e,"mo",(function(){return me})),n.d(e,"mr",(function(){return ge})),n.d(e,"ms",(function(){return ye})),n.d(e,"mt",(function(){return we})),n.d(e,"my",(function(){return be})),n.d(e,"nah",(function(){return ve})),n.d(e,"naq",(function(){return xe})),n.d(e,"nb",(function(){return ke})),n.d(e,"nd",(function(){return Se})),n.d(e,"ne",(function(){return Ee})),n.d(e,"nl",(function(){return Oe})),n.d(e,"nn",(function(){return Ce})),n.d(e,"nnh",(function(){return _e})),n.d(e,"no",(function(){return Te})),n.d(e,"nqo",(function(){return Ne})),n.d(e,"nr",(function(){return je})),n.d(e,"nso",(function(){return Ae})),n.d(e,"ny",(function(){return Re})),n.d(e,"nyn",(function(){return Fe})),n.d(e,"om",(function(){return Pe})),n.d(e,"or",(function(){return Le})),n.d(e,"os",(function(){return Be})),n.d(e,"osa",(function(){return $e})),n.d(e,"pa",(function(){return Ie})),n.d(e,"pap",(function(){return De})),n.d(e,"pcm",(function(){return qe})),n.d(e,"pl",(function(){return ze})),n.d(e,"prg",(function(){return Me})),n.d(e,"ps",(function(){return Ue})),n.d(e,"pt",(function(){return He})),n.d(e,"pt_PT",(function(){return Je})),n.d(e,"rm",(function(){return We})),n.d(e,"ro",(function(){return Ge})),n.d(e,"rof",(function(){return Ze})),n.d(e,"ru",(function(){return Ke})),n.d(e,"rwk",(function(){return Ve})),n.d(e,"sah",(function(){return Xe})),n.d(e,"saq",(function(){return Ye})),n.d(e,"sat",(function(){return Qe})),n.d(e,"sc",(function(){return tn})),n.d(e,"scn",(function(){return en})),n.d(e,"sd",(function(){return nn})),n.d(e,"sdh",(function(){return rn})),n.d(e,"se",(function(){return on})),n.d(e,"seh",(function(){return sn})),n.d(e,"ses",(function(){return un})),n.d(e,"sg",(function(){return cn})),n.d(e,"sh",(function(){return an})),n.d(e,"shi",(function(){return fn})),n.d(e,"si",(function(){return ln})),n.d(e,"sk",(function(){return dn})),n.d(e,"sl",(function(){return hn})),n.d(e,"sma",(function(){return pn})),n.d(e,"smi",(function(){return mn})),n.d(e,"smj",(function(){return gn})),n.d(e,"smn",(function(){return yn})),n.d(e,"sms",(function(){return wn})),n.d(e,"sn",(function(){return bn})),n.d(e,"so",(function(){return vn})),n.d(e,"sq",(function(){return xn})),n.d(e,"sr",(function(){return kn})),n.d(e,"ss",(function(){return Sn})),n.d(e,"ssy",(function(){return En})),n.d(e,"st",(function(){return On})),n.d(e,"su",(function(){return Cn})),n.d(e,"sv",(function(){return _n})),n.d(e,"sw",(function(){return Tn})),n.d(e,"syr",(function(){return Nn})),n.d(e,"ta",(function(){return jn})),n.d(e,"te",(function(){return An})),n.d(e,"teo",(function(){return Rn})),n.d(e,"th",(function(){return Fn})),n.d(e,"ti",(function(){return Pn})),n.d(e,"tig",(function(){return Ln})),n.d(e,"tk",(function(){return Bn})),n.d(e,"tl",(function(){return $n})),n.d(e,"tn",(function(){return In})),n.d(e,"to",(function(){return Dn})),n.d(e,"tpi",(function(){return qn})),n.d(e,"tr",(function(){return zn})),n.d(e,"ts",(function(){return Mn})),n.d(e,"tzm",(function(){return Un})),n.d(e,"ug",(function(){return Hn})),n.d(e,"uk",(function(){return Jn})),n.d(e,"und",(function(){return Wn})),n.d(e,"ur",(function(){return Gn})),n.d(e,"uz",(function(){return Zn})),n.d(e,"ve",(function(){return Kn})),n.d(e,"vi",(function(){return Vn})),n.d(e,"vo",(function(){return Xn})),n.d(e,"vun",(function(){return Yn})),n.d(e,"wa",(function(){return Qn})),n.d(e,"wae",(function(){return tr})),n.d(e,"wo",(function(){return er})),n.d(e,"xh",(function(){return nr})),n.d(e,"xog",(function(){return rr})),n.d(e,"yi",(function(){return ir})),n.d(e,"yo",(function(){return or})),n.d(e,"yue",(function(){return sr})),n.d(e,"zh",(function(){return ur})),n.d(e,"zu",(function(){return cr}));const r=(t,e)=>e?"other":1==t?"one":"other",i=(t,e)=>e?"other":0==t||1==t?"one":"other",o=(t,e)=>e?"other":t>=0&&t<=1?"one":"other",s=(t,e)=>{const n=!String(t).split(".")[1];return e?"other":1==t&&n?"one":"other"},u=(t,e)=>"other",c=(t,e)=>e?"other":1==t?"one":2==t?"two":"other",a=r,f=i,l=o,d=r,h=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},p=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":0==t?"zero":1==t?"one":2==t?"two":r>=3&&r<=10?"few":r>=11&&r<=99?"many":"other"},m=(t,e)=>e?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",g=r,y=s,w=(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-1),i=n.slice(-2),o=n.slice(-3);return e?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==n||6==r||40==i||60==i||90==i?"many":"other":1==t?"one":"other"},b=(t,e)=>1==t?"one":"other",v=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?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"},x=r,k=r,S=r,E=i,O=u,C=(t,e)=>e?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",_=u,T=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2),s=r&&n[0].slice(-6);return e?"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"},N=r,j=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},A=(t,e)=>{const n=!String(t).split(".")[1];return e?1==t||3==t?"one":2==t?"two":4==t?"few":"other":1==t&&n?"one":"other"},R=r,F=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=i.slice(-1);return e?"other":o&&(1==r||2==r||3==r)||o&&4!=s&&6!=s&&9!=s||!o&&4!=u&&6!=u&&9!=u?"one":"other"},P=r,L=r,B=r,$=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1];return e?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"},I=(t,e)=>e?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",D=(t,e)=>{const n=String(t).split("."),r=n[0],i=Number(n[0])==t;return e||1!=t&&(i||0!=r&&1!=r)?"other":"one"},q=s,z=o,M=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-2),u=i.slice(-2);return e?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"},U=r,H=u,J=r,W=r,G=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return e?1==o&&11!=s?"one":2==o&&12!=s?"two":3==o&&13!=s?"few":"other":1==t&&r?"one":"other"},Z=r,K=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?"other":1==t?"one":0!=r&&0==o&&i?"many":"other"},V=s,X=r,Y=o,Q=(t,e)=>e?"other":t>=0&&t<2?"one":"other",tt=s,et=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=i.slice(-1);return e?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"},nt=r,rt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?1==t?"one":"other":t>=0&&t<2?"one":0!=r&&0==o&&i?"many":"other"},it=r,ot=s,st=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?1==t?"one":"other":1==t?"one":2==t?"two":r&&t>=3&&t<=6?"few":r&&t>=7&&t<=10?"many":"other"},ut=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?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"},ct=s,at=r,ft=(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",lt=i,dt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-1),s=r.slice(-2);return e?"other":i&&1==o?"one":i&&2==o?"two":!i||0!=s&&20!=s&&40!=s&&60!=s&&80!=s?i?"other":"many":"few"},ht=r,pt=r,mt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=Number(n[0])==t,s=o&&n[0].slice(-1);return e?"other":1==t&&i?"one":2==r&&i?"two":i&&(t<0||t>10)&&o&&0==s?"many":"other"},gt=(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":6==t?"many":"other":t>=0&&t<=1?"one":"other",yt=u,wt=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},bt=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-2),u=i.slice(-2);return e?"other":o&&1==s||1==u?"one":o&&2==s||2==u?"two":o&&(3==s||4==s)||3==u||4==u?"few":"other"},vt=(t,e)=>e?1==t||5==t?"one":"other":1==t?"one":"other",xt=(t,e)=>e?1==t?"one":"other":t>=0&&t<2?"one":"other",kt=s,St=u,Et=u,Ot=u,Ct=s,_t=(t,e)=>{const n=String(t).split("."),r=n[0],i=Number(n[0])==t,o=r.slice(-1),s=r.slice(-2);return e?"other":i&&1==o&&11!=s||!i?"one":"other"},Tt=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&i?"one":0!=r&&0==o&&i?"many":"other"},Nt=c,jt=u,At=u,Rt=r,Ft=r,Pt=u,Lt=u,Bt=(t,e)=>{const n=String(t).split(".")[0],r=n.slice(-2);return e?1==n?"one":0==n||r>=2&&r<=20||40==r||60==r||80==r?"many":"other":1==t?"one":"other"},$t=(t,e)=>e?"other":t>=0&&t<2?"one":"other",It=r,Dt=r,qt=u,zt=u,Mt=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1);return e?6==i||9==i||r&&0==i&&0!=t?"many":"other":1==t?"one":"other"},Ut=r,Ht=r,Jt=u,Wt=o,Gt=u,Zt=r,Kt=r,Vt=(t,e)=>e?"other":0==t?"zero":1==t?"one":"other",Xt=r,Yt=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-2),o=r&&n[0].slice(-3),s=r&&n[0].slice(-5),u=r&&n[0].slice(-6);return e?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"},Qt=r,te=(t,e)=>{const n=String(t).split(".")[0];return e?"other":0==t?"zero":0!=n&&1!=n||0==t?"other":"one"},ee=r,ne=r,re=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t;return e?11==t||8==t||i&&t>=80&&t<=89||i&&t>=800&&t<=899?"many":"other":1==t&&r?"one":"other"},ie=u,oe=i,se=(t,e)=>e&&1==t?"one":"other",ue=(t,e)=>{const n=String(t).split("."),r=n[1]||"",i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return e?"other":1==o&&(s<11||s>19)?"one":o>=2&&o<=9&&(s<11||s>19)?"few":0!=r?"many":"other"},ce=(t,e)=>{const n=String(t).split("."),r=n[1]||"",i=r.length,o=Number(n[0])==t,s=o&&n[0].slice(-1),u=o&&n[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return e?"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"},ae=r,fe=i,le=r,de=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?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"},he=r,pe=r,me=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"},ge=(t,e)=>e?1==t?"one":2==t||3==t?"two":4==t?"few":"other":1==t?"one":"other",ye=(t,e)=>e&&1==t?"one":"other",we=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-2);return e?"other":1==t?"one":0==t||r>=2&&r<=10?"few":r>=11&&r<=19?"many":"other"},be=u,ve=r,xe=c,ke=r,Se=r,Ee=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?r&&t>=1&&t<=4?"one":"other":1==t?"one":"other"},Oe=s,Ce=r,_e=r,Te=r,Ne=u,je=r,Ae=i,Re=r,Fe=r,Pe=r,Le=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?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"},Be=r,$e=u,Ie=i,De=r,qe=o,ze=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-1),s=r.slice(-2);return e?"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"},Me=(t,e)=>{const n=String(t).split("."),r=n[1]||"",i=r.length,o=Number(n[0])==t,s=o&&n[0].slice(-1),u=o&&n[0].slice(-2),c=r.slice(-2),a=r.slice(-1);return e?"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"},Ue=r,He=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?"other":0==r||1==r?"one":0!=r&&0==o&&i?"many":"other"},Je=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-6);return e?"other":1==t&&i?"one":0!=r&&0==o&&i?"many":"other"},We=r,Ge=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t&&n[0].slice(-2);return e?1==t?"one":"other":1==t&&r?"one":!r||0==t||i>=2&&i<=19?"few":"other"},Ze=r,Ke=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-1),s=r.slice(-2);return e?"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"},Ve=r,Xe=u,Ye=r,Qe=c,tn=(t,e)=>{const n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},en=(t,e)=>{const n=!String(t).split(".")[1];return e?11==t||8==t||80==t||800==t?"many":"other":1==t&&n?"one":"other"},nn=r,rn=r,on=c,sn=r,un=u,cn=u,an=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},fn=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":t>=0&&t<=1?"one":r&&t>=2&&t<=10?"few":"other"},ln=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"";return e?"other":0==t||1==t||0==r&&1==i?"one":"other"},dn=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1];return e?"other":1==t&&i?"one":r>=2&&r<=4&&i?"few":i?"other":"many"},hn=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=r.slice(-2);return e?"other":i&&1==o?"one":i&&2==o?"two":i&&(3==o||4==o)||!i?"few":"other"},pn=c,mn=c,gn=c,yn=c,wn=c,bn=r,vn=r,xn=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t,i=r&&n[0].slice(-1),o=r&&n[0].slice(-2);return e?1==t?"one":4==i&&14!=o?"many":"other":1==t?"one":"other"},kn=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=r.slice(-2),c=i.slice(-1),a=i.slice(-2);return e?"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"},Sn=r,En=r,On=r,Cn=u,_n=(t,e)=>{const n=String(t).split("."),r=!n[1],i=Number(n[0])==t,o=i&&n[0].slice(-1),s=i&&n[0].slice(-2);return e?1!=o&&2!=o||11==s||12==s?"other":"one":1==t&&r?"one":"other"},Tn=s,Nn=r,jn=r,An=r,Rn=r,Fn=u,Pn=i,Ln=r,Bn=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t&&n[0].slice(-1);return e?6==r||9==r||10==t?"few":"other":1==t?"one":"other"},$n=(t,e)=>{const n=String(t).split("."),r=n[0],i=n[1]||"",o=!n[1],s=r.slice(-1),u=i.slice(-1);return e?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"},In=r,Dn=u,qn=u,zn=r,Mn=r,Un=(t,e)=>{const n=String(t).split("."),r=Number(n[0])==t;return e?"other":0==t||1==t||r&&t>=11&&t<=99?"one":"other"},Hn=r,Jn=(t,e)=>{const n=String(t).split("."),r=n[0],i=!n[1],o=Number(n[0])==t,s=o&&n[0].slice(-1),u=o&&n[0].slice(-2),c=r.slice(-1),a=r.slice(-2);return e?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"},Wn=u,Gn=s,Zn=r,Kn=r,Vn=(t,e)=>e&&1==t?"one":"other",Xn=r,Yn=r,Qn=i,tr=r,er=u,nr=r,rr=r,ir=s,or=u,sr=u,ur=u,cr=o},function(t,e){var n,r;n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<<e|t>>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e<t.length;e++)t[e]=r.endian(t[e]);return t},randomBytes:function(t){for(var e=[];t>0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],n=0,r=0;n<t.length;n++,r+=8)e[r>>>5]|=t[n]<<24-r%32;return e},wordsToBytes:function(t){for(var e=[],n=0;n<32*t.length;n+=8)e.push(t[n>>>5]>>>24-n%32&255);return e},bytesToHex:function(t){for(var e=[],n=0;n<t.length;n++)e.push((t[n]>>>4).toString(16)),e.push((15&t[n]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],n=0;n<t.length;n+=2)e.push(parseInt(t.substr(n,2),16));return e},bytesToBase64:function(t){for(var e=[],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?e.push(n.charAt(i>>>6*(3-o)&63)):e.push("=");return e.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var e=[],r=0,i=0;r<t.length;i=++r%4)0!=i&&e.push((n.indexOf(t.charAt(r-1))&Math.pow(2,-2*i+8)-1)<<2*i|n.indexOf(t.charAt(r))>>>6-2*i);return e}},t.exports=r},function(t,e){function n(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&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";n.r(e),n.d(e,"generateKey",(function(){return p})),n.d(e,"generateHashedKey",(function(){return m})),n.d(e,"escape",(function(){return g})),n.d(e,"isString",(function(){return y})),n.d(e,"normalizeLocale",(function(){return
|
|
8
|
+
t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";n.r(e),n.d(e,"generateKey",(function(){return p})),n.d(e,"generateHashedKey",(function(){return m})),n.d(e,"escape",(function(){return g})),n.d(e,"isString",(function(){return y})),n.d(e,"normalizeLocale",(function(){return w})),n.d(e,"isPluralized",(function(){return k})),n.d(e,"sleep",(function(){return S})),n.d(e,"FETCHING_TRANSLATIONS",(function(){return E})),n.d(e,"TRANSLATIONS_FETCHED",(function(){return O})),n.d(e,"TRANSLATIONS_FETCH_FAILED",(function(){return C})),n.d(e,"LOCALE_CHANGED",(function(){return _})),n.d(e,"FETCHING_LOCALES",(function(){return T})),n.d(e,"LOCALES_FETCHED",(function(){return N})),n.d(e,"LOCALES_FETCH_FAILED",(function(){return j})),n.d(e,"onEvent",(function(){return R})),n.d(e,"offEvent",(function(){return F})),n.d(e,"sendEvent",(function(){return P})),n.d(e,"PseudoTranslationPolicy",(function(){return $})),n.d(e,"SourceStringPolicy",(function(){return I})),n.d(e,"SourceErrorPolicy",(function(){return D})),n.d(e,"ThrowErrorPolicy",(function(){return q})),n.d(e,"MessageFormatRenderer",(function(){return z})),n.d(e,"createNativeInstance",(function(){return M})),n.d(e,"tx",(function(){return U})),n.d(e,"t",(function(){return H}));var r=n(1),i=n.n(r);class o{constructor(){this.translationsByLocale={}}update(t,e){this.translationsByLocale[t]||(this.translationsByLocale[t]={}),Object.assign(this.translationsByLocale[t],e)}getTranslations(t){return this.translationsByLocale[t]||{}}hasTranslations(t){return!!this.translationsByLocale[t]}isStale(t){return!this.hasTranslations(t)}get(t,e){return this.getTranslations(e)[t]||""}}class s{handle(t,e,n,r){return e}}class u{handle(t,e){return t}}var c=n(9),a=n.n(c);const f={};class l{render(t,e,n){const r=(e||"").split("_")[0];if(!f[r])try{f[r]=new a.a(r)}catch(t){f[r]=new a.a}return f[r].compile(t)(n)}}var d=n(22),h=n.n(d);function p(t,e={}){return e._key?e._key:e._context?`${t}::${e._context}`:""+t}function m(t,e={}){if(e._key)return e._key;let n="";return e._context&&(n=e._context,n=n.replace(/,/g,":")),h()(`5:${t}:${n}`)}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 w(t){const e=t.split("-");let n;return n=1===e.length?t:[e[0],e[1].toUpperCase()].join("_"),n}const b=["zero","one","two","few","many","other"];function v(t){const e=t.indexOf("{");if(-1===e)return[null,null];let n=t.substring(0,e).trim();if("="===n[0]){if(n=n.substring(1),Number.isNaN(parseInt(n,10))||parseInt(n,10)!==parseFloat(n))return[null,null];if(n=parseInt(n,10),n=b[n],void 0===n)return[null,null]}else if(-1===b.indexOf(n))return[null,null];return[n,t.substring(e)]}function x(t){let[e,n]=[0,!1],r=0;for(;r<t.length;){const i=t[r];if("'"===i){const e=t[r+1];"'"===e?r+=1:n?n=!1:"{"!==e&&"}"!==e||(n=!0)}else if("{"===i)n||(e+=1);else if("}"===i&&(n||(e-=1),0===e))return[t.substring(1,r),t.substring(r+1).trim()];r+=1}return[null,null]}function k(t){const[e,n]=function(t){if(!(t.length>1&&"{"===t[0]&&"}"===t[t.length-1]))return[null,null];const e=t.indexOf(",");if(-1===e)return[null,null];const n=t.indexOf(",",e+1);if(-1===n)return[null,null];const r=t.substring(1,e).trim();return"plural"!==t.substring(e+1,n).trim()?[null,null]:[r,t.substring(n+1,t.length-1).trim()]}(t);let r=n;if(null==e)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}function S(t){return new Promise(e=>{setTimeout(()=>{e()},t)})}const E="FETCHING_TRANSLATIONS",O="TRANSLATIONS_FETCHED",C="TRANSLATIONS_FETCH_FAILED",_="LOCALE_CHANGED",T="FETCHING_LOCALES",N="LOCALES_FETCHED",j="LOCALES_FETCH_FAILED",A={};function R(t,e){A[t]=A[t]||[],A[t].push(e)}function F(t,e){const n=A[t]||[],r=n.indexOf(e);-1!==r&&n.splice(r,1)}function P(t,e,n){(A[t]||[]).forEach(t=>{t(e,n)})}class L{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=[],this.childInstances=[]}init(t){const e=this;["cdsHost","token","secret","cache","filterTags","missingPolicy","errorPolicy","stringRenderer","currentLocale"].forEach(n=>{void 0!==t[n]&&(e[n]=t[n])}),this.fetchedTags={}}translate(t,e){return this.translateLocale(this.currentLocale,t,e)}translateLocale(t,e,n){try{let r=this.cache.get(p(e,n),t);if(r||(r=this.cache.get(m(e,n),t)),r&&r.startsWith("{???")&&k(e)){r=`{${e.substring(1,e.indexOf(",")).trim()}${r.substring(4)}`}let i=!1;if(r||(i=!0,r=e),n&&n._escapeVars){const e={};Object.keys(n).forEach(t=>{const r=n[t];e[t]=y(r)?g(r):r}),r=this.stringRenderer.render(r,t,e)}else r=this.stringRenderer.render(r,t,n);return i&&t&&(r=this.missingPolicy.handle(r,t)),y(r)||(r=""+r),r}catch(r){return this.errorPolicy.handle(r,""+e,t,n)}}async fetchTranslations(t,e={}){const n=e.filterTags||this.filterTags;if(e.refresh||this.cache.isStale(t)||!(!n&&this.cache.hasTranslations(t)||n&&-1!==(this.fetchedTags[t]||[]).indexOf(n))){n&&(t in this.fetchedTags||(this.fetchedTags[t]=[]),-1===this.fetchedTags[t].indexOf(n)&&this.fetchedTags[t].push(n));try{let e;P(E,{localeCode:t,filterTags:n},this);let r=202;for(;202===r;){let o=`${this.cdsHost}/content/${t}`;n&&(o=`${o}?filter[tags]=${n}`),e=await i.a.get(o,{headers:{Authorization:"Bearer "+this.token,"Accept-version":"v2","X-NATIVE-SDK":"txjs/node/3.2.1"}}),r=e.status}const{data:o}=e;if(!o||!o.data)throw P(C,{localeCode:t,filterTags:n},this),new Error("Could not fetch translations");{const e={};Object.keys(o.data).forEach(t=>{o.data[t].string&&(e[t]=o.data[t].string)}),this.cache.update(t,e),P(O,{localeCode:t,filterTags:n},this)}}catch(e){throw P(C,{localeCode:t,filterTags:n},this),e}}}async invalidateCDS(t={}){if(!this.token)throw new Error("token is not defined");if(!this.secret)throw new Error("secret is not defined");const e=t.purge?"purge":"invalidate";return(await i.a.post(`${this.cdsHost}/${e}`,{},{headers:{Authorization:`Bearer ${this.token}:${this.secret}`,"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/node/3.2.1"}})).data}async pushSource(t,e={}){if(!this.token)throw new Error("token is not defined");if(!this.secret)throw new Error("secret is not defined");const n={Authorization:`Bearer ${this.token}:${this.secret}`,"Accept-version":"v2","Content-Type":"application/json;charset=utf-8","X-NATIVE-SDK":"txjs/node/3.2.1"},r=await i.a.post(this.cdsHost+"/content",{data:t,meta:{purge:!!e.purge,override_tags:!!e.overrideTags}},{headers:n}),o=`${this.cdsHost}${r.data.data.links.job}`;if(e.noWait)return{jobUrl:o};let s={status:""};do{await S(1500);const t=await i.a.get(o,{headers:n}),{data:e}=t.data;s={...e.details||{},errors:e.errors||[],status:e.status}}while("pending"===s.status||"processing"===s.status);return{jobUrl:o,...s}}async getLocales(t={}){if(!!!t.refresh&&this.locales.length>0)return[...this.locales];if(!this.token)return[];try{let t;P(T,null,this);let e=202;for(;202===e;)t=await i.a.get(this.cdsHost+"/languages",{headers:{Authorization:"Bearer "+this.token,"Accept-version":"v2","X-NATIVE-SDK":"txjs/node/3.2.1"}}),e=t.status;const{data:n}=t;if(!n||!n.data)throw P(j,null,this),new Error("Could not fetch languages");this.languages=n.data,this.locales=this.languages.map(t=>t.code),P(N,null,this)}catch(t){throw P(j,null,this),t}return[...this.locales]}getCurrentLocale(){return this.currentLocale}isCurrent(t){return t===this.currentLocale}async setCurrentLocale(t){if(this.isCurrent(t))await this._syncInstances(this.childInstances);else{if(!t)return this.currentLocale="",await this._syncInstances(this.childInstances),void P(_,this.currentLocale,this);await this.fetchTranslations(t),this.currentLocale=t,await this._syncInstances(this.childInstances),P(_,t,this)}}async getLanguages(t={}){return await this.getLocales(t),[...this.languages]}async controllerOf(t){if(t===this)throw new Error("Cannot add self as instance");if(-1!==t.childInstances.indexOf(this))throw new Error("Cycle reference error, instance is controller of this");return this.childInstances.push(t),await this._syncInstances([t]),t}async _syncInstances(t){const e=this.getCurrentLocale();if(e)for(let n=0;n<t.length;n++)if(t[n].getCurrentLocale()!==e)try{await t[n].fetchTranslations(e)}catch(t){}t.forEach(t=>{t.getCurrentLocale()!==e&&(t.currentLocale=e,P(_,e,t))})}}const B={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 $=class{handle(t,e){return t.split(/__txnative__/).map(t=>{let e="";for(let n=0;n<t.length;n+=1){const r=t.charAt(n);if(B[r]){const t=r.toLowerCase();e+="a"===t||"e"===t||"o"===t||"u"===t?B[r]+B[r]:B[r]}else e+=r}return e}).join("__txnative__")}},I=u,D=s,q=class{handle(t,e,n,r){throw t||new Error(`Error translating "${e}"`)}},z=l,M=function(t){const e=new L;return e.t=e.translate.bind(e),t&&e.init(t),e},U=new L,H=U.translate.bind(U)}])}));
|
|
9
9
|
//# sourceMappingURL=node.native.js.map
|