text: (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue-waterball"]=e():t["vue-waterball"]=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")}({"06cf":function(t,e,r){var n=r("83ab"),o=r("d1e7"),i=r("5c6c"),c=r("fc6a"),a=r("a04b"),u=r("5135"),f=r("0cfb"),s=Object.getOwnPropertyDescriptor;e.f=n?s:function(t,e){if(t=c(t),e=a(e),f)try{return s(t,e)}catch(r){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},"0b42":function(t,e,r){var n=r("861d"),o=r("e8b5"),i=r("b622"),c=i("species");t.exports=function(t){var e;return o(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!o(e.prototype)?n(e)&&(e=e[c],null===e&&(e=void 0)):e=void 0),void 0===e?Array:e}},"0cfb":function(t,e,r){var n=r("83ab"),o=r("d039"),i=r("cc12");t.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1148:function(t,e,r){"use strict";var n=r("a691"),o=r("577e"),i=r("1d80");t.exports=function(t){var e=o(i(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}},"1be4":function(t,e,r){var n=r("d066");t.exports=n("document","documentElement")},"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"),i=r("2d00"),c=o("species");t.exports=function(t){return i>=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,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},"23e7":function(t,e,r){var n=r("da84"),o=r("06cf").f,i=r("9112"),c=r("6eeb"),a=r("ce4e"),u=r("e893"),f=r("94ca");t.exports=function(t,e){var r,s,l,p,d,h,v=t.target,b=t.global,y=t.stat;if(s=b?n:y?n[v]||a(v,{}):(n[v]||{}).prototype,s)for(l in e){if(d=e[l],t.noTargetGet?(h=o(s,l),p=h&&h.value):p=s[l],r=f(b?l:v+(y?".":"#")+l,t.forced),!r&&void 0!==p){if(typeof d===typeof p)continue;u(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),c(s,l,d,t)}}},"241c":function(t,e,r){var n=r("ca84"),o=r("7839"),i=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},"2d00":function(t,e,r){var n,o,i=r("da84"),c=r("342f"),a=i.process,u=i.Deno,f=a&&a.versions||u&&u.version,s=f&&f.v8;s?(n=s.split("."),o=n[0]<4?1: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"),i=r("825a"),c=r("df75");t.exports=n?Object.defineProperties:function(t,e){i(t);var r,n=c(e),a=n.length,u=0;while(a>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}},"3e9a":function(t,e,r){},"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}},"44ad":function(t,e,r){var n=r("d039"),o=r("c6b6"),i="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},"485a":function(t,e,r){var n=r("861d");t.exports=function(t,e){var r,o;if("string"===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("string"!==e&&"function"==typeof(r=t.toString)&&!n(o=r.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},4930:function(t,e,r){var n=r("2d00"),o=r("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},"4d64":function(t,e,r){var n=r("fc6a"),o=r("50c4"),i=r("23cb"),c=function(t){return function(e,r,c){var a,u=n(e),f=o(u.length),s=i(c,f);if(t&&r!=r){while(f>s)if(a=u[s++],a!=a)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},"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,r){var n=r("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(n(t),e)}},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.16.0",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,r){var n=r("d066"),o=r("241c"),i=r("7418"),c=r("825a");t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(c(t)),r=i.f;return r?e.concat(r(t)):e}},"577e":function(t,e,r){var n=r("d9b5");t.exports=function(t){if(n(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},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("577e"),i=r("5899"),c="["+i+"]",a=RegExp("^"+c+c+"*"),u=RegExp(c+c+"*$"),f=function(t){return function(e){var r=o(n(e));return 1&t&&(r=r.replace(a,"")),2&t&&(r=r.replace(u,"")),r}};t.exports={start:f(1),end:f(2),trim:f(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"65f0":function(t,e,r){var n=r("0b42");t.exports=function(t,e){return new(n(t))(0===e?0:e)}},"66d3":function(t,e,r){"use strict";r("3e9a")},"69f3":function(t,e,r){var n,o,i,c=r("7f9a"),a=r("da84"),u=r("861d"),f=r("9112"),s=r("5135"),l=r("c6cd"),p=r("f772"),d=r("d012"),h="Object already initialized",v=a.WeakMap,b=function(t){return i(t)?o(t):n(t,{})},y=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||l.state){var g=l.state||(l.state=new v),m=g.get,x=g.has,w=g.set;n=function(t,e){if(x.call(g,t))throw new TypeError(h);return e.facade=t,w.call(g,t,e),e},o=function(t){return m.call(g,t)||{}},i=function(t){return x.call(g,t)}}else{var S=p("state");d[S]=!0,n=function(t,e){if(s(t,S))throw new TypeError(h);return e.facade=t,f(t,S,e),e},o=function(t){return s(t,S)?t[S]:{}},i=function(t){return s(t,S)}}t.exports={set:n,get:o,has:i,enforce:b,getterFor:y}},"6eeb":function(t,e,r){var n=r("da84"),o=r("9112"),i=r("5135"),c=r("ce4e"),a=r("8925"),u=r("69f3"),f=u.get,s=u.enforce,l=String(String).split("String");(t.exports=function(t,e,r,a){var u,f=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,d=!!a&&!!a.noTargetGet;"function"==typeof r&&("string"!=typeof e||i(r,"name")||o(r,"name",e),u=s(r),u.source||(u.source=l.join("string"==typeof e?e:""))),t!==n?(f?!d&&t[e]&&(p=!0):delete t[e],p?t[e]=r:o(t,e,r)):p?t[e]=r:c(e,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||a(this)}))},7156:function(t,e,r){var n=r("861d"),o=r("d2bb");t.exports=function(t,e,r){var i,c;return o&&"function"==typeof(i=e.constructor)&&i!==r&&n(c=i.prototype)&&c!==r.prototype&&o(t,c),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},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"),i=r("37e8"),c=r("7839"),a=r("d012"),u=r("1be4"),f=r("cc12"),s=r("f772"),l=">",p="<",d="prototype",h="script",v=s("IE_PROTO"),b=function(){},y=function(t){return p+h+l+t+p+"/"+h+l},g=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=f("iframe"),r="java"+h+":";if(e.style)return e.style.display="none",u.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},x=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}x=document.domain&&n?g(n):m()||g(n);var t=c.length;while(t--)delete x[d][c[t]];return x()};a[v]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(b[d]=o(t),r=new b,b[d]=null,r[v]=t):r=x(),void 0===e?r:i(r,e)}},"7f9a":function(t,e,r){var n=r("da84"),o=r("8925"),i=n.WeakMap;t.exports="function"===typeof i&&/native code/.test(o(i))},"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("a04b"),o=r("9bf2"),i=r("5c6c");t.exports=function(t,e,r){var c=n(e);c in t?o.f(t,c,i(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,i;(function(r,c){o=[],n=c,i="function"===typeof n?n.apply(e,o):n,void 0===i||(t.exports=i)})("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(d){var r,n,o,i=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,a=i.exec(d.stack)||c.exec(d.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&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===u)return l[p];if(u===s&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}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},"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"),i=r("5c6c");t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},"94ca":function(t,e,r){var n=r("d039"),o=/#|\.prototype\./,i=function(t,e){var r=a[c(t)];return r==f||r!=u&&("function"==typeof e?n(e):!!e)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},a=i.data={},u=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},"99af":function(t,e,r){"use strict";var n=r("23e7"),o=r("d039"),i=r("e8b5"),c=r("861d"),a=r("7b0b"),u=r("50c4"),f=r("8418"),s=r("65f0"),l=r("1dde"),p=r("b622"),d=r("2d00"),h=p("isConcatSpreadable"),v=9007199254740991,b="Maximum allowed index exceeded",y=d>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=l("concat"),m=function(t){if(!c(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)},x=!y||!g;n({target:"Array",proto:!0,forced:x},{concat:function(t){var e,r,n,o,i,c=a(this),l=s(c,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(i=-1===e?c:arguments[e],m(i)){if(o=u(i.length),p+o>v)throw TypeError(b);for(r=0;r<o;r++,p++)r in i&&f(l,p,i[r])}else{if(p>=v)throw TypeError(b);f(l,p++,i)}return l.length=p,l}})},"9bf2":function(t,e,r){var n=r("83ab"),o=r("0cfb"),i=r("825a"),c=r("a04b"),a=Object.defineProperty;e.f=n?a:function(t,e,r){if(i(t),e=c(e),i(r),o)try{return a(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}},a04b:function(t,e,r){var n=r("c04e"),o=r("d9b5");t.exports=function(t){var e=n(t,"string");return o(e)?e:String(e)}},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"),i=r("94ca"),c=r("6eeb"),a=r("5135"),u=r("c6b6"),f=r("7156"),s=r("d9b5"),l=r("c04e"),p=r("d039"),d=r("7c73"),h=r("241c").f,v=r("06cf").f,b=r("9bf2").f,y=r("58a8").trim,g="Number",m=o[g],x=m.prototype,w=u(d(x))==g,S=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var e,r,n,o,i,c,a,u,f=l(t,"number");if("string"==typeof f&&f.length>2)if(f=y(f),e=f.charCodeAt(0),43===e||45===e){if(r=f.charCodeAt(2),88===r||120===r)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+f}for(i=f.slice(2),c=i.length,a=0;a<c;a++)if(u=i.charCodeAt(a),u<48||u>o)return NaN;return parseInt(i,n)}return+f};if(i(g,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var O,_=function(t){var e=arguments.length<1?0:t,r=this;return r instanceof _&&(w?p((function(){x.valueOf.call(r)})):u(r)!=g)?f(new m(S(e)),r,_):S(e)},j=n?h(m):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),E=0;j.length>E;E++)a(m,O=j[E])&&!a(_,O)&&b(_,O,v(m,O));_.prototype=x,x.constructor=_,c(o,g,_)}},b622:function(t,e,r){var n=r("da84"),o=r("5692"),i=r("5135"),c=r("90e3"),a=r("4930"),u=r("fdbf"),f=o("wks"),s=n.Symbol,l=u?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(a||"string"==typeof f[t])||(a&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},b680:function(t,e,r){"use strict";var n=r("23e7"),o=r("a691"),i=r("408a"),c=r("1148"),a=r("d039"),u=1..toFixed,f=Math.floor,s=function(t,e,r){return 0===e?r:e%2===1?s(t,e-1,r*t):s(t*t,e/2,r)},l=function(t){var e=0,r=t;while(r>=4096)e+=12,r/=4096;while(r>=2)e+=1,r/=2;return e},p=function(t,e,r){var n=-1,o=r;while(++n<6)o+=e*t[n],t[n]=o%1e7,o=f(o/1e7)},d=function(t,e){var r=6,n=0;while(--r>=0)n+=t[r],t[r]=f(n/e),n=n%e*1e7},h=function(t){var e=6,r="";while(--e>=0)if(""!==r||0===e||0!==t[e]){var n=String(t[e]);r=""===r?n:r+c.call("0",7-n.length)+n}return r},v=u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!a((function(){u.call({})}));n({target:"Number",proto:!0,forced:v},{toFixed:function(t){var e,r,n,a,u=i(this),f=o(t),v=[0,0,0,0,0,0],b="",y="0";if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(b="-",u=-u),u>1e-21)if(e=l(u*s(2,69,1))-69,r=e<0?u*s(2,-e,1):u/s(2,e,1),r*=4503599627370496,e=52-e,e>0){p(v,0,r),n=f;while(n>=7)p(v,1e7,0),n-=7;p(v,s(10,n,1),0),n=e-1;while(n>=23)d(v,1<<23),n-=23;d(v,1<<n),p(v,1,1),d(v,2),y=h(v)}else p(v,0,r),p(v,1<<-e,0),y=h(v)+c.call("0",f);return f>0?(a=y.length,y=b+(a<=f?"0."+c.call("0",f-a)+y:y.slice(0,a-f)+"."+y.slice(a-f))):y=b+y,y}})},c04e:function(t,e,r){var n=r("861d"),o=r("d9b5"),i=r("485a"),c=r("b622"),a=c("toPrimitive");t.exports=function(t,e){if(!n(t)||o(t))return t;var r,c=t[a];if(void 0!==c){if(void 0===e&&(e="default"),r=c.call(t,e),!n(r)||o(r))return r;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),i(t,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"),i="__core-js_shared__",c=n[i]||o(i,{});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},ca84:function(t,e,r){var n=r("5135"),o=r("fc6a"),i=r("4d64").indexOf,c=r("d012");t.exports=function(t,e){var r,a=o(t),u=0,f=[];for(r in a)!n(c,r)&&n(a,r)&&f.push(r);while(e.length>u)n(a,r=e[u++])&&(~i(f,r)||f.push(r));return f}},cc12:function(t,e,r){var n=r("da84"),o=r("861d"),i=n.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},ce4e:function(t,e,r){var n=r("da84");t.exports=function(t,e){try{Object.defineProperty(n,t,{value:e,configurable:!0,writable:!0})}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("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},d1e7:function(t,e,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);e.f=i?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(i){}return function(r,i){return n(r),o(i),e?t.call(r,i):r.__proto__=i,r}}():void 0)},d9b5:function(t,e,r){var n=r("d066"),o=r("fdbf");t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return"function"==typeof e&&Object(t)instanceof e}},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}()||Function("return this")()}).call(this,r("c8ba"))},df75:function(t,e,r){var n=r("ca84"),o=r("7839");t.exports=Object.keys||function(t){return n(t,o)}},e893:function(t,e,r){var n=r("5135"),o=r("56ef"),i=r("06cf"),c=r("9bf2");t.exports=function(t,e){for(var r=o(e),a=c.f,u=i.f,f=0;f<r.length;f++){var s=r[f];n(t,s)||a(t,s,u(e,s))}}},e8b5:function(t,e,r){var n=r("c6b6");t.exports=Array.isArray||function(t){return"Array"==n(t)}},f772:function(t,e,r){var n=r("5692"),o=r("90e3"),i=n("keys");t.exports=function(t){return i[t]||(i[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 i=n&&n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var c=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"wrapper",style:{"--size":t.size+"px"}},[r("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.size,height:t.size,viewBox:"0 0 "+t.size+" "+t.size}},[r("defs",[r("clipPath",{attrs:{id:"clipPath1"}},[r("circle",{attrs:{cx:t.halfSize,cy:t.halfSize,r:t.halfSize}})]),r("clipPath",{attrs:{id:"clipPath2"}},[r("circle",{attrs:{cx:t.halfSize,cy:t.halfSize,r:t.halfSize-t.borderWidth-t.padding}})])]),"vertical"===t.type?r("g",{attrs:{"clip-path":"url(#clipPath1)"}},[r("circle",{attrs:{cx:t.halfSize,cy:t.halfSize,r:t.halfSize-t.borderWidth/2,"stroke-width":t.borderWidth,stroke:t.borderColor,fill:t.backgroundColor}}),r("g",{attrs:{"clip-path":"url(#clipPath2)"}},[r("path",{attrs:{d:t.verticalPathStr,stroke:"transparent",fill:t.waterColor}},[r("animate",{attrs:{id:"animation1",attributeName:"d",attributeType:"XML",values:t.verticalPathStr+";"+t.toVerticalPathStr+";"+t.verticalPathStr,keyTimes:"0;0.5;1",begin:"0s",dur:t.dur+"ms",fill:"freeze",repeatCount:"indefinite"}})])])]):r("g",{attrs:{"clip-path":"url(#clipPath1)"}},[r("circle",{attrs:{cx:t.halfSize,cy:t.halfSize,r:t.halfSize-t.borderWidth/2,"stroke-width":t.borderWidth,stroke:t.borderColor,fill:t.backgroundColor}}),r("defs",[r("g",{attrs:{id:"wave"}},[r("path",{attrs:{d:t.horizontalPathStr,stroke:"transparent",fill:t.waterColor}})])]),r("g",{attrs:{"clip-path":"url(#clipPath2)"}},[r("g",[t._l(t.minWaveNum,(function(e,n){return r("use",{key:e,attrs:{"xlink:href":"#wave",x:n*t.waveLength}})})),r("animateTransform",{attrs:{id:"firstToleft",attributeType:"XML",attributeName:"transform",begin:"0s",dur:t.getDur(t.groupLength),type:"translate",fill:"freeze",from:"0",to:-t.groupLength}}),r("animateTransform",{attrs:{attributeType:"XML",attributeName:"transform",begin:"firstToleft.end",dur:t.getDur(2*t.groupLength),type:"translate",fill:"freeze",values:t.groupLength+",0;"+-t.groupLength+",0",calcMode:"linear",keyTimes:"0;1",repeatCount:"indefinite"}})],2),r("g",{attrs:{transform:"translate("+t.groupLength+",0)"}},[t._l(t.minWaveNum,(function(e,n){return r("use",{key:e,attrs:{"xlink:href":"#wave",x:n*t.waveLength}})})),r("animateTransform",{attrs:{attributeType:"XML",attributeName:"transform",begin:"0s",dur:t.getDur(2*t.groupLength),type:"translate",fill:"freeze",values:t.groupLength+",0;"+-t.groupLength+",0",calcMode:"linear",keyTimes:"0;1",repeatCount:"indefinite"}})],2)])])]),r("div",{staticClass:"cover"},[t._t("default",(function(){return[r("span",{staticClass:"cover-default",style:{"--fontSize":t.fontSize+"px","--color":t.fontColor}},[t._v(t._s(t._f("toPercentage")(t.percentage)))])]}))],2)])},a=[],u=(r("a9e3"),r("b680"),r("99af"),{name:"WaterBall",props:{size:{type:Number,default:200},percentage:{type:Number,default:.5},borderWidth:{type:Number,default:5},borderColor:{type:String,default:"#F00"},padding:{type:Number,default:2},backgroundColor:{type:String,default:"#FFF"},waterColor:{type:String,default:"#F00"},dur:{type:Number,default:5e3},amplitude:{type:Number,default:.3},waveLength:{type:Number,default:200},fontSize:{type:Number,default:20},fontColor:{type:String,default:"#000"},type:{type:String,default:"vertical"}},filters:{toPercentage:function(t){return t&&t>0?Number((100*t).toFixed(2))+"%":""}},computed:{minWaveNum:function(){return Math.ceil(this.size/this.waveLength)},groupLength:function(){return this.minWaveNum*this.waveLength},wrapperStyle:function(){var t=this.size;return{width:t,height:t}},halfSize:function(){return this.size/2},verticalPathStr:function(){var t=this.size,e=this.percentage,r=this.halfSize,n=Math.ceil(this.size/4),o=Math.floor(this.amplitude*r),i=Math.floor(t*(1-e)),c="m 0 ".concat(i," q ").concat(n," ").concat(o," ").concat(r," 0  t ").concat(r," 0 v ").concat(t-i," h -").concat(t," V 0");return c},toVerticalPathStr:function(){var t=this.size,e=this.percentage,r=this.halfSize,n=Math.ceil(this.size/4),o=Math.floor(this.amplitude*r),i=Math.floor(t*(1-e)),c="m 0 ".concat(i," q ").concat(n," -").concat(o," ").concat(r," 0  t ").concat(r," 0 v ").concat(t-i," h -").concat(t," V 0");return c},horizontalPathStr:function(){var t=this.size,e=this.percentage,r=this.halfSize,n=Math.floor(this.amplitude*r),o=this.waveLength,i=Math.floor(o/2),c=Math.floor(o/4),a=Math.floor(t*(1-e)),u="m 0 ".concat(a," q ").concat(c," -").concat(n," ").concat(i," 0  t ").concat(i," 0 v ").concat(t-a," h -").concat(o," V 0");return u},getDur:function(){var t=this;return function(e){return e/t.waveLength*t.dur+"ms"}}}}),f=u;r("66d3");function s(t,e,r,n,o,i,c,a){var u,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i),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)},f._ssrRegister=u):o&&(u=a?function(){o.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,e){return u.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:f}}var l=s(f,c,a,!1,null,"eda238b2",null),p=l.exports;e["default"]=p},fc6a:function(t,e,r){var n=r("44ad"),o=r("1d80");t.exports=function(t){return n(o(t))}},fdbf:function(t,e,r){var n=r("4930");t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}));
  //# sourceMappingURL=vue-waterball.umd.min.js.map