text: (window.webpackJsonp=window.webpackJsonp||[]).push([[20],{79:function(e,t,s){var n=s(80);"string"==typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);(0,s(2).default)("data-icrush-24253f1e",n,!0)},80:function(e,t,s){(e.exports=s(1)(!1)).push([e.i,"\n    div {\n        width: 100vw;\n        height: 100vh;\n    }\n",""])},88:function(e,t,s){"use strict";s.r(t);var n=[{name:"ui-process-wave",attrs:{":process":"process",":deep":"deep",":cx":"0.5*_width",":cy":"0.5*_height",":radius":"0.45*_min"},children:[]},{name:"text",attrs:{":x":"0.5*_width",":y":"0.5*_height",":content":"process_value",align:"center","font-size":"50"},children:[]}],r=s(33),c=s.n(r),a=function(e,t,s,n,r,c,a,i){var o=e(t,s,(.5-c)*Math.PI,t+n,s),d=e(t,s,(1.5-c)*Math.PI,t+n,s);r.beginPath().moveTo(o[0],o[1]).arc(t,s,n,(.5-c)*Math.PI,2*c*Math.PI).bezierCurveTo(d[0]+.5*(o[0]-d[0])*a,o[1]+n*a*i*(c>.5?1-c:c),d[0]+.5*(o[0]-d[0])*(1+a),o[1]-n*(1-a)*i*(c>.5?1-c:c),o[0],o[1]).fill()},i=["number","$rotate",function(e,t){return{attrs:{process:e()(!0),cx:e()(!0),cy:e()(!0),radius:e()(!0),deep:e()(!0)},link:function(e,s){[["#fff7e9",s.radius],["#ffe1b1",.9*s.radius],["#ffffff",.78*s.radius]].forEach((function(t){e.config("fillStyle",t[0]).fillCircle(s.cx,s.cy,t[1])})),e.config({fillStyle:"#ff7f08","arc-start-cap":"round","arc-end-cap":"round"}).fillArc(s.cx,s.cy,.78*s.radius,.9*s.radius,-.5*Math.PI,2*-Math.PI*s.process);var n=s.deep,r=1;n>.5&&(n-=.5,r=-1),n*=2,a(t,s.cx,s.cy,.6*s.radius,e.config("fillStyle","#ff7f08"),s.process,n,r),a(t,s.cx,s.cy,.6*s.radius,e.config("fillStyle","#fead2e"),s.process,n,-r)}}}];c.a.series("ui-process-wave",i);var o={mounted:function(){var e=document.getElementById("examples-github-banner");e.style.display="block",e.setAttribute("href","https://github.com/hai2007/clunch/tree/master/docs/src/pages/examples/page5"),window.clunch=new c.a({el:document.getElementById("canvas"),render:n,time:2e3,data:function(){return{process:0,process_value:"0.00%",deep:0}},mounted:function(){var e=this;this.process=Math.random(),this.process_value=(100*this.process).toFixed(2)+"%",setInterval((function(){e.process=Math.random(),e.process_value=(100*e.process).toFixed(2)+"%"}),4e3),this.deep=1,setInterval((function(){e.deep=0==e.deep?1:0}),2e3)}})}};s(79);o.render=function(e){return e("div",{id:"canvas","data-icrush-24253f1e":""},[])};t.default=o}}]);