text: !function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var r=t();for(var n in r)("object"==typeof exports?exports:e)[n]=r[n]}}(window,(function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=5)}([function(e,t,r){var n=r(2),i=r(3);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1};n(i,o);e.exports=i.locals||{}},function(e,t,r){"use strict";var n=r(0);r.n(n).a},function(e,t,r){"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function c(e){for(var t=-1,r=0;r<a.length;r++)if(a[r].identifier===e){t=r;break}return t}function s(e,t){for(var r={},n=[],i=0;i<e.length;i++){var o=e[i],s=t.base?o[0]+t.base:o[0],l=r[s]||0,d="".concat(s," ").concat(l);r[s]=l+1;var u=c(d),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==u?(a[u].references++,a[u].updater(f)):a.push({identifier:d,updater:b(f,t),references:1}),n.push(d)}return n}function l(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var i=r.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var d,u=(d=[],function(e,t){return d[e]=t,d.filter(Boolean).join("\n")});function f(e,t,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=u(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t,r){var n=r.css,i=r.media,o=r.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var h=null,v=0;function b(e,t){var r,n,i;if(t.singleton){var o=v++;r=h||(h=l(t)),n=f.bind(null,r,o,!1),i=f.bind(null,r,o,!0)}else r=l(t),n=p.bind(null,r,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var r=s(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var i=c(r[n]);a[i].references--}for(var o=s(e,t),l=0;l<r.length;l++){var d=c(r[l]);0===a[d].references&&(a[d].updater(),a.splice(d,1))}r=o}}}},function(e,t,r){(t=r(4)(!1)).push([e.i,"@keyframes clockwise-data-v-24cff18c{100%{-webkit-transform:rotate(225deg)}}@keyframes anticlockwise-data-v-24cff18c{100%{transform:rotate(-135deg)}}.circle-progress-bar[data-v-24cff18c]{position:relative}.circle-progress-bar .circle-progress-bar-inner[data-v-24cff18c]{border-radius:50%;border-style:solid}.circle-progress-bar .circle-progress-bar-outer[data-v-24cff18c]{position:absolute;top:0;display:flex}.circle-progress-bar .circle-progress-bar-outer .wrapper[data-v-24cff18c]{position:relative;width:50%;height:100%;overflow:hidden}.circle-progress-bar .circle-progress-bar-outer .wrapper .circle[data-v-24cff18c]{position:absolute;border-radius:50%;border-style:solid;animation-fill-mode:forwards;animation-timing-function:linear;animation-iteration-count:1}.circle-progress-bar .circle-progress-bar-outer .wrapper .clockwise[data-v-24cff18c]{animation-name:clockwise-data-v-24cff18c}.circle-progress-bar .circle-progress-bar-outer .wrapper .anticlockwise[data-v-24cff18c]{animation-name:anticlockwise-data-v-24cff18c}.circle-progress-bar .circle-progress-bar-outer .wrapper .left-circle[data-v-24cff18c]{transform:rotate(45deg);left:0;border-bottom-color:transparent !important;border-left-color:transparent !important}.circle-progress-bar .circle-progress-bar-outer .wrapper .right-circle[data-v-24cff18c]{transform:rotate(225deg);right:0;border-top-color:transparent !important;border-right-color:transparent !important}\n",""]),e.exports=t},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=(a=n,c=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),s="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(c),"/*# ".concat(s," */")),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([i]).join("\n")}var a,c,s;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var c=0;c<e.length;c++){var s=[].concat(e[c]);n&&i[s[0]]||(r&&(s[2]?s[2]="".concat(r," and ").concat(s[2]):s[2]=r),t.push(s))}},t}},function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"circle-progress-bar"},[r("div",{staticClass:"circle-progress-bar-inner",style:e.circleStyle()}),e._v(" "),r("div",{staticClass:"circle-progress-bar-outer",style:{width:e.circleOptions.width+"px",height:e.circleOptions.height+"px"}},[r("div",{staticClass:"wrapper left"},[r("div",{staticClass:"circle left-circle",class:"anticlockwise"===e.direction?"anticlockwise":"clockwise",style:e.circleStyle("left")})]),e._v(" "),r("div",{staticClass:"wrapper right"},[r("div",{staticClass:"circle right-circle",class:"anticlockwise"===e.direction?"anticlockwise":"clockwise",style:e.circleStyle("right")})])])])};n._withStripped=!0;var i={name:"IllmaticCircularProgress",props:{circleOptions:{type:Object,default:()=>({width:60,height:60,borderWidth:4,borderColor:"#87CEFA",backGroundColor:"#EDEDED"})},direction:{type:String,default:"clockwise"},duration:{type:Number,default:10},current:{type:Number,default:0},playState:{type:String,default:"running"}},data(){return{startDegree:45,rest:this.duration}},computed:{circleStyle(){return e=>{let t={width:this.circleOptions.width-2*this.circleOptions.borderWidth+"px",height:this.circleOptions.height-2*this.circleOptions.borderWidth+"px",borderWidth:this.circleOptions.borderWidth+"px"};if(e)if(t=Object.assign(t,{borderColor:this.circleOptions.borderColor,animationDuration:this.rest+"s",animationDelay:"anticlockwise"===this.direction&&"left"===e||"clockwise"===this.direction&&"right"===e||this.startDegree>=180?"0s":this.rest+"s",animationPlayState:this.playState}),this.startDegree>=180){const r=this.startDegree-180+45;t.transform="right"===e?"rotate(225deg)":`rotate(${r}deg)`}else{const r=this.startDegree+45;t.transform="right"===e?`rotate(${r}deg)`:"rotate(45deg)"}else t=Object.assign(t,{borderColor:this.circleOptions.backGroundColor});return t}}},methods:{},watch:{current:{handler(){this.startDegree=this.current/this.duration*360,this.rest=this.duration-this.current},immediate:!0},duration:{handler(){this.rest=this.duration}}}};r(1);var o=function(e,t,r,n,i,o,a,c){var s,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=r,l._compiled=!0),n&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=s):i&&(s=c?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var d=l.render;l.render=function(e,t){return s.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,s):[s]}return{exports:e,options:l}}(i,n,[],!1,null,"24cff18c",null);o.options.__file="src/component/src/index.vue";var a=o.exports;a.install=function(e){e.component(a.name,a)};t.default=a}])}));