UNPKG

rosaenlg-n2words

Version:

Convert numbers to words, in multiple languages

1 lines 30.9 kB
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define([],r):"object"==typeof exports?exports.n2words=r():t.n2words=r()}(this,(function(){return(()=>{var t={3819:t=>{t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},8505:(t,r,e)=>{var n=e(5052);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},6637:(t,r,e)=>{"use strict";var n=e(966).charAt;t.exports=function(t,r,e){return r+(e?n(t,r).length:1)}},1176:(t,r,e)=>{var n=e(5052);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},507:(t,r,e)=>{"use strict";var n=e(7636),o=e(2991),i=e(4960),a=e(1943),c=e(4237),u=e(2324),s=e(8830);t.exports=function(t){var r,e,f,l,p,v,h=o(t),g="function"==typeof this?this:Array,d=arguments.length,y=d>1?arguments[1]:void 0,x=void 0!==y,m=s(h),b=0;if(x&&(y=n(y,d>2?arguments[2]:void 0,2)),null==m||g==Array&&a(m))for(e=new g(r=c(h.length));r>b;b++)v=x?y(h[b],b):h[b],u(e,b,v);else for(p=(l=m.call(h)).next,e=new g;!(f=p.call(l)).done;b++)v=x?i(l,y,[f.value,b],!0):f.value,u(e,b,v);return e.length=b,e}},9540:(t,r,e)=>{var n=e(905),o=e(4237),i=e(3231),a=function(t){return function(r,e,a){var c,u=n(r),s=o(u.length),f=i(a,s);if(t&&e!=e){for(;s>f;)if((c=u[f++])!=c)return!0}else for(;s>f;f++)if((t||f in u)&&u[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},9996:(t,r,e)=>{var n=e(7636),o=e(9337),i=e(2991),a=e(4237),c=e(7501),u=[].push,s=function(t){var r=1==t,e=2==t,s=3==t,f=4==t,l=6==t,p=7==t,v=5==t||l;return function(h,g,d,y){for(var x,m,b=i(h),O=o(b),E=n(g,d,3),w=a(O.length),S=0,j=y||c,I=r?j(h,w):e||p?j(h,0):void 0;w>S;S++)if((v||S in O)&&(m=E(x=O[S],S,b),t))if(r)I[S]=m;else if(m)switch(t){case 3:return!0;case 5:return x;case 6:return S;case 2:u.call(I,x)}else switch(t){case 4:return!1;case 7:u.call(I,x)}return l?-1:s||f?f:I}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6),filterOut:s(7)}},1460:(t,r,e)=>{var n=e(4229),o=e(95),i=e(6358),a=o("species");t.exports=function(t){return i>=51||!n((function(){var r=[];return(r.constructor={})[a]=function(){return{foo:1}},1!==r[t](Boolean).foo}))}},6038:(t,r,e)=>{"use strict";var n=e(4229);t.exports=function(t,r){var e=[][t];return!!e&&n((function(){e.call(null,r||function(){throw 1},1)}))}},7501:(t,r,e)=>{var n=e(5052),o=e(3718),i=e(95)("species");t.exports=function(t,r){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)?n(e)&&null===(e=e[i])&&(e=void 0):e=void 0),new(void 0===e?Array:e)(0===r?0:r)}},4960:(t,r,e)=>{var n=e(1176),o=e(7281);t.exports=function(t,r,e,i){try{return i?r(n(e)[0],e[1]):r(e)}catch(r){throw o(t),r}}},4575:(t,r,e)=>{var n=e(95)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},7079:t=>{var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},1589:(t,r,e)=>{var n=e(1601),o=e(7079),i=e(95)("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=n?o:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,r){try{return t[r]}catch(t){}}(r=Object(t),i))?e:a?o(r):"Object"==(n=o(r))&&"function"==typeof r.callee?"Arguments":n}},7081:(t,r,e)=>{var n=e(816),o=e(4826),i=e(7933),a=e(1787);t.exports=function(t,r){for(var e=o(r),c=a.f,u=i.f,s=0;s<e.length;s++){var f=e[s];n(t,f)||c(t,f,u(r,f))}}},7528:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},3723:(t,r,e)=>{"use strict";var n=e(693).IteratorPrototype,o=e(2391),i=e(5358),a=e(4555),c=e(5495),u=function(){return this};t.exports=function(t,r,e){var s=r+" Iterator";return t.prototype=o(n,{next:i(1,e)}),a(t,s,!1,!0),c[s]=u,t}},5762:(t,r,e)=>{var n=e(7400),o=e(1787),i=e(5358);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},5358:t=>{t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},2324:(t,r,e)=>{"use strict";var n=e(2066),o=e(1787),i=e(5358);t.exports=function(t,r,e){var a=n(r);a in t?o.f(t,a,i(0,e)):t[a]=e}},7675:(t,r,e)=>{"use strict";var n=e(3103),o=e(3723),i=e(7567),a=e(6540),c=e(4555),u=e(5762),s=e(7487),f=e(95),l=e(4231),p=e(5495),v=e(693),h=v.IteratorPrototype,g=v.BUGGY_SAFARI_ITERATORS,d=f("iterator"),y="keys",x="values",m="entries",b=function(){return this};t.exports=function(t,r,e,f,v,O,E){o(e,r,f);var w,S,j,I=function(t){if(t===v&&P)return P;if(!g&&t in R)return R[t];switch(t){case y:case x:case m:return function(){return new e(this,t)}}return function(){return new e(this)}},A=r+" Iterator",_=!1,R=t.prototype,T=R[d]||R["@@iterator"]||v&&R[v],P=!g&&T||I(v),C="Array"==r&&R.entries||T;if(C&&(w=i(C.call(new t)),h!==Object.prototype&&w.next&&(l||i(w)===h||(a?a(w,h):"function"!=typeof w[d]&&u(w,d,b)),c(w,A,!0,!0),l&&(p[A]=b))),v==x&&T&&T.name!==x&&(_=!0,P=function(){return T.call(this)}),l&&!E||R[d]===P||u(R,d,P),p[r]=P,v)if(S={values:I(x),keys:O?P:I(y),entries:I(m)},E)for(j in S)(g||_||!(j in R))&&s(R,j,S[j]);else n({target:r,proto:!0,forced:g||_},S);return S}},7400:(t,r,e)=>{var n=e(4229);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2635:(t,r,e)=>{var n=e(9859),o=e(5052),i=n.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8801:(t,r,e)=>{var n=e(7079),o=e(9859);t.exports="process"==n(o.process)},598:(t,r,e)=>{var n=e(1333);t.exports=n("navigator","userAgent")||""},6358:(t,r,e)=>{var n,o,i=e(9859),a=e(598),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(n=s.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),t.exports=o&&+o},3837:t=>{t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3103:(t,r,e)=>{var n=e(9859),o=e(7933).f,i=e(5762),a=e(7487),c=e(2079),u=e(7081),s=e(6541);t.exports=function(t,r){var e,f,l,p,v,h=t.target,g=t.global,d=t.stat;if(e=g?n:d?n[h]||c(h,{}):(n[h]||{}).prototype)for(f in r){if(p=r[f],l=t.noTargetGet?(v=o(e,f))&&v.value:e[f],!s(g?f:h+(d?".":"#")+f,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;u(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),a(e,f,p,t)}}},4229:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},4954:(t,r,e)=>{"use strict";e(7950);var n=e(7487),o=e(4229),i=e(95),a=e(3466),c=e(5762),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),v=!o((function(){var t=/(?:)/,r=t.exec;t.exec=function(){return r.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,r,e,l){var h=i(t),g=!o((function(){var r={};return r[h]=function(){return 7},7!=""[t](r)})),d=g&&!o((function(){var r=!1,e=/a/;return"split"===t&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[h]=/./[h]),e.exec=function(){return r=!0,null},e[h](""),!r}));if(!g||!d||"replace"===t&&(!s||!f||p)||"split"===t&&!v){var y=/./[h],x=e(h,""[t],(function(t,r,e,n,o){return r.exec===a?g&&!o?{done:!0,value:y.call(r,e,n)}:{done:!0,value:t.call(e,r,n)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=x[0],b=x[1];n(String.prototype,t,m),n(RegExp.prototype,h,2==r?function(t,r){return b.call(t,this,r)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[h],"sham",!0)}},7636:(t,r,e)=>{var n=e(3819);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 0:return function(){return t.call(r)};case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},1333:(t,r,e)=>{var n=e(9276),o=e(9859),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,r){return arguments.length<2?i(n[t])||i(o[t]):n[t]&&n[t][r]||o[t]&&o[t][r]}},8830:(t,r,e)=>{var n=e(1589),o=e(5495),i=e(95)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[n(t)]}},9859:(t,r,e)=>{var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e.g&&e.g)||function(){return this}()||Function("return this")()},816:t=>{var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5977:t=>{t.exports={}},3777:(t,r,e)=>{var n=e(1333);t.exports=n("document","documentElement")},4394:(t,r,e)=>{var n=e(7400),o=e(4229),i=e(2635);t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},9337:(t,r,e)=>{var n=e(4229),o=e(7079),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},835:(t,r,e)=>{var n=e(5052),o=e(6540);t.exports=function(t,r,e){var i,a;return o&&"function"==typeof(i=r.constructor)&&i!==e&&n(a=i.prototype)&&a!==e.prototype&&o(t,a),t}},8511:(t,r,e)=>{var n=e(5353),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},6407:(t,r,e)=>{var n,o,i,a=e(8694),c=e(9859),u=e(5052),s=e(5762),f=e(816),l=e(5353),p=e(4399),v=e(5977),h=c.WeakMap;if(a){var g=l.state||(l.state=new h),d=g.get,y=g.has,x=g.set;n=function(t,r){return r.facade=t,x.call(g,t,r),r},o=function(t){return d.call(g,t)||{}},i=function(t){return y.call(g,t)}}else{var m=p("state");v[m]=!0,n=function(t,r){return r.facade=t,s(t,m,r),r},o=function(t){return f(t,m)?t[m]:{}},i=function(t){return f(t,m)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!u(r)||(e=o(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},1943:(t,r,e)=>{var n=e(95),o=e(5495),i=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},3718:(t,r,e)=>{var n=e(7079);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6541:(t,r,e)=>{var n=e(4229),o=/#|\.prototype\./,i=function(t,r){var e=c[a(t)];return e==s||e!=u&&("function"==typeof r?n(r):!!r)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",s=i.POLYFILL="P";t.exports=i},5052:t=>{t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},4231:t=>{t.exports=!1},8311:(t,r,e)=>{var n=e(5052),o=e(7079),i=e(95)("match");t.exports=function(t){var r;return n(t)&&(void 0!==(r=t[i])?!!r:"RegExp"==o(t))}},7281:(t,r,e)=>{var n=e(1176);t.exports=function(t){var r=t.return;if(void 0!==r)return n(r.call(t)).value}},693:(t,r,e)=>{"use strict";var n,o,i,a=e(4229),c=e(7567),u=e(5762),s=e(816),f=e(95),l=e(4231),p=f("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(n=o):v=!0);var h=null==n||a((function(){var t={};return n[p].call(t)!==t}));h&&(n={}),l&&!h||s(n,p)||u(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:v}},5495:t=>{t.exports={}},3839:(t,r,e)=>{var n=e(8801),o=e(6358),i=e(4229);t.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},8694:(t,r,e)=>{var n=e(9859),o=e(8511),i=n.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},6596:(t,r,e)=>{var n=e(9859),o=e(1017).trim,i=e(1647),a=n.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,r){var e=o(String(t));return a(e,r>>>0||(c.test(e)?16:10))}:a},2391:(t,r,e)=>{var n,o=e(1176),i=e(219),a=e(3837),c=e(5977),u=e(3777),s=e(2635),f=e(4399)("IE_PROTO"),l=function(){},p=function(t){return"<script>"+t+"<\/script>"},v=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,r;v=n?function(t){t.write(p("")),t.close();var r=t.parentWindow.Object;return t=null,r}(n):((r=s("iframe")).style.display="none",u.appendChild(r),r.src=String("javascript:"),(t=r.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var e=a.length;e--;)delete v.prototype[a[e]];return v()};c[f]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(l.prototype=o(t),e=new l,l.prototype=null,e[f]=t):e=v(),void 0===r?e:i(e,r)}},219:(t,r,e)=>{var n=e(7400),o=e(1787),i=e(1176),a=e(5632);t.exports=n?Object.defineProperties:function(t,r){i(t);for(var e,n=a(r),c=n.length,u=0;c>u;)o.f(t,e=n[u++],r[e]);return t}},1787:(t,r,e)=>{var n=e(7400),o=e(4394),i=e(1176),a=e(2066),c=Object.defineProperty;r.f=n?c:function(t,r,e){if(i(t),r=a(r,!0),i(e),o)try{return c(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},7933:(t,r,e)=>{var n=e(7400),o=e(9195),i=e(5358),a=e(905),c=e(2066),u=e(816),s=e(4394),f=Object.getOwnPropertyDescriptor;r.f=n?f:function(t,r){if(t=a(t),r=c(r,!0),s)try{return f(t,r)}catch(t){}if(u(t,r))return i(!o.f.call(t,r),t[r])}},8151:(t,r,e)=>{var n=e(140),o=e(3837).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},894:(t,r)=>{r.f=Object.getOwnPropertySymbols},7567:(t,r,e)=>{var n=e(816),o=e(2991),i=e(4399),a=e(7528),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),n(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},140:(t,r,e)=>{var n=e(816),o=e(905),i=e(9540).indexOf,a=e(5977);t.exports=function(t,r){var e,c=o(t),u=0,s=[];for(e in c)!n(a,e)&&n(c,e)&&s.push(e);for(;r.length>u;)n(c,e=r[u++])&&(~i(s,e)||s.push(e));return s}},5632:(t,r,e)=>{var n=e(140),o=e(3837);t.exports=Object.keys||function(t){return n(t,o)}},9195:(t,r)=>{"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!e.call({1:2},1);r.f=o?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},6540:(t,r,e)=>{var n=e(1176),o=e(8505);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),r=e instanceof Array}catch(t){}return function(e,i){return n(e),o(i),r?t.call(e,i):e.__proto__=i,e}}():void 0)},7664:(t,r,e)=>{var n=e(7400),o=e(5632),i=e(905),a=e(9195).f,c=function(t){return function(r){for(var e,c=i(r),u=o(c),s=u.length,f=0,l=[];s>f;)e=u[f++],n&&!a.call(c,e)||l.push(t?[e,c[e]]:c[e]);return l}};t.exports={entries:c(!0),values:c(!1)}},4059:(t,r,e)=>{"use strict";var n=e(1601),o=e(1589);t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},4826:(t,r,e)=>{var n=e(1333),o=e(8151),i=e(894),a=e(1176);t.exports=n("Reflect","ownKeys")||function(t){var r=o.f(a(t)),e=i.f;return e?r.concat(e(t)):r}},9276:(t,r,e)=>{var n=e(9859);t.exports=n},7487:(t,r,e)=>{var n=e(9859),o=e(5762),i=e(816),a=e(2079),c=e(8511),u=e(6407),s=u.get,f=u.enforce,l=String(String).split("String");(t.exports=function(t,r,e,c){var u,s=!!c&&!!c.unsafe,p=!!c&&!!c.enumerable,v=!!c&&!!c.noTargetGet;"function"==typeof e&&("string"!=typeof r||i(e,"name")||o(e,"name",r),(u=f(e)).source||(u.source=l.join("string"==typeof r?r:""))),t!==n?(s?!v&&t[r]&&(p=!0):delete t[r],p?t[r]=e:o(t,r,e)):p?t[r]=e:a(r,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},8115:(t,r,e)=>{var n=e(7079),o=e(3466);t.exports=function(t,r){var e=t.exec;if("function"==typeof e){var i=e.call(t,r);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,r)}},3466:(t,r,e)=>{"use strict";var n,o,i=e(895),a=e(5650),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,f=(n=/a/,o=/b*/g,c.call(n,"a"),c.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),l=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(f||p||l)&&(s=function(t){var r,e,n,o,a=this,s=l&&a.sticky,v=i.call(a),h=a.source,g=0,d=t;return s&&(-1===(v=v.replace("y","")).indexOf("g")&&(v+="g"),d=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(h="(?: "+h+")",d=" "+d,g++),e=new RegExp("^(?:"+h+")",v)),p&&(e=new RegExp("^"+h+"$(?!\\s)",v)),f&&(r=a.lastIndex),n=c.call(s?e:a,d),s?n?(n.input=n.input.slice(g),n[0]=n[0].slice(g),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:f&&n&&(a.lastIndex=a.global?n.index+n[0].length:r),p&&n&&n.length>1&&u.call(n[0],e,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),t.exports=s},895:(t,r,e)=>{"use strict";var n=e(1176);t.exports=function(){var t=n(this),r="";return t.global&&(r+="g"),t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.dotAll&&(r+="s"),t.unicode&&(r+="u"),t.sticky&&(r+="y"),r}},5650:(t,r,e)=>{"use strict";var n=e(4229);function o(t,r){return RegExp(t,r)}r.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),r.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},8885:t=>{t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},2079:(t,r,e)=>{var n=e(9859),o=e(5762);t.exports=function(t,r){try{o(n,t,r)}catch(e){n[t]=r}return r}},4555:(t,r,e)=>{var n=e(1787).f,o=e(816),i=e(95)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},4399:(t,r,e)=>{var n=e(3036),o=e(1441),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5353:(t,r,e)=>{var n=e(9859),o=e(2079),i="__core-js_shared__",a=n[i]||o(i,{});t.exports=a},3036:(t,r,e)=>{var n=e(4231),o=e(5353);(t.exports=function(t,r){return o[t]||(o[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.9.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},7942:(t,r,e)=>{var n=e(1176),o=e(3819),i=e(95)("species");t.exports=function(t,r){var e,a=n(t).constructor;return void 0===a||null==(e=n(a)[i])?r:o(e)}},966:(t,r,e)=>{var n=e(6051),o=e(8885),i=function(t){return function(r,e){var i,a,c=String(o(r)),u=n(e),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},9445:(t,r,e)=>{var n=e(4229),o=e(1647);t.exports=function(t){return n((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},1017:(t,r,e)=>{var n=e(8885),o="["+e(1647)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(r){var e=String(n(r));return 1&t&&(e=e.replace(i,"")),2&t&&(e=e.replace(a,"")),e}};t.exports={start:c(1),end:c(2),trim:c(3)}},3231:(t,r,e)=>{var n=e(6051),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},905:(t,r,e)=>{var n=e(9337),o=e(8885);t.exports=function(t){return n(o(t))}},6051:t=>{var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},4237:(t,r,e)=>{var n=e(6051),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},2991:(t,r,e)=>{var n=e(8885);t.exports=function(t){return Object(n(t))}},2066:(t,r,e)=>{var n=e(5052);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},1601:(t,r,e)=>{var n={};n[e(95)("toStringTag")]="z",t.exports="[object z]"===String(n)},1441:t=>{var r=0,e=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+e).toString(36)}},6969:(t,r,e)=>{var n=e(3839);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},95:(t,r,e)=>{var n=e(9859),o=e(3036),i=e(816),a=e(1441),c=e(3839),u=e(6969),s=o("wks"),f=n.Symbol,l=u?f:f&&f.withoutSetter||a;t.exports=function(t){return i(s,t)&&(c||"string"==typeof s[t])||(c&&i(f,t)?s[t]=f[t]:s[t]=l("Symbol."+t)),s[t]}},1647:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},8178:(t,r,e)=>{"use strict";var n=e(3103),o=e(4229),i=e(3718),a=e(5052),c=e(2991),u=e(4237),s=e(2324),f=e(7501),l=e(1460),p=e(95),v=e(6358),h=p("isConcatSpreadable"),g=9007199254740991,d="Maximum allowed index exceeded",y=v>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),x=l("concat"),m=function(t){if(!a(t))return!1;var r=t[h];return void 0!==r?!!r:i(t)};n({target:"Array",proto:!0,forced:!y||!x},{concat:function(t){var r,e,n,o,i,a=c(this),l=f(a,0),p=0;for(r=-1,n=arguments.length;r<n;r++)if(m(i=-1===r?a:arguments[r])){if(p+(o=u(i.length))>g)throw TypeError(d);for(e=0;e<o;e++,p++)e in i&&s(l,p,i[e])}else{if(p>=g)throw TypeError(d);s(l,p++,i)}return l.length=p,l}})},7233:(t,r,e)=>{var n=e(3103),o=e(507);n({target:"Array",stat:!0,forced:!e(4575)((function(t){Array.from(t)}))},{from:o})},8145:(t,r,e)=>{e(3103)({target:"Array",stat:!0},{isArray:e(3718)})},6781:(t,r,e)=>{"use strict";var n=e(3103),o=e(9337),i=e(905),a=e(6038),c=[].join,u=o!=Object,s=a("join",",");n({target:"Array",proto:!0,forced:u||!s},{join:function(t){return c.call(i(this),void 0===t?",":t)}})},3450:(t,r,e)=>{"use strict";var n=e(3103),o=e(9996).map;n({target:"Array",proto:!0,forced:!e(1460)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},2501:(t,r,e)=>{"use strict";var n=e(3103),o=e(5052),i=e(3718),a=e(3231),c=e(4237),u=e(905),s=e(2324),f=e(95),l=e(1460)("slice"),p=f("species"),v=[].slice,h=Math.max;n({target:"Array",proto:!0,forced:!l},{slice:function(t,r){var e,n,f,l=u(this),g=c(l.length),d=a(t,g),y=a(void 0===r?g:r,g);if(i(l)&&("function"!=typeof(e=l.constructor)||e!==Array&&!i(e.prototype)?o(e)&&null===(e=e[p])&&(e=void 0):e=void 0,e===Array||void 0===e))return v.call(l,d,y);for(n=new(void 0===e?Array:e)(h(y-d,0)),f=0;d<y;d++,f++)d in l&&s(n,f,l[d]);return n.length=f,n}})},9120:(t,r,e)=>{var n=e(7487),o=Date.prototype,i="Invalid Date",a=o.toString,c=o.getTime;new Date(NaN)+""!=i&&n(o,"toString",(function(){var t=c.call(this);return t==t?a.call(this):i}))},1245:(t,r,e)=>{"use strict";var n=e(7400),o=e(9859),i=e(6541),a=e(7487),c=e(816),u=e(7079),s=e(835),f=e(2066),l=e(4229),p=e(2391),v=e(8151).f,h=e(7933).f,g=e(1787).f,d=e(1017).trim,y="Number",x=o.Number,m=x.prototype,b=u(p(m))==y,O=function(t){var r,e,n,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(r=(s=d(s)).charCodeAt(0))||45===r){if(88===(e=s.charCodeAt(2))||120===e)return NaN}else if(48===r){switch(s.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;c<a;c++)if((u=i.charCodeAt(c))<48||u>o)return NaN;return parseInt(i,n)}return+s};if(i(y,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var E,w=function(t){var r=arguments.length<1?0:t,e=this;return e instanceof w&&(b?l((function(){m.valueOf.call(e)})):u(e)!=y)?s(new x(O(r)),e,w):O(r)},S=n?v(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j=0;S.length>j;j++)c(x,E=S[j])&&!c(w,E)&&g(w,E,h(x,E));w.prototype=m,m.constructor=w,a(o,y,w)}},5094:(t,r,e)=>{var n=e(3103),o=e(7400);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e(1787).f})},4769:(t,r,e)=>{var n=e(3103),o=e(2991),i=e(5632);n({target:"Object",stat:!0,forced:e(4229)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},8188:(t,r,e)=>{var n=e(1601),o=e(7487),i=e(4059);n||o(Object.prototype,"toString",i,{unsafe:!0})},7890:(t,r,e)=>{var n=e(3103),o=e(7664).values;n({target:"Object",stat:!0},{values:function(t){return o(t)}})},8995:(t,r,e)=>{var n=e(3103),o=e(6596);n({global:!0,forced:parseInt!=o},{parseInt:o})},7950:(t,r,e)=>{"use strict";var n=e(3103),o=e(3466);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},8233:(t,r,e)=>{"use strict";var n=e(7487),o=e(1176),i=e(4229),a=e(895),c="toString",u=RegExp.prototype,s=u.toString,f=i((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),l=s.name!=c;(f||l)&&n(RegExp.prototype,c,(function(){var t=o(this),r=String(t.source),e=t.flags;return"/"+r+"/"+String(void 0===e&&t instanceof RegExp&&!("flags"in u)?a.call(t):e)}),{unsafe:!0})},8673:(t,r,e)=>{"use strict";var n=e(966).charAt,o=e(6407),i=e(7675),a="String Iterator",c=o.set,u=o.getterFor(a);i(String,"String",(function(t){c(this,{type:a,string:String(t),index:0})}),(function(){var t,r=u(this),e=r.string,o=r.index;return o>=e.length?{value:void 0,done:!0}:(t=n(e,o),r.index+=t.length,{value:t,done:!1})}))},8319:(t,r,e)=>{"use strict";var n=e(4954),o=e(8311),i=e(1176),a=e(8885),c=e(7942),u=e(6637),s=e(4237),f=e(8115),l=e(3466),p=e(4229),v=[].push,h=Math.min,g=4294967295,d=!p((function(){return!RegExp(g,"y")}));n("split",2,(function(t,r,e){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var n=String(a(this)),i=void 0===e?g:e>>>0;if(0===i)return[];if(void 0===t)return[n];if(!o(t))return r.call(n,t,i);for(var c,u,s,f=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,d=new RegExp(t.source,p+"g");(c=l.call(d,n))&&!((u=d.lastIndex)>h&&(f.push(n.slice(h,c.index)),c.length>1&&c.index<n.length&&v.apply(f,c.slice(1)),s=c[0].length,h=u,f.length>=i));)d.lastIndex===c.index&&d.lastIndex++;return h===n.length?!s&&d.test("")||f.push(""):f.push(n.slice(h)),f.length>i?f.slice(0,i):f}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:r.call(this,t,e)}:r,[function(r,e){var o=a(this),i=null==r?void 0:r[t];return void 0!==i?i.call(r,o,e):n.call(String(o),r,e)},function(t,o){var a=e(n,t,this,o,n!==r);if(a.done)return a.value;var l=i(t),p=String(this),v=c(l,RegExp),y=l.unicode,x=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(d?"y":"g"),m=new v(d?l:"^(?:"+l.source+")",x),b=void 0===o?g:o>>>0;if(0===b)return[];if(0===p.length)return null===f(m,p)?[p]:[];for(var O=0,E=0,w=[];E<p.length;){m.lastIndex=d?E:0;var S,j=f(m,d?p:p.slice(E));if(null===j||(S=h(s(m.lastIndex+(d?0:E)),p.length))===O)E=u(p,E,y);else{if(w.push(p.slice(O,E)),w.length===b)return w;for(var I=1;I<=j.length-1;I++)if(w.push(j[I]),w.length===b)return w;E=O=S}}return w.push(p.slice(O)),w}]}),!d)},8827:(t,r,e)=>{"use strict";var n=e(3103),o=e(1017).end,i=e(9445)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;n({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})}},r={};function e(n){if(r[n])return r[n].exports;var o=r[n]={exports:{}};return t[n](o,o.exports,e),o.exports}e.d=(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.o=(t,r)=>Object.prototype.hasOwnProperty.call(t,r);var n={};return(()=>{"use strict";function t(){var t=this;this.negative_word,this.separator_word,this.ZERO,this.space_separator=" ",this.toCardinal=function(){},this.floatToCardinal=function(r){if(Number(r)===r){if(r%1==0||void 0===t.separator_word)return t.toCardinal(r);for(var e=r.toString().split("."),n=t.toCardinal(parseInt(e[0],10)),o=e[1],i=Array.from(o),a=[];"0"===i[0];)i.shift(),a.push(t.ZERO);a.push(t.toCardinal(parseInt(o,10)));var c=a.join(t.space_separator);return[n,t.separator_word,c].join(t.space_separator)}}}function r(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function o(){var e=this;t.call(this),this.getValueFromCards=function(t){for(var r=0;r<e.cards.length;r++)if(Object.prototype.hasOwnProperty.call(e.cards[r],t))return e.cards[r][t]},this.splitnum=function(t){for(var n=0;n<e.cards.length;n++)if("."!=e.cards[n][0]){var o=parseInt(Object.keys(e.cards[n])[0],10);if(!(o>t)){var i=[],a=void 0,c=void 0;if(0==t?(a=1,c=0):(a=Math.floor(t/o),c=t%o),1==a)i.push(r({},e.getValueFromCards(1),1));else{if(a==t)return[(e.getValueFromCards(o),a*o)];i.push(e.splitnum(a))}return i.push(r({},e.getValueFromCards(o),o)),c&&i.push(e.splitnum(c)),i}}},this.scannum=function(t){return t.split("").map((function(t){return e.getValueFromCards(parseInt(t,10))}))},this.clean=function(t){for(var r=t;1!=t.length;){r=[];var n=t[0],o=t[1];if(Array.isArray(n)||Array.isArray(o))for(var i=0;i<t.length;i++){var a=t[i];Array.isArray(a)?1==a.length?r.push(a[0]):r.push(e.clean(a)):r.push(a)}else r.push(e.merge(n,o)),t.slice(2).length>0&&r.push(t.slice(2));t=r}return r[0]},this.postClean=function(t){return t.trimRight()},this.toCardinal=function(t){var r=e.splitnum(t),n=Object.keys(e.clean(r))[0];return e.postClean(n)}}function i(t,r,e){return r in t?Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[r]=e,t}function a(){var t=this;o.call(this),this.gender_stem="o",this.negative_word="menos",this.separator_word="punto",this.ZERO="cero",this.cards=[{"1000000000000000000000000":"cuatrillón"},{1e18:"trillón"},{1e12:"billón"},{1e6:"millón"},{1e3:"mil"},{100:"cien"},{90:"noventa"},{80:"ochenta"},{70:"setenta"},{60:"sesenta"},{50:"cincuenta"},{40:"cuarenta"},{30:"treinta"},{29:"veintinueve"},{28:"veintiocho"},{27:"veintisiete"},{26:"veintiséis"},{25:"veinticinco"},{24:"veinticuatro"},{23:"veintitrés"},{22:"veintidós"},{21:"veintiuno"},{20:"veinte"},{19:"diecinueve"},{18:"dieciocho"},{17:"diecisiete"},{16:"dieciseis"},{15:"quince"},{14:"catorce"},{13:"trece"},{12:"doce"},{11:"once"},{10:"diez"},{9:"nueve"},{8:"ocho"},{7:"siete"},{6:"seis"},{5:"cinco"},{4:"cuatro"},{3:"tres"},{2:"dos"},{1:"uno"},{0:"cero"}],this.merge=function(r,e){var n=Object.keys(r)[0],o=parseInt(Object.values(r)[0]),a=Object.keys(e)[0],c=parseInt(Object.values(e)[0]);if(1==o){if(c<1e6)return i({},a,c);n="un"}else 100==o&&c%1e3!=0&&(n+="t"+t.gender_stem);return c<o?i({},o<100?"".concat(n," y ").concat(a):"".concat(n," ").concat(a),o+c):(c%1e6==0&&o>1&&(a=a.slice(0,-3)+"lones"),100==c?(5==o?(n="quinien",a=""):7==o?n="sete":9==o&&(n="nove"),a+="t"+t.gender_stem+"s"):a=" "+a,i({},"".concat(n).concat(a),o*c))}}function c(t){return(new a).toCardinal(t)}e.d(n,{default:()=>c}),e(4769),e(8995),e(7890),e(8178),e(2501),e(5094),e(3450),e(8319),e(7950),e(8145),e(8827),e(1245),e(8188),e(8233),e(9120),e(7233),e(8673),e(6781)})(),n.default})()}));