@findsoft/vue-fluctuation
Version:
a simple vue-component for the fluctuation of data
2 lines • 32.7 kB
JavaScript
(function(t,n){"object"===typeof exports&&"object"===typeof module?module.exports=n():"function"===typeof define&&define.amd?define([],n):"object"===typeof exports?exports["fluctuation"]=n():t["fluctuation"]=n()})("undefined"!==typeof self?self:this,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="fb15")}({"00ee":function(t,n,e){var r=e("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0366":function(t,n,e){var r=e("1c0b");t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},"06cf":function(t,n,e){var r=e("83ab"),i=e("d1e7"),o=e("5c6c"),c=e("fc6a"),a=e("c04e"),u=e("5135"),f=e("0cfb"),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=c(t),n=a(n,!0),f)try{return s(t,n)}catch(e){}if(u(t,n))return o(!i.f.call(t,n),t[n])}},"0cfb":function(t,n,e){var r=e("83ab"),i=e("d039"),o=e("cc12");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},1276:function(t,n,e){"use strict";var r=e("d784"),i=e("44e7"),o=e("825a"),c=e("1d80"),a=e("4840"),u=e("8aa5"),f=e("50c4"),s=e("14c3"),l=e("9263"),d=e("d039"),p=[].push,v=Math.min,h=4294967295,g=!d((function(){return!RegExp(h,"y")}));r("split",2,(function(t,n,e){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var r=String(c(this)),o=void 0===e?h:e>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return n.call(r,t,o);var a,u,f,s=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),v=0,g=new RegExp(t.source,d+"g");while(a=l.call(g,r)){if(u=g.lastIndex,u>v&&(s.push(r.slice(v,a.index)),a.length>1&&a.index<r.length&&p.apply(s,a.slice(1)),f=a[0].length,v=u,s.length>=o))break;g.lastIndex===a.index&&g.lastIndex++}return v===r.length?!f&&g.test("")||s.push(""):s.push(r.slice(v)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var i=c(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,e):r.call(String(i),n,e)},function(t,i){var c=e(r,t,this,i,r!==n);if(c.done)return c.value;var l=o(t),d=String(this),p=a(l,RegExp),b=l.unicode,x=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),y=new p(g?l:"^(?:"+l.source+")",x),m=void 0===i?h:i>>>0;if(0===m)return[];if(0===d.length)return null===s(y,d)?[d]:[];var S=0,E=0,_=[];while(E<d.length){y.lastIndex=g?E:0;var w,O=s(y,g?d:d.slice(E));if(null===O||(w=v(f(y.lastIndex+(g?0:E)),d.length))===S)E=u(d,E,b);else{if(_.push(d.slice(S,E)),_.length===m)return _;for(var T=1;T<=O.length-1;T++)if(_.push(O[T]),_.length===m)return _;E=S=w}}return _.push(d.slice(S)),_}]}),!g)},"14c3":function(t,n,e){var r=e("c6b6"),i=e("9263");t.exports=function(t,n){var e=t.exec;if("function"===typeof e){var o=e.call(t,n);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},"1be4":function(t,n,e){var r=e("d066");t.exports=r("document","documentElement")},"1c0b":function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1d80":function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"1dde":function(t,n,e){var r=e("d039"),i=e("b622"),o=e("2d00"),c=i("species");t.exports=function(t){return o>=51||!r((function(){var n=[],e=n.constructor={};return e[c]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},"23cb":function(t,n,e){var r=e("a691"),i=Math.max,o=Math.min;t.exports=function(t,n){var e=r(t);return e<0?i(e+n,0):o(e,n)}},"23e7":function(t,n,e){var r=e("da84"),i=e("06cf").f,o=e("9112"),c=e("6eeb"),a=e("ce4e"),u=e("e893"),f=e("94ca");t.exports=function(t,n){var e,s,l,d,p,v,h=t.target,g=t.global,b=t.stat;if(s=g?r:b?r[h]||a(h,{}):(r[h]||{}).prototype,s)for(l in n){if(p=n[l],t.noTargetGet?(v=i(s,l),d=v&&v.value):d=s[l],e=f(g?l:h+(b?".":"#")+l,t.forced),!e&&void 0!==d){if(typeof p===typeof d)continue;u(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),c(s,l,p,t)}}},"241c":function(t,n,e){var r=e("ca84"),i=e("7839"),o=i.concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},"25f0":function(t,n,e){"use strict";var r=e("6eeb"),i=e("825a"),o=e("d039"),c=e("ad6d"),a="toString",u=RegExp.prototype,f=u[a],s=o((function(){return"/a/b"!=f.call({source:"a",flags:"b"})})),l=f.name!=a;(s||l)&&r(RegExp.prototype,a,(function(){var t=i(this),n=String(t.source),e=t.flags,r=String(void 0===e&&t instanceof RegExp&&!("flags"in u)?c.call(t):e);return"/"+n+"/"+r}),{unsafe:!0})},"2d00":function(t,n,e){var r,i,o=e("da84"),c=e("342f"),a=o.process,u=a&&a.versions,f=u&&u.v8;f?(r=f.split("."),i=r[0]+r[1]):c&&(r=c.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"342f":function(t,n,e){var r=e("d066");t.exports=r("navigator","userAgent")||""},"37e8":function(t,n,e){var r=e("83ab"),i=e("9bf2"),o=e("825a"),c=e("df75");t.exports=r?Object.defineProperties:function(t,n){o(t);var e,r=c(n),a=r.length,u=0;while(a>u)i.f(t,e=r[u++],n[e]);return t}},"3bbe":function(t,n,e){var r=e("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"428f":function(t,n,e){var r=e("da84");t.exports=r},"44ad":function(t,n,e){var r=e("d039"),i=e("c6b6"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"44d2":function(t,n,e){var r=e("b622"),i=e("7c73"),o=e("9bf2"),c=r("unscopables"),a=Array.prototype;void 0==a[c]&&o.f(a,c,{configurable:!0,value:i(null)}),t.exports=function(t){a[c][t]=!0}},"44e7":function(t,n,e){var r=e("861d"),i=e("c6b6"),o=e("b622"),c=o("match");t.exports=function(t){var n;return r(t)&&(void 0!==(n=t[c])?!!n:"RegExp"==i(t))}},"466d":function(t,n,e){"use strict";var r=e("d784"),i=e("825a"),o=e("50c4"),c=e("1d80"),a=e("8aa5"),u=e("14c3");r("match",1,(function(t,n,e){return[function(n){var e=c(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,e):new RegExp(n)[t](String(e))},function(t){var r=e(n,t,this);if(r.done)return r.value;var c=i(t),f=String(this);if(!c.global)return u(c,f);var s=c.unicode;c.lastIndex=0;var l,d=[],p=0;while(null!==(l=u(c,f))){var v=String(l[0]);d[p]=v,""===v&&(c.lastIndex=a(f,o(c.lastIndex),s)),p++}return 0===p?null:d}]}))},4840:function(t,n,e){var r=e("825a"),i=e("1c0b"),o=e("b622"),c=o("species");t.exports=function(t,n){var e,o=r(t).constructor;return void 0===o||void 0==(e=r(o)[c])?n:i(e)}},4930:function(t,n,e){var r=e("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},"4d64":function(t,n,e){var r=e("fc6a"),i=e("50c4"),o=e("23cb"),c=function(t){return function(n,e,c){var a,u=r(n),f=i(u.length),s=o(c,f);if(t&&e!=e){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"50c4":function(t,n,e){var r=e("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},5319:function(t,n,e){"use strict";var r=e("d784"),i=e("825a"),o=e("7b0b"),c=e("50c4"),a=e("a691"),u=e("1d80"),f=e("8aa5"),s=e("14c3"),l=Math.max,d=Math.min,p=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,h=/\$([$&'`]|\d\d?)/g,g=function(t){return void 0===t?t:String(t)};r("replace",2,(function(t,n,e,r){var b=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,x=r.REPLACE_KEEPS_$0,y=b?"$":"$0";return[function(e,r){var i=u(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,r){if(!b&&x||"string"===typeof r&&-1===r.indexOf(y)){var o=e(n,t,this,r);if(o.done)return o.value}var u=i(t),p=String(this),v="function"===typeof r;v||(r=String(r));var h=u.global;if(h){var S=u.unicode;u.lastIndex=0}var E=[];while(1){var _=s(u,p);if(null===_)break;if(E.push(_),!h)break;var w=String(_[0]);""===w&&(u.lastIndex=f(p,c(u.lastIndex),S))}for(var O="",T=0,I=0;I<E.length;I++){_=E[I];for(var j=String(_[0]),A=l(d(a(_.index),p.length),0),P=[],R=1;R<_.length;R++)P.push(g(_[R]));var C=_.groups;if(v){var $=[j].concat(P,A,p);void 0!==C&&$.push(C);var N=String(r.apply(void 0,$))}else N=m(j,p,A,P,C,r);A>=T&&(O+=p.slice(T,A)+N,T=A+j.length)}return O+p.slice(T)}];function m(t,e,r,i,c,a){var u=r+t.length,f=i.length,s=h;return void 0!==c&&(c=o(c),s=v),n.call(a,s,(function(n,o){var a;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(u);case"<":a=c[o.slice(1,-1)];break;default:var s=+o;if(0===s)return n;if(s>f){var l=p(s/10);return 0===l?n:l<=f?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):n}a=i[s-1]}return void 0===a?"":a}))}}))},5692:function(t,n,e){var r=e("c430"),i=e("c6cd");(t.exports=function(t,n){return i[t]||(i[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,n,e){var r=e("d066"),i=e("241c"),o=e("7418"),c=e("825a");t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(c(t)),e=o.f;return e?n.concat(e(t)):n}},5899:function(t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},"58a8":function(t,n,e){var r=e("1d80"),i=e("5899"),o="["+i+"]",c=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),u=function(t){return function(n){var e=String(r(n));return 1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(a,"")),e}};t.exports={start:u(1),end:u(2),trim:u(3)}},"5c6c":function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},"5cba":function(t,n,e){"use strict";var r=e("8bbe"),i=e.n(r);i.a},"5d9e":function(t,n,e){},6547:function(t,n,e){var r=e("a691"),i=e("1d80"),o=function(t){return function(n,e){var o,c,a=String(i(n)),u=r(e),f=a.length;return u<0||u>=f?t?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===f||(c=a.charCodeAt(u+1))<56320||c>57343?t?a.charAt(u):o:t?a.slice(u,u+2):c-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,n,e){var r=e("861d"),i=e("e8b5"),o=e("b622"),c=o("species");t.exports=function(t,n){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)?r(e)&&(e=e[c],null===e&&(e=void 0)):e=void 0),new(void 0===e?Array:e)(0===n?0:n)}},"69f3":function(t,n,e){var r,i,o,c=e("7f9a"),a=e("da84"),u=e("861d"),f=e("9112"),s=e("5135"),l=e("f772"),d=e("d012"),p=a.WeakMap,v=function(t){return o(t)?i(t):r(t,{})},h=function(t){return function(n){var e;if(!u(n)||(e=i(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}};if(c){var g=new p,b=g.get,x=g.has,y=g.set;r=function(t,n){return y.call(g,t,n),n},i=function(t){return b.call(g,t)||{}},o=function(t){return x.call(g,t)}}else{var m=l("state");d[m]=!0,r=function(t,n){return f(t,m,n),n},i=function(t){return s(t,m)?t[m]:{}},o=function(t){return s(t,m)}}t.exports={set:r,get:i,has:o,enforce:v,getterFor:h}},"6eeb":function(t,n,e){var r=e("da84"),i=e("9112"),o=e("5135"),c=e("ce4e"),a=e("8925"),u=e("69f3"),f=u.get,s=u.enforce,l=String(String).split("String");(t.exports=function(t,n,e,a){var u=!!a&&!!a.unsafe,f=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof e&&("string"!=typeof n||o(e,"name")||i(e,"name",n),s(e).source=l.join("string"==typeof n?n:"")),t!==r?(u?!d&&t[n]&&(f=!0):delete t[n],f?t[n]=e:i(t,n,e)):f?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||a(this)}))},7156:function(t,n,e){var r=e("861d"),i=e("d2bb");t.exports=function(t,n,e){var o,c;return i&&"function"==typeof(o=n.constructor)&&o!==e&&r(c=o.prototype)&&c!==e.prototype&&i(t,c),t}},7418:function(t,n){n.f=Object.getOwnPropertySymbols},7839:function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,n,e){var r=e("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,n,e){var r,i=e("825a"),o=e("37e8"),c=e("7839"),a=e("d012"),u=e("1be4"),f=e("cc12"),s=e("f772"),l=">",d="<",p="prototype",v="script",h=s("IE_PROTO"),g=function(){},b=function(t){return d+v+l+t+d+"/"+v+l},x=function(t){t.write(b("")),t.close();var n=t.parentWindow.Object;return t=null,n},y=function(){var t,n=f("iframe"),e="java"+v+":";return n.style.display="none",u.appendChild(n),n.src=String(e),t=n.contentWindow.document,t.open(),t.write(b("document.F=Object")),t.close(),t.F},m=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(n){}m=r?x(r):y();var t=c.length;while(t--)delete m[p][c[t]];return m()};a[h]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(g[p]=i(t),e=new g,g[p]=null,e[h]=t):e=m(),void 0===n?e:o(e,n)}},"7f9a":function(t,n,e){var r=e("da84"),i=e("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"825a":function(t,n,e){var r=e("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,n,e){var r=e("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,n,e){"use strict";var r=e("c04e"),i=e("9bf2"),o=e("5c6c");t.exports=function(t,n,e){var c=r(n);c in t?i.f(t,c,o(0,e)):t[c]=e}},"861d":function(t,n){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,n,e){var r,i,o;(function(e,c){i=[],r=c,o="function"===typeof r?r.apply(n,i):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var n=Object.getOwnPropertyDescriptor(document,"currentScript");if(!n&&"currentScript"in document&&document.currentScript)return document.currentScript;if(n&&n.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(p){var e,r,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,a=o.exec(p.stack)||c.exec(p.stack),u=a&&a[1]||!1,f=a&&a[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===s&&(e=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=e.replace(r,"$1").trim());for(var d=0;d<l.length;d++){if("interactive"===l[d].readyState)return l[d];if(l[d].src===u)return l[d];if(u===s&&l[d].innerHTML&&l[d].innerHTML.trim()===i)return l[d]}return null}}return t}))},8925:function(t,n,e){var r=e("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"8aa5":function(t,n,e){"use strict";var r=e("6547").charAt;t.exports=function(t,n,e){return n+(e?r(t,n).length:1)}},"8bbe":function(t,n,e){},"90e3":function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},9112:function(t,n,e){var r=e("83ab"),i=e("9bf2"),o=e("5c6c");t.exports=r?function(t,n,e){return i.f(t,n,o(1,e))}:function(t,n,e){return t[n]=e,t}},9263:function(t,n,e){"use strict";var r=e("ad6d"),i=e("9f7f"),o=RegExp.prototype.exec,c=String.prototype.replace,a=o,u=function(){var t=/a/,n=/b*/g;return o.call(t,"a"),o.call(n,"a"),0!==t.lastIndex||0!==n.lastIndex}(),f=i.UNSUPPORTED_Y||i.BROKEN_CARET,s=void 0!==/()??/.exec("")[1],l=u||s||f;l&&(a=function(t){var n,e,i,a,l=this,d=f&&l.sticky,p=r.call(l),v=l.source,h=0,g=t;return d&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),g=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(v="(?: "+v+")",g=" "+g,h++),e=new RegExp("^(?:"+v+")",p)),s&&(e=new RegExp("^"+v+"$(?!\\s)",p)),u&&(n=l.lastIndex),i=o.call(d?e:l,g),d?i?(i.input=i.input.slice(h),i[0]=i[0].slice(h),i.index=l.lastIndex,l.lastIndex+=i[0].length):l.lastIndex=0:u&&i&&(l.lastIndex=l.global?i.index+i[0].length:n),s&&i&&i.length>1&&c.call(i[0],e,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i}),t.exports=a},"94ca":function(t,n,e){var r=e("d039"),i=/#|\.prototype\./,o=function(t,n){var e=a[c(t)];return e==f||e!=u&&("function"==typeof n?r(n):!!n)},c=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=o.data={},u=o.NATIVE="N",f=o.POLYFILL="P";t.exports=o},"99af":function(t,n,e){"use strict";var r=e("23e7"),i=e("d039"),o=e("e8b5"),c=e("861d"),a=e("7b0b"),u=e("50c4"),f=e("8418"),s=e("65f0"),l=e("1dde"),d=e("b622"),p=e("2d00"),v=d("isConcatSpreadable"),h=9007199254740991,g="Maximum allowed index exceeded",b=p>=51||!i((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),x=l("concat"),y=function(t){if(!c(t))return!1;var n=t[v];return void 0!==n?!!n:o(t)},m=!b||!x;r({target:"Array",proto:!0,forced:m},{concat:function(t){var n,e,r,i,o,c=a(this),l=s(c,0),d=0;for(n=-1,r=arguments.length;n<r;n++)if(o=-1===n?c:arguments[n],y(o)){if(i=u(o.length),d+i>h)throw TypeError(g);for(e=0;e<i;e++,d++)e in o&&f(l,d,o[e])}else{if(d>=h)throw TypeError(g);f(l,d++,o)}return l.length=d,l}})},"9bf2":function(t,n,e){var r=e("83ab"),i=e("0cfb"),o=e("825a"),c=e("c04e"),a=Object.defineProperty;n.f=r?a:function(t,n,e){if(o(t),n=c(n,!0),o(e),i)try{return a(t,n,e)}catch(r){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},"9f7f":function(t,n,e){"use strict";var r=e("d039");function i(t,n){return RegExp(t,n)}n.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a15b:function(t,n,e){"use strict";var r=e("23e7"),i=e("44ad"),o=e("fc6a"),c=e("a640"),a=[].join,u=i!=Object,f=c("join",",");r({target:"Array",proto:!0,forced:u||!f},{join:function(t){return a.call(o(this),void 0===t?",":t)}})},a640:function(t,n,e){"use strict";var r=e("d039");t.exports=function(t,n){var e=[][t];return!!e&&r((function(){e.call(null,n||function(){throw 1},1)}))}},a691:function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},a6ef:function(t,n,e){"use strict";var r=e("f42c"),i=e.n(r);i.a},a9e3:function(t,n,e){"use strict";var r=e("83ab"),i=e("da84"),o=e("94ca"),c=e("6eeb"),a=e("5135"),u=e("c6b6"),f=e("7156"),s=e("c04e"),l=e("d039"),d=e("7c73"),p=e("241c").f,v=e("06cf").f,h=e("9bf2").f,g=e("58a8").trim,b="Number",x=i[b],y=x.prototype,m=u(d(y))==b,S=function(t){var n,e,r,i,o,c,a,u,f=s(t,!1);if("string"==typeof f&&f.length>2)if(f=g(f),n=f.charCodeAt(0),43===n||45===n){if(e=f.charCodeAt(2),88===e||120===e)return NaN}else if(48===n){switch(f.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+f}for(o=f.slice(2),c=o.length,a=0;a<c;a++)if(u=o.charCodeAt(a),u<48||u>i)return NaN;return parseInt(o,r)}return+f};if(o(b,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var E,_=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof _&&(m?l((function(){y.valueOf.call(e)})):u(e)!=b)?f(new x(S(n)),e,_):S(n)},w=r?p(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;w.length>O;O++)a(x,E=w[O])&&!a(_,E)&&h(_,E,v(x,E));_.prototype=y,y.constructor=_,c(i,b,_)}},ac1f:function(t,n,e){"use strict";var r=e("23e7"),i=e("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},ad6d:function(t,n,e){"use strict";var r=e("825a");t.exports=function(){var t=r(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},ae40:function(t,n,e){var r=e("83ab"),i=e("d039"),o=e("5135"),c=Object.defineProperty,a={},u=function(t){throw t};t.exports=function(t,n){if(o(a,t))return a[t];n||(n={});var e=[][t],f=!!o(n,"ACCESSORS")&&n.ACCESSORS,s=o(n,0)?n[0]:u,l=o(n,1)?n[1]:void 0;return a[t]=!!e&&!i((function(){if(f&&!r)return!0;var t={length:-1};f?c(t,1,{enumerable:!0,get:u}):t[1]=1,e.call(t,s,l)}))}},b041:function(t,n,e){"use strict";var r=e("00ee"),i=e("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b622:function(t,n,e){var r=e("da84"),i=e("5692"),o=e("5135"),c=e("90e3"),a=e("4930"),u=e("fdbf"),f=i("wks"),s=r.Symbol,l=u?s:s&&s.withoutSetter||c;t.exports=function(t){return o(f,t)||(a&&o(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},b727:function(t,n,e){var r=e("0366"),i=e("44ad"),o=e("7b0b"),c=e("50c4"),a=e("65f0"),u=[].push,f=function(t){var n=1==t,e=2==t,f=3==t,s=4==t,l=6==t,d=5==t||l;return function(p,v,h,g){for(var b,x,y=o(p),m=i(y),S=r(v,h,3),E=c(m.length),_=0,w=g||a,O=n?w(p,E):e?w(p,0):void 0;E>_;_++)if((d||_ in m)&&(b=m[_],x=S(b,_,y),t))if(n)O[_]=x;else if(x)switch(t){case 3:return!0;case 5:return b;case 6:return _;case 2:u.call(O,b)}else if(s)return!1;return l?-1:f||s?s:O}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},c04e:function(t,n,e){var r=e("861d");t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,n){t.exports=!1},c6b6:function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},c6cd:function(t,n,e){var r=e("da84"),i=e("ce4e"),o="__core-js_shared__",c=r[o]||i(o,{});t.exports=c},c740:function(t,n,e){"use strict";var r=e("23e7"),i=e("b727").findIndex,o=e("44d2"),c=e("ae40"),a="findIndex",u=!0,f=c(a);a in[]&&Array(1)[a]((function(){u=!1})),r({target:"Array",proto:!0,forced:u||!f},{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},c8ba:function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(r){"object"===typeof window&&(e=window)}t.exports=e},ca84:function(t,n,e){var r=e("5135"),i=e("fc6a"),o=e("4d64").indexOf,c=e("d012");t.exports=function(t,n){var e,a=i(t),u=0,f=[];for(e in a)!r(c,e)&&r(a,e)&&f.push(e);while(n.length>u)r(a,e=n[u++])&&(~o(f,e)||f.push(e));return f}},cc12:function(t,n,e){var r=e("da84"),i=e("861d"),o=r.document,c=i(o)&&i(o.createElement);t.exports=function(t){return c?o.createElement(t):{}}},ce4e:function(t,n,e){var r=e("da84"),i=e("9112");t.exports=function(t,n){try{i(r,t,n)}catch(e){r[t]=n}return n}},d012:function(t,n){t.exports={}},d039:function(t,n){t.exports=function(t){try{return!!t()}catch(n){return!0}}},d066:function(t,n,e){var r=e("428f"),i=e("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][n]||i[t]&&i[t][n]}},d1e7:function(t,n,e){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(t){var n=i(this,t);return!!n&&n.enumerable}:r},d2bb:function(t,n,e){var r=e("825a"),i=e("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(e,[]),n=e instanceof Array}catch(o){}return function(e,o){return r(e),i(o),n?t.call(e,o):e.__proto__=o,e}}():void 0)},d3b7:function(t,n,e){var r=e("00ee"),i=e("6eeb"),o=e("b041");r||i(Object.prototype,"toString",o,{unsafe:!0})},d784:function(t,n,e){"use strict";e("ac1f");var r=e("6eeb"),i=e("d039"),o=e("b622"),c=e("9263"),a=e("9112"),u=o("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),l=o("replace"),d=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),p=!i((function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var e="ab".split(t);return 2!==e.length||"a"!==e[0]||"b"!==e[1]}));t.exports=function(t,n,e,l){var v=o(t),h=!i((function(){var n={};return n[v]=function(){return 7},7!=""[t](n)})),g=h&&!i((function(){var n=!1,e=/a/;return"split"===t&&(e={},e.constructor={},e.constructor[u]=function(){return e},e.flags="",e[v]=/./[v]),e.exec=function(){return n=!0,null},e[v](""),!n}));if(!h||!g||"replace"===t&&(!f||!s||d)||"split"===t&&!p){var b=/./[v],x=e(v,""[t],(function(t,n,e,r,i){return n.exec===c?h&&!i?{done:!0,value:b.call(n,e,r)}:{done:!0,value:t.call(e,n,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),y=x[0],m=x[1];r(String.prototype,t,y),r(RegExp.prototype,v,2==n?function(t,n){return m.call(t,this,n)}:function(t){return m.call(t,this)})}l&&a(RegExp.prototype[v],"sham",!0)}},da84:function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||Function("return this")()}).call(this,e("c8ba"))},def2:function(t,n,e){"use strict";var r=e("5d9e"),i=e.n(r);i.a},df75:function(t,n,e){var r=e("ca84"),i=e("7839");t.exports=Object.keys||function(t){return r(t,i)}},e893:function(t,n,e){var r=e("5135"),i=e("56ef"),o=e("06cf"),c=e("9bf2");t.exports=function(t,n){for(var e=i(n),a=c.f,u=o.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||a(t,s,u(n,s))}}},e8b5:function(t,n,e){var r=e("c6b6");t.exports=Array.isArray||function(t){return"Array"==r(t)}},f42c:function(t,n,e){},f5df:function(t,n,e){var r=e("00ee"),i=e("c6b6"),o=e("b622"),c=o("toStringTag"),a="Arguments"==i(function(){return arguments}()),u=function(t,n){try{return t[n]}catch(e){}};t.exports=r?i:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=u(n=Object(t),c))?e:a?i(n):"Object"==(r=i(n))&&"function"==typeof n.callee?"Arguments":r}},f772:function(t,n,e){var r=e("5692"),i=e("90e3"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},fb15:function(t,n,e){"use strict";if(e.r(n),"undefined"!==typeof window){var r=window.document.currentScript,i=e("8875");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(e.p=o[1])}var c=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"fluctuating-container"},[t._t("default"),e("div",{staticClass:"data-container"},[e("digital-transform",{attrs:{value:t.value,useGrouping:t.seperator,interval:t.interval}}),e("span",{staticClass:"unit-box"},[t._v(t._s(t.unit))]),e("transition",{attrs:{name:"lotus"}},[e("p",{directives:[{name:"show",rawName:"v-show",value:t.isShow,expression:"isShow"}],staticClass:"fluctuating-animate"},[t._v(t._s(t.changeValue))])])],1)],2)},a=[],u=(e("a15b"),e("a9e3"),e("d3b7"),e("ac1f"),e("25f0"),e("466d"),e("5319"),e("1276"),function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("transition-group",{staticClass:"digital-transform",attrs:{name:"vdt-slide-y",tag:"div"}},t._l(t.digitals,(function(n,r){return e("DigitalTransfromScroll",{key:r+"key",staticClass:"digital-transform-item",attrs:{to:n,interval:t.interval,dislocation:t.dislocation,from:"0"}},[t._v(t._s(n)+" ")])})),1)}),f=[];e("99af");function s(t){return/^(\d|\.|,){1}$/.test(t.toString())}function l(t){return void 0===t||null===t||""===t||/^(\d|\.|,)+$/.test(t.toString())}var d=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"dt-scroll"},[e("div",{ref:"$list",staticClass:"dt-scroll-list",style:t.listStyle},t._l(t.digitals,(function(n,r){return e("span",{key:r,staticClass:"dt-scroll-digital"},[t._v(" "+t._s(n)+" ")])})),0)])},p=[],v=(e("c740"),{name:"DigitalTransformScroll",props:{to:{validator:s,default:"0"},from:{validator:s,default:"0"},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:500}},data:function(){return{digitals:["-",",",".","9","8","7","6","5","4","3","2","1","0"],listHeight:0,spacing:1}},computed:{listStyle:function(){return{transitionDuration:"".concat(this.interval/1e3*this.spacing,"s")}},elHeight:function(){return this.listHeight/this.digitals.length}},watch:{to:{immediate:!0,handler:function(t,n){if(this.$refs.$list){if(this.dislocation){var e=this.digitals.findIndex((function(t){return n===t})),r=this.digitals.findIndex((function(n){return t===n}));this.spacing=Math.abs(r-e)}else this.spacing=1;this.setPosition(t)}}}},mounted:function(){var t=this;this.calcHeight(),this.$el.style.height="".concat(this.elHeight,"px"),this.setPosition(this.from),setTimeout((function(){t.setPosition(t.to)}),300)},methods:{calcHeight:function(){this.listHeight=this.$refs.$list.clientHeight},setPosition:function(t){var n=this.digitals.findIndex((function(n){return t===n})),e=n*this.elHeight;this.$refs.$list&&(this.$refs.$list.style.transform="translateY(-".concat(e,"px)"))}}}),h=v;e("a6ef");function g(t,n,e,r,i,o,c,a){var u,f="function"===typeof t?t.options:t;if(n&&(f.render=n,f.staticRenderFns=e,f._compiled=!0),r&&(f.functional=!0),o&&(f._scopeId="data-v-"+o),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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},f._ssrRegister=u):i&&(u=a?function(){i.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,n){return u.call(n),s(t,n)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:f}}var b=g(h,d,p,!1,null,"0d345e36",null),x=b.exports,y={name:"DigitalTransfrom",components:{DigitalTransfromScroll:x},props:{value:{validator:l,default:void 0,required:!0},dislocation:{type:Boolean,default:!1},interval:{type:Number,default:500},useGrouping:{type:Boolean,default:!1}},data:function(){return{digitals:[],oldDigtals:[]}},watch:{value:{immediate:!0,handler:function(t){this.parseDigital(t)}}},methods:{parseDigital:function(t){console.log(t);var n="".concat(t);this.useGrouping&&(n=n.replace(/^-?\d+/g,(function(t){return t.replace(/(?=(?!\b)(\d{3})+$)/g,",")})));var e=n.split("");this.oldDigtals=this.digitals.concat(),this.digitals=e,console.log(e)}}},m=y,S=(e("5cba"),g(m,u,f,!1,null,"1b7b4322",null)),E=S.exports,_={name:"Fluctuation",components:{DigitalTransform:E},props:{value:{type:Number,default:0,required:!0},unit:{type:String,default:""},seperator:{type:Boolean,default:!1},interval:{type:Number,default:500}},data:function(){return{isShow:!1,animatingTimer:null,changeValue:0}},watch:{value:{handler:function(t,n){this.changeValue=this.isPlus((1e6*t-1e6*n)/1e6,this.seperator),this.digitalDebounce()}}},methods:{digitalDebounce:function(){var t=this;this.animatingTimer&&clearTimeout(this.animatingTimer),this.isShow=!0,this.animatingTimer=setTimeout((function(){t.isShow=!1,t.animatingTimer=null}),1500)},isPlus:function(t,n){if(n){var e=t.toString().replace(/^-?\d+/g,(function(t){return t.replace(/(?=(?!\b)(\d{3})+$)/g,",")})),r=e.split("").join(""),i=e.split("")[0];return i.match(/^[0-9]$/)?"+".concat(r):r}return t>0?"+".concat(t):t}},destroy:function(){clearTimeout(this.animatingTimer)}},w=_,O=(e("def2"),g(w,c,a,!1,null,"14e53388",null)),T=O.exports;n["default"]=T},fc6a:function(t,n,e){var r=e("44ad"),i=e("1d80");t.exports=function(t){return r(i(t))}},fdbf:function(t,n,e){var r=e("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}));
//# sourceMappingURL=fluctuation.umd.min.js.map