Socket
Socket
Sign inDemoInstall

vue-input-calculator

Package Overview
Dependencies
0
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.8 to 0.3.9

2

lib/vue-input-calculator.umd.min.js

@@ -1,2 +0,2 @@

(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-input-calculator"]=e():t["vue-input-calculator"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"00ee":function(t,e,r){var n=r("b622"),o=n("toStringTag"),c={};c[o]="z",t.exports="[object z]"===String(c)},"0366":function(t,e,r){var n=r("1c0b");t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,r){var n=r("fc6a"),o=r("241c").f,c={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(t){try{return o(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==c.call(t)?i(t):o(n(t))}},"06cf":function(t,e,r){var n=r("83ab"),o=r("d1e7"),c=r("5c6c"),a=r("fc6a"),i=r("c04e"),u=r("5135"),s=r("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=a(t),e=i(e,!0),s)try{return l(t,e)}catch(r){}if(u(t,e))return c(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,r){var n=r("83ab"),o=r("d039"),c=r("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a}))},1148:function(t,e,r){"use strict";var n=r("a691"),o=r("1d80");t.exports="".repeat||function(t){var e=String(o(this)),r="",c=n(t);if(c<0||c==1/0)throw RangeError("Wrong number of repetitions");for(;c>0;(c>>>=1)&&(e+=e))1&c&&(r+=e);return r}},1276:function(t,e,r){"use strict";var n=r("d784"),o=r("44e7"),c=r("825a"),a=r("1d80"),i=r("4840"),u=r("8aa5"),s=r("50c4"),l=r("14c3"),f=r("9263"),_=r("d039"),p=[].push,d=Math.min,v=4294967295,b=!_((function(){return!RegExp(v,"y")}));n("split",2,(function(t,e,r){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,r){var n=String(a(this)),c=void 0===r?v:r>>>0;if(0===c)return[];if(void 0===t)return[n];if(!o(t))return e.call(n,t,c);var i,u,s,l=[],_=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,b=new RegExp(t.source,_+"g");while(i=f.call(b,n)){if(u=b.lastIndex,u>d&&(l.push(n.slice(d,i.index)),i.length>1&&i.index<n.length&&p.apply(l,i.slice(1)),s=i[0].length,d=u,l.length>=c))break;b.lastIndex===i.index&&b.lastIndex++}return d===n.length?!s&&b.test("")||l.push(""):l.push(n.slice(d)),l.length>c?l.slice(0,c):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=a(this),c=void 0==e?void 0:e[t];return void 0!==c?c.call(e,o,r):n.call(String(o),e,r)},function(t,o){var a=r(n,t,this,o,n!==e);if(a.done)return a.value;var f=c(t),_=String(this),p=i(f,RegExp),h=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(b?"y":"g"),y=new p(b?f:"^(?:"+f.source+")",g),m=void 0===o?v:o>>>0;if(0===m)return[];if(0===_.length)return null===l(y,_)?[_]:[];var x=0,E=0,w=[];while(E<_.length){y.lastIndex=b?E:0;var O,C=l(y,b?_:_.slice(E));if(null===C||(O=d(s(y.lastIndex+(b?0:E)),_.length))===x)E=u(_,E,h);else{if(w.push(_.slice(x,E)),w.length===m)return w;for(var S=1;S<=C.length-1;S++)if(w.push(C[S]),w.length===m)return w;E=x=O}}return w.push(_.slice(x)),w}]}),!b)},"13d5":function(t,e,r){"use strict";var n=r("23e7"),o=r("d58f").left,c=r("a640"),a=r("ae40"),i=c("reduce"),u=a("reduce",{1:0});n({target:"Array",proto:!0,forced:!i||!u},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,r){var n=r("c6b6"),o=r("9263");t.exports=function(t,e){var r=t.exec;if("function"===typeof r){var c=r.call(t,e);if("object"!==typeof c)throw TypeError("RegExp exec method returned something other than an Object or null");return c}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"159b":function(t,e,r){var n=r("da84"),o=r("fdbc"),c=r("17c2"),a=r("9112");for(var i in o){var u=n[i],s=u&&u.prototype;if(s&&s.forEach!==c)try{a(s,"forEach",c)}catch(l){s.forEach=c}}},"17c2":function(t,e,r){"use strict";var n=r("b727").forEach,o=r("a640"),c=r("ae40"),a=o("forEach"),i=c("forEach");t.exports=a&&i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"1be4":function(t,e,r){var n=r("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,r){var n=r("d039"),o=r("b622"),c=r("2d00"),a=o("species");t.exports=function(t){return c>=51||!n((function(){var e=[],r=e.constructor={};return r[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,r){var n=r("a691"),o=Math.max,c=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):c(r,e)}},"23e7":function(t,e,r){var n=r("da84"),o=r("06cf").f,c=r("9112"),a=r("6eeb"),i=r("ce4e"),u=r("e893"),s=r("94ca");t.exports=function(t,e){var r,l,f,_,p,d,v=t.target,b=t.global,h=t.stat;if(l=b?n:h?n[v]||i(v,{}):(n[v]||{}).prototype,l)for(f in e){if(p=e[f],t.noTargetGet?(d=o(l,f),_=d&&d.value):_=l[f],r=s(b?f:v+(h?".":"#")+f,t.forced),!r&&void 0!==_){if(typeof p===typeof _)continue;u(p,_)}(t.sham||_&&_.sham)&&c(p,"sham",!0),a(l,f,p,t)}}},"241c":function(t,e,r){var n=r("ca84"),o=r("7839"),c=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,c)}},"24fb":function(t,e,r){"use strict";function n(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"===typeof btoa){var c=o(n),a=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(a).concat([c]).join("\n")}return[r].join("\n")}function o(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(r," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"===typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(o[a]=!0)}for(var i=0;i<t.length;i++){var u=[].concat(t[i]);n&&o[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),e.push(u))}},e}},"25eb":function(t,e,r){var n=r("23e7"),o=r("c20d");n({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"25f0":function(t,e,r){"use strict";var n=r("6eeb"),o=r("825a"),c=r("d039"),a=r("ad6d"),i="toString",u=RegExp.prototype,s=u[i],l=c((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f=s.name!=i;(l||f)&&n(RegExp.prototype,i,(function(){var t=o(this),e=String(t.source),r=t.flags,n=String(void 0===r&&t instanceof RegExp&&!("flags"in u)?a.call(t):r);return"/"+e+"/"+n}),{unsafe:!0})},"2d00":function(t,e,r){var n,o,c=r("da84"),a=r("342f"),i=c.process,u=i&&i.versions,s=u&&u.v8;s?(n=s.split("."),o=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(o=n[1]))),t.exports=o&&+o},"342f":function(t,e,r){var n=r("d066");t.exports=n("navigator","userAgent")||""},"37e8":function(t,e,r){var n=r("83ab"),o=r("9bf2"),c=r("825a"),a=r("df75");t.exports=n?Object.defineProperties:function(t,e){c(t);var r,n=a(e),i=n.length,u=0;while(i>u)o.f(t,r=n[u++],e[r]);return t}},"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"408a":function(t,e,r){var n=r("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},4160:function(t,e,r){"use strict";var n=r("23e7"),o=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(t,e,r){var n=r("da84");t.exports=n},"44ad":function(t,e,r){var n=r("d039"),o=r("c6b6"),c="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?c.call(t,""):Object(t)}:Object},"44e7":function(t,e,r){var n=r("861d"),o=r("c6b6"),c=r("b622"),a=c("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==o(t))}},"466d":function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),c=r("50c4"),a=r("1d80"),i=r("8aa5"),u=r("14c3");n("match",1,(function(t,e,r){return[function(e){var r=a(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;var f,_=[],p=0;while(null!==(f=u(a,s))){var d=String(f[0]);_[p]=d,""===d&&(a.lastIndex=i(s,c(a.lastIndex),l)),p++}return 0===p?null:_}]}))},4840:function(t,e,r){var n=r("825a"),o=r("1c0b"),c=r("b622"),a=c("species");t.exports=function(t,e){var r,c=n(t).constructor;return void 0===c||void 0==(r=n(c)[a])?e:o(r)}},4930:function(t,e,r){var n=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"499e":function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},o=0;o<e.length;o++){var c=e[o],a=c[0],i=c[1],u=c[2],s=c[3],l={id:t+":"+o,css:i,media:u,sourceMap:s};n[a]?n[a].parts.push(l):r.push(n[a]={id:a,parts:[l]})}return r}r.r(e),r.d(e,"default",(function(){return d}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c={},a=o&&(document.head||document.getElementsByTagName("head")[0]),i=null,u=0,s=!1,l=function(){},f=null,_="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(t,e,r,o){s=r,f=o||{};var a=n(t,e);return v(a),function(e){for(var r=[],o=0;o<a.length;o++){var i=a[o],u=c[i.id];u.refs--,r.push(u)}e?(a=n(t,e),v(a)):a=[];for(o=0;o<r.length;o++){u=r[o];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete c[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var r=t[e],n=c[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(h(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var a=[];for(o=0;o<r.parts.length;o++)a.push(h(r.parts[o]));c[r.id]={id:r.id,refs:1,parts:a}}}}function b(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function h(t){var e,r,n=document.querySelector("style["+_+'~="'+t.id+'"]');if(n){if(s)return l;n.parentNode.removeChild(n)}if(p){var o=u++;n=i||(i=b()),e=y.bind(null,n,o,!1),r=y.bind(null,n,o,!0)}else n=b(),e=m.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}var g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}();function y(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=g(e,o);else{var c=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(c,a[e]):t.appendChild(c)}}function m(t,e){var r=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute("media",n),f.ssrId&&t.setAttribute(_,e.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},"4d64":function(t,e,r){var n=r("fc6a"),o=r("50c4"),c=r("23cb"),a=function(t){return function(e,r,a){var i,u=n(e),s=o(u.length),l=c(a,s);if(t&&r!=r){while(s>l)if(i=u[l++],i!=i)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").filter,c=r("1dde"),a=r("ae40"),i=c("filter"),u=a("filter");n({target:"Array",proto:!0,forced:!i||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(t,e,r){var n=r("a691"),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5135:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5319:function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),c=r("7b0b"),a=r("50c4"),i=r("a691"),u=r("1d80"),s=r("8aa5"),l=r("14c3"),f=Math.max,_=Math.min,p=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,b=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,r,n){var h=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,y=h?"$":"$0";return[function(r,n){var o=u(this),c=void 0==r?void 0:r[t];return void 0!==c?c.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!h&&g||"string"===typeof n&&-1===n.indexOf(y)){var c=r(e,t,this,n);if(c.done)return c.value}var u=o(t),p=String(this),d="function"===typeof n;d||(n=String(n));var v=u.global;if(v){var x=u.unicode;u.lastIndex=0}var E=[];while(1){var w=l(u,p);if(null===w)break;if(E.push(w),!v)break;var O=String(w[0]);""===O&&(u.lastIndex=s(p,a(u.lastIndex),x))}for(var C="",S=0,P=0;P<E.length;P++){w=E[P];for(var j=String(w[0]),I=f(_(i(w.index),p.length),0),M=[],R=1;R<w.length;R++)M.push(b(w[R]));var k=w.groups;if(d){var T=[j].concat(M,I,p);void 0!==k&&T.push(k);var D=String(n.apply(void 0,T))}else D=m(j,p,I,M,k,n);I>=S&&(C+=p.slice(S,I)+D,S=I+j.length)}return C+p.slice(S)}];function m(t,r,n,o,a,i){var u=n+t.length,s=o.length,l=v;return void 0!==a&&(a=c(a),l=d),e.call(i,l,(function(e,c){var i;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":i=a[c.slice(1,-1)];break;default:var l=+c;if(0===l)return e;if(l>s){var f=p(l/10);return 0===f?e:f<=s?void 0===o[f-1]?c.charAt(1):o[f-1]+c.charAt(1):e}i=o[l-1]}return void 0===i?"":i}))}}))},5530:function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));r("a4d3"),r("4de4"),r("4160"),r("e439"),r("dbb4"),r("b64b"),r("159b");function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},5692:function(t,e,r){var n=r("c430"),o=r("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,r){var n=r("d066"),o=r("241c"),c=r("7418"),a=r("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=c.f;return r?e.concat(r(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,r){var n=r("1d80"),o=r("5899"),c="["+o+"]",a=RegExp("^"+c+c+"*"),i=RegExp(c+c+"*$"),u=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(a,"")),2&t&&(r=r.replace(i,"")),r}};t.exports={start:u(1),end:u(2),trim:u(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e89":function(t,e,r){var n=r("861d"),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},6547:function(t,e,r){var n=r("a691"),o=r("1d80"),c=function(t){return function(e,r){var c,a,i=String(o(e)),u=n(r),s=i.length;return u<0||u>=s?t?"":void 0:(c=i.charCodeAt(u),c<55296||c>56319||u+1===s||(a=i.charCodeAt(u+1))<56320||a>57343?t?i.charAt(u):c:t?i.slice(u,u+2):a-56320+(c-55296<<10)+65536)}};t.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(t,e,r){var n=r("861d"),o=r("e8b5"),c=r("b622"),a=c("species");t.exports=function(t,e){var r;return o(t)&&(r=t.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?n(r)&&(r=r[a],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},"69f3":function(t,e,r){var n,o,c,a=r("7f9a"),i=r("da84"),u=r("861d"),s=r("9112"),l=r("5135"),f=r("f772"),_=r("d012"),p=i.WeakMap,d=function(t){return c(t)?o(t):n(t,{})},v=function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}};if(a){var b=new p,h=b.get,g=b.has,y=b.set;n=function(t,e){return y.call(b,t,e),e},o=function(t){return h.call(b,t)||{}},c=function(t){return g.call(b,t)}}else{var m=f("state");_[m]=!0,n=function(t,e){return s(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},c=function(t){return l(t,m)}}t.exports={set:n,get:o,has:c,enforce:d,getterFor:v}},"6eeb":function(t,e,r){var n=r("da84"),o=r("9112"),c=r("5135"),a=r("ce4e"),i=r("8925"),u=r("69f3"),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,r,i){var u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,_=!!i&&!!i.noTargetGet;"function"==typeof r&&("string"!=typeof e||c(r,"name")||o(r,"name",e),l(r).source=f.join("string"==typeof e?e:"")),t!==n?(u?!_&&t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)):s?t[e]=r:a(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||i(this)}))},7156:function(t,e,r){var n=r("861d"),o=r("d2bb");t.exports=function(t,e,r){var c,a;return o&&"function"==typeof(c=e.constructor)&&c!==r&&n(a=c.prototype)&&a!==r.prototype&&o(t,a),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,r){var n=r("428f"),o=r("5135"),c=r("e538"),a=r("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||a(e,t,{value:c.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,r){var n=r("1d80");t.exports=function(t){return Object(n(t))}},"7c5f":function(t,e,r){"use strict";var n=r("f299"),o=r.n(n);o.a},"7c73":function(t,e,r){var n,o=r("825a"),c=r("37e8"),a=r("7839"),i=r("d012"),u=r("1be4"),s=r("cc12"),l=r("f772"),f=">",_="<",p="prototype",d="script",v=l("IE_PROTO"),b=function(){},h=function(t){return _+d+f+t+_+"/"+d+f},g=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=s("iframe"),r="java"+d+":";return e.style.display="none",u.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(h("document.F=Object")),t.close(),t.F},m=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}m=n?g(n):y();var t=a.length;while(t--)delete m[p][a[t]];return m()};i[v]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(b[p]=o(t),r=new b,b[p]=null,r[v]=t):r=m(),void 0===e?r:c(r,e)}},"7f9a":function(t,e,r){var n=r("da84"),o=r("8925"),c=n.WeakMap;t.exports="function"===typeof c&&/native code/.test(o(c))},"825a":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,r){var n=r("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,r){"use strict";var n=r("c04e"),o=r("9bf2"),c=r("5c6c");t.exports=function(t,e,r){var a=n(e);a in t?o.f(t,a,c(0,r)):t[a]=r}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,r){var n,o,c;(function(r,a){o=[],n=a,c="function"===typeof n?n.apply(e,o):n,void 0===c||(t.exports=c)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var r,n,o,c=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,i=c.exec(p.stack)||a.exec(p.stack),u=i&&i[1]||!1,s=i&&i[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");u===l&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var _=0;_<f.length;_++){if("interactive"===f[_].readyState)return f[_];if(f[_].src===u)return f[_];if(u===l&&f[_].innerHTML&&f[_].innerHTML.trim()===o)return f[_]}return null}}return t}))},8925:function(t,e,r){var n=r("c6cd"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},"8aa5":function(t,e,r){"use strict";var n=r("6547").charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},"8ba4":function(t,e,r){var n=r("23e7"),o=r("5e89");n({target:"Number",stat:!0},{isInteger:o})},"90e3":function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},9112:function(t,e,r){var n=r("83ab"),o=r("9bf2"),c=r("5c6c");t.exports=n?function(t,e,r){return o.f(t,e,c(1,r))}:function(t,e,r){return t[e]=r,t}},9129:function(t,e,r){var n=r("23e7");n({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},9263:function(t,e,r){"use strict";var n=r("ad6d"),o=r("9f7f"),c=RegExp.prototype.exec,a=String.prototype.replace,i=c,u=function(){var t=/a/,e=/b*/g;return c.call(t,"a"),c.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),s=o.UNSUPPORTED_Y||o.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],f=u||l||s;f&&(i=function(t){var e,r,o,i,f=this,_=s&&f.sticky,p=n.call(f),d=f.source,v=0,b=t;return _&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),b=String(t).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==t[f.lastIndex-1])&&(d="(?: "+d+")",b=" "+b,v++),r=new RegExp("^(?:"+d+")",p)),l&&(r=new RegExp("^"+d+"$(?!\\s)",p)),u&&(e=f.lastIndex),o=c.call(_?r:f,b),_?o?(o.input=o.input.slice(v),o[0]=o[0].slice(v),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:u&&o&&(f.lastIndex=f.global?o.index+o[0].length:e),l&&o&&o.length>1&&a.call(o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o}),t.exports=i},"94ca":function(t,e,r){var n=r("d039"),o=/#|\.prototype\./,c=function(t,e){var r=i[a(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},a=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},i=c.data={},u=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},"9bf2":function(t,e,r){var n=r("83ab"),o=r("0cfb"),c=r("825a"),a=r("c04e"),i=Object.defineProperty;e.f=n?i:function(t,e,r){if(c(t),e=a(e,!0),c(r),o)try{return i(t,e,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9f1a":function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c975"),core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("13d5"),core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("fb6a"),core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_number_is_integer__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("8ba4"),core_js_modules_es_number_is_integer__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_number_is_integer__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_number_is_nan__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("9129"),core_js_modules_es_number_is_nan__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_number_is_nan__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_number_parse_int__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("25eb"),core_js_modules_es_number_parse_int__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_number_parse_int__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_number_to_fixed__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("b680"),core_js_modules_es_number_to_fixed__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_number_to_fixed__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_regexp_exec__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("ac1f"),core_js_modules_es_regexp_exec__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_regexp_exec__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("466d"),core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("5319"),core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("1276"),core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_13__),_home_ivan_WebstormProjects_vue_input_calculator_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("5530");__webpack_exports__["a"]={name:"CalculatorInterface",props:["value","enableKeyboard","zIndex","textColor","triggerWrapperClass","bgColor","eventButtonsBgColor","numberButtonsBgColor","actionButtonsBgColor","actionSuccessButtonBgColor","isHistoryLogs","autoApply","persistent","floatResultFixedCount","show"],data:function(){return{showStyles:!1,isResult:!1,lastEventValueType:null,expresion:"0",logs:[]}},methods:{keyboardHandler:function(t){var e=t.key.match(/[0-9%/*\-+=.,]|Backspace|Enter/),r=e?e.input:null;if(r){if(","===r&&(r="."),"Enter"===r&&(r="="),"Backspace"===r)return this.deleteLastChar();this.prepareInput(r)}},touchHandler:function(t){this.prepareInput(t)},prepareInput:function(t){var e=Number.isNaN(Number.parseInt(t)),r=this.expresion.slice(-1),n=Number.isNaN(Number.parseInt(r));if(console.log({value:t,expresion:this.expresion,inputIsAction:e,lastSimbolIsAction:n,lastSimbol:r}),"0"===this.expresion){if("0"===t)return;if(!e)return this.expresion=t}switch(!0){case e&&n&&"."!==t&&"="!==t:console.error(1),this.expresion=this.expresion.slice(0,-1)+t;break;case e&&"="===t:console.error(2,this.isResult),n&&(console.error(21),this.expresion=this.expresion.slice(0,-1)),this.isResult?this.applyResult():this.calculate();break;case e&&"."===t:if(console.error(3),Array.isArray(this.expresion.split(/[/*\-+]/))&&(this.expresion.split(/[/*\-+]/).slice(-1)[0].indexOf(".")>-1||n))break;this.isResult=!1,this.expresion+=t;break;default:this.isResult=!1,this.expresion+=t,console.error("prepareInput",t);break}},calculate:function calculate(){var _this=this,log=this.expresion,regex=/[/*\-+]/g,actions=this.expresion.match(regex);if(!actions)return this.isResult=!0;var numbers=this.expresion.split(regex);this.expresion=numbers.reduce((function(t,e,r){return e?t=t+parseFloat(e)+(actions[r]||""):t+=actions[r]||"",t}),""),console.error({actions:actions,numbers:numbers,valideExpresion:this.expresion});try{var result=eval(this.expresion);console.warn({result:result}),this.expresion=Number.isInteger(result)?result.toString():parseFloat(result.toFixed(this.floatResultFixedCount)).toString(),this.isResult=!0,this.logs.push(log+"=".concat(this.expresion))}catch(_unused){alert("Error eval: "+this.expresion)}this.$nextTick((function(){_this.$refs.historyLog&&(_this.$refs.historyLog.scrollTop=_this.$refs.historyLog.scrollHeight)})),this.autoApply&&this.applyResult()},applyResult:function(){var t=Number.isNaN(Number.parseInt(this.expresion));this.$emit("input",t?"0":this.expresion),this.hideInterface()},hideInterface:function(){var t=this;this.$emit("hide"),setTimeout((function(){t.showStyles=!1}),500)},clear:function(){this.expresion="0",this.isResult=!1},deleteLastChar:function(){console.log("deleteLastChar ",this.expresion),"0"!==this.expresion&&(this.expresion=this.expresion.slice(0,-1),this.expresion||(this.expresion="0"))},logToValue:function(t){t&&(this.expresion=t.replace(/=.*/,""),this.isResult=!1)}},computed:{styleVars:function(){return Object(_home_ivan_WebstormProjects_vue_input_calculator_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_14__["a"])({"--vue-input-calculator-text-color":this.textColor,"--vue-input-calculator-bg-color":this.bgColor,"--vue-input-calculator-event-btn-bg-color":this.eventButtonsBgColor,"--vue-input-calculator-number-btn-bg-color":this.numberButtonsBgColor,"--vue-input-calculator-action-btn-bg-color":this.actionButtonsBgColor,"--vue-input-calculator-action-success-btn-bg-color":this.actionSuccessButtonBgColor},this.showStyles&&{display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0,zIndex:this.zIndex})}},watch:{show:function(t){t?(document.body.style.overflow="hidden",this.expresion=this.value.toString(),this.showStyles=!0,this.enableKeyboard&&document.addEventListener("keydown",this.keyboardHandler)):(document.body.style.overflow="initial",this.enableKeyboard&&document.removeEventListener("keydown",this.keyboardHandler))}}}},"9f7f":function(t,e,r){"use strict";var n=r("d039");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a4d3:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),c=r("d066"),a=r("c430"),i=r("83ab"),u=r("4930"),s=r("fdbf"),l=r("d039"),f=r("5135"),_=r("e8b5"),p=r("861d"),d=r("825a"),v=r("7b0b"),b=r("fc6a"),h=r("c04e"),g=r("5c6c"),y=r("7c73"),m=r("df75"),x=r("241c"),E=r("057f"),w=r("7418"),O=r("06cf"),C=r("9bf2"),S=r("d1e7"),P=r("9112"),j=r("6eeb"),I=r("5692"),M=r("f772"),R=r("d012"),k=r("90e3"),T=r("b622"),D=r("e538"),A=r("746f"),L=r("d44e"),B=r("69f3"),N=r("b727").forEach,U=M("hidden"),W="Symbol",K="prototype",$=T("toPrimitive"),q=B.set,F=B.getterFor(W),H=Object[K],V=o.Symbol,z=c("JSON","stringify"),G=O.f,Y=C.f,X=E.f,J=S.f,Q=I("symbols"),Z=I("op-symbols"),tt=I("string-to-symbol-registry"),et=I("symbol-to-string-registry"),rt=I("wks"),nt=o.QObject,ot=!nt||!nt[K]||!nt[K].findChild,ct=i&&l((function(){return 7!=y(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(H,e);n&&delete H[e],Y(t,e,r),n&&t!==H&&Y(H,e,n)}:Y,at=function(t,e){var r=Q[t]=y(V[K]);return q(r,{type:W,tag:t,description:e}),i||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},ut=function(t,e,r){t===H&&ut(Z,e,r),d(t);var n=h(e,!0);return d(r),f(Q,n)?(r.enumerable?(f(t,U)&&t[U][n]&&(t[U][n]=!1),r=y(r,{enumerable:g(0,!1)})):(f(t,U)||Y(t,U,g(1,{})),t[U][n]=!0),ct(t,n,r)):Y(t,n,r)},st=function(t,e){d(t);var r=b(e),n=m(r).concat(dt(r));return N(n,(function(e){i&&!ft.call(r,e)||ut(t,e,r[e])})),t},lt=function(t,e){return void 0===e?y(t):st(y(t),e)},ft=function(t){var e=h(t,!0),r=J.call(this,e);return!(this===H&&f(Q,e)&&!f(Z,e))&&(!(r||!f(this,e)||!f(Q,e)||f(this,U)&&this[U][e])||r)},_t=function(t,e){var r=b(t),n=h(e,!0);if(r!==H||!f(Q,n)||f(Z,n)){var o=G(r,n);return!o||!f(Q,n)||f(r,U)&&r[U][n]||(o.enumerable=!0),o}},pt=function(t){var e=X(b(t)),r=[];return N(e,(function(t){f(Q,t)||f(R,t)||r.push(t)})),r},dt=function(t){var e=t===H,r=X(e?Z:b(t)),n=[];return N(r,(function(t){!f(Q,t)||e&&!f(H,t)||n.push(Q[t])})),n};if(u||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=k(t),r=function(t){this===H&&r.call(Z,t),f(this,U)&&f(this[U],e)&&(this[U][e]=!1),ct(this,e,g(1,t))};return i&&ot&&ct(H,e,{configurable:!0,set:r}),at(e,t)},j(V[K],"toString",(function(){return F(this).tag})),j(V,"withoutSetter",(function(t){return at(k(t),t)})),S.f=ft,C.f=ut,O.f=_t,x.f=E.f=pt,w.f=dt,D.f=function(t){return at(T(t),t)},i&&(Y(V[K],"description",{configurable:!0,get:function(){return F(this).description}}),a||j(H,"propertyIsEnumerable",ft,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),N(m(rt),(function(t){A(t)})),n({target:W,stat:!0,forced:!u},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var r=V(e);return tt[e]=r,et[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!i},{create:lt,defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:_t}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),n({target:"Object",stat:!0,forced:l((function(){w.f(1)}))},{getOwnPropertySymbols:function(t){return w.f(v(t))}}),z){var vt=!u||l((function(){var t=V();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))}));n({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,r){var n,o=[t],c=1;while(arguments.length>c)o.push(arguments[c++]);if(n=e,(p(e)||void 0!==t)&&!it(t))return _(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,z.apply(null,o)}})}V[K][$]||P(V[K],$,V[K].valueOf),L(V,W),R[U]=!0},a640:function(t,e,r){"use strict";var n=r("d039");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},a9e3:function(t,e,r){"use strict";var n=r("83ab"),o=r("da84"),c=r("94ca"),a=r("6eeb"),i=r("5135"),u=r("c6b6"),s=r("7156"),l=r("c04e"),f=r("d039"),_=r("7c73"),p=r("241c").f,d=r("06cf").f,v=r("9bf2").f,b=r("58a8").trim,h="Number",g=o[h],y=g.prototype,m=u(_(y))==h,x=function(t){var e,r,n,o,c,a,i,u,s=l(t,!1);if("string"==typeof s&&s.length>2)if(s=b(s),e=s.charCodeAt(0),43===e||45===e){if(r=s.charCodeAt(2),88===r||120===r)return NaN}else if(48===e){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(c=s.slice(2),a=c.length,i=0;i<a;i++)if(u=c.charCodeAt(i),u<48||u>o)return NaN;return parseInt(c,n)}return+s};if(c(h,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var E,w=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof w&&(m?f((function(){y.valueOf.call(r)})):u(r)!=h)?s(new g(x(e)),r,w):x(e)},O=n?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;O.length>C;C++)i(g,E=O[C])&&!i(w,E)&&v(w,E,d(g,E));w.prototype=y,y.constructor=w,a(o,h,w)}},ac1f:function(t,e,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,r){"use strict";var n=r("825a");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,r){var n=r("83ab"),o=r("d039"),c=r("5135"),a=Object.defineProperty,i={},u=function(t){throw t};t.exports=function(t,e){if(c(i,t))return i[t];e||(e={});var r=[][t],s=!!c(e,"ACCESSORS")&&e.ACCESSORS,l=c(e,0)?e[0]:u,f=c(e,1)?e[1]:void 0;return i[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,l,f)}))}},b041:function(t,e,r){"use strict";var n=r("00ee"),o=r("f5df");t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,e,r){var n=r("da84"),o=r("5692"),c=r("5135"),a=r("90e3"),i=r("4930"),u=r("fdbf"),s=o("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return c(s,t)||(i&&c(l,t)?s[t]=l[t]:s[t]=f("Symbol."+t)),s[t]}},b64b:function(t,e,r){var n=r("23e7"),o=r("7b0b"),c=r("df75"),a=r("d039"),i=a((function(){c(1)}));n({target:"Object",stat:!0,forced:i},{keys:function(t){return c(o(t))}})},b680:function(t,e,r){"use strict";var n=r("23e7"),o=r("a691"),c=r("408a"),a=r("1148"),i=r("d039"),u=1..toFixed,s=Math.floor,l=function(t,e,r){return 0===e?r:e%2===1?l(t,e-1,r*t):l(t*t,e/2,r)},f=function(t){var e=0,r=t;while(r>=4096)e+=12,r/=4096;while(r>=2)e+=1,r/=2;return e},_=u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i((function(){u.call({})}));n({target:"Number",proto:!0,forced:_},{toFixed:function(t){var e,r,n,i,u=c(this),_=o(t),p=[0,0,0,0,0,0],d="",v="0",b=function(t,e){var r=-1,n=e;while(++r<6)n+=t*p[r],p[r]=n%1e7,n=s(n/1e7)},h=function(t){var e=6,r=0;while(--e>=0)r+=p[e],p[e]=s(r/t),r=r%t*1e7},g=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==p[t]){var r=String(p[t]);e=""===e?r:e+a.call("0",7-r.length)+r}return e};if(_<0||_>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(e=f(u*l(2,69,1))-69,r=e<0?u*l(2,-e,1):u/l(2,e,1),r*=4503599627370496,e=52-e,e>0){b(0,r),n=_;while(n>=7)b(1e7,0),n-=7;b(l(10,n,1),0),n=e-1;while(n>=23)h(1<<23),n-=23;h(1<<n),b(1,1),h(2),v=g()}else b(0,r),b(1<<-e,0),v=g()+a.call("0",_);return _>0?(i=v.length,v=d+(i<=_?"0."+a.call("0",_-i)+v:v.slice(0,i-_)+"."+v.slice(i-_))):v=d+v,v}})},b727:function(t,e,r){var n=r("0366"),o=r("44ad"),c=r("7b0b"),a=r("50c4"),i=r("65f0"),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,l=4==t,f=6==t,_=5==t||f;return function(p,d,v,b){for(var h,g,y=c(p),m=o(y),x=n(d,v,3),E=a(m.length),w=0,O=b||i,C=e?O(p,E):r?O(p,0):void 0;E>w;w++)if((_||w in m)&&(h=m[w],g=x(h,w,y),t))if(e)C[w]=g;else if(g)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:u.call(C,h)}else if(l)return!1;return f?-1:s||l?l:C}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},c04e:function(t,e,r){var n=r("861d");t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c20d:function(t,e,r){var n=r("da84"),o=r("58a8").trim,c=r("5899"),a=n.parseInt,i=/^[+-]?0[Xx]/,u=8!==a(c+"08")||22!==a(c+"0x16");t.exports=u?function(t,e){var r=o(String(t));return a(r,e>>>0||(i.test(r)?16:10))}:a},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},c6cd:function(t,e,r){var n=r("da84"),o=r("ce4e"),c="__core-js_shared__",a=n[c]||o(c,{});t.exports=a},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},c975:function(t,e,r){"use strict";var n=r("23e7"),o=r("4d64").indexOf,c=r("a640"),a=r("ae40"),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0,s=c("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(t){return u?i.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,e,r){var n=r("5135"),o=r("fc6a"),c=r("4d64").indexOf,a=r("d012");t.exports=function(t,e){var r,i=o(t),u=0,s=[];for(r in i)!n(a,r)&&n(i,r)&&s.push(r);while(e.length>u)n(i,r=e[u++])&&(~c(s,r)||s.push(r));return s}},cc12:function(t,e,r){var n=r("da84"),o=r("861d"),c=n.document,a=o(c)&&o(c.createElement);t.exports=function(t){return a?c.createElement(t):{}}},ce4e:function(t,e,r){var n=r("da84"),o=r("9112");t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,r){var n=r("428f"),o=r("da84"),c=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?c(n[t])||c(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,c=o&&!n.call({1:2},1);e.f=c?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},d2bb:function(t,e,r){var n=r("825a"),o=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(r,[]),e=r instanceof Array}catch(c){}return function(r,c){return n(r),o(c),e?t.call(r,c):r.__proto__=c,r}}():void 0)},d3b7:function(t,e,r){var n=r("00ee"),o=r("6eeb"),c=r("b041");n||o(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(t,e,r){var n=r("9bf2").f,o=r("5135"),c=r("b622"),a=c("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,a)&&n(t,a,{configurable:!0,value:e})}},d58f:function(t,e,r){var n=r("1c0b"),o=r("7b0b"),c=r("44ad"),a=r("50c4"),i=function(t){return function(e,r,i,u){n(r);var s=o(e),l=c(s),f=a(s.length),_=t?f-1:0,p=t?-1:1;if(i<2)while(1){if(_ in l){u=l[_],_+=p;break}if(_+=p,t?_<0:f<=_)throw TypeError("Reduce of empty array with no initial value")}for(;t?_>=0:f>_;_+=p)_ in l&&(u=r(u,l[_],_,s));return u}};t.exports={left:i(!1),right:i(!0)}},d784:function(t,e,r){"use strict";r("ac1f");var n=r("6eeb"),o=r("d039"),c=r("b622"),a=r("9263"),i=r("9112"),u=c("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=c("replace"),_=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,f){var d=c(t),v=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),b=v&&!o((function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[u]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!v||!b||"replace"===t&&(!s||!l||_)||"split"===t&&!p){var h=/./[d],g=r(d,""[t],(function(t,e,r,n,o){return e.exec===a?v&&!o?{done:!0,value:h.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),y=g[0],m=g[1];n(String.prototype,t,y),n(RegExp.prototype,d,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}f&&i(RegExp.prototype[d],"sham",!0)}},da84:function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(t,e,r){var n=r("23e7"),o=r("83ab"),c=r("56ef"),a=r("fc6a"),i=r("06cf"),u=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=a(t),o=i.f,s=c(n),l={},f=0;while(s.length>f)r=o(n,e=s[f++]),void 0!==r&&u(l,e,r);return l}})},df75:function(t,e,r){var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},e439:function(t,e,r){var n=r("23e7"),o=r("d039"),c=r("fc6a"),a=r("06cf").f,i=r("83ab"),u=o((function(){a(1)})),s=!i||u;n({target:"Object",stat:!0,forced:s,sham:!i},{getOwnPropertyDescriptor:function(t,e){return a(c(t),e)}})},e538:function(t,e,r){var n=r("b622");e.f=n},e893:function(t,e,r){var n=r("5135"),o=r("56ef"),c=r("06cf"),a=r("9bf2");t.exports=function(t,e){for(var r=o(e),i=a.f,u=c.f,s=0;s<r.length;s++){var l=r[s];n(t,l)||i(t,l,u(e,l))}}},e8b5:function(t,e,r){var n=r("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},f299:function(t,e,r){var n=r("f7dc");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("499e").default;o("0fa1435e",n,!0,{sourceMap:!1,shadowMode:!1})},f5df:function(t,e,r){var n=r("00ee"),o=r("c6b6"),c=r("b622"),a=c("toStringTag"),i="Arguments"==o(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(r){}};t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=u(e=Object(t),a))?r:i?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},f772:function(t,e,r){var n=r("5692"),o=r("90e3"),c=n("keys");t.exports=function(t){return c[t]||(c[t]=o(t))}},f7dc:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,"*[data-v-7bf4bca6],[data-v-7bf4bca6]:after,[data-v-7bf4bca6]:before{box-sizing:border-box}.vue-input-calculator[data-v-7bf4bca6]{z-index:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vue-input-calculator .calc-wrapper[data-v-7bf4bca6]{padding:0;position:fixed;bottom:0;z-index:1}.vue-input-calculator .calc-wrapper .calculator[data-v-7bf4bca6]{width:100%;display:flex;margin:0 auto;flex-direction:column;max-width:720px;min-width:320px;background-color:var(--vue-input-calculator-bg-color);box-shadow:0 0 0 1px var(--vue-input-calculator-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-logs[data-v-7bf4bca6]{padding:0 .8rem 0 .8rem;max-height:100px;display:flex;position:relative;overflow:auto;align-items:flex-end;flex-direction:column;background:var(--vue-input-calculator-event-btn-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-logs .header[data-v-7bf4bca6]{color:var(--vue-input-calculator-text-color);align-self:flex-start;position:-webkit-sticky;position:sticky;top:0;left:0;padding-top:5px}.vue-input-calculator .calc-wrapper .calculator .calculator-logs span[data-v-7bf4bca6]{color:var(--vue-input-calculator-text-color);opacity:.75;display:block;font-size:1rem;text-align:right;padding:.4rem 0;line-height:1;font-weight:lighter}.vue-input-calculator .calc-wrapper .calculator .calculator-input[data-v-7bf4bca6]{color:var(--vue-input-calculator-text-color);width:100%;border:none;padding:.8rem;display:block;font-size:2.4rem;background:none;text-align:right;font-weight:lighter}.vue-input-calculator .calc-wrapper .calculator .calculator-input[data-v-7bf4bca6]:active,.vue-input-calculator .calc-wrapper .calculator .calculator-input[data-v-7bf4bca6]:focus{outline:none}.vue-input-calculator .calc-wrapper .calculator .calculator-row[data-v-7bf4bca6]{display:flex;padding:0;justify-content:space-around}.vue-input-calculator .calc-wrapper .calculator .calculator-row .calculator-col[data-v-7bf4bca6]{flex:1;box-shadow:0 0 0 1px var(--vue-input-calculator-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-row .calculator-col.wide[data-v-7bf4bca6]{flex:2}.vue-input-calculator .calc-wrapper .calculator .calculator-btn[data-v-7bf4bca6]{width:100%;color:var(--vue-input-calculator-text-color);border:none;cursor:pointer;padding:.3rem;outline:none;font-size:2rem;transition:all .3s ease-in-out;font-weight:200;justify-content:center;background-color:var(--vue-input-calculator-number-btn-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn.success[data-v-7bf4bca6]{background-color:var(--vue-input-calculator-action-success-btn-bg-color);color:var(--vue-input-calculator-text-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn.accent[data-v-7bf4bca6]{background-color:var(--vue-input-calculator-action-btn-bg-color);color:var(--vue-input-calculator-text-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn.gray[data-v-7bf4bca6]{background-color:var(--vue-input-calculator-event-btn-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn[data-v-7bf4bca6]:active{background-color:var(--vue-input-calculator-bg-color)}.vue-input-calculator .backdrop[data-v-7bf4bca6]{background-color:rgba(0,0,0,.5);width:100%;height:100%;z-index:0}.slide-enter-active[data-v-7bf4bca6]{-webkit-animation:slide-in-data-v-7bf4bca6 .5s;animation:slide-in-data-v-7bf4bca6 .5s}.slide-leave-active[data-v-7bf4bca6]{animation:slide-in-data-v-7bf4bca6 .3s reverse}@-webkit-keyframes slide-in-data-v-7bf4bca6{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slide-in-data-v-7bf4bca6{0%{transform:translateY(100%)}to{transform:translateY(0)}}.opacity-enter-active[data-v-7bf4bca6]{-webkit-animation:opacity-in-data-v-7bf4bca6 .5s;animation:opacity-in-data-v-7bf4bca6 .5s}.opacity-leave-active[data-v-7bf4bca6]{animation:opacity-in-data-v-7bf4bca6 .3s reverse}@-webkit-keyframes opacity-in-data-v-7bf4bca6{to{opacity:1}0%{opacity:0}}@keyframes opacity-in-data-v-7bf4bca6{to{opacity:1}0%{opacity:0}}",""]),t.exports=e},fb15:function(t,e,r){"use strict";if(r.r(e),"undefined"!==typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var c=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(r.p=c[1])}var a=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticStyle:{all:"unset"}},[r("div",{class:t.triggerWrapperClass,on:{click:function(e){t.show=!t.show}}},[t._t("default",[t._v("Trigger")])],2),r("CalculatorInterface",t._b({attrs:{show:t.show},on:{input:function(e){return t.$emit("input",e)},hide:function(e){t.show=!1}}},"CalculatorInterface",t.$props,!1))],1)},i=[],u=(r("a9e3"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"vue-input-calculator",style:t.styleVars},[r("transition",{attrs:{name:"slide"}},[t.show?r("div",{staticClass:"calc-wrapper"},[r("div",{staticClass:"calculator"},[t.isHistoryLogs?r("div",{ref:"historyLog",staticClass:"calculator-logs"},t._l(t.logs,(function(e,n){return r("span",{key:n,on:{click:function(r){return t.logToValue(e)}}},[t._v(t._s(e))])})),0):t._e(),r("input",{directives:[{name:"model",rawName:"v-model",value:t.expresion,expression:"expresion"}],staticClass:"calculator-input",attrs:{readonly:"",type:"text"},domProps:{value:t.expresion},on:{input:function(e){e.target.composing||(t.expresion=e.target.value)}}}),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn gray action",on:{click:function(e){return t.clear()}}},[t._v("c")])]),r("div",{staticClass:"calculator-col wide"},[r("button",{staticClass:"calculator-btn gray action",on:{click:t.deleteLastChar}},[t._v("›")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("/")}}},[t._v("/")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("7")}}},[t._v("7")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("8")}}},[t._v("8")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("9")}}},[t._v("9")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("*")}}},[t._v("*")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("4")}}},[t._v("4")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("5")}}},[t._v("5")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("6")}}},[t._v("6")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("-")}}},[t._v("-")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("1")}}},[t._v("1")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("2")}}},[t._v("2")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("3")}}},[t._v("3")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("+")}}},[t._v("+")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col wide"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("0")}}},[t._v("0")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn action",on:{click:function(e){return t.touchHandler(".")}}},[t._v(".")])]),r("div",{staticClass:"calculator-col"},[t.isResult?r("button",{staticClass:"calculator-btn success action",on:{click:t.applyResult}},[t._v("ок ")]):r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("=")}}},[t._v("=")])])])])]):t._e()]),r("transition",{attrs:{name:"opacity"}},[t.show?r("div",{staticClass:"backdrop",on:{click:function(e){!t.persistent&&t.hideInterface()}}}):t._e()])],1)}),s=[],l=r("9f1a"),f=l["a"];r("7c5f");function _(t,e,r,n,o,c,a,i){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=r,s._compiled=!0),n&&(s.functional=!0),c&&(s._scopeId="data-v-"+c),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=i?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var l=s.render;s.render=function(t,e){return u.call(e),l(t,e)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:s}}var p=_(f,u,s,!1,null,"7bf4bca6",null),d=p.exports,v={name:"VueInputCalculator",components:{CalculatorInterface:d},props:{value:{type:[Number,String],required:!0},zIndex:{type:[Number,String],default:9999},floatResultFixedCount:{type:Number,default:3},textColor:{type:String,default:"#ffffff"},triggerWrapperClass:{type:String,default:""},bgColor:{type:String,default:"#2f2f31"},eventButtonsBgColor:{type:String,default:"#424345"},numberButtonsBgColor:{type:String,default:"#616163"},actionButtonsBgColor:{type:String,default:"#f49e3f"},actionSuccessButtonBgColor:{type:String,default:"#3ff451"},isHistoryLogs:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},persistent:{type:Boolean,default:!1},enableKeyboard:{type:Boolean,default:!1}},data:function(){return{show:!1}}},b=v,h=_(b,a,i,!1,null,null,null),g=h.exports,y={VueInputCalculator:g};e["default"]=y},fb6a:function(t,e,r){"use strict";var n=r("23e7"),o=r("861d"),c=r("e8b5"),a=r("23cb"),i=r("50c4"),u=r("fc6a"),s=r("8418"),l=r("b622"),f=r("1dde"),_=r("ae40"),p=f("slice"),d=_("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),b=[].slice,h=Math.max;n({target:"Array",proto:!0,forced:!p||!d},{slice:function(t,e){var r,n,l,f=u(this),_=i(f.length),p=a(t,_),d=a(void 0===e?_:e,_);if(c(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!c(r.prototype)?o(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return b.call(f,p,d);for(n=new(void 0===r?Array:r)(h(d-p,0)),l=0;p<d;p++,l++)p in f&&s(n,l,f[p]);return n.length=l,n}})},fc6a:function(t,e,r){var n=r("44ad"),o=r("1d80");t.exports=function(t){return n(o(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,r){var n=r("4930");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-input-calculator"]=e():t["vue-input-calculator"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"00ee":function(t,e,r){var n=r("b622"),o=n("toStringTag"),a={};a[o]="z",t.exports="[object z]"===String(a)},"0366":function(t,e,r){var n=r("1c0b");t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,r){var n=r("fc6a"),o=r("241c").f,a={}.toString,c="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(t){try{return o(t)}catch(e){return c.slice()}};t.exports.f=function(t){return c&&"[object Window]"==a.call(t)?i(t):o(n(t))}},"06cf":function(t,e,r){var n=r("83ab"),o=r("d1e7"),a=r("5c6c"),c=r("fc6a"),i=r("c04e"),u=r("5135"),s=r("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=c(t),e=i(e,!0),s)try{return l(t,e)}catch(r){}if(u(t,e))return a(!o.f.call(t,e),t[e])}},"0cfb":function(t,e,r){var n=r("83ab"),o=r("d039"),a=r("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},1148:function(t,e,r){"use strict";var n=r("a691"),o=r("1d80");t.exports="".repeat||function(t){var e=String(o(this)),r="",a=n(t);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(e+=e))1&a&&(r+=e);return r}},1276:function(t,e,r){"use strict";var n=r("d784"),o=r("44e7"),a=r("825a"),c=r("1d80"),i=r("4840"),u=r("8aa5"),s=r("50c4"),l=r("14c3"),f=r("9263"),_=r("d039"),p=[].push,d=Math.min,v=4294967295,b=!_((function(){return!RegExp(v,"y")}));n("split",2,(function(t,e,r){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,r){var n=String(c(this)),a=void 0===r?v:r>>>0;if(0===a)return[];if(void 0===t)return[n];if(!o(t))return e.call(n,t,a);var i,u,s,l=[],_=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),d=0,b=new RegExp(t.source,_+"g");while(i=f.call(b,n)){if(u=b.lastIndex,u>d&&(l.push(n.slice(d,i.index)),i.length>1&&i.index<n.length&&p.apply(l,i.slice(1)),s=i[0].length,d=u,l.length>=a))break;b.lastIndex===i.index&&b.lastIndex++}return d===n.length?!s&&b.test("")||l.push(""):l.push(n.slice(d)),l.length>a?l.slice(0,a):l}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var o=c(this),a=void 0==e?void 0:e[t];return void 0!==a?a.call(e,o,r):n.call(String(o),e,r)},function(t,o){var c=r(n,t,this,o,n!==e);if(c.done)return c.value;var f=a(t),_=String(this),p=i(f,RegExp),h=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(b?"y":"g"),m=new p(b?f:"^(?:"+f.source+")",g),y=void 0===o?v:o>>>0;if(0===y)return[];if(0===_.length)return null===l(m,_)?[_]:[];var x=0,E=0,w=[];while(E<_.length){m.lastIndex=b?E:0;var O,C=l(m,b?_:_.slice(E));if(null===C||(O=d(s(m.lastIndex+(b?0:E)),_.length))===x)E=u(_,E,h);else{if(w.push(_.slice(x,E)),w.length===y)return w;for(var S=1;S<=C.length-1;S++)if(w.push(C[S]),w.length===y)return w;E=x=O}}return w.push(_.slice(x)),w}]}),!b)},"13d5":function(t,e,r){"use strict";var n=r("23e7"),o=r("d58f").left,a=r("a640"),c=r("ae40"),i=a("reduce"),u=c("reduce",{1:0});n({target:"Array",proto:!0,forced:!i||!u},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(t,e,r){var n=r("c6b6"),o=r("9263");t.exports=function(t,e){var r=t.exec;if("function"===typeof r){var a=r.call(t,e);if("object"!==typeof a)throw TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"159b":function(t,e,r){var n=r("da84"),o=r("fdbc"),a=r("17c2"),c=r("9112");for(var i in o){var u=n[i],s=u&&u.prototype;if(s&&s.forEach!==a)try{c(s,"forEach",a)}catch(l){s.forEach=a}}},"17c2":function(t,e,r){"use strict";var n=r("b727").forEach,o=r("a640"),a=r("ae40"),c=o("forEach"),i=a("forEach");t.exports=c&&i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"1be4":function(t,e,r){var n=r("d066");t.exports=n("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,e,r){var n=r("d039"),o=r("b622"),a=r("2d00"),c=o("species");t.exports=function(t){return a>=51||!n((function(){var e=[],r=e.constructor={};return r[c]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"23cb":function(t,e,r){var n=r("a691"),o=Math.max,a=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):a(r,e)}},"23e7":function(t,e,r){var n=r("da84"),o=r("06cf").f,a=r("9112"),c=r("6eeb"),i=r("ce4e"),u=r("e893"),s=r("94ca");t.exports=function(t,e){var r,l,f,_,p,d,v=t.target,b=t.global,h=t.stat;if(l=b?n:h?n[v]||i(v,{}):(n[v]||{}).prototype,l)for(f in e){if(p=e[f],t.noTargetGet?(d=o(l,f),_=d&&d.value):_=l[f],r=s(b?f:v+(h?".":"#")+f,t.forced),!r&&void 0!==_){if(typeof p===typeof _)continue;u(p,_)}(t.sham||_&&_.sham)&&a(p,"sham",!0),c(l,f,p,t)}}},"241c":function(t,e,r){var n=r("ca84"),o=r("7839"),a=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,a)}},"24fb":function(t,e,r){"use strict";function n(t,e){var r=t[1]||"",n=t[3];if(!n)return r;if(e&&"function"===typeof btoa){var a=o(n),c=n.sources.map((function(t){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(t," */")}));return[r].concat(c).concat([a]).join("\n")}return[r].join("\n")}function o(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(e);return"/*# ".concat(r," */")}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media ".concat(e[2]," {").concat(r,"}"):r})).join("")},e.i=function(t,r,n){"string"===typeof t&&(t=[[null,t,""]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var i=0;i<t.length;i++){var u=[].concat(t[i]);n&&o[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),e.push(u))}},e}},"25eb":function(t,e,r){var n=r("23e7"),o=r("c20d");n({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"25f0":function(t,e,r){"use strict";var n=r("6eeb"),o=r("825a"),a=r("d039"),c=r("ad6d"),i="toString",u=RegExp.prototype,s=u[i],l=a((function(){return"/a/b"!=s.call({source:"a",flags:"b"})})),f=s.name!=i;(l||f)&&n(RegExp.prototype,i,(function(){var t=o(this),e=String(t.source),r=t.flags,n=String(void 0===r&&t instanceof RegExp&&!("flags"in u)?c.call(t):r);return"/"+e+"/"+n}),{unsafe:!0})},"2d00":function(t,e,r){var n,o,a=r("da84"),c=r("342f"),i=a.process,u=i&&i.versions,s=u&&u.v8;s?(n=s.split("."),o=n[0]+n[1]):c&&(n=c.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=c.match(/Chrome\/(\d+)/),n&&(o=n[1]))),t.exports=o&&+o},"342f":function(t,e,r){var n=r("d066");t.exports=n("navigator","userAgent")||""},"37e8":function(t,e,r){var n=r("83ab"),o=r("9bf2"),a=r("825a"),c=r("df75");t.exports=n?Object.defineProperties:function(t,e){a(t);var r,n=c(e),i=n.length,u=0;while(i>u)o.f(t,r=n[u++],e[r]);return t}},"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"408a":function(t,e,r){var n=r("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=n(t))throw TypeError("Incorrect invocation");return+t}},4160:function(t,e,r){"use strict";var n=r("23e7"),o=r("17c2");n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},"428f":function(t,e,r){var n=r("da84");t.exports=n},"44ad":function(t,e,r){var n=r("d039"),o=r("c6b6"),a="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?a.call(t,""):Object(t)}:Object},"44e7":function(t,e,r){var n=r("861d"),o=r("c6b6"),a=r("b622"),c=a("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[c])?!!e:"RegExp"==o(t))}},"466d":function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),a=r("50c4"),c=r("1d80"),i=r("8aa5"),u=r("14c3");n("match",1,(function(t,e,r){return[function(e){var r=c(this),n=void 0==e?void 0:e[t];return void 0!==n?n.call(e,r):new RegExp(e)[t](String(r))},function(t){var n=r(e,t,this);if(n.done)return n.value;var c=o(t),s=String(this);if(!c.global)return u(c,s);var l=c.unicode;c.lastIndex=0;var f,_=[],p=0;while(null!==(f=u(c,s))){var d=String(f[0]);_[p]=d,""===d&&(c.lastIndex=i(s,a(c.lastIndex),l)),p++}return 0===p?null:_}]}))},4840:function(t,e,r){var n=r("825a"),o=r("1c0b"),a=r("b622"),c=a("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||void 0==(r=n(a)[c])?e:o(r)}},4930:function(t,e,r){var n=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},"499e":function(t,e,r){"use strict";function n(t,e){for(var r=[],n={},o=0;o<e.length;o++){var a=e[o],c=a[0],i=a[1],u=a[2],s=a[3],l={id:t+":"+o,css:i,media:u,sourceMap:s};n[c]?n[c].parts.push(l):r.push(n[c]={id:c,parts:[l]})}return r}r.r(e),r.d(e,"default",(function(){return d}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},c=o&&(document.head||document.getElementsByTagName("head")[0]),i=null,u=0,s=!1,l=function(){},f=null,_="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function d(t,e,r,o){s=r,f=o||{};var c=n(t,e);return v(c),function(e){for(var r=[],o=0;o<c.length;o++){var i=c[o],u=a[i.id];u.refs--,r.push(u)}e?(c=n(t,e),v(c)):c=[];for(o=0;o<r.length;o++){u=r[o];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete a[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var r=t[e],n=a[r.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](r.parts[o]);for(;o<r.parts.length;o++)n.parts.push(h(r.parts[o]));n.parts.length>r.parts.length&&(n.parts.length=r.parts.length)}else{var c=[];for(o=0;o<r.parts.length;o++)c.push(h(r.parts[o]));a[r.id]={id:r.id,refs:1,parts:c}}}}function b(){var t=document.createElement("style");return t.type="text/css",c.appendChild(t),t}function h(t){var e,r,n=document.querySelector("style["+_+'~="'+t.id+'"]');if(n){if(s)return l;n.parentNode.removeChild(n)}if(p){var o=u++;n=i||(i=b()),e=m.bind(null,n,o,!1),r=m.bind(null,n,o,!0)}else n=b(),e=y.bind(null,n),r=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else r()}}var g=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}();function m(t,e,r,n){var o=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=g(e,o);else{var a=document.createTextNode(o),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}function y(t,e){var r=e.css,n=e.media,o=e.sourceMap;if(n&&t.setAttribute("media",n),f.ssrId&&t.setAttribute(_,e.id),o&&(r+="\n/*# sourceURL="+o.sources[0]+" */",r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=r;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}},"4d64":function(t,e,r){var n=r("fc6a"),o=r("50c4"),a=r("23cb"),c=function(t){return function(e,r,c){var i,u=n(e),s=o(u.length),l=a(c,s);if(t&&r!=r){while(s>l)if(i=u[l++],i!=i)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(t,e,r){"use strict";var n=r("23e7"),o=r("b727").filter,a=r("1dde"),c=r("ae40"),i=a("filter"),u=c("filter");n({target:"Array",proto:!0,forced:!i||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(t,e,r){var n=r("a691"),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},5135:function(t,e){var r={}.hasOwnProperty;t.exports=function(t,e){return r.call(t,e)}},5319:function(t,e,r){"use strict";var n=r("d784"),o=r("825a"),a=r("7b0b"),c=r("50c4"),i=r("a691"),u=r("1d80"),s=r("8aa5"),l=r("14c3"),f=Math.max,_=Math.min,p=Math.floor,d=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,b=function(t){return void 0===t?t:String(t)};n("replace",2,(function(t,e,r,n){var h=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,g=n.REPLACE_KEEPS_$0,m=h?"$":"$0";return[function(r,n){var o=u(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,n):e.call(String(o),r,n)},function(t,n){if(!h&&g||"string"===typeof n&&-1===n.indexOf(m)){var a=r(e,t,this,n);if(a.done)return a.value}var u=o(t),p=String(this),d="function"===typeof n;d||(n=String(n));var v=u.global;if(v){var x=u.unicode;u.lastIndex=0}var E=[];while(1){var w=l(u,p);if(null===w)break;if(E.push(w),!v)break;var O=String(w[0]);""===O&&(u.lastIndex=s(p,c(u.lastIndex),x))}for(var C="",S=0,P=0;P<E.length;P++){w=E[P];for(var j=String(w[0]),M=f(_(i(w.index),p.length),0),I=[],R=1;R<w.length;R++)I.push(b(w[R]));var k=w.groups;if(d){var D=[j].concat(I,M,p);void 0!==k&&D.push(k);var T=String(n.apply(void 0,D))}else T=y(j,p,M,I,k,n);M>=S&&(C+=p.slice(S,M)+T,S=M+j.length)}return C+p.slice(S)}];function y(t,r,n,o,c,i){var u=n+t.length,s=o.length,l=v;return void 0!==c&&(c=a(c),l=d),e.call(i,l,(function(e,a){var i;switch(a.charAt(0)){case"$":return"$";case"&":return t;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":i=c[a.slice(1,-1)];break;default:var l=+a;if(0===l)return e;if(l>s){var f=p(l/10);return 0===f?e:f<=s?void 0===o[f-1]?a.charAt(1):o[f-1]+a.charAt(1):e}i=o[l-1]}return void 0===i?"":i}))}}))},5530:function(t,e,r){"use strict";r.d(e,"a",(function(){return a}));r("a4d3"),r("4de4"),r("4160"),r("e439"),r("dbb4"),r("b64b"),r("159b");function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}},5692:function(t,e,r){var n=r("c430"),o=r("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,r){var n=r("d066"),o=r("241c"),a=r("7418"),c=r("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=a.f;return r?e.concat(r(t)):e}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,r){var n=r("1d80"),o=r("5899"),a="["+o+"]",c=RegExp("^"+a+a+"*"),i=RegExp(a+a+"*$"),u=function(t){return function(e){var r=String(n(e));return 1&t&&(r=r.replace(c,"")),2&t&&(r=r.replace(i,"")),r}};t.exports={start:u(1),end:u(2),trim:u(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"5e89":function(t,e,r){var n=r("861d"),o=Math.floor;t.exports=function(t){return!n(t)&&isFinite(t)&&o(t)===t}},6547:function(t,e,r){var n=r("a691"),o=r("1d80"),a=function(t){return function(e,r){var a,c,i=String(o(e)),u=n(r),s=i.length;return u<0||u>=s?t?"":void 0:(a=i.charCodeAt(u),a<55296||a>56319||u+1===s||(c=i.charCodeAt(u+1))<56320||c>57343?t?i.charAt(u):a:t?i.slice(u,u+2):c-56320+(a-55296<<10)+65536)}};t.exports={codeAt:a(!1),charAt:a(!0)}},"65f0":function(t,e,r){var n=r("861d"),o=r("e8b5"),a=r("b622"),c=a("species");t.exports=function(t,e){var r;return o(t)&&(r=t.constructor,"function"!=typeof r||r!==Array&&!o(r.prototype)?n(r)&&(r=r[c],null===r&&(r=void 0)):r=void 0),new(void 0===r?Array:r)(0===e?0:e)}},"69f3":function(t,e,r){var n,o,a,c=r("7f9a"),i=r("da84"),u=r("861d"),s=r("9112"),l=r("5135"),f=r("f772"),_=r("d012"),p=i.WeakMap,d=function(t){return a(t)?o(t):n(t,{})},v=function(t){return function(e){var r;if(!u(e)||(r=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}};if(c){var b=new p,h=b.get,g=b.has,m=b.set;n=function(t,e){return m.call(b,t,e),e},o=function(t){return h.call(b,t)||{}},a=function(t){return g.call(b,t)}}else{var y=f("state");_[y]=!0,n=function(t,e){return s(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},a=function(t){return l(t,y)}}t.exports={set:n,get:o,has:a,enforce:d,getterFor:v}},"6eeb":function(t,e,r){var n=r("da84"),o=r("9112"),a=r("5135"),c=r("ce4e"),i=r("8925"),u=r("69f3"),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,r,i){var u=!!i&&!!i.unsafe,s=!!i&&!!i.enumerable,_=!!i&&!!i.noTargetGet;"function"==typeof r&&("string"!=typeof e||a(r,"name")||o(r,"name",e),l(r).source=f.join("string"==typeof e?e:"")),t!==n?(u?!_&&t[e]&&(s=!0):delete t[e],s?t[e]=r:o(t,e,r)):s?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||i(this)}))},7156:function(t,e,r){var n=r("861d"),o=r("d2bb");t.exports=function(t,e,r){var a,c;return o&&"function"==typeof(a=e.constructor)&&a!==r&&n(c=a.prototype)&&c!==r.prototype&&o(t,c),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},"746f":function(t,e,r){var n=r("428f"),o=r("5135"),a=r("e538"),c=r("9bf2").f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});o(e,t)||c(e,t,{value:a.f(t)})}},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,r){var n=r("1d80");t.exports=function(t){return Object(n(t))}},"7c73":function(t,e,r){var n,o=r("825a"),a=r("37e8"),c=r("7839"),i=r("d012"),u=r("1be4"),s=r("cc12"),l=r("f772"),f=">",_="<",p="prototype",d="script",v=l("IE_PROTO"),b=function(){},h=function(t){return _+d+f+t+_+"/"+d+f},g=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=s("iframe"),r="java"+d+":";return e.style.display="none",u.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(h("document.F=Object")),t.close(),t.F},y=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}y=n?g(n):m();var t=c.length;while(t--)delete y[p][c[t]];return y()};i[v]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(b[p]=o(t),r=new b,b[p]=null,r[v]=t):r=y(),void 0===e?r:a(r,e)}},"7f9a":function(t,e,r){var n=r("da84"),o=r("8925"),a=n.WeakMap;t.exports="function"===typeof a&&/native code/.test(o(a))},"825a":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},"839b":function(t,e,r){var n=r("c2a9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("499e").default;o("5b635b17",n,!0,{sourceMap:!1,shadowMode:!1})},"83ab":function(t,e,r){var n=r("d039");t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,r){"use strict";var n=r("c04e"),o=r("9bf2"),a=r("5c6c");t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,a(0,r)):t[c]=r}},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,r){var n,o,a;(function(r,c){o=[],n=c,a="function"===typeof n?n.apply(e,o):n,void 0===a||(t.exports=a)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var r,n,o,a=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,i=a.exec(p.stack)||c.exec(p.stack),u=i&&i[1]||!1,s=i&&i[2]||!1,l=document.location.href.replace(document.location.hash,""),f=document.getElementsByTagName("script");u===l&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(s-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var _=0;_<f.length;_++){if("interactive"===f[_].readyState)return f[_];if(f[_].src===u)return f[_];if(u===l&&f[_].innerHTML&&f[_].innerHTML.trim()===o)return f[_]}return null}}return t}))},8925:function(t,e,r){var n=r("c6cd"),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return o.call(t)}),t.exports=n.inspectSource},"8aa5":function(t,e,r){"use strict";var n=r("6547").charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},"8ba4":function(t,e,r){var n=r("23e7"),o=r("5e89");n({target:"Number",stat:!0},{isInteger:o})},"90e3":function(t,e){var r=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+n).toString(36)}},9112:function(t,e,r){var n=r("83ab"),o=r("9bf2"),a=r("5c6c");t.exports=n?function(t,e,r){return o.f(t,e,a(1,r))}:function(t,e,r){return t[e]=r,t}},9129:function(t,e,r){var n=r("23e7");n({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},9263:function(t,e,r){"use strict";var n=r("ad6d"),o=r("9f7f"),a=RegExp.prototype.exec,c=String.prototype.replace,i=a,u=function(){var t=/a/,e=/b*/g;return a.call(t,"a"),a.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),s=o.UNSUPPORTED_Y||o.BROKEN_CARET,l=void 0!==/()??/.exec("")[1],f=u||l||s;f&&(i=function(t){var e,r,o,i,f=this,_=s&&f.sticky,p=n.call(f),d=f.source,v=0,b=t;return _&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),b=String(t).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==t[f.lastIndex-1])&&(d="(?: "+d+")",b=" "+b,v++),r=new RegExp("^(?:"+d+")",p)),l&&(r=new RegExp("^"+d+"$(?!\\s)",p)),u&&(e=f.lastIndex),o=a.call(_?r:f,b),_?o?(o.input=o.input.slice(v),o[0]=o[0].slice(v),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:u&&o&&(f.lastIndex=f.global?o.index+o[0].length:e),l&&o&&o.length>1&&c.call(o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o}),t.exports=i},"94ca":function(t,e,r){var n=r("d039"),o=/#|\.prototype\./,a=function(t,e){var r=i[c(t)];return r==s||r!=u&&("function"==typeof e?n(e):!!e)},c=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},i=a.data={},u=a.NATIVE="N",s=a.POLYFILL="P";t.exports=a},"9bf2":function(t,e,r){var n=r("83ab"),o=r("0cfb"),a=r("825a"),c=r("c04e"),i=Object.defineProperty;e.f=n?i:function(t,e,r){if(a(t),e=c(e,!0),a(r),o)try{return i(t,e,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},"9f1a":function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("c975"),core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_index_of__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("13d5"),core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_array_reduce__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("fb6a"),core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_array_slice__WEBPACK_IMPORTED_MODULE_2__),core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("b0c0"),core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_3___default=__webpack_require__.n(core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_3__),core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("a9e3"),core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(core_js_modules_es_number_constructor__WEBPACK_IMPORTED_MODULE_4__),core_js_modules_es_number_is_integer__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("8ba4"),core_js_modules_es_number_is_integer__WEBPACK_IMPORTED_MODULE_5___default=__webpack_require__.n(core_js_modules_es_number_is_integer__WEBPACK_IMPORTED_MODULE_5__),core_js_modules_es_number_is_nan__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("9129"),core_js_modules_es_number_is_nan__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(core_js_modules_es_number_is_nan__WEBPACK_IMPORTED_MODULE_6__),core_js_modules_es_number_parse_int__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("25eb"),core_js_modules_es_number_parse_int__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(core_js_modules_es_number_parse_int__WEBPACK_IMPORTED_MODULE_7__),core_js_modules_es_number_to_fixed__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("b680"),core_js_modules_es_number_to_fixed__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(core_js_modules_es_number_to_fixed__WEBPACK_IMPORTED_MODULE_8__),core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__("d3b7"),core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(core_js_modules_es_object_to_string__WEBPACK_IMPORTED_MODULE_9__),core_js_modules_es_regexp_exec__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__("ac1f"),core_js_modules_es_regexp_exec__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(core_js_modules_es_regexp_exec__WEBPACK_IMPORTED_MODULE_10__),core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__("25f0"),core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(core_js_modules_es_regexp_to_string__WEBPACK_IMPORTED_MODULE_11__),core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__("466d"),core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(core_js_modules_es_string_match__WEBPACK_IMPORTED_MODULE_12__),core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__("5319"),core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(core_js_modules_es_string_replace__WEBPACK_IMPORTED_MODULE_13__),core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__("1276"),core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(core_js_modules_es_string_split__WEBPACK_IMPORTED_MODULE_14__),_home_ivan_WebstormProjects_vue_input_calculator_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__("5530");__webpack_exports__["a"]={name:"CalculatorInterface",props:["value","enableKeyboard","zIndex","textColor","triggerWrapperClass","bgColor","eventButtonsBgColor","numberButtonsBgColor","actionButtonsBgColor","actionSuccessButtonBgColor","isHistoryLogs","autoApply","persistent","floatResultFixedCount","show"],data:function(){return{showStyles:!1,isResult:!1,lastEventValueType:null,expresion:"0",logs:[]}},methods:{keyboardHandler:function(t){var e=t.key.match(/[0-9%/*\-+=.,]|Backspace|Enter/),r=e?e.input:null;if(r){if(","===r&&(r="."),"Enter"===r&&(r="="),"Backspace"===r)return this.deleteLastChar();this.prepareInput(r)}},touchHandler:function(t){this.prepareInput(t)},prepareInput:function(t){var e=Number.isNaN(Number.parseInt(t)),r=this.expresion.slice(-1),n=Number.isNaN(Number.parseInt(r));if(console.log({value:t,expresion:this.expresion,inputIsAction:e,lastSimbolIsAction:n,lastSimbol:r}),"0"===this.expresion){if("0"===t)return;if(!e)return this.expresion=t}switch(!0){case e&&n&&"."!==t&&"="!==t:console.error(1),this.expresion=this.expresion.slice(0,-1)+t;break;case e&&"="===t:console.error(2,this.isResult),n&&(console.error(21),this.expresion=this.expresion.slice(0,-1)),this.isResult?this.applyResult():this.calculate();break;case e&&"."===t:if(console.error(3),Array.isArray(this.expresion.split(/[/*\-+]/))&&(this.expresion.split(/[/*\-+]/).slice(-1)[0].indexOf(".")>-1||n))break;this.isResult=!1,this.expresion+=t;break;default:this.isResult=!1,this.expresion+=t,console.error("prepareInput",t);break}},calculate:function calculate(){var _this=this,log=this.expresion,regex=/[/*\-+]/g,actions=this.expresion.match(regex);if(!actions)return this.isResult=!0;var numbers=this.expresion.split(regex);this.expresion=numbers.reduce((function(t,e,r){return e?t=t+parseFloat(e)+(actions[r]||""):t+=actions[r]||"",t}),""),console.error({actions:actions,numbers:numbers,valideExpresion:this.expresion});try{var result=eval(this.expresion);console.warn({result:result}),this.expresion=Number.isInteger(result)?result.toString():parseFloat(result.toFixed(this.floatResultFixedCount)).toString(),this.isResult=!0,this.logs.push(log+"=".concat(this.expresion))}catch(_unused){alert("Error eval: "+this.expresion)}this.$nextTick((function(){_this.$refs.historyLog&&(_this.$refs.historyLog.scrollTop=_this.$refs.historyLog.scrollHeight)})),this.autoApply&&this.applyResult()},applyResult:function(){var t=Number.isNaN(Number.parseInt(this.expresion));this.$emit("input",t?"0":this.expresion),this.hideInterface()},hideInterface:function(){var t=this;this.$emit("hide"),setTimeout((function(){t.showStyles=!1}),500)},clear:function(){this.expresion="0",this.isResult=!1},deleteLastChar:function(){console.log("deleteLastChar ",this.expresion),"0"!==this.expresion&&(this.expresion=this.expresion.slice(0,-1),this.expresion||(this.expresion="0"))},logToValue:function(t){t&&(this.expresion=t.replace(/=.*/,""),this.isResult=!1)}},computed:{styleVars:function(){return Object(_home_ivan_WebstormProjects_vue_input_calculator_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_15__["a"])({"--vue-input-calculator-text-color":this.textColor,"--vue-input-calculator-bg-color":this.bgColor,"--vue-input-calculator-event-btn-bg-color":this.eventButtonsBgColor,"--vue-input-calculator-number-btn-bg-color":this.numberButtonsBgColor,"--vue-input-calculator-action-btn-bg-color":this.actionButtonsBgColor,"--vue-input-calculator-action-success-btn-bg-color":this.actionSuccessButtonBgColor},this.showStyles&&{display:"flex",flexDirection:"column",justifyContent:"flex-end",alignItems:"center",height:"100%",width:"100%",position:"absolute",top:0,left:0,zIndex:this.zIndex})}},watch:{show:function(t){t?(document.body.style.overflow="hidden",this.expresion=this.value.toString(),this.showStyles=!0,this.enableKeyboard&&document.addEventListener("keydown",this.keyboardHandler)):(document.body.style.overflow="initial",this.enableKeyboard&&document.removeEventListener("keydown",this.keyboardHandler))}},mounted:function(){console.log(this.$options.name)}}},"9f7f":function(t,e,r){"use strict";var n=r("d039");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=n((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a4d3:function(t,e,r){"use strict";var n=r("23e7"),o=r("da84"),a=r("d066"),c=r("c430"),i=r("83ab"),u=r("4930"),s=r("fdbf"),l=r("d039"),f=r("5135"),_=r("e8b5"),p=r("861d"),d=r("825a"),v=r("7b0b"),b=r("fc6a"),h=r("c04e"),g=r("5c6c"),m=r("7c73"),y=r("df75"),x=r("241c"),E=r("057f"),w=r("7418"),O=r("06cf"),C=r("9bf2"),S=r("d1e7"),P=r("9112"),j=r("6eeb"),M=r("5692"),I=r("f772"),R=r("d012"),k=r("90e3"),D=r("b622"),T=r("e538"),A=r("746f"),L=r("d44e"),B=r("69f3"),N=r("b727").forEach,U=I("hidden"),W="Symbol",K="prototype",$=D("toPrimitive"),q=B.set,F=B.getterFor(W),H=Object[K],V=o.Symbol,z=a("JSON","stringify"),G=O.f,Y=C.f,X=E.f,J=S.f,Q=M("symbols"),Z=M("op-symbols"),tt=M("string-to-symbol-registry"),et=M("symbol-to-string-registry"),rt=M("wks"),nt=o.QObject,ot=!nt||!nt[K]||!nt[K].findChild,at=i&&l((function(){return 7!=m(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a}))?function(t,e,r){var n=G(H,e);n&&delete H[e],Y(t,e,r),n&&t!==H&&Y(H,e,n)}:Y,ct=function(t,e){var r=Q[t]=m(V[K]);return q(r,{type:W,tag:t,description:e}),i||(r.description=e),r},it=s?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},ut=function(t,e,r){t===H&&ut(Z,e,r),d(t);var n=h(e,!0);return d(r),f(Q,n)?(r.enumerable?(f(t,U)&&t[U][n]&&(t[U][n]=!1),r=m(r,{enumerable:g(0,!1)})):(f(t,U)||Y(t,U,g(1,{})),t[U][n]=!0),at(t,n,r)):Y(t,n,r)},st=function(t,e){d(t);var r=b(e),n=y(r).concat(dt(r));return N(n,(function(e){i&&!ft.call(r,e)||ut(t,e,r[e])})),t},lt=function(t,e){return void 0===e?m(t):st(m(t),e)},ft=function(t){var e=h(t,!0),r=J.call(this,e);return!(this===H&&f(Q,e)&&!f(Z,e))&&(!(r||!f(this,e)||!f(Q,e)||f(this,U)&&this[U][e])||r)},_t=function(t,e){var r=b(t),n=h(e,!0);if(r!==H||!f(Q,n)||f(Z,n)){var o=G(r,n);return!o||!f(Q,n)||f(r,U)&&r[U][n]||(o.enumerable=!0),o}},pt=function(t){var e=X(b(t)),r=[];return N(e,(function(t){f(Q,t)||f(R,t)||r.push(t)})),r},dt=function(t){var e=t===H,r=X(e?Z:b(t)),n=[];return N(r,(function(t){!f(Q,t)||e&&!f(H,t)||n.push(Q[t])})),n};if(u||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=k(t),r=function(t){this===H&&r.call(Z,t),f(this,U)&&f(this[U],e)&&(this[U][e]=!1),at(this,e,g(1,t))};return i&&ot&&at(H,e,{configurable:!0,set:r}),ct(e,t)},j(V[K],"toString",(function(){return F(this).tag})),j(V,"withoutSetter",(function(t){return ct(k(t),t)})),S.f=ft,C.f=ut,O.f=_t,x.f=E.f=pt,w.f=dt,T.f=function(t){return ct(D(t),t)},i&&(Y(V[K],"description",{configurable:!0,get:function(){return F(this).description}}),c||j(H,"propertyIsEnumerable",ft,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),N(y(rt),(function(t){A(t)})),n({target:W,stat:!0,forced:!u},{for:function(t){var e=String(t);if(f(tt,e))return tt[e];var r=V(e);return tt[e]=r,et[r]=e,r},keyFor:function(t){if(!it(t))throw TypeError(t+" is not a symbol");if(f(et,t))return et[t]},useSetter:function(){ot=!0},useSimple:function(){ot=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!i},{create:lt,defineProperty:ut,defineProperties:st,getOwnPropertyDescriptor:_t}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),n({target:"Object",stat:!0,forced:l((function(){w.f(1)}))},{getOwnPropertySymbols:function(t){return w.f(v(t))}}),z){var vt=!u||l((function(){var t=V();return"[null]"!=z([t])||"{}"!=z({a:t})||"{}"!=z(Object(t))}));n({target:"JSON",stat:!0,forced:vt},{stringify:function(t,e,r){var n,o=[t],a=1;while(arguments.length>a)o.push(arguments[a++]);if(n=e,(p(e)||void 0!==t)&&!it(t))return _(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!it(e))return e}),o[1]=e,z.apply(null,o)}})}V[K][$]||P(V[K],$,V[K].valueOf),L(V,W),R[U]=!0},a640:function(t,e,r){"use strict";var n=r("d039");t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var r=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:r)(t)}},a9e3:function(t,e,r){"use strict";var n=r("83ab"),o=r("da84"),a=r("94ca"),c=r("6eeb"),i=r("5135"),u=r("c6b6"),s=r("7156"),l=r("c04e"),f=r("d039"),_=r("7c73"),p=r("241c").f,d=r("06cf").f,v=r("9bf2").f,b=r("58a8").trim,h="Number",g=o[h],m=g.prototype,y=u(_(m))==h,x=function(t){var e,r,n,o,a,c,i,u,s=l(t,!1);if("string"==typeof s&&s.length>2)if(s=b(s),e=s.charCodeAt(0),43===e||45===e){if(r=s.charCodeAt(2),88===r||120===r)return NaN}else if(48===e){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=s.slice(2),c=a.length,i=0;i<c;i++)if(u=a.charCodeAt(i),u<48||u>o)return NaN;return parseInt(a,n)}return+s};if(a(h,!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var E,w=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof w&&(y?f((function(){m.valueOf.call(r)})):u(r)!=h)?s(new g(x(e)),r,w):x(e)},O=n?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),C=0;O.length>C;C++)i(g,E=O[C])&&!i(w,E)&&v(w,E,d(g,E));w.prototype=m,m.constructor=w,c(o,h,w)}},ac1f:function(t,e,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,r){"use strict";var n=r("825a");t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},ae40:function(t,e,r){var n=r("83ab"),o=r("d039"),a=r("5135"),c=Object.defineProperty,i={},u=function(t){throw t};t.exports=function(t,e){if(a(i,t))return i[t];e||(e={});var r=[][t],s=!!a(e,"ACCESSORS")&&e.ACCESSORS,l=a(e,0)?e[0]:u,f=a(e,1)?e[1]:void 0;return i[t]=!!r&&!o((function(){if(s&&!n)return!0;var t={length:-1};s?c(t,1,{enumerable:!0,get:u}):t[1]=1,r.call(t,l,f)}))}},b041:function(t,e,r){"use strict";var n=r("00ee"),o=r("f5df");t.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},b0c0:function(t,e,r){var n=r("83ab"),o=r("9bf2").f,a=Function.prototype,c=a.toString,i=/^\s*function ([^ (]*)/,u="name";n&&!(u in a)&&o(a,u,{configurable:!0,get:function(){try{return c.call(this).match(i)[1]}catch(t){return""}}})},b622:function(t,e,r){var n=r("da84"),o=r("5692"),a=r("5135"),c=r("90e3"),i=r("4930"),u=r("fdbf"),s=o("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||c;t.exports=function(t){return a(s,t)||(i&&a(l,t)?s[t]=l[t]:s[t]=f("Symbol."+t)),s[t]}},b64b:function(t,e,r){var n=r("23e7"),o=r("7b0b"),a=r("df75"),c=r("d039"),i=c((function(){a(1)}));n({target:"Object",stat:!0,forced:i},{keys:function(t){return a(o(t))}})},b680:function(t,e,r){"use strict";var n=r("23e7"),o=r("a691"),a=r("408a"),c=r("1148"),i=r("d039"),u=1..toFixed,s=Math.floor,l=function(t,e,r){return 0===e?r:e%2===1?l(t,e-1,r*t):l(t*t,e/2,r)},f=function(t){var e=0,r=t;while(r>=4096)e+=12,r/=4096;while(r>=2)e+=1,r/=2;return e},_=u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!i((function(){u.call({})}));n({target:"Number",proto:!0,forced:_},{toFixed:function(t){var e,r,n,i,u=a(this),_=o(t),p=[0,0,0,0,0,0],d="",v="0",b=function(t,e){var r=-1,n=e;while(++r<6)n+=t*p[r],p[r]=n%1e7,n=s(n/1e7)},h=function(t){var e=6,r=0;while(--e>=0)r+=p[e],p[e]=s(r/t),r=r%t*1e7},g=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==p[t]){var r=String(p[t]);e=""===e?r:e+c.call("0",7-r.length)+r}return e};if(_<0||_>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(e=f(u*l(2,69,1))-69,r=e<0?u*l(2,-e,1):u/l(2,e,1),r*=4503599627370496,e=52-e,e>0){b(0,r),n=_;while(n>=7)b(1e7,0),n-=7;b(l(10,n,1),0),n=e-1;while(n>=23)h(1<<23),n-=23;h(1<<n),b(1,1),h(2),v=g()}else b(0,r),b(1<<-e,0),v=g()+c.call("0",_);return _>0?(i=v.length,v=d+(i<=_?"0."+c.call("0",_-i)+v:v.slice(0,i-_)+"."+v.slice(i-_))):v=d+v,v}})},b727:function(t,e,r){var n=r("0366"),o=r("44ad"),a=r("7b0b"),c=r("50c4"),i=r("65f0"),u=[].push,s=function(t){var e=1==t,r=2==t,s=3==t,l=4==t,f=6==t,_=5==t||f;return function(p,d,v,b){for(var h,g,m=a(p),y=o(m),x=n(d,v,3),E=c(y.length),w=0,O=b||i,C=e?O(p,E):r?O(p,0):void 0;E>w;w++)if((_||w in y)&&(h=y[w],g=x(h,w,m),t))if(e)C[w]=g;else if(g)switch(t){case 3:return!0;case 5:return h;case 6:return w;case 2:u.call(C,h)}else if(l)return!1;return f?-1:s||l?l:C}};t.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},c04e:function(t,e,r){var n=r("861d");t.exports=function(t,e){if(!n(t))return t;var r,o;if(e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;if("function"==typeof(r=t.valueOf)&&!n(o=r.call(t)))return o;if(!e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c20d:function(t,e,r){var n=r("da84"),o=r("58a8").trim,a=r("5899"),c=n.parseInt,i=/^[+-]?0[Xx]/,u=8!==c(a+"08")||22!==c(a+"0x16");t.exports=u?function(t,e){var r=o(String(t));return c(r,e>>>0||(i.test(r)?16:10))}:c},c2a9:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,"*[data-v-71e01aa4],[data-v-71e01aa4]:after,[data-v-71e01aa4]:before{box-sizing:border-box}.vue-input-calculator[data-v-71e01aa4]{z-index:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vue-input-calculator .calc-wrapper[data-v-71e01aa4]{padding:0;position:fixed;bottom:0;z-index:1}.vue-input-calculator .calc-wrapper .calculator[data-v-71e01aa4]{width:100%;display:flex;margin:0 auto;flex-direction:column;max-width:720px;min-width:320px;background-color:var(--vue-input-calculator-bg-color);box-shadow:0 0 0 1px var(--vue-input-calculator-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-logs[data-v-71e01aa4]{padding:0 .8rem 0 .8rem;max-height:100px;display:flex;position:relative;overflow:auto;align-items:flex-end;flex-direction:column;background:var(--vue-input-calculator-event-btn-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-logs .header[data-v-71e01aa4]{color:var(--vue-input-calculator-text-color);align-self:flex-start;position:-webkit-sticky;position:sticky;top:0;left:0;padding-top:5px}.vue-input-calculator .calc-wrapper .calculator .calculator-logs span[data-v-71e01aa4]{color:var(--vue-input-calculator-text-color);opacity:.75;display:block;font-size:1rem;text-align:right;padding:.4rem 0;line-height:1;font-weight:lighter}.vue-input-calculator .calc-wrapper .calculator .calculator-input[data-v-71e01aa4]{color:var(--vue-input-calculator-text-color);width:100%;border:none;padding:.8rem;display:block;font-size:2.4rem;background:none;text-align:right;font-weight:lighter}.vue-input-calculator .calc-wrapper .calculator .calculator-input[data-v-71e01aa4]:active,.vue-input-calculator .calc-wrapper .calculator .calculator-input[data-v-71e01aa4]:focus{outline:none}.vue-input-calculator .calc-wrapper .calculator .calculator-row[data-v-71e01aa4]{display:flex;padding:0;justify-content:space-around}.vue-input-calculator .calc-wrapper .calculator .calculator-row .calculator-col[data-v-71e01aa4]{flex:1;box-shadow:0 0 0 1px var(--vue-input-calculator-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-row .calculator-col.wide[data-v-71e01aa4]{flex:2}.vue-input-calculator .calc-wrapper .calculator .calculator-btn[data-v-71e01aa4]{width:100%;color:var(--vue-input-calculator-text-color);border:none;cursor:pointer;padding:.3rem;outline:none;font-size:2rem;transition:all .3s ease-in-out;font-weight:200;justify-content:center;background-color:var(--vue-input-calculator-number-btn-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn.success[data-v-71e01aa4]{background-color:var(--vue-input-calculator-action-success-btn-bg-color);color:var(--vue-input-calculator-text-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn.accent[data-v-71e01aa4]{background-color:var(--vue-input-calculator-action-btn-bg-color);color:var(--vue-input-calculator-text-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn.gray[data-v-71e01aa4]{background-color:var(--vue-input-calculator-event-btn-bg-color)}.vue-input-calculator .calc-wrapper .calculator .calculator-btn[data-v-71e01aa4]:active{background-color:var(--vue-input-calculator-bg-color)}.vue-input-calculator .backdrop[data-v-71e01aa4]{background-color:rgba(0,0,0,.5);width:100%;height:100%;z-index:0}.slide-enter-active[data-v-71e01aa4]{-webkit-animation:slide-in-data-v-71e01aa4 .5s;animation:slide-in-data-v-71e01aa4 .5s}.slide-leave-active[data-v-71e01aa4]{animation:slide-in-data-v-71e01aa4 .3s reverse}@-webkit-keyframes slide-in-data-v-71e01aa4{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes slide-in-data-v-71e01aa4{0%{transform:translateY(100%)}to{transform:translateY(0)}}.opacity-enter-active[data-v-71e01aa4]{-webkit-animation:opacity-in-data-v-71e01aa4 .5s;animation:opacity-in-data-v-71e01aa4 .5s}.opacity-leave-active[data-v-71e01aa4]{animation:opacity-in-data-v-71e01aa4 .3s reverse}@-webkit-keyframes opacity-in-data-v-71e01aa4{to{opacity:1}0%{opacity:0}}@keyframes opacity-in-data-v-71e01aa4{to{opacity:1}0%{opacity:0}}",""]),t.exports=e},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},c6cd:function(t,e,r){var n=r("da84"),o=r("ce4e"),a="__core-js_shared__",c=n[a]||o(a,{});t.exports=c},c8ba:function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"===typeof window&&(r=window)}t.exports=r},c975:function(t,e,r){"use strict";var n=r("23e7"),o=r("4d64").indexOf,a=r("a640"),c=r("ae40"),i=[].indexOf,u=!!i&&1/[1].indexOf(1,-0)<0,s=a("indexOf"),l=c("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(t){return u?i.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},ca84:function(t,e,r){var n=r("5135"),o=r("fc6a"),a=r("4d64").indexOf,c=r("d012");t.exports=function(t,e){var r,i=o(t),u=0,s=[];for(r in i)!n(c,r)&&n(i,r)&&s.push(r);while(e.length>u)n(i,r=e[u++])&&(~a(s,r)||s.push(r));return s}},cc12:function(t,e,r){var n=r("da84"),o=r("861d"),a=n.document,c=o(a)&&o(a.createElement);t.exports=function(t){return c?a.createElement(t):{}}},ce4e:function(t,e,r){var n=r("da84"),o=r("9112");t.exports=function(t,e){try{o(n,t,e)}catch(r){n[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,r){var n=r("428f"),o=r("da84"),a=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?a(n[t])||a(o[t]):n[t]&&n[t][e]||o[t]&&o[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!n.call({1:2},1);e.f=a?function(t){var e=o(this,t);return!!e&&e.enumerable}:n},d2bb:function(t,e,r){var n=r("825a"),o=r("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(r,[]),e=r instanceof Array}catch(a){}return function(r,a){return n(r),o(a),e?t.call(r,a):r.__proto__=a,r}}():void 0)},d3b7:function(t,e,r){var n=r("00ee"),o=r("6eeb"),a=r("b041");n||o(Object.prototype,"toString",a,{unsafe:!0})},d44e:function(t,e,r){var n=r("9bf2").f,o=r("5135"),a=r("b622"),c=a("toStringTag");t.exports=function(t,e,r){t&&!o(t=r?t:t.prototype,c)&&n(t,c,{configurable:!0,value:e})}},d58f:function(t,e,r){var n=r("1c0b"),o=r("7b0b"),a=r("44ad"),c=r("50c4"),i=function(t){return function(e,r,i,u){n(r);var s=o(e),l=a(s),f=c(s.length),_=t?f-1:0,p=t?-1:1;if(i<2)while(1){if(_ in l){u=l[_],_+=p;break}if(_+=p,t?_<0:f<=_)throw TypeError("Reduce of empty array with no initial value")}for(;t?_>=0:f>_;_+=p)_ in l&&(u=r(u,l[_],_,s));return u}};t.exports={left:i(!1),right:i(!0)}},d784:function(t,e,r){"use strict";r("ac1f");var n=r("6eeb"),o=r("d039"),a=r("b622"),c=r("9263"),i=r("9112"),u=a("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=function(){return"$0"==="a".replace(/./,"$0")}(),f=a("replace"),_=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));t.exports=function(t,e,r,f){var d=a(t),v=!o((function(){var e={};return e[d]=function(){return 7},7!=""[t](e)})),b=v&&!o((function(){var e=!1,r=/a/;return"split"===t&&(r={},r.constructor={},r.constructor[u]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!v||!b||"replace"===t&&(!s||!l||_)||"split"===t&&!p){var h=/./[d],g=r(d,""[t],(function(t,e,r,n,o){return e.exec===c?v&&!o?{done:!0,value:h.call(e,r,n)}:{done:!0,value:t.call(r,e,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:_}),m=g[0],y=g[1];n(String.prototype,t,m),n(RegExp.prototype,d,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.call(t,this)})}f&&i(RegExp.prototype[d],"sham",!0)}},da84:function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("c8ba"))},dbb4:function(t,e,r){var n=r("23e7"),o=r("83ab"),a=r("56ef"),c=r("fc6a"),i=r("06cf"),u=r("8418");n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){var e,r,n=c(t),o=i.f,s=a(n),l={},f=0;while(s.length>f)r=o(n,e=s[f++]),void 0!==r&&u(l,e,r);return l}})},df75:function(t,e,r){var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},e439:function(t,e,r){var n=r("23e7"),o=r("d039"),a=r("fc6a"),c=r("06cf").f,i=r("83ab"),u=o((function(){c(1)})),s=!i||u;n({target:"Object",stat:!0,forced:s,sham:!i},{getOwnPropertyDescriptor:function(t,e){return c(a(t),e)}})},e538:function(t,e,r){var n=r("b622");e.f=n},e893:function(t,e,r){var n=r("5135"),o=r("56ef"),a=r("06cf"),c=r("9bf2");t.exports=function(t,e){for(var r=o(e),i=c.f,u=a.f,s=0;s<r.length;s++){var l=r[s];n(t,l)||i(t,l,u(e,l))}}},e8b5:function(t,e,r){var n=r("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},e9ee:function(t,e,r){"use strict";var n=r("839b"),o=r.n(n);o.a},f5df:function(t,e,r){var n=r("00ee"),o=r("c6b6"),a=r("b622"),c=a("toStringTag"),i="Arguments"==o(function(){return arguments}()),u=function(t,e){try{return t[e]}catch(r){}};t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=u(e=Object(t),c))?r:i?o(e):"Object"==(n=o(e))&&"function"==typeof e.callee?"Arguments":n}},f772:function(t,e,r){var n=r("5692"),o=r("90e3"),a=n("keys");t.exports=function(t){return a[t]||(a[t]=o(t))}},fb15:function(t,e,r){"use strict";if(r.r(e),"undefined"!==typeof window){var n=window.document.currentScript,o=r("8875");n=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var a=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(r.p=a[1])}var c=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticStyle:{all:"unset"}},[r("div",{class:t.triggerWrapperClass,on:{click:function(e){t.show=!t.show}}},[t._t("default",[t._v("Trigger")])],2),r("CalculatorInterface",t._b({attrs:{show:t.show},on:{input:function(e){return t.$emit("input",e)},hide:function(e){t.show=!1}}},"CalculatorInterface",t.$props,!1))],1)},i=[],u=(r("b0c0"),r("a9e3"),function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"vue-input-calculator",style:t.styleVars},[r("transition",{attrs:{name:"slide"}},[t.show?r("div",{staticClass:"calc-wrapper"},[r("div",{staticClass:"calculator"},[t.isHistoryLogs?r("div",{ref:"historyLog",staticClass:"calculator-logs"},t._l(t.logs,(function(e,n){return r("span",{key:n,on:{click:function(r){return t.logToValue(e)}}},[t._v(t._s(e))])})),0):t._e(),r("input",{directives:[{name:"model",rawName:"v-model",value:t.expresion,expression:"expresion"}],staticClass:"calculator-input",attrs:{readonly:"",type:"text"},domProps:{value:t.expresion},on:{input:function(e){e.target.composing||(t.expresion=e.target.value)}}}),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn gray action",on:{click:function(e){return t.clear()}}},[t._v("c")])]),r("div",{staticClass:"calculator-col wide"},[r("button",{staticClass:"calculator-btn gray action",on:{click:t.deleteLastChar}},[t._v("›")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("/")}}},[t._v("/")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("7")}}},[t._v("7")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("8")}}},[t._v("8")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("9")}}},[t._v("9")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("*")}}},[t._v("*")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("4")}}},[t._v("4")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("5")}}},[t._v("5")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("6")}}},[t._v("6")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("-")}}},[t._v("-")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("1")}}},[t._v("1")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("2")}}},[t._v("2")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("3")}}},[t._v("3")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("+")}}},[t._v("+")])])]),r("div",{staticClass:"calculator-row"},[r("div",{staticClass:"calculator-col wide"},[r("button",{staticClass:"calculator-btn",on:{click:function(e){return t.touchHandler("0")}}},[t._v("0")])]),r("div",{staticClass:"calculator-col"},[r("button",{staticClass:"calculator-btn action",on:{click:function(e){return t.touchHandler(".")}}},[t._v(".")])]),r("div",{staticClass:"calculator-col"},[t.isResult?r("button",{staticClass:"calculator-btn success action",on:{click:t.applyResult}},[t._v("ок ")]):r("button",{staticClass:"calculator-btn accent action",on:{click:function(e){return t.touchHandler("=")}}},[t._v("=")])])])])]):t._e()]),r("transition",{attrs:{name:"opacity"}},[t.show?r("div",{staticClass:"backdrop",on:{click:function(e){!t.persistent&&t.hideInterface()}}}):t._e()])],1)}),s=[],l=r("9f1a"),f=l["a"];r("e9ee");function _(t,e,r,n,o,a,c,i){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=r,s._compiled=!0),n&&(s.functional=!0),a&&(s._scopeId="data-v-"+a),c?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},s._ssrRegister=u):o&&(u=i?function(){o.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var l=s.render;s.render=function(t,e){return u.call(e),l(t,e)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:s}}var p=_(f,u,s,!1,null,"71e01aa4",null),d=p.exports,v={name:"VueInputCalculator",components:{CalculatorInterface:d},props:{value:{type:[Number,String],required:!0},zIndex:{type:[Number,String],default:9999},floatResultFixedCount:{type:Number,default:3},textColor:{type:String,default:"#ffffff"},triggerWrapperClass:{type:String,default:""},bgColor:{type:String,default:"#2f2f31"},eventButtonsBgColor:{type:String,default:"#424345"},numberButtonsBgColor:{type:String,default:"#616163"},actionButtonsBgColor:{type:String,default:"#f49e3f"},actionSuccessButtonBgColor:{type:String,default:"#3ff451"},isHistoryLogs:{type:Boolean,default:!0},autoApply:{type:Boolean,default:!1},persistent:{type:Boolean,default:!1},enableKeyboard:{type:Boolean,default:!1}},data:function(){return{show:!1}},mounted:function(){console.log(this.$options.name)}},b=v,h=_(b,c,i,!1,null,null,null),g=h.exports,m=g;e["default"]=m},fb6a:function(t,e,r){"use strict";var n=r("23e7"),o=r("861d"),a=r("e8b5"),c=r("23cb"),i=r("50c4"),u=r("fc6a"),s=r("8418"),l=r("b622"),f=r("1dde"),_=r("ae40"),p=f("slice"),d=_("slice",{ACCESSORS:!0,0:0,1:2}),v=l("species"),b=[].slice,h=Math.max;n({target:"Array",proto:!0,forced:!p||!d},{slice:function(t,e){var r,n,l,f=u(this),_=i(f.length),p=c(t,_),d=c(void 0===e?_:e,_);if(a(f)&&(r=f.constructor,"function"!=typeof r||r!==Array&&!a(r.prototype)?o(r)&&(r=r[v],null===r&&(r=void 0)):r=void 0,r===Array||void 0===r))return b.call(f,p,d);for(n=new(void 0===r?Array:r)(h(d-p,0)),l=0;p<d;p++,l++)p in f&&s(n,l,f[p]);return n.length=l,n}})},fc6a:function(t,e,r){var n=r("44ad"),o=r("1d80");t.exports=function(t){return n(o(t))}},fdbc:function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(t,e,r){var n=r("4930");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})}));
//# sourceMappingURL=vue-input-calculator.umd.min.js.map
{
"name": "vue-input-calculator",
"version": "0.3.8",
"version": "0.3.9",
"description": "Calculator input component. Mobile friendly.",

@@ -5,0 +5,0 @@ "homepage": "https://lih1989.github.io/vue-input-calculator/",

@@ -1,2 +0,2 @@

# vue-input-calculator
# vue-input-calculator - Warning Dev Version

@@ -3,0 +3,0 @@ [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)

import VueInputCalculator from './components/VueInputCalculator'
export default {
"VueInputCalculator": VueInputCalculator
}
export default VueInputCalculator

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc