(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"00ee":function(t,e,n){var r=n("b622"),i=r("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0366":function(t,e,n){var r=n("1c0b");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var r=n("fc6a"),i=n("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(r(t))}},"06cf":function(t,e,n){var r=n("83ab"),i=n("d1e7"),o=n("5c6c"),a=n("fc6a"),s=n("c04e"),c=n("5135"),h=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=r?u:function(t,e){if(t=a(t),e=s(e,!0),h)try{return u(t,e)}catch(n){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},"06f8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("9cb8"),i=n("ed3d"),o=n("4971"),a=n("d777"),s={node:1,duration:1,easing:1,onFinish:1,yoyo:1},c=1,h=2,u=3,l=0,f=["fill","stroke","shadowColor"],d=function(){function t(t,e,n,r,i,o,a){this.prop=t,this.propFunc=e,this.begin=r,this._pos=r,this.duration=o,this._change=0,this.prevPos=0,this.yoyo=a,this._time=0,this._position=0,this._startTime=0,this._finish=0,this.func=n,this._change=i-this.begin,this.pause()}return t.prototype.fire=function(t){var e=this[t];e&&e()},t.prototype.setTime=function(t){t>this.duration?this.yoyo?(this._time=this.duration,this.reverse()):this.finish():t<0?this.yoyo?(this._time=0,this.play()):this.reset():(this._time=t,this.update())},t.prototype.getTime=function(){return this._time},t.prototype.setPosition=function(t){this.prevPos=this._pos,this.propFunc(t),this._pos=t},t.prototype.getPosition=function(t){return void 0===t&&(t=this._time),this.func(t,this.begin,this._change,this.duration)},t.prototype.play=function(){this.state=h,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onPlay")},t.prototype.reverse=function(){this.state=u,this._time=this.duration-this._time,this._startTime=this.getTimer()-this._time,this.onEnterFrame(),this.fire("onReverse")},t.prototype.seek=function(t){this.pause(),this._time=t,this.update(),this.fire("onSeek")},t.prototype.reset=function(){this.pause(),this._time=0,this.update(),this.fire("onReset")},t.prototype.finish=function(){this.pause(),this._time=this.duration,this.update(),this.fire("onFinish")},t.prototype.update=function(){this.setPosition(this.getPosition(this._time))},t.prototype.onEnterFrame=function(){var t=this.getTimer()-this._startTime;this.state===h?this.setTime(t):this.state===u&&this.setTime(this.duration-t)},t.prototype.pause=function(){this.state=c,this.fire("onPause")},t.prototype.getTimer=function(){return(new Date).getTime()},t}(),p=function(){function t(n){var o,c,h=this,u=n.node,f=u._id,p=n.easing||e.Easings.Linear,g=!!n.yoyo;o="undefined"===typeof n.duration?.3:0===n.duration?.001:n.duration,this.node=u,this._id=l++;var v=u.getLayer()||(u instanceof a.Konva["Stage"]?u.getLayers():null);for(c in v||r.Util.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."),this.anim=new i.Animation((function(){h.tween.onEnterFrame()}),v),this.tween=new d(c,(function(t){h._tweenFunc(t)}),p,0,1,1e3*o,g),this._addListeners(),t.attrs[f]||(t.attrs[f]={}),t.attrs[f][this._id]||(t.attrs[f][this._id]={}),t.tweens[f]||(t.tweens[f]={}),n)void 0===s[c]&&this._addAttr(c,n[c]);this.reset(),this.onFinish=n.onFinish,this.onReset=n.onReset}return t.prototype._addAttr=function(e,n){var i,o,a,s,c,h,u,l,d=this.node,p=d._id;if(a=t.tweens[p][e],a&&delete t.attrs[p][a][e],i=d.getAttr(e),r.Util._isArray(n))if(o=[],c=Math.max(n.length,i.length),"points"===e&&n.length!==i.length&&(n.length>i.length?(u=i,i=r.Util._prepareArrayForTween(i,n,d.closed())):(h=n,n=r.Util._prepareArrayForTween(n,i,d.closed()))),0===e.indexOf("fill"))for(s=0;s0?{antialiased:!0}:{}},e.prototype.drawScene=function(t,e){var n=this.getLayer(),r=t||n&&n.getCanvas();return this._fire(d,{node:this}),this.clearBeforeDraw()&&r.getContext().clear(),o.Container.prototype.drawScene.call(this,r,e),this._fire(p,{node:this}),this},e.prototype.drawHit=function(t,e){var n=this.getLayer(),r=t||n&&n.hitCanvas;return n&&n.clearBeforeDraw()&&n.getHitCanvas().getContext().clear(),o.Container.prototype.drawHit.call(this,r,e),this},e.prototype.clear=function(t){return s.BaseLayer.prototype.clear.call(this,t),this.getHitCanvas().getContext().clear(t),this},e.prototype.enableHitGraph=function(){return this.hitGraphEnabled(!0),this},e.prototype.disableHitGraph=function(){return this.hitGraphEnabled(!1),this},e.prototype.toggleHitCanvas=function(){if(this.parent){var t=this.parent,e=!!this.hitCanvas._canvas.parentNode;e?t.content.removeChild(this.hitCanvas._canvas):t.content.appendChild(this.hitCanvas._canvas)}},e}(s.BaseLayer);e.Layer=y,y.prototype.nodeType="Layer",l._registerNode(y),a.Factory.addGetterSetter(y,"hitGraphEnabled",!0,u.getBooleanValidator()),i.Collection.mapMethods(y)},"122f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.Threshold=function(t){var e,n=255*this.threshold(),r=t.data,i=r.length;for(e=0;e1?arguments[1]:void 0)}},"19aa":function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},"1bd8":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("f709"),s=n("4546"),c=n("d777"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(e){t.prototype._sceneFunc.call(this,e);var n=2*Math.PI,r=this.points(),i=r,o=0!==this.tension()&&r.length>4;o&&(i=this.getTensionPoints());var a,s,c=r.length;o?(a=r[c-2]-(i[i.length-2]+i[i.length-4])/2,s=r[c-1]-(i[i.length-1]+i[i.length-3])/2):(a=r[c-2]-r[c-4],s=r[c-1]-r[c-3]);var h=(Math.atan2(s,a)+n)%n,u=this.pointerLength(),l=this.pointerWidth();e.save(),e.beginPath(),e.translate(r[c-2],r[c-1]),e.rotate(h),e.moveTo(0,0),e.lineTo(-u,l/2),e.lineTo(-u,-l/2),e.closePath(),e.restore(),this.pointerAtBeginning()&&(e.save(),e.translate(r[0],r[1]),o?(a=(i[0]+i[2])/2-r[0],s=(i[1]+i[3])/2-r[1]):(a=r[2]-r[0],s=r[3]-r[1]),e.rotate((Math.atan2(-s,-a)+n)%n),e.moveTo(0,0),e.lineTo(-u,l/2),e.lineTo(-u,-l/2),e.closePath(),e.restore());var f=this.dashEnabled();f&&(this.attrs.dashEnabled=!1,e.setLineDash([])),e.fillStrokeShape(this),f&&(this.attrs.dashEnabled=!0)},e.prototype.getSelfRect=function(){var e=t.prototype.getSelfRect.call(this),n=this.pointerWidth()/2;return{x:e.x-n,y:e.y-n,width:e.width+2*n,height:e.height+2*n}},e}(a.Line);e.Arrow=h,h.prototype.className="Arrow",c._registerNode(h),o.Factory.addGetterSetter(h,"pointerLength",10,s.getNumberValidator()),o.Factory.addGetterSetter(h,"pointerWidth",10,s.getNumberValidator()),o.Factory.addGetterSetter(h,"pointerAtBeginning",!1),i.Collection.mapMethods(h)},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1c0b":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"1c49":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("9cb8"),a=n("4546"),s=function(t,e,n){var r,i,o,a,s=t.data,c=e.data,h=t.width,u=t.height,l=n.polarCenterX||h/2,f=n.polarCenterY||u/2,d=0,p=0,g=0,v=0,y=Math.sqrt(l*l+f*f);i=h-l,o=u-f,a=Math.sqrt(i*i+o*o),y=a>y?a:y;var m,_,b,w,x=u,S=h,C=360/S*Math.PI/180;for(_=0;__?c:_;var b,w,x,S,C=f,P=l,k=n.polarRotation||0;for(i=0;ip&&(S=x,C=0,P=-1),n=0;n=51||!r((function(){var e=[],n=e.constructor={};return n[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1f21":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("4546"),c=n("d777"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(t){t.beginPath(),t.arc(0,0,this.radius(),0,2*Math.PI,!1),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.radius()},e.prototype.getHeight=function(){return 2*this.radius()},e.prototype.setWidth=function(t){this.radius()!==t/2&&this.radius(t/2)},e.prototype.setHeight=function(t){this.radius()!==t/2&&this.radius(t/2)},e}(a.Shape);e.Circle=h,h.prototype._centroid=!0,h.prototype.className="Circle",h.prototype._attrsAffectingSize=["radius"],c._registerNode(h),o.Factory.addGetterSetter(h,"radius",0,s.getNumberValidator()),i.Collection.mapMethods(h)},2013:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.Posterize=function(t){var e,n=Math.round(254*this.levels())+1,r=t.data,i=r.length,o=255/n;for(e=0;ef;f++)if(p=S(t[f]),p&&p instanceof h)return p;return new h(!1)}u=l.call(t)}g=u.next;while(!(v=g.call(u)).done){try{p=S(v.value)}catch(C){throw c(u),C}if("object"==typeof p&&p&&p instanceof h)return p}return new h(!1)}},"229a":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("4546"),c=n("d777"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._useBufferCanvas=function(){return!(!this.hasShadow()&&1===this.getAbsoluteOpacity()||!this.hasStroke()||!this.getStage())},e.prototype._sceneFunc=function(t){var e,n,r,i=this.width(),o=this.height(),a=this.image();a&&(e=this.cropWidth(),n=this.cropHeight(),r=e&&n?[a,this.cropX(),this.cropY(),e,n,0,0,i,o]:[a,0,0,i,o]),(this.hasFill()||this.hasStroke())&&(t.beginPath(),t.rect(0,0,i,o),t.closePath(),t.fillStrokeShape(this)),a&&t.drawImage.apply(t,r)},e.prototype._hitFunc=function(t){var e=this.width(),n=this.height();t.beginPath(),t.rect(0,0,e,n),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){var t,e=this.image();return t=this.attrs.width,null!==t&&void 0!==t?t:e?e.width:0},e.prototype.getHeight=function(){var t,e=this.image();return t=this.attrs.height,null!==t&&void 0!==t?t:e?e.height:0},e.fromURL=function(t,n){var r=i.Util.createImageElement();r.onload=function(){var t=new e({image:r});n(t)},r.crossOrigin="Anonymous",r.src=t},e}(a.Shape);e.Image=h,h.prototype.className="Image",c._registerNode(h),o.Factory.addGetterSetter(h,"image"),o.Factory.addComponentsGetterSetter(h,"crop",["x","y","width","height"]),o.Factory.addGetterSetter(h,"cropX",0,s.getNumberValidator()),o.Factory.addGetterSetter(h,"cropY",0,s.getNumberValidator()),o.Factory.addGetterSetter(h,"cropWidth",0,s.getNumberValidator()),o.Factory.addGetterSetter(h,"cropHeight",0,s.getNumberValidator()),i.Collection.mapMethods(h)},"23cb":function(t,e,n){var r=n("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},"23e7":function(t,e,n){var r=n("da84"),i=n("06cf").f,o=n("9112"),a=n("6eeb"),s=n("ce4e"),c=n("e893"),h=n("94ca");t.exports=function(t,e){var n,u,l,f,d,p,g=t.target,v=t.global,y=t.stat;if(u=v?r:y?r[g]||s(g,{}):(r[g]||{}).prototype,u)for(l in e){if(d=e[l],t.noTargetGet?(p=i(u,l),f=p&&p.value):f=u[l],n=h(v?l:g+(y?".":"#")+l,t.forced),!n&&void 0!==f){if(typeof d===typeof f)continue;c(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(u,l,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),i=n("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},2626:function(t,e,n){"use strict";var r=n("d066"),i=n("9bf2"),o=n("b622"),a=n("83ab"),s=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},"26c8":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("4546"),c=n("d777"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(t){var e,n,r,i=this.sides(),o=this.radius();for(t.beginPath(),t.moveTo(0,0-o),e=1;e=1){var n=e[0].p0;t.moveTo(n.x,n.y)}for(var r=0;r0&&(a+=t.dataArray[c].pathLength);var h=0;"center"===r&&(h=Math.max(0,a/2-o/2)),"right"===r&&(h=Math.max(0,a-o));for(var u,l,f,d=this.text().split(""),p=this.text().split(" ").length-1,g=-1,v=0,y=function(){v=0;for(var e=t.dataArray,n=g+1;n0)return g=n,e[n];"M"===e[n].command&&(u={x:e[n].points[0],y:e[n].points[1]})}return{}},m=function(e){var i=t._getTextSize(e).width+n;" "===e&&"justify"===r&&(i+=(a-o)/p);var c=0,h=0;l=void 0;while(Math.abs(i-c)/i>.01&&h<25){h++;var d=c;while(void 0===f)f=y(),f&&d+f.pathLengthi?l=s.Path.getPointOnLine(i,u.x,u.y,f.points[0],f.points[1],u.x,u.y):f=void 0;break;case"A":var m=f.points[4],_=f.points[5],b=f.points[4]+_;0===v?v=m+1e-8:i>c?v+=Math.PI/180*_/Math.abs(_):v-=Math.PI/360*_/Math.abs(_),(_<0&&v=0&&v>b)&&(v=b,g=!0),l=s.Path.getPointOnEllipticalArc(f.points[0],f.points[1],f.points[2],f.points[3],v,f.points[6]);break;case"C":0===v?v=i>f.pathLength?1e-8:i/f.pathLength:i>c?v+=(i-c)/f.pathLength:v-=(c-i)/f.pathLength,v>1&&(v=1,g=!0),l=s.Path.getPointOnCubicBezier(v,f.start.x,f.start.y,f.points[0],f.points[1],f.points[2],f.points[3],f.points[4],f.points[5]);break;case"Q":0===v?v=i/f.pathLength:i>c?v+=(i-c)/f.pathLength:v-=(c-i)/f.pathLength,v>1&&(v=1,g=!0),l=s.Path.getPointOnQuadraticBezier(v,f.start.x,f.start.y,f.points[0],f.points[1],f.points[2],f.points[3]);break}void 0!==l&&(c=s.Path.getLineLength(u.x,u.y,l.x,l.y)),g&&(g=!1,f=void 0)}},_="C",b=t._getTextSize(_).width+n,w=h/b-1,x=0;x=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===h?JSON.stringify(t,null,2):String(t)}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var x=/-(\w)/g,S=w((function(t){return t.replace(x,(function(t,e){return e?e.toUpperCase():""}))})),C=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),P=/\B([A-Z])/g,k=w((function(t){return t.replace(P,"-$1").toLowerCase()}));function O(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function A(t,e){return t.bind(e)}var T=Function.prototype.bind?A:O;function M(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function F(t,e){for(var n in e)t[n]=e[n];return t}function N(t){for(var e={},n=0;n0,nt=Q&&Q.indexOf("edge/")>0,rt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===J),it=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(q)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(Sa){}var ct=function(){return void 0===Y&&(Y=!q&&!Z&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),Y},ht=q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ut(t){return"function"===typeof t&&/native code/.test(t.toString())}var lt,ft="undefined"!==typeof Symbol&&ut(Symbol)&&"undefined"!==typeof Reflect&&ut(Reflect.ownKeys);lt="undefined"!==typeof Set&&ut(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var dt=L,pt=0,gt=function(){this.id=pt++,this.subs=[]};gt.prototype.addSub=function(t){this.subs.push(t)},gt.prototype.removeSub=function(t){m(this.subs,t)},gt.prototype.depend=function(){gt.target&>.target.addDep(this)},gt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===k(t)){var c=te(String,i.type);(c<0||s0&&(a=Oe(a,(e||"")+"_"+n),ke(a[0])&&ke(h)&&(u[c]=xt(h.text+a[0].text),a.shift()),u.push.apply(u,a)):s(a)?ke(h)?u[c]=xt(h.text+a):""!==a&&u.push(xt(a)):ke(a)&&ke(h)?u[c]=xt(h.text+a.text):(o(t._isVList)&&i(a.tag)&&r(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+n+"__"),u.push(a)));return u}function Ae(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Te(t){var e=Me(t.$options.inject,t);e&&(Tt(!1),Object.keys(e).forEach((function(n){Dt(t,n,e[n])})),Tt(!0))}function Me(t,e){if(t){for(var n=Object.create(null),r=ft?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&r&&r!==n&&s===r.$key&&!o&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=De(e,c,t[c]))}else i={};for(var h in e)h in i||(i[h]=Ee(e,h));return t&&Object.isExtensible(t)&&(t._normalized=i),W(i,"$stable",a),W(i,"$key",s),W(i,"$hasNormal",o),i}function De(t,e,n){var r=function(){var t=arguments.length?n.apply(null,arguments):n({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Pe(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:r,enumerable:!0,configurable:!0}),r}function Ee(t,e){return function(){return t[e]}}function Ie(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r1?M(n):n;for(var r=M(arguments,1),i='event handler for "'+t+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Yn=function(){return Xn.now()})}function qn(){var t,e;for(Kn=Yn(),Bn=!0,$n.sort((function(t,e){return t.id-e.id})),Wn=0;Wn<$n.length;Wn++)t=$n[Wn],t.before&&t.before(),e=t.id,Vn[e]=null,t.run();var n=Un.slice(),r=$n.slice();zn(),Qn(n),Zn(r),ht&&V.devtools&&ht.emit("flush")}function Zn(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Rn(r,"updated")}}function Jn(t){t._inactive=!1,Un.push(t)}function Qn(t){for(var e=0;eWn&&$n[n].id>t.id)n--;$n.splice(n+1,0,t)}else $n.push(t);Hn||(Hn=!0,pe(qn))}}var er=0,nr=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++er,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new lt,this.newDepIds=new lt,this.expression="","function"===typeof e?this.getter=e:(this.getter=K(e),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};nr.prototype.get=function(){var t;yt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(Sa){if(!this.user)throw Sa;ee(Sa,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ve(t),mt(),this.cleanupDeps()}return t},nr.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},nr.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},nr.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tr(this)},nr.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(Sa){ee(Sa,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},nr.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},nr.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},nr.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var rr={enumerable:!0,configurable:!0,get:L,set:L};function ir(t,e,n){rr.get=function(){return this[e][n]},rr.set=function(t){this[e][n]=t},Object.defineProperty(t,n,rr)}function or(t){t._watchers=[];var e=t.$options;e.props&&ar(t,e.props),e.methods&&pr(t,e.methods),e.data?sr(t):Lt(t._data={},!0),e.computed&&ur(t,e.computed),e.watch&&e.watch!==ot&&gr(t,e.watch)}function ar(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Tt(!1);var a=function(o){i.push(o);var a=qt(o,e,n,t);Dt(r,o,a),o in t||ir(t,"_props",o)};for(var s in e)a(s);Tt(!0)}function sr(t){var e=t.$options.data;e=t._data="function"===typeof e?cr(e,t):e||{},u(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&b(r,o)||B(o)||ir(t,"_data",o)}Lt(e,!0)}function cr(t,e){yt();try{return t.call(e,e)}catch(Sa){return ee(Sa,e,"data()"),{}}finally{mt()}}var hr={lazy:!0};function ur(t,e){var n=t._computedWatchers=Object.create(null),r=ct();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,r||(n[i]=new nr(t,a||L,L,hr)),i in t||lr(t,i,o)}}function lr(t,e,n){var r=!ct();"function"===typeof n?(rr.get=r?fr(e):dr(n),rr.set=L):(rr.get=n.get?r&&!1!==n.cache?fr(e):dr(n.get):L,rr.set=n.set||L),Object.defineProperty(t,e,rr)}function fr(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),gt.target&&e.depend(),e.value}}function dr(t){return function(){return t.call(this,this)}}function pr(t,e){t.$options.props;for(var n in e)t[n]="function"!==typeof e[n]?L:T(e[n],t)}function gr(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i-1)return this;var n=M(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function Pr(t){t.mixin=function(t){return this.options=Yt(this.options,t),this}}function kr(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Yt(n.options,t),a["super"]=n,a.options.props&&Or(a),a.options.computed&&Ar(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,$.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=F({},a.options),i[r]=a,a}}function Or(t){var e=t.options.props;for(var n in e)ir(t.prototype,"_props",n)}function Ar(t){var e=t.options.computed;for(var n in e)lr(t.prototype,n,e[n])}function Tr(t){$.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function Mr(t){return t&&(t.Ctor.options.name||t.tag)}function Fr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Nr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=Mr(a.componentOptions);s&&!e(s)&&Lr(n,o,r,i)}}}function Lr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}_r(Sr),yr(Sr),Tn(Sr),Ln(Sr),mn(Sr);var Dr=[String,RegExp,Array],Er={name:"keep-alive",abstract:!0,props:{include:Dr,exclude:Dr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Lr(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Nr(t,(function(t){return Fr(e,t)}))})),this.$watch("exclude",(function(e){Nr(t,(function(t){return!Fr(e,t)}))}))},render:function(){var t=this.$slots.default,e=Sn(t),n=e&&e.componentOptions;if(n){var r=Mr(n),i=this,o=i.include,a=i.exclude;if(o&&(!r||!Fr(o,r))||a&&r&&Fr(a,r))return e;var s=this,c=s.cache,h=s.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,m(h,u),h.push(u)):(c[u]=e,h.push(u),this.max&&h.length>parseInt(this.max)&&Lr(c,h[0],h,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Ir={KeepAlive:Er};function jr(t){var e={get:function(){return V}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:F,mergeOptions:Yt,defineReactive:Dt},t.set=Et,t.delete=It,t.nextTick=pe,t.observable=function(t){return Lt(t),t},t.options=Object.create(null),$.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,F(t.options.components,Ir),Cr(t),Pr(t),kr(t),Tr(t)}jr(Sr),Object.defineProperty(Sr.prototype,"$isServer",{get:ct}),Object.defineProperty(Sr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sr,"FunctionalRenderContext",{value:Ze}),Sr.version="2.6.12";var Gr=v("style,class"),Rr=v("input,textarea,option,select,progress"),$r=function(t,e,n){return"value"===n&&Rr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Ur=v("contenteditable,draggable,spellcheck"),Vr=v("events,caret,typing,plaintext-only"),Hr=function(t,e){return Yr(e)||"false"===e?"false":"contenteditable"===t&&Vr(e)?e:"true"},Br=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Wr="http://www.w3.org/1999/xlink",zr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Kr=function(t){return zr(t)?t.slice(6,t.length):""},Yr=function(t){return null==t||!1===t};function Xr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=qr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=qr(e,n.data));return Zr(e.staticClass,e.class)}function qr(t,e){return{staticClass:Jr(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Zr(t,e){return i(t)||i(e)?Jr(t,Qr(e)):""}function Jr(t,e){return t?e?t+" "+e:t:e||""}function Qr(t){return Array.isArray(t)?ti(t):c(t)?ei(t):"string"===typeof t?t:""}function ti(t){for(var e,n="",r=0,o=t.length;r-1?si[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:si[t]=/HTMLUnknownElement/.test(e.toString())}var hi=v("text,number,password,search,email,tel,url");function ui(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function li(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function fi(t,e){return document.createElementNS(ni[t],e)}function di(t){return document.createTextNode(t)}function pi(t){return document.createComment(t)}function gi(t,e,n){t.insertBefore(e,n)}function vi(t,e){t.removeChild(e)}function yi(t,e){t.appendChild(e)}function mi(t){return t.parentNode}function _i(t){return t.nextSibling}function bi(t){return t.tagName}function wi(t,e){t.textContent=e}function xi(t,e){t.setAttribute(e,"")}var Si=Object.freeze({createElement:li,createElementNS:fi,createTextNode:di,createComment:pi,insertBefore:gi,removeChild:vi,appendChild:yi,parentNode:mi,nextSibling:_i,tagName:bi,setTextContent:wi,setStyleScope:xi}),Ci={create:function(t,e){Pi(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Pi(t,!0),Pi(e))},destroy:function(t){Pi(t,!0)}};function Pi(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?m(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var ki=new _t("",{},[]),Oi=["create","activate","update","remove","destroy"];function Ai(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Ti(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function Ti(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||hi(r)&&hi(o)}function Mi(t,e,n){var r,o,a={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(a[o]=r);return a}function Fi(t){var e,n,a={},c=t.modules,h=t.nodeOps;for(e=0;eg?(l=r(n[m+1])?null:n[m+1].elm,S(t,l,n,p,m,o)):p>m&&P(e,f,g)}function A(t,e,n,r){for(var o=n;o-1?Vi(t,e,n):Br(e)?Yr(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Ur(e)?t.setAttribute(e,Hr(e,n)):zr(e)?Yr(n)?t.removeAttributeNS(Wr,Kr(e)):t.setAttributeNS(Wr,e,n):Vi(t,e,n)}function Vi(t,e,n){if(Yr(n))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var Hi={create:$i,update:$i};function Bi(t,e){var n=e.elm,o=e.data,a=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(a)||r(a.staticClass)&&r(a.class)))){var s=Xr(e),c=n._transitionClasses;i(c)&&(s=Jr(s,Qr(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Wi,zi={create:Bi,update:Bi},Ki="__r",Yi="__c";function Xi(t){if(i(t[Ki])){var e=tt?"change":"input";t[e]=[].concat(t[Ki],t[e]||[]),delete t[Ki]}i(t[Yi])&&(t.change=[].concat(t[Yi],t.change||[]),delete t[Yi])}function qi(t,e,n){var r=Wi;return function i(){var o=e.apply(null,arguments);null!==o&&Qi(t,i,n,r)}}var Zi=ae&&!(it&&Number(it[1])<=53);function Ji(t,e,n,r){if(Zi){var i=Kn,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Wi.addEventListener(t,e,at?{capture:n,passive:r}:n)}function Qi(t,e,n,r){(r||Wi).removeEventListener(t,e._wrapper||e,n)}function to(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Wi=e.elm,Xi(n),be(n,i,Ji,Qi,qi,e.context),Wi=void 0}}var eo,no={create:to,update:to};function ro(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=F({},c)),s)n in c||(a[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var h=r(o)?"":String(o);io(a,h)&&(a.value=h)}else if("innerHTML"===n&&ii(a.tagName)&&r(a.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML=""+o+"";var u=eo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(u.firstChild)a.appendChild(u.firstChild)}else if(o!==s[n])try{a[n]=o}catch(Sa){}}}}function io(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||ao(t,e))}function oo(t,e){var n=!0;try{n=document.activeElement!==t}catch(Sa){}return n&&t.value!==e}function ao(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var so={create:ro,update:ro},co=w((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function ho(t){var e=uo(t.style);return t.staticStyle?F(t.staticStyle,e):e}function uo(t){return Array.isArray(t)?N(t):"string"===typeof t?co(t):t}function lo(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=ho(i.data))&&F(r,n)}(n=ho(t.data))&&F(r,n);var o=t;while(o=o.parent)o.data&&(n=ho(o.data))&&F(r,n);return r}var fo,po=/^--/,go=/\s*!important$/,vo=function(t,e,n){if(po.test(e))t.style.setProperty(e,n);else if(go.test(n))t.style.setProperty(k(e),n.replace(go,""),"important");else{var r=mo(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(wo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function So(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Co(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&F(e,Po(t.name||"v")),F(e,t),e}return"string"===typeof t?Po(t):void 0}}var Po=w((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),ko=q&&!et,Oo="transition",Ao="animation",To="transition",Mo="transitionend",Fo="animation",No="animationend";ko&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(To="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Fo="WebkitAnimation",No="webkitAnimationEnd"));var Lo=q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Do(t){Lo((function(){Lo(t)}))}function Eo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),xo(t,e))}function Io(t,e){t._transitionClasses&&m(t._transitionClasses,e),So(t,e)}function jo(t,e,n){var r=Ro(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Oo?Mo:No,c=0,h=function(){t.removeEventListener(s,u),n()},u=function(e){e.target===t&&++c>=a&&h()};setTimeout((function(){c0&&(n=Oo,u=a,l=o.length):e===Ao?h>0&&(n=Ao,u=h,l=c.length):(u=Math.max(a,h),n=u>0?a>h?Oo:Ao:null,l=n?n===Oo?o.length:c.length:0);var f=n===Oo&&Go.test(r[To+"Property"]);return{type:n,timeout:u,propCount:l,hasTransform:f}}function $o(t,e){while(t.length1}function zo(t,e){!0!==e.data.show&&Vo(e)}var Ko=q?{create:zo,activate:zo,remove:function(t,e){!0!==t.data.show?Ho(t,e):e()}}:{},Yo=[Hi,zi,no,so,bo,Ko],Xo=Yo.concat(Ri),qo=Fi({nodeOps:Si,modules:Xo});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ia(t,"input")}));var Zo={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?we(n,"postpatch",(function(){Zo.componentUpdated(t,e,n)})):Jo(t,e,n.context),t._vOptions=[].map.call(t.options,ea)):("textarea"===n.tag||hi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",na),t.addEventListener("compositionend",ra),t.addEventListener("change",ra),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Jo(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,ea);if(i.some((function(t,e){return!I(t,r[e])}))){var o=t.multiple?e.value.some((function(t){return ta(t,i)})):e.value!==e.oldValue&&ta(e.value,i);o&&ia(t,"change")}}}};function Jo(t,e,n){Qo(t,e,n),(tt||nt)&&setTimeout((function(){Qo(t,e,n)}),0)}function Qo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(I(ea(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ta(t,e){return e.every((function(e){return!I(e,t)}))}function ea(t){return"_value"in t?t._value:t.value}function na(t){t.target.composing=!0}function ra(t){t.target.composing&&(t.target.composing=!1,ia(t.target,"input"))}function ia(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oa(t){return!t.componentInstance||t.data&&t.data.transition?t:oa(t.componentInstance._vnode)}var aa={bind:function(t,e,n){var r=e.value;n=oa(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Vo(n,(function(){t.style.display=o}))):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?Vo(n,(function(){t.style.display=t.__vOriginalDisplay})):Ho(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},sa={model:Zo,show:aa},ca={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ha(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ha(Sn(e.children)):t}function ua(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function la(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function fa(t){while(t=t.parent)if(t.data.transition)return!0}function da(t,e){return e.key===t.key&&e.tag===t.tag}var pa=function(t){return t.tag||xn(t)},ga=function(t){return"show"===t.name},va={name:"transition",props:ca,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var r=this.mode;0;var i=n[0];if(fa(this.$vnode))return i;var o=ha(i);if(!o)return i;if(this._leaving)return la(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=ua(this),h=this._vnode,u=ha(h);if(o.data.directives&&o.data.directives.some(ga)&&(o.data.show=!0),u&&u.data&&!da(o,u)&&!xn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var l=u.data.transition=F({},c);if("out-in"===r)return this._leaving=!0,we(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),la(t,i);if("in-out"===r){if(xn(o))return h;var f,d=function(){f()};we(c,"afterEnter",d),we(c,"enterCancelled",d),we(l,"delayLeave",(function(t){f=t}))}}return i}}},ya=F({tag:String,moveClass:String},ca);delete ya.mode;var ma={props:ya,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var i=Fn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ua(this),s=0;sn)e.push(arguments[n++]);return b[++_]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(_),_},g=function(t){delete b[t]},f?r=function(t){v.nextTick(S(t))}:m&&m.now?r=function(t){m.now(S(t))}:y&&!l?(i=new y,o=i.port2,i.port1.onmessage=C,r=c(o.postMessage,o,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!s(P)?(r=P,a.addEventListener("message",C,!1)):r=w in u("script")?function(t){h.appendChild(u("script"))[w]=function(){h.removeChild(this),x(t)}}:function(t){setTimeout(S(t),0)}),t.exports={set:p,clear:g}},"2d00":function(t,e,n){var r,i,o=n("da84"),a=n("342f"),s=o.process,c=s&&s.versions,h=c&&c.v8;h?(r=h.split("."),i=r[0]<4?1:r[0]+r[1]):a&&(r=a.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/),r&&(i=r[1]))),t.exports=i&&+i},"2fb2":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("ea61"),a=n("d6af"),s=n("d777"),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._validateAdd=function(t){var e=t.getType();"Shape"!==e&&i.Util.throw("You may only add shapes to a fast layer.")},e.prototype.hitGraphEnabled=function(){return!1},e.prototype.drawScene=function(t){var e=this.getLayer(),n=t||e&&e.getCanvas();return this.clearBeforeDraw()&&n.getContext().clear(),o.Container.prototype.drawScene.call(this,n),this},e.prototype.draw=function(){return this.drawScene(),this},e}(a.BaseLayer);e.FastLayer=c,c.prototype.nodeType="FastLayer",s._registerNode(c),i.Collection.mapMethods(c)},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"35a1":function(t,e,n){var r=n("f5df"),i=n("3f8c"),o=n("b622"),a=o("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||i[r(t)]}},"362d":function(t,e,n){var r=n("fd15").Konva;r._injectGlobal(r),e["default"]=r,t.exports=e["default"]},"36da":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("d777"),i=n("9cb8"),o=n("4971"),a=n("ea61"),s=n("eba4"),c=n("0ff5"),h=n("2fb2"),u=n("f35c"),l=n("df93"),f=n("fce6"),d=n("ed3d"),p=n("06f8"),g=n("c527"),v=n("f655");e.Konva=i.Util._assign(r.Konva,{Collection:i.Collection,Util:i.Util,Transform:i.Transform,Node:o.Node,ids:o.ids,names:o.names,Container:a.Container,Stage:s.Stage,stages:s.stages,Layer:c.Layer,FastLayer:h.FastLayer,Group:u.Group,DD:l.DD,Shape:f.Shape,shapes:f.shapes,Animation:d.Animation,Tween:p.Tween,Easings:p.Easings,Context:g.Context,Canvas:v.Canvas})},"37e8":function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("825a"),a=n("df75");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=a(e),s=r.length,c=0;while(s>c)i.f(t,n=r[c++],e[n]);return t}},"383f":function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("4546"),c=n("d777"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(t){var e=this.radiusX(),n=this.radiusY();t.beginPath(),t.save(),e!==n&&t.scale(1,n/e),t.arc(0,0,e,0,2*Math.PI,!1),t.restore(),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.radiusX()},e.prototype.getHeight=function(){return 2*this.radiusY()},e.prototype.setWidth=function(t){this.radiusX(t/2)},e.prototype.setHeight=function(t){this.radiusY(t/2)},e}(a.Shape);e.Ellipse=h,h.prototype.className="Ellipse",h.prototype._centroid=!0,h.prototype._attrsAffectingSize=["radiusX","radiusY"],c._registerNode(h),o.Factory.addComponentsGetterSetter(h,"radius",["x","y"]),o.Factory.addGetterSetter(h,"radiusX",0,s.getNumberValidator()),o.Factory.addGetterSetter(h,"radiusY",0,s.getNumberValidator()),i.Collection.mapMethods(h)},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3ca3":function(t,e,n){"use strict";var r=n("6547").charAt,i=n("69f3"),o=n("7dd0"),a="String Iterator",s=i.set,c=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,i=e.index;return i>=n.length?{value:void 0,done:!0}:(t=r(n,i),e.index+=t.length,{value:t,done:!1})}))},"3f8c":function(t,e){t.exports={}},"405a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("9cb8"),o=n("4971"),a=n("4546");e.Pixelate=function(t){var e,n,r,o,a,s,c,h,u,l,f,d,p,g,v=Math.ceil(this.pixelSize()),y=t.width,m=t.height,_=Math.ceil(y/v),b=Math.ceil(m/v),w=t.data;if(v<=0)i.Util.error("pixelSize value can not be <= 0");else for(d=0;d<_;d+=1)for(p=0;p=y))for(n=l;n=m||(r=4*(y*n+e),o+=w[r+0],a+=w[r+1],s+=w[r+2],c+=w[r+3],g+=1);for(o/=g,a/=g,s/=g,c/=g,e=h;e=y))for(n=l;n=m||(r=4*(y*n+e),w[r+0]=o,w[r+1]=a,w[r+2]=s,w[r+3]=c)}},r.Factory.addGetterSetter(o.Node,"pixelSize",8,a.getNumberValidator(),r.Factory.afterSetFilter)},"428f":function(t,e,n){var r=n("da84");t.exports=r},"44ad":function(t,e,n){var r=n("d039"),i=n("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,e,n){var r=n("b622"),i=n("7c73"),o=n("9bf2"),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},"44de":function(t,e,n){var r=n("da84");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},4546:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("d777"),i=n("9cb8");function o(t){return i.Util._isString(t)?'"'+t+'"':"[object Number]"===Object.prototype.toString.call(t)||i.Util._isBoolean(t)?t:Object.prototype.toString.call(t)}function a(t){return t>255?255:t<0?0:Math.round(t)}function s(t){return t>1?1:t<1e-4?1e-4:t}function c(){if(r.Konva.isUnminified)return function(t,e){return i.Util._isNumber(t)||i.Util.warn(o(t)+' is a not valid value for "'+e+'" attribute. The value should be a number.'),t}}function h(){if(r.Konva.isUnminified)return function(t,e){var n=i.Util._isNumber(t),r="auto"===t;return n||r||i.Util.warn(o(t)+' is a not valid value for "'+e+'" attribute. The value should be a number or "auto".'),t}}function u(){if(r.Konva.isUnminified)return function(t,e){return i.Util._isString(t)||i.Util.warn(o(t)+' is a not valid value for "'+e+'" attribute. The value should be a string.'),t}}function l(){if(r.Konva.isUnminified)return function(t,e){return i.Util._isFunction(t)||i.Util.warn(o(t)+' is a not valid value for "'+e+'" attribute. The value should be a function.'),t}}function f(){if(r.Konva.isUnminified)return function(t,e){return i.Util._isArray(t)?t.forEach((function(t){i.Util._isNumber(t)||i.Util.warn('"'+e+'" attribute has non numeric element '+t+". Make sure that all elements are numbers.")})):i.Util.warn(o(t)+' is a not valid value for "'+e+'" attribute. The value should be a array of numbers.'),t}}function d(){if(r.Konva.isUnminified)return function(t,e){var n=!0===t||!1===t;return n||i.Util.warn(o(t)+' is a not valid value for "'+e+'" attribute. The value should be a boolean.'),t}}function p(t){if(r.Konva.isUnminified)return function(e,n){return i.Util.isObject(e)||i.Util.warn(o(e)+' is a not valid value for "'+n+'" attribute. The value should be an object with properties '+t),e}}e.RGBComponent=a,e.alphaComponent=s,e.getNumberValidator=c,e.getNumberOrAutoValidator=h,e.getStringValidator=u,e.getFunctionValidator=l,e.getNumberArrayValidator=f,e.getBooleanValidator=d,e.getComponentValidator=p},"461e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.HSV=function(t){var e,n,r,i,o,a=t.data,s=a.length,c=Math.pow(2,this.value()),h=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,l=c*h*Math.cos(u*Math.PI/180),f=c*h*Math.sin(u*Math.PI/180),d=.299*c+.701*l+.167*f,p=.587*c-.587*l+.33*f,g=.114*c-.114*l-.497*f,v=.299*c-.299*l-.328*f,y=.587*c+.413*l+.035*f,m=.114*c-.114*l+.293*f,_=.299*c-.3*l+1.25*f,b=.587*c-.586*l-1.05*f,w=.114*c+.886*l-.2*f;for(e=0;e0&&t[0].getDepth()<=i&&s(t)}return o.nodeType!==k&&s(o.getStage().getChildren()),a},t.prototype.getDepth=function(){var t=0,e=this.parent;while(e)t++,e=e.parent;return t},t.prototype._batchTransformChanges=function(t){this._batchingTransformChange=!0,t(),this._batchingTransformChange=!1,this._needClearTransformCache&&(this._clearCache(P),this._clearSelfAndDescendantCache(l,!0)),this._needClearTransformCache=!1},t.prototype.setPosition=function(t){var e=this;return this._batchTransformChanges((function(){e.x(t.x),e.y(t.y)})),this},t.prototype.getPosition=function(){return{x:this.x(),y:this.y()}},t.prototype.getAbsolutePosition=function(t){var e=!1,n=this.parent;while(n){if(n.isCached()){e=!0;break}n=n.parent}e&&!t&&(t=!0);var i=this.getAbsoluteTransform(t).getMatrix(),o=new r.Transform,a=this.offset();return o.m=i.slice(),o.translate(a.x,a.y),o.getTranslation()},t.prototype.setAbsolutePosition=function(t){var e,n=this._clearTransform();return this.attrs.x=n.x,this.attrs.y=n.y,delete n.x,delete n.y,this._clearCache(P),e=this._getAbsoluteTransform(),e.invert(),e.translate(t.x,t.y),t={x:this.attrs.x+e.getTranslation().x,y:this.attrs.y+e.getTranslation().y},this._setTransform(n),this.setPosition({x:t.x,y:t.y}),this},t.prototype._setTransform=function(t){var e;for(e in t)this.attrs[e]=t[e]},t.prototype._clearTransform=function(){var t={x:this.x(),y:this.y(),rotation:this.rotation(),scaleX:this.scaleX(),scaleY:this.scaleY(),offsetX:this.offsetX(),offsetY:this.offsetY(),skewX:this.skewX(),skewY:this.skewY()};return this.attrs.x=0,this.attrs.y=0,this.attrs.rotation=0,this.attrs.scaleX=1,this.attrs.scaleY=1,this.attrs.offsetX=0,this.attrs.offsetY=0,this.attrs.skewX=0,this.attrs.skewY=0,t},t.prototype.move=function(t){var e=t.x,n=t.y,r=this.x(),i=this.y();return void 0!==e&&(r+=e),void 0!==n&&(i+=n),this.setPosition({x:r,y:i}),this},t.prototype._eachAncestorReverse=function(t,e){var n,r,i=[],o=this.getParent();if(e&&e._id===this._id)t(this);else{i.unshift(this);while(o&&(!e||o._id!==e._id))i.unshift(o),o=o.parent;for(n=i.length,r=0;r0&&(this.parent.children.splice(t,1),this.parent.children.splice(t-1,0,this),this.parent._setChildrenIndices(),!0)},t.prototype.moveToBottom=function(){if(!this.parent)return r.Util.warn("Node has no parent. moveToBottom function is ignored."),!1;var t=this.index;return t>0&&(this.parent.children.splice(t,1),this.parent.children.unshift(this),this.parent._setChildrenIndices(),!0)},t.prototype.setZIndex=function(t){if(!this.parent)return r.Util.warn("Node has no parent. zIndex parameter is ignored."),this;(t<0||t>=this.parent.children.length)&&r.Util.warn("Unexpected value "+t+" for zIndex property. zIndex is just index of a node in children of its parent. Expected value is from 0 to "+(this.parent.children.length-1)+".");var e=this.index;return this.parent.children.splice(e,1),this.parent.children.splice(t,0,this),this.parent._setChildrenIndices(),this},t.prototype.getAbsoluteOpacity=function(){return this._getCache(u,this._getAbsoluteOpacity)},t.prototype._getAbsoluteOpacity=function(){var t=this.opacity(),e=this.getParent();return e&&!e._isUnderCache&&(t*=e.getAbsoluteOpacity()),t},t.prototype.moveTo=function(t){return this.getParent()!==t&&(this._remove(),t.add(this)),this},t.prototype.toObject=function(){var t,e,n,i,o,a={},s=this.getAttrs();for(t in a.attrs={},s)e=s[t],o=r.Util.isObject(e)&&!r.Util._isPlainObject(e)&&!r.Util._isArray(e),o||(n="function"===typeof this[t]&&this[t],delete s[t],i=n?n.call(this):null,s[t]=e,i!==e&&(a.attrs[t]=e));return a.className=this.getClassName(),r.Util._prepareToStringify(a)},t.prototype.toJSON=function(){return JSON.stringify(this.toObject())},t.prototype.getParent=function(){return this.parent},t.prototype.findAncestors=function(t,e,n){var r=[];e&&this._isMatch(t)&&r.push(this);var i=this.parent;while(i){if(i===n)return r;i._isMatch(t)&&r.push(i),i=i.parent}return r},t.prototype.isAncestorOf=function(t){return!1},t.prototype.findAncestor=function(t,e,n){return this.findAncestors(t,e,n)[0]},t.prototype._isMatch=function(t){if(!t)return!1;if("function"===typeof t)return t(this);var e,n,i=t.replace(/ /g,"").split(","),o=i.length;for(e=0;e=0;if(r&&!this.isDragging()){var i=!1;s.DD._dragElements.forEach((function(t){e.isAncestorOf(t.node)&&(i=!0)})),i||this._createDragElement(t)}}))},t.prototype._dragChange=function(){if(this.attrs.draggable)this._listenDrag();else{this._dragCleanup();var t=this.getStage();t&&s.DD._dragElements.has(this._id)&&this.stopDrag()}},t.prototype._dragCleanup=function(){this.off("mousedown.konva"),this.off("touchstart.konva")},t.create=function(t,e){return r.Util._isString(t)&&(t=JSON.parse(t)),this._createNode(t,e)},t._createNode=function(e,n){var i,o,s,c=t.prototype.getClassName.call(e),h=e.children;n&&(e.attrs.container=n),a._NODES_REGISTRY[c]||(r.Util.warn('Can not find a node with class name "'+c+'". Fallback to "Shape".'),c="Shape");var u=a._NODES_REGISTRY[c];if(i=new u(e.attrs),h)for(o=h.length,s=0;su)if(s=c[u++],s!=s)return!0}else for(;h>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"4de4":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").filter,o=n("1dde"),a=o("filter");r({target:"Array",proto:!0,forced:!a},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},"50c4":function(t,e,n){var r=n("a691"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},5135:function(t,e,n){var r=n("7b0b"),i={}.hasOwnProperty;t.exports=function(t,e){return i.call(r(t),e)}},"53ca":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));n("a4d3"),n("e01a"),n("d3b7"),n("d28b"),n("3ca3"),n("ddb0");function r(t){return r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}},5414:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i,o=n("9cb8"),a=n("f0b4"),s=n("fce6"),c=n("d777"),h=n("4546"),u=n("d777"),l="auto",f="center",d="justify",p="Change.konva",g="2d",v="-",y="left",m="text",_="Text",b="top",w="bottom",x="middle",S="normal",C="px ",P=" ",k="right",O="word",A="char",T="none",M="…",F=["fontFamily","fontSize","fontStyle","fontVariant","padding","align","verticalAlign","lineHeight","text","width","height","wrap","ellipsis","letterSpacing"],N=F.length;function L(){return i||(i=o.Util.createCanvasElement().getContext(g),i)}function D(t){t.fillText(this._partialText,this._partialTextX,this._partialTextY)}function E(t){t.strokeText(this._partialText,this._partialTextX,this._partialTextY)}function I(t){return t=t||{},t.fillLinearGradientColorStops||t.fillRadialGradientColorStops||t.fillPatternImage||(t.fill=t.fill||"black"),t}String.prototype.trimRight;var j=function(t){function e(e){var n=t.call(this,I(e))||this;n._partialTextX=0,n._partialTextY=0;for(var r=0;r1&&(_+=i)}},e.prototype._hitFunc=function(t){var e=this.getWidth(),n=this.getHeight();t.beginPath(),t.rect(0,0,e,n),t.closePath(),t.fillStrokeShape(this)},e.prototype.setText=function(t){var e=o.Util._isString(t)?t:null===t||void 0===t?"":t+"";return this._setAttr(m,e),this},e.prototype.getWidth=function(){var t=this.attrs.width===l||void 0===this.attrs.width;return t?this.getTextWidth()+2*this.padding():this.attrs.width},e.prototype.getHeight=function(){var t=this.attrs.height===l||void 0===this.attrs.height;return t?this.fontSize()*this.textArr.length*this.lineHeight()+2*this.padding():this.attrs.height},e.prototype.getTextWidth=function(){return this.textWidth},e.prototype.getTextHeight=function(){return o.Util.warn("text.getTextHeight() method is deprecated. Use text.height() - for full height and text.fontSize() - for one line height."),this.textHeight},e.prototype.measureSize=function(t){var e,n=L(),r=this.fontSize();return n.save(),n.font=this._getContextFont(),e=n.measureText(t),n.restore(),{width:e.width,height:r}},e.prototype._getContextFont=function(){return c.Konva.UA.isIE?this.fontStyle()+P+this.fontSize()+C+this.fontFamily():this.fontStyle()+P+this.fontVariant()+P+this.fontSize()+C+this.fontFamily()},e.prototype._addTextLine=function(t){this.align()===d&&(t=t.trim());var e=this._getTextWidth(t);return this.textArr.push({text:t,width:e})},e.prototype._getTextWidth=function(t){var e=this.letterSpacing(),n=t.length;return L().measureText(t).width+(n?e*(n-1):0)},e.prototype._setTextData=function(){var t=this.text().split("\n"),e=+this.fontSize(),n=0,r=this.lineHeight()*e,i=this.attrs.width,o=this.attrs.height,a=i!==l&&void 0!==i,s=o!==l&&void 0!==o,c=this.padding(),h=i-2*c,u=o-2*c,f=0,d=this.wrap(),p=d!==T,g=d!==A&&p,y=this.ellipsis()&&!p;this.textArr=[],L().font=this._getContextFont();for(var m=y?this._getTextWidth(M):0,_=0,b=t.length;_h)while(w.length>0){var S=0,C=w.length,k="",O=0;while(S>>1,N=w.slice(0,F+1),D=this._getTextWidth(N)+m;D<=h?(S=F+1,k=N+(y?M:""),O=D):C=F}if(!k)break;if(g){var E,I=w[k.length],j=I===P||I===v;E=j&&O<=h?k.length:Math.max(k.lastIndexOf(P),k.lastIndexOf(v))+1,E>0&&(S=E,k=k.slice(0,S),O=this._getTextWidth(k))}if(k=k.trimRight(),this._addTextLine(k),n=Math.max(n,O),f+=r,!p||s&&f+r>u)break;if(w=w.slice(S),w=w.trimLeft(),w.length>0&&(x=this._getTextWidth(w),x<=h)){this._addTextLine(w),f+=r,n=Math.max(n,x);break}}else this._addTextLine(w),f+=r,n=Math.max(n,x);if(s&&f+r>u)break}this.textHeight=e,this.textWidth=n},e.prototype.getStrokeScaleEnabled=function(){return!0},e}(s.Shape);e.Text=j,j.prototype._fillFunc=D,j.prototype._strokeFunc=E,j.prototype.className=_,j.prototype._attrsAffectingSize=["text","fontSize","padding","wrap","lineHeight"],u._registerNode(j),a.Factory.overWriteSetter(j,"width",h.getNumberOrAutoValidator()),a.Factory.overWriteSetter(j,"height",h.getNumberOrAutoValidator()),a.Factory.addGetterSetter(j,"fontFamily","Arial"),a.Factory.addGetterSetter(j,"fontSize",12,h.getNumberValidator()),a.Factory.addGetterSetter(j,"fontStyle",S),a.Factory.addGetterSetter(j,"fontVariant",S),a.Factory.addGetterSetter(j,"padding",0,h.getNumberValidator()),a.Factory.addGetterSetter(j,"align",y),a.Factory.addGetterSetter(j,"verticalAlign",b),a.Factory.addGetterSetter(j,"lineHeight",1,h.getNumberValidator()),a.Factory.addGetterSetter(j,"wrap",O),a.Factory.addGetterSetter(j,"ellipsis",!1),a.Factory.addGetterSetter(j,"letterSpacing",0,h.getNumberValidator()),a.Factory.addGetterSetter(j,"text","",h.getStringValidator()),a.Factory.addGetterSetter(j,"textDecoration",""),o.Collection.mapMethods(j)},5530:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));n("b64b"),n("a4d3"),n("4de4"),n("e439"),n("159b"),n("dbb4");function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;eu){var d,p=h(arguments[u++]),g=l?o(p).concat(l(p)):o(p),v=g.length,y=0;while(v>y)d=g[y++],r&&!f.call(p,d)||(n[d]=p[d])}return n}:u},6547:function(t,e,n){var r=n("a691"),i=n("1d80"),o=function(t){return function(e,n){var o,a,s=String(i(e)),c=r(n),h=s.length;return c<0||c>=h?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===h||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},"65f0":function(t,e,n){var r=n("861d"),i=n("e8b5"),o=n("b622"),a=o("species");t.exports=function(t,e){var n;return i(t)&&(n=t.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?r(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},"69f3":function(t,e,n){var r,i,o,a=n("7f9a"),s=n("da84"),c=n("861d"),h=n("9112"),u=n("5135"),l=n("c6cd"),f=n("f772"),d=n("d012"),p="Object already initialized",g=s.WeakMap,v=function(t){return o(t)?i(t):r(t,{})},y=function(t){return function(e){var n;if(!c(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(a||l.state){var m=l.state||(l.state=new g),_=m.get,b=m.has,w=m.set;r=function(t,e){if(b.call(m,t))throw new TypeError(p);return e.facade=t,w.call(m,t,e),e},i=function(t){return _.call(m,t)||{}},o=function(t){return b.call(m,t)}}else{var x=f("state");d[x]=!0,r=function(t,e){if(u(t,x))throw new TypeError(p);return e.facade=t,h(t,x,e),e},i=function(t){return u(t,x)?t[x]:{}},o=function(t){return u(t,x)}}t.exports={set:r,get:i,has:o,enforce:v,getterFor:y}},"6b7e":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.Brighten=function(t){var e,n=255*this.brightness(),r=t.data,i=r.length;for(e=0;e",f="<",d="prototype",p="script",g=u("IE_PROTO"),v=function(){},y=function(t){return f+p+l+t+f+"/"+p+l},m=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},_=function(){var t,e=h("iframe"),n="java"+p+":";return e.style.display="none",c.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(y("document.F=Object")),t.close(),t.F},b=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}b=r?m(r):_();var t=a.length;while(t--)delete b[d][a[t]];return b()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(v[d]=i(t),n=new v,v[d]=null,n[g]=t):n=b(),void 0===e?n:o(n,e)}},"7cc1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Solarize=function(t){var e=t.data,n=t.width,r=t.height,i=4*n,o=r;do{var a=(o-1)*i,s=n;do{var c=a+4*(s-1),h=e[c],u=e[c+1],l=e[c+2];h>127&&(h=255-h),u>127&&(u=255-u),l>127&&(l=255-l),e[c]=h,e[c+1]=u,e[c+2]=l}while(--s)}while(--o)}},"7d2a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("d777"),i=new Map,o=void 0!==r.Konva._global["PointerEvent"];function a(t){return i.get(t)}function s(t){return{evt:t,pointerId:t.pointerId}}function c(t,e){return i.get(t)===e}function h(t,e){u(t);var n=e.getStage();n&&(i.set(t,e),o&&e._fire("gotpointercapture",s(new PointerEvent("gotpointercapture"))))}function u(t,e){var n=i.get(t);if(n){var r=n.getStage();r&&r.content,i.delete(t),o&&n._fire("lostpointercapture",s(new PointerEvent("lostpointercapture")))}}e.getCapturedShape=a,e.createEvent=s,e.hasPointerCapture=c,e.setPointerCapture=h,e.releaseCapture=u},"7db0":function(t,e,n){"use strict";var r=n("23e7"),i=n("b727").find,o=n("44d2"),a="find",s=!0;a in[]&&Array(1)[a]((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o(a)},"7dd0":function(t,e,n){"use strict";var r=n("23e7"),i=n("9ed3"),o=n("e163"),a=n("d2bb"),s=n("d44e"),c=n("9112"),h=n("6eeb"),u=n("b622"),l=n("c430"),f=n("3f8c"),d=n("ae93"),p=d.IteratorPrototype,g=d.BUGGY_SAFARI_ITERATORS,v=u("iterator"),y="keys",m="values",_="entries",b=function(){return this};t.exports=function(t,e,n,u,d,w,x){i(n,e,u);var S,C,P,k=function(t){if(t===d&&F)return F;if(!g&&t in T)return T[t];switch(t){case y:return function(){return new n(this,t)};case m:return function(){return new n(this,t)};case _:return function(){return new n(this,t)}}return function(){return new n(this)}},O=e+" Iterator",A=!1,T=t.prototype,M=T[v]||T["@@iterator"]||d&&T[d],F=!g&&M||k(d),N="Array"==e&&T.entries||M;if(N&&(S=o(N.call(new t)),p!==Object.prototype&&S.next&&(l||o(S)===p||(a?a(S,p):"function"!=typeof S[v]&&c(S,v,b)),s(S,O,!0,!0),l&&(f[O]=b))),d==m&&M&&M.name!==m&&(A=!0,F=function(){return M.call(this)}),l&&!x||T[v]===F||c(T,v,F),f[e]=F,d)if(C={values:k(m),keys:w?F:k(y),entries:k(_)},x)for(P in C)(g||A||!(P in T))&&h(T,P,C[P]);else r({target:e,proto:!0,forced:g||A},C);return C}},"7f9a":function(t,e,n){var r=n("da84"),i=n("8925"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"81d5":function(t,e,n){"use strict";var r=n("7b0b"),i=n("23cb"),o=n("50c4");t.exports=function(t){var e=r(this),n=o(e.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,h=void 0===c?n:i(c,n);while(h>s)e[s++]=t;return e}},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8418:function(t,e,n){"use strict";var r=n("c04e"),i=n("9bf2"),o=n("5c6c");t.exports=function(t,e,n){var a=r(e);a in t?i.f(t,a,o(0,n)):t[a]=n}},"857a":function(t,e,n){var r=n("1d80"),i=/"/g;t.exports=function(t,e,n,o){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(o).replace(i,""")+'"'),s+">"+a+""}},8603:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("d777"),c=n("4546"),h=n("d777"),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(t){var e=s.Konva.getAngle(this.angle()),n=this.clockwise();t.beginPath(),t.arc(0,0,this.outerRadius(),0,e,n),t.arc(0,0,this.innerRadius(),e,0,!n),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.outerRadius()},e.prototype.getHeight=function(){return 2*this.outerRadius()},e.prototype.setWidth=function(t){this.outerRadius(t/2)},e.prototype.setHeight=function(t){this.outerRadius(t/2)},e}(a.Shape);e.Arc=u,u.prototype._centroid=!0,u.prototype.className="Arc",u.prototype._attrsAffectingSize=["innerRadius","outerRadius"],h._registerNode(u),o.Factory.addGetterSetter(u,"innerRadius",0,c.getNumberValidator()),o.Factory.addGetterSetter(u,"outerRadius",0,c.getNumberValidator()),o.Factory.addGetterSetter(u,"angle",0,c.getNumberValidator()),o.Factory.addGetterSetter(u,"clockwise",!1,c.getBooleanValidator()),i.Collection.mapMethods(u)},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8925:function(t,e,n){var r=n("c6cd"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"89c1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Invert=function(t){var e,n=t.data,r=n.length;for(e=0;eh?c:h,g=c>h?1:c/h,v=c>h?h/c:1;t.translate(a,s),t.rotate(f),t.scale(g,v),t.arc(0,0,p,u,u+l,1-d),t.scale(1/g,1/v),t.rotate(-f),t.translate(-a,-s);break;case"z":n=!0,t.closePath();break}}n||this.hasFill()?t.fillStrokeShape(this):t.strokeShape(this)},e.prototype.getSelfRect=function(){var t=[];this.dataArray.forEach((function(n){if("A"===n.command){var r=n.points[4],i=n.points[5],o=n.points[4]+i,a=Math.PI/180;if(Math.abs(r-o)o;s-=a){var c=e.getPointOnEllipticalArc(n.points[0],n.points[1],n.points[2],n.points[3],s,0);t.push(c.x,c.y)}else for(s=r+a;sthis.dataArray[r].pathLength)t-=this.dataArray[r].pathLength,++r;if(r===i)return n=this.dataArray[r-1].points.slice(-2),{x:n[0],y:n[1]};if(t<.01)return n=this.dataArray[r].points.slice(0,2),{x:n[0],y:n[1]};var o=this.dataArray[r],a=o.points;switch(o.command){case"L":return e.getPointOnLine(t,o.start.x,o.start.y,a[0],a[1]);case"C":return e.getPointOnCubicBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3],a[4],a[5]);case"Q":return e.getPointOnQuadraticBezier(t/o.pathLength,o.start.x,o.start.y,a[0],a[1],a[2],a[3]);case"A":var s=a[0],c=a[1],h=a[2],u=a[3],l=a[4],f=a[5],d=a[6];return l+=f*t/o.pathLength,e.getPointOnEllipticalArc(s,c,h,u,l,d)}return null},e.getLineLength=function(t,e,n,r){return Math.sqrt((n-t)*(n-t)+(r-e)*(r-e))},e.getPointOnLine=function(t,e,n,r,i,o,a){void 0===o&&(o=e),void 0===a&&(a=n);var s=(i-n)/(r-e+1e-8),c=Math.sqrt(t*t/(1+s*s));r0){if(isNaN(d[0]))break;var y,m,_,b,w,x,S,C,P,k,O=null,A=[],T=c,M=h;switch(f){case"l":c+=d.shift(),h+=d.shift(),O="L",A.push(c,h);break;case"L":c=d.shift(),h=d.shift(),A.push(c,h);break;case"m":var F=d.shift(),N=d.shift();if(c+=F,h+=N,O="M",a.length>2&&"z"===a[a.length-1].command)for(var L=a.length-2;L>=0;L--)if("M"===a[L].command){c=a[L].points[0]+F,h=a[L].points[1]+N;break}A.push(c,h),f="l";break;case"M":c=d.shift(),h=d.shift(),O="M",A.push(c,h),f="L";break;case"h":c+=d.shift(),O="L",A.push(c,h);break;case"H":c=d.shift(),O="L",A.push(c,h);break;case"v":h+=d.shift(),O="L",A.push(c,h);break;case"V":h=d.shift(),O="L",A.push(c,h);break;case"C":A.push(d.shift(),d.shift(),d.shift(),d.shift()),c=d.shift(),h=d.shift(),A.push(c,h);break;case"c":A.push(c+d.shift(),h+d.shift(),c+d.shift(),h+d.shift()),c+=d.shift(),h+=d.shift(),O="C",A.push(c,h);break;case"S":m=c,_=h,y=a[a.length-1],"C"===y.command&&(m=c+(c-y.points[2]),_=h+(h-y.points[3])),A.push(m,_,d.shift(),d.shift()),c=d.shift(),h=d.shift(),O="C",A.push(c,h);break;case"s":m=c,_=h,y=a[a.length-1],"C"===y.command&&(m=c+(c-y.points[2]),_=h+(h-y.points[3])),A.push(m,_,c+d.shift(),h+d.shift()),c+=d.shift(),h+=d.shift(),O="C",A.push(c,h);break;case"Q":A.push(d.shift(),d.shift()),c=d.shift(),h=d.shift(),A.push(c,h);break;case"q":A.push(c+d.shift(),h+d.shift()),c+=d.shift(),h+=d.shift(),O="Q",A.push(c,h);break;case"T":m=c,_=h,y=a[a.length-1],"Q"===y.command&&(m=c+(c-y.points[0]),_=h+(h-y.points[1])),c=d.shift(),h=d.shift(),O="Q",A.push(m,_,c,h);break;case"t":m=c,_=h,y=a[a.length-1],"Q"===y.command&&(m=c+(c-y.points[0]),_=h+(h-y.points[1])),c+=d.shift(),h+=d.shift(),O="Q",A.push(m,_,c,h);break;case"A":b=d.shift(),w=d.shift(),x=d.shift(),S=d.shift(),C=d.shift(),P=c,k=h,c=d.shift(),h=d.shift(),O="A",A=this.convertEndpointToCenterParameterization(P,k,c,h,S,C,b,w,x);break;case"a":b=d.shift(),w=d.shift(),x=d.shift(),S=d.shift(),C=d.shift(),P=c,k=h,c+=d.shift(),h+=d.shift(),O="A",A=this.convertEndpointToCenterParameterization(P,k,c,h,S,C,b,w,x);break}a.push({command:O||f,points:A,start:{x:T,y:M},pathLength:this.calcLength(T,M,O||f,A)})}"z"!==f&&"Z"!==f||a.push({command:"z",points:[],start:void 0,pathLength:0})}return a},e.calcLength=function(t,n,r,i){var o,a,s,c,h=e;switch(r){case"L":return h.getLineLength(t,n,i[0],i[1]);case"C":for(o=0,a=h.getPointOnCubicBezier(0,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),c=.01;c<=1;c+=.01)s=h.getPointOnCubicBezier(c,t,n,i[0],i[1],i[2],i[3],i[4],i[5]),o+=h.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"Q":for(o=0,a=h.getPointOnQuadraticBezier(0,t,n,i[0],i[1],i[2],i[3]),c=.01;c<=1;c+=.01)s=h.getPointOnQuadraticBezier(c,t,n,i[0],i[1],i[2],i[3]),o+=h.getLineLength(a.x,a.y,s.x,s.y),a=s;return o;case"A":o=0;var u=i[4],l=i[5],f=i[4]+l,d=Math.PI/180;if(Math.abs(u-f)f;c-=d)s=h.getPointOnEllipticalArc(i[0],i[1],i[2],i[3],c,0),o+=h.getLineLength(a.x,a.y,s.x,s.y),a=s;else for(c=u+d;c1&&(a*=Math.sqrt(f),s*=Math.sqrt(f));var d=Math.sqrt((a*a*(s*s)-a*a*(l*l)-s*s*(u*u))/(a*a*(l*l)+s*s*(u*u)));i===o&&(d*=-1),isNaN(d)&&(d=0);var p=d*a*l/s,g=d*-s*u/a,v=(t+n)/2+Math.cos(h)*p-Math.sin(h)*g,y=(e+r)/2+Math.sin(h)*p+Math.cos(h)*g,m=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},_=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(m(t)*m(e))},b=function(t,e){return(t[0]*e[1]=1&&(C=0),0===o&&C>0&&(C-=2*Math.PI),1===o&&C<0&&(C+=2*Math.PI),[v,y,a,s,w,C,h,o]},e}(a.Shape);e.Path=c,c.prototype.className="Path",c.prototype._attrsAffectingSize=["data"],s._registerNode(c),o.Factory.addGetterSetter(c,"data"),i.Collection.mapMethods(c)},"8e84":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.RGB=function(t){var e,n,r=t.data,i=r.length,o=this.red(),a=this.green(),s=this.blue();for(e=0;e255?255:t<0?0:Math.round(t)})),r.Factory.addGetterSetter(i.Node,"green",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),r.Factory.addGetterSetter(i.Node,"blue",0,o.RGBComponent,r.Factory.afterSetFilter)},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),i=n("9bf2"),o=n("5c6c");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},"926b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");r.Factory.addGetterSetter(i.Node,"hue",0,o.getNumberValidator(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(i.Node,"saturation",0,o.getNumberValidator(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(i.Node,"luminance",0,o.getNumberValidator(),r.Factory.afterSetFilter),e.HSL=function(t){var e,n,r,i,o,a=t.data,s=a.length,c=1,h=Math.pow(2,this.saturation()),u=Math.abs(this.hue()+360)%360,l=127*this.luminance(),f=c*h*Math.cos(u*Math.PI/180),d=c*h*Math.sin(u*Math.PI/180),p=.299*c+.701*f+.167*d,g=.587*c-.587*f+.33*d,v=.114*c-.114*f-.497*d,y=.299*c-.299*f-.328*d,m=.587*c+.413*f+.035*d,_=.114*c-.114*f+.293*d,b=.299*c-.3*f+1.25*d,w=.587*c-.586*f-1.05*d,x=.114*c+.886*f-.2*d;for(e=0;e=0&&d=0&&p=0&&d=0&&p=1020?255:0}return a}function d(t,e,n){for(var r=[1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9,1/9],i=Math.round(Math.sqrt(r.length)),o=Math.floor(i/2),a=[],s=0;s=0&&d=0&&p0?Math.acos(t/h):-Math.acos(t/h),c.scaleX=h,c.scaleY=s/h,c.skewX=Math.atan((t*r+n*i)/(h*h)),c.skewY=0}else if(0!=r||0!=i){var u=Math.sqrt(r*r+i*i);c.rotation=Math.PI/2-(i>0?Math.acos(-r/u):-Math.acos(r/u)),c.scaleX=s/u,c.scaleY=u,c.skewX=0,c.skewY=Math.atan((t*r+n*i)/(u*u))}return c.rotation=e.Util._getRotation(c.rotation),c},t}();e.Transform=o;var a="[object Array]",s="[object Number]",c="[object String]",h="[object Boolean]",u=Math.PI/180,l=180/Math.PI,f="#",d="",p="0",g="Konva warning: ",v="Konva error: ",y="rgb(",m={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,132,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,255,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,203],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[119,128,144],slategrey:[119,128,144],snow:[255,255,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],transparent:[255,255,255,0],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,5]},_=/rgb\((\d{1,3}),(\d{1,3}),(\d{1,3})\)/,b=[];e.Util={_isElement:function(t){return!(!t||1!=t.nodeType)},_isFunction:function(t){return!!(t&&t.constructor&&t.call&&t.apply)},_isPlainObject:function(t){return!!t&&t.constructor===Object},_isArray:function(t){return Object.prototype.toString.call(t)===a},_isNumber:function(t){return Object.prototype.toString.call(t)===s&&!isNaN(t)&&isFinite(t)},_isString:function(t){return Object.prototype.toString.call(t)===c},_isBoolean:function(t){return Object.prototype.toString.call(t)===h},isObject:function(t){return t instanceof Object},isValidSelector:function(t){if("string"!==typeof t)return!1;var e=t[0];return"#"===e||"."===e||e===e.toUpperCase()},_sign:function(t){return 0===t?0:t>0?1:-1},requestAnimFrame:function(t){b.push(t),1===b.length&&requestAnimationFrame((function(){var t=b;b=[],t.forEach((function(t){t()}))}))},createCanvasElement:function(){var t=document.createElement("canvas");try{t.style=t.style||{}}catch(e){}return t},createImageElement:function(){return document.createElement("img")},_isInDocument:function(t){while(t=t.parentNode)if(t==document)return!0;return!1},_simplifyArray:function(t){var n,r,i=[],o=t.length,a=e.Util;for(n=0;n>16&255,g:e>>8&255,b:255&e}},getRandomColor:function(){var t=(16777215*Math.random()<<0).toString(16);while(t.length<6)t=p+t;return f+t},get:function(t,e){return void 0===t?e:t},getRGB:function(t){var e;return t in m?(e=m[t],{r:e[0],g:e[1],b:e[2]}):t[0]===f?this._hexToRgb(t.substring(1)):t.substr(0,4)===y?(e=_.exec(t.replace(/ /g,"")),{r:parseInt(e[1],10),g:parseInt(e[2],10),b:parseInt(e[3],10)}):{r:0,g:0,b:0}},colorToRGBA:function(t){return t=t||"black",e.Util._namedColorToRBA(t)||e.Util._hex3ColorToRGBA(t)||e.Util._hex6ColorToRGBA(t)||e.Util._rgbColorToRGBA(t)||e.Util._rgbaColorToRGBA(t)||e.Util._hslColorToRGBA(t)},_namedColorToRBA:function(t){var e=m[t.toLowerCase()];return e?{r:e[0],g:e[1],b:e[2],a:1}:null},_rgbColorToRGBA:function(t){if(0===t.indexOf("rgb(")){t=t.match(/rgb\(([^)]+)\)/)[1];var e=t.split(/ *, */).map(Number);return{r:e[0],g:e[1],b:e[2],a:1}}},_rgbaColorToRGBA:function(t){if(0===t.indexOf("rgba(")){t=t.match(/rgba\(([^)]+)\)/)[1];var e=t.split(/ *, */).map(Number);return{r:e[0],g:e[1],b:e[2],a:e[3]}}},_hex6ColorToRGBA:function(t){if("#"===t[0]&&7===t.length)return{r:parseInt(t.slice(1,3),16),g:parseInt(t.slice(3,5),16),b:parseInt(t.slice(5,7),16),a:1}},_hex3ColorToRGBA:function(t){if("#"===t[0]&&4===t.length)return{r:parseInt(t[1]+t[1],16),g:parseInt(t[2]+t[2],16),b:parseInt(t[3]+t[3],16),a:1}},_hslColorToRGBA:function(t){if(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.test(t)){var e=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(t),n=(e[0],e.slice(1)),r=Number(n[0])/360,i=Number(n[1])/100,o=Number(n[2])/100,a=void 0,s=void 0,c=void 0;if(0===i)return c=255*o,{r:Math.round(c),g:Math.round(c),b:Math.round(c),a:1};a=o<.5?o*(1+i):o+i-o*i;for(var h=2*o-a,u=[0,0,0],l=0;l<3;l++)s=r+1/3*-(l-1),s<0&&s++,s>1&&s--,c=6*s<1?h+6*(a-h)*s:2*s<1?a:3*s<2?h+(a-h)*(2/3-s)*6:h,u[l]=255*c;return{r:Math.round(u[0]),g:Math.round(u[1]),b:Math.round(u[2]),a:1}}},haveIntersection:function(t,e){return!(e.x>t.x+t.width||e.x+e.widtht.y+t.height||e.y+e.height1?(a=n,s=r,c=(n-i)*(n-i)+(r-o)*(r-o)):(a=t+u*(n-t),s=e+u*(r-e),c=(a-i)*(a-i)+(s-o)*(s-o))}return[a,s,c]},_getProjectionToLine:function(t,n,r){var i=e.Util.cloneObject(t),o=Number.MAX_VALUE;return n.forEach((function(a,s){if(r||s!==n.length-1){var c=n[(s+1)%n.length],h=e.Util._getProjectionToSegment(a.x,a.y,c.x,c.y,t.x,t.y),u=h[0],l=h[1],f=h[2];fn.length){var s=n;n=t,t=s}for(i=0;ip)throw TypeError(g);for(u=c(m,r),l=0;l_-r+n;l--)delete m[l-1]}else if(n>r)for(l=_-r;l>b;l--)v=l+r-1,y=l+n-1,v in m?m[y]=m[v]:delete m[y];for(l=0;lo)i.push(arguments[o++]);if(r=e,(d(e)||void 0!==t)&&!st(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!st(e))return e}),i[1]=e,K.apply(null,i)}})}z[U][V]||O(z[U],V,z[U].valueOf),I(z,$),F[R]=!0},a640:function(t,e,n){"use strict";var r=n("d039");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a79d:function(t,e,n){"use strict";var r=n("23e7"),i=n("c430"),o=n("fea9"),a=n("d039"),s=n("d066"),c=n("4840"),h=n("cdf9"),u=n("6eeb"),l=!!o&&a((function(){o.prototype["finally"].call({then:function(){}},(function(){}))}));if(r({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(t){var e=c(this,s("Promise")),n="function"==typeof t;return this.then(n?function(n){return h(e,t()).then((function(){return n}))}:t,n?function(n){return h(e,t()).then((function(){throw n}))}:t)}}),!i&&"function"==typeof o){var f=s("Promise").prototype["finally"];o.prototype["finally"]!==f&&u(o.prototype,"finally",f,{unsafe:!0})}},a925:function(t,e,n){"use strict"; /*! * vue-i18n v8.24.4 * (c) 2021 kazuya kawaguchi * Released under the MIT License. */var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"];function i(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function o(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var a=Array.isArray;function s(t){return null!==t&&"object"===typeof t}function c(t){return"boolean"===typeof t}function h(t){return"string"===typeof t}var u=Object.prototype.toString,l="[object Object]";function f(t){return u.call(t)===l}function d(t){return null===t||void 0===t}function p(t){return"function"===typeof t}function g(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?s(t[0])||a(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(s(t[1])||a(t[1]))&&(r=t[1])),{locale:n,params:r}}function v(t){return JSON.parse(JSON.stringify(t))}function y(t,e){if(t.delete(e))return t}function m(t,e){return!!~t.indexOf(e)}var _=Object.prototype.hasOwnProperty;function b(t,e){return _.call(t,e)}function w(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function C(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=S(t[e]))})),t}function P(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}var k={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Ct){if(t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){e=w(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(a){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(f(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ct?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var r=t.i18n&&t.i18n.messages?t.i18n.messages:{};t.__i18n.forEach((function(t){r=w(r,JSON.parse(t))})),t.i18n.messages=r}catch(a){0}var i=t.i18n,o=i.sharedMessages;o&&f(o)&&(t.i18n.messages=w(t.i18n.messages,o)),this._i18n=new Ct(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ct?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ct&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof Ct||f(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ct||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ct)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:function(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},O={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,i=e.props,o=e.slots,a=r.$i18n;if(a){var s=i.path,c=i.locale,h=i.places,u=o(),l=a.i(s,c,A(u)||h?T(u.default,h):u),f=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return f?t(f,n,l):l}}};function A(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function T(t,e){var n=e?M(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(L);return t.reduce(r?F:N,n)}function M(t){return Array.isArray(t)?t.reduce(N,{}):Object.assign({},t)}function F(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function N(t,e,n){return t[n]=e,t}function L(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var D,E={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,i=e.parent,o=e.data,a=i.$i18n;if(!a)return null;var c=null,u=null;h(n.format)?c=n.format:s(n.format)&&(n.format.key&&(c=n.format.key),u=Object.keys(n.format).reduce((function(t,e){var i;return m(r,e)?Object.assign({},t,(i={},i[e]=n.format[e],i)):t}),null));var l=n.locale||a.locale,f=a._ntp(n.value,l,c,u),d=f.map((function(t,e){var n,r=o.scopedSlots&&o.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=f,n)):t.value})),p=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return p?t(p,{attrs:o.attrs,class:o["class"],staticClass:o.staticClass},d):d}};function I(t,e,n){R(t,n)&&U(t,e,n)}function j(t,e,n,r){if(R(t,n)){var i=n.context.$i18n;$(t,n)&&x(e.value,e.oldValue)&&x(t._localeMessage,i.getLocaleMessage(i.locale))||U(t,e,n)}}function G(t,e,n,r){var o=n.context;if(o){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else i("Vue instance does not exists in VNode context")}function R(t,e){var n=e.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function $(t,e){var n=e.context;return t._locale===n.$i18n.locale}function U(t,e,n){var r,o,a=e.value,s=V(a),c=s.path,h=s.locale,u=s.args,l=s.choice;if(c||h||u)if(c){var f=n.context;t._vt=t.textContent=null!=l?(r=f.$i18n).tc.apply(r,[c,l].concat(H(h,u))):(o=f.$i18n).t.apply(o,[c].concat(H(h,u))),t._locale=f.$i18n.locale,t._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function V(t){var e,n,r,i;return h(t)?e=t:f(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice),{path:e,locale:n,args:r,choice:i}}function H(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||f(e))&&n.push(e),n}function B(t){B.installed=!0,D=t;D.version&&Number(D.version.split(".")[0]);P(D),D.mixin(k),D.directive("t",{bind:I,update:j,unbind:G}),D.component(O.name,O),D.component(E.name,E);var e=D.config.optionMergeStrategies;e.i18n=function(t,e){return void 0===e?t:e}}var W=function(){this._caches=Object.create(null)};W.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=Y(t),this._caches[t]=n),X(n,e)};var z=/^(?:\d)+/,K=/^(?:\w)+/;function Y(t){var e=[],n=0,r="";while(n0)l--,u=it,f[q]();else{if(l=0,void 0===n)return!1;if(n=pt(n),!1===n)return!1;f[Z]()}};while(null!==u)if(h++,e=t[h],"\\"!==e||!d()){if(i=dt(e),s=ht[u],o=s[i]||s["else"]||ct,o===ct)return;if(u=o[0],a=f[o[1]],a&&(r=o[2],r=void 0===r?e:r,!1===a()))return;if(u===st)return c}}var vt=function(){this._cache=Object.create(null)};vt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=gt(t),e&&(this._cache[t]=e)),e||[]},vt.prototype.getPathValue=function(t,e){if(!s(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,i=t,o=0;while(o/,_t=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,bt=/^@(?:\.([a-z]+))?:/,wt=/[()]/g,xt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},St=new W,Ct=function(t){var e=this;void 0===t&&(t={}),!D&&"undefined"!==typeof window&&window.Vue&&B(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),i=t.messages||{},o=t.dateTimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||St,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new vt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var i=r.getChoiceIndex;return i.call(e,t,n)}var o=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):o(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!d(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])})),this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:o,numberFormats:a})},Pt={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Ct.prototype._checkLocaleMessage=function(t,e,n){var r=[],s=function(t,e,n,r){if(f(n))Object.keys(n).forEach((function(i){var o=n[i];f(o)?(r.push(i),r.push("."),s(t,e,o,r),r.pop(),r.pop()):(r.push(i),s(t,e,o,r),r.pop())}));else if(a(n))n.forEach((function(n,i){f(n)?(r.push("["+i+"]"),r.push("."),s(t,e,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),s(t,e,n,r),r.pop())}));else if(h(n)){var c=mt.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?i(u):"error"===t&&o(u)}}};s(e,t,n,r)},Ct.prototype._initVM=function(t){var e=D.config.silent;D.config.silent=!0,this._vm=new D({data:t}),D.config.silent=e},Ct.prototype.destroyVM=function(){this._vm.$destroy()},Ct.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Ct.prototype.unsubscribeDataChanging=function(t){y(this._dataListeners,t)},Ct.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){t._dataListeners.forEach((function(t){D.nextTick((function(){t&&t.$forceUpdate()}))}))}),{deep:!0})},Ct.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Ct.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Pt.vm.get=function(){return this._vm},Pt.messages.get=function(){return v(this._getMessages())},Pt.dateTimeFormats.get=function(){return v(this._getDateTimeFormats())},Pt.numberFormats.get=function(){return v(this._getNumberFormats())},Pt.availableLocales.get=function(){return Object.keys(this.messages).sort()},Pt.locale.get=function(){return this._vm.locale},Pt.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Pt.fallbackLocale.get=function(){return this._vm.fallbackLocale},Pt.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Pt.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Pt.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Pt.missing.get=function(){return this._missing},Pt.missing.set=function(t){this._missing=t},Pt.formatter.get=function(){return this._formatter},Pt.formatter.set=function(t){this._formatter=t},Pt.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Pt.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Pt.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Pt.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Pt.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Pt.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Pt.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Pt.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},Pt.postTranslation.get=function(){return this._postTranslation},Pt.postTranslation.set=function(t){this._postTranslation=t},Ct.prototype._getMessages=function(){return this._vm.messages},Ct.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Ct.prototype._getNumberFormats=function(){return this._vm.numberFormats},Ct.prototype._warnDefault=function(t,e,n,r,i,o){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,i]);if(h(a))return a}else 0;if(this._formatFallbackMessages){var s=g.apply(void 0,i);return this._render(e,o,s.params,e)}return e},Ct.prototype._isFallbackRoot=function(t){return!t&&!d(this._root)&&this._fallbackRoot},Ct.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Ct.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Ct.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Ct.prototype._interpolate=function(t,e,n,r,i,o,s){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(a(u)||f(u))return u;if(d(u)){if(!f(e))return null;if(c=e[n],!h(c)&&!p(c))return null}else{if(!h(u)&&!p(u))return null;c=u}return h(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",o,s)),this._render(c,i,o,n)},Ct.prototype._link=function(t,e,n,r,i,o,s){var c=n,h=c.match(_t);for(var u in h)if(h.hasOwnProperty(u)){var l=h[u],f=l.match(bt),d=f[0],p=f[1],g=l.replace(d,"").replace(wt,"");if(m(s,g))return c;s.push(g);var v=this._interpolate(t,e,g,r,"raw"===i?"string":i,"raw"===i?void 0:o,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;v=y._translate(y._getMessages(),y.locale,y.fallbackLocale,g,r,i,o)}v=this._warnDefault(t,g,v,r,a(o)?o:[o],i),this._modifiers.hasOwnProperty(p)?v=this._modifiers[p](v):xt.hasOwnProperty(p)&&(v=xt[p](v)),s.pop(),c=v?c.replace(l,v):c}return c},Ct.prototype._createMessageContext=function(t){var e=a(t)?t:[],n=s(t)?t:{},r=function(t){return e[t]},i=function(t){return n[t]};return{list:r,named:i}},Ct.prototype._render=function(t,e,n,r){if(p(t))return t(this._createMessageContext(n));var i=this._formatter.interpolate(t,n,r);return i||(i=St.interpolate(t,n,r)),"string"!==e||h(i)?i:i.join("")},Ct.prototype._appendItemToChain=function(t,e,n){var r=!1;return m(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},Ct.prototype._appendLocaleToChain=function(t,e,n){var r,i=e.split("-");do{var o=i.join("-");r=this._appendItemToChain(t,o,n),i.splice(-1,1)}while(i.length&&!0===r);return r},Ct.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,i=0;i0)o[a]=arguments[a+4];if(!t)return"";var s=g.apply(void 0,o);this._escapeParameterHtml&&(s.params=C(s.params));var c=s.locale||e,h=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(h)){if(!this._root)throw Error("unexpected error");return(i=this._root).$t.apply(i,[t].concat(o))}return h=this._warnDefault(c,t,h,r,o,"string"),this._postTranslation&&null!==h&&void 0!==h&&(h=this._postTranslation(h,t)),h},Ct.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Ct.prototype._i=function(t,e,n,r,i){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,i)}return this._warnDefault(e,t,o,r,[i],"raw")},Ct.prototype.i=function(t,e,n){return t?(h(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Ct.prototype._tc=function(t,e,n,r,i){var o,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===i&&(i=1);var c={count:i,n:i},h=g.apply(void 0,a);return h.params=Object.assign(c,h.params),a=null===h.locale?[h.params]:[h.locale,h.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(a)),i)},Ct.prototype.fetchChoice=function(t,e){if(!t||!h(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Ct.prototype.tc=function(t,e){var n,r=[],i=arguments.length-2;while(i-- >0)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},Ct.prototype._te=function(t,e,n){var r=[],i=arguments.length-3;while(i-- >0)r[i]=arguments[i+3];var o=g.apply(void 0,r).locale||e;return this._exist(n[o],t)},Ct.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Ct.prototype.getLocaleMessage=function(t){return v(this._vm.messages[t]||{})},Ct.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Ct.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,w("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?this._vm.messages[t]:{},e))},Ct.prototype.getDateTimeFormat=function(t){return v(this._vm.dateTimeFormats[t]||{})},Ct.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Ct.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,w(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Ct.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},Ct.prototype._localizeDateTime=function(t,e,n,r,i){for(var o=e,a=r[o],s=this._getLocaleChain(e,n),c=0;c0)e[n]=arguments[n+1];var r=this.locale,i=null;return 1===e.length?h(e[0])?i=e[0]:s(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)):2===e.length&&(h(e[0])&&(i=e[0]),h(e[1])&&(r=e[1])),this._d(t,r,i)},Ct.prototype.getNumberFormat=function(t){return v(this._vm.numberFormats[t]||{})},Ct.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Ct.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,w(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Ct.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},Ct.prototype._getNumberFormatter=function(t,e,n,r,i,o){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),h=0;h0)e[n]=arguments[n+1];var i=this.locale,o=null,a=null;return 1===e.length?h(e[0])?o=e[0]:s(e[0])&&(e[0].locale&&(i=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce((function(t,n){var i;return m(r,n)?Object.assign({},t,(i={},i[n]=e[0][n],i)):t}),null)):2===e.length&&(h(e[0])&&(o=e[0]),h(e[1])&&(i=e[1])),this._n(t,i,o,a)},Ct.prototype._ntp=function(t,e,n,r){if(!Ct.availabilities.numberFormat)return[];if(!n){var i=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return i.formatToParts(t)}var o=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=o&&o.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(Ct.prototype,Pt),Object.defineProperty(Ct,"availabilities",{get:function(){if(!yt){var t="undefined"!==typeof Intl;yt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return yt}}),Ct.install=B,Ct.version="8.24.4",e["a"]=Ct},a9e3:function(t,e,n){"use strict";var r=n("83ab"),i=n("da84"),o=n("94ca"),a=n("6eeb"),s=n("5135"),c=n("c6b6"),h=n("7156"),u=n("c04e"),l=n("d039"),f=n("7c73"),d=n("241c").f,p=n("06cf").f,g=n("9bf2").f,v=n("58a8").trim,y="Number",m=i[y],_=m.prototype,b=c(f(_))==y,w=function(t){var e,n,r,i,o,a,s,c,h=u(t,!1);if("string"==typeof h&&h.length>2)if(h=v(h),e=h.charCodeAt(0),43===e||45===e){if(n=h.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(h.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+h}for(o=h.slice(2),a=o.length,s=0;si)return NaN;return parseInt(o,r)}return+h};if(o(y,!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var x,S=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof S&&(b?l((function(){_.valueOf.call(n)})):c(n)!=y)?h(new m(w(e)),n,S):w(e)},C=r?d(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(","),P=0;C.length>P;P++)s(m,x=C[P])&&!s(S,x)&&g(S,x,p(m,x));S.prototype=_,_.constructor=S,a(i,y,S)}},ae93:function(t,e,n){"use strict";var r,i,o,a=n("d039"),s=n("e163"),c=n("9112"),h=n("5135"),u=n("b622"),l=n("c430"),f=u("iterator"),d=!1,p=function(){return this};[].keys&&(o=[].keys(),"next"in o?(i=s(s(o)),i!==Object.prototype&&(r=i)):d=!0);var g=void 0==r||a((function(){var t={};return r[f].call(t)!==t}));g&&(r={}),l&&!g||h(r,f)||c(r,f,p),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},af03:function(t,e,n){var r=n("d039");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},b041:function(t,e,n){"use strict";var r=n("00ee"),i=n("f5df");t.exports=r?{}.toString:function(){return"[object "+i(this)+"]"}},b0c0:function(t,e,n){var r=n("83ab"),i=n("9bf2").f,o=Function.prototype,a=o.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!(c in o)&&i(o,c,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},b33b:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.RGBA=function(t){var e,n,r=t.data,i=r.length,o=this.red(),a=this.green(),s=this.blue(),c=this.alpha();for(e=0;e255?255:t<0?0:Math.round(t)})),r.Factory.addGetterSetter(i.Node,"green",0,(function(t){return this._filterUpToDate=!1,t>255?255:t<0?0:Math.round(t)})),r.Factory.addGetterSetter(i.Node,"blue",0,o.RGBComponent,r.Factory.afterSetFilter),r.Factory.addGetterSetter(i.Node,"alpha",1,(function(t){return this._filterUpToDate=!1,t>1?1:t<0?0:t}))},b575:function(t,e,n){var r,i,o,a,s,c,h,u,l=n("da84"),f=n("06cf").f,d=n("2cf4").set,p=n("1cdc"),g=n("a4b4"),v=n("605d"),y=l.MutationObserver||l.WebKitMutationObserver,m=l.document,_=l.process,b=l.Promise,w=f(l,"queueMicrotask"),x=w&&w.value;x||(r=function(){var t,e;v&&(t=_.domain)&&t.exit();while(i){e=i.fn,i=i.next;try{e()}catch(n){throw i?a():o=void 0,n}}o=void 0,t&&t.enter()},p||v||g||!y||!m?b&&b.resolve?(h=b.resolve(void 0),h.constructor=b,u=h.then,a=function(){u.call(h,r)}):a=v?function(){_.nextTick(r)}:function(){d.call(l,r)}:(s=!0,c=m.createTextNode(""),new y(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s})),t.exports=x||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},b622:function(t,e,n){var r=n("da84"),i=n("5692"),o=n("5135"),a=n("90e3"),s=n("4930"),c=n("fdbf"),h=i("wks"),u=r.Symbol,l=c?u:u&&u.withoutSetter||a;t.exports=function(t){return o(h,t)&&(s||"string"==typeof h[t])||(s&&o(u,t)?h[t]=u[t]:h[t]=l("Symbol."+t)),h[t]}},b64b:function(t,e,n){var r=n("23e7"),i=n("7b0b"),o=n("df75"),a=n("d039"),s=a((function(){o(1)}));r({target:"Object",stat:!0,forced:s},{keys:function(t){return o(i(t))}})},b727:function(t,e,n){var r=n("0366"),i=n("44ad"),o=n("7b0b"),a=n("50c4"),s=n("65f0"),c=[].push,h=function(t){var e=1==t,n=2==t,h=3==t,u=4==t,l=6==t,f=7==t,d=5==t||l;return function(p,g,v,y){for(var m,_,b=o(p),w=i(b),x=r(g,v,3),S=a(w.length),C=0,P=y||s,k=e?P(p,S):n||f?P(p,0):void 0;S>C;C++)if((d||C in w)&&(m=w[C],_=x(m,C,b),t))if(e)k[C]=_;else if(_)switch(t){case 3:return!0;case 5:return m;case 6:return C;case 2:c.call(k,m)}else switch(t){case 4:return!1;case 7:c.call(k,m)}return l?-1:h||u?u:k}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterOut:h(7)}},bbce:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.Noise=function(t){var e,n=255*this.noise(),r=t.data,i=r.length,o=n/2;for(e=0;eh&&(h=e),n=o[i+1],nl&&(l=n),r=o[i+2],rd&&(d=r);var g,v,y,m,_,b,w,x,S;for(h===c&&(h=255,c=0),l===u&&(l=255,u=0),d===f&&(d=255,f=0),p>0?(v=h+p*(255-h),y=c-p*(c-0),_=l+p*(255-l),b=u-p*(u-0),x=d+p*(255-d),S=f-p*(f-0)):(g=.5*(h+c),v=h+p*(h-g),y=c+p*(c-g),m=.5*(l+u),_=l+p*(l-m),b=u+p*(u-m),w=.5*(d+f),x=d+p*(d-w),S=f+p*(f-w)),i=0;i>H,0!==O?(O=255/O,T[u]=(f*V>>H)*O,T[u+1]=(d*V>>H)*O,T[u+2]=(p*V>>H)*O):T[u]=T[u+1]=T[u+2]=0,f-=v,d-=y,p-=m,g-=_,v-=$.r,y-=$.g,m-=$.b,_-=$.a,o=l+((o=n+e+1)>H,O>0?(O=255/O,T[o]=(f*V>>H)*O,T[o+1]=(d*V>>H)*O,T[o+2]=(p*V>>H)*O):T[o]=T[o+1]=T[o+2]=0,f-=v,d-=y,p-=m,g-=_,v-=$.r,y-=$.g,m-=$.b,_-=$.a,o=n+((o=r+E)0&&h(t,e)},r.Factory.addGetterSetter(i.Node,"blurRadius",0,o.getNumberValidator(),r.Factory.afterSetFilter)},bf11:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("4546"),c=n("d777"),h=2*Math.PI,u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(t){t.beginPath(),t.arc(0,0,this.innerRadius(),0,h,!1),t.moveTo(this.outerRadius(),0),t.arc(0,0,this.outerRadius(),h,0,!0),t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.outerRadius()},e.prototype.getHeight=function(){return 2*this.outerRadius()},e.prototype.setWidth=function(t){this.outerRadius(t/2)},e.prototype.setHeight=function(t){this.outerRadius(t/2)},e}(a.Shape);e.Ring=u,u.prototype.className="Ring",u.prototype._centroid=!0,u.prototype._attrsAffectingSize=["innerRadius","outerRadius"],c._registerNode(u),o.Factory.addGetterSetter(u,"innerRadius",0,s.getNumberValidator()),o.Factory.addGetterSetter(u,"outerRadius",0,s.getNumberValidator()),i.Collection.mapMethods(u)},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c527:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("d777"),a=",",s="(",c=")",h="([",u="])",l=";",f="()",d="=",p=["arc","arcTo","beginPath","bezierCurveTo","clearRect","clip","closePath","createLinearGradient","createPattern","createRadialGradient","drawImage","ellipse","fill","fillText","getImageData","createImageData","lineTo","moveTo","putImageData","quadraticCurveTo","rect","restore","rotate","save","scale","setLineDash","setTransform","stroke","strokeText","transform","translate"],g=["fillStyle","strokeStyle","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","lineCap","lineDashOffset","lineJoin","lineWidth","miterLimit","font","textAlign","textBaseline","globalAlpha","globalCompositeOperation","imageSmoothingEnabled"],v=100,y=function(){function t(t){this.canvas=t,this._context=t._canvas.getContext("2d"),o.Konva.enableTrace&&(this.traceArr=[],this._enableTrace())}return t.prototype.fillShape=function(t){t.fillEnabled()&&this._fill(t)},t.prototype._fill=function(t){},t.prototype.strokeShape=function(t){t.hasStroke()&&this._stroke(t)},t.prototype._stroke=function(t){},t.prototype.fillStrokeShape=function(t){this.fillShape(t),this.strokeShape(t)},t.prototype.getTrace=function(t){var e,n,r,o,p=this.traceArr,g=p.length,v="";for(e=0;e=v&&n.shift()},t.prototype.reset=function(){var t=this.getCanvas().getPixelRatio();this.setTransform(1*t,0,0,1*t,0,0)},t.prototype.getCanvas=function(){return this.canvas},t.prototype.clear=function(t){var e=this.getCanvas();t?this.clearRect(t.x||0,t.y||0,t.width||0,t.height||0):this.clearRect(0,0,e.getWidth()/e.pixelRatio,e.getHeight()/e.pixelRatio)},t.prototype._applyLineCap=function(t){var e=t.getLineCap();e&&this.setAttr("lineCap",e)},t.prototype._applyOpacity=function(t){var e=t.getAbsoluteOpacity();1!==e&&this.setAttr("globalAlpha",e)},t.prototype._applyLineJoin=function(t){var e=t.getLineJoin();e&&this.setAttr("lineJoin",e)},t.prototype.setAttr=function(t,e){this._context[t]=e},t.prototype.arc=function(t,e,n,r,i,o){this._context.arc(t,e,n,r,i,o)},t.prototype.arcTo=function(t,e,n,r,i){this._context.arcTo(t,e,n,r,i)},t.prototype.beginPath=function(){this._context.beginPath()},t.prototype.bezierCurveTo=function(t,e,n,r,i,o){this._context.bezierCurveTo(t,e,n,r,i,o)},t.prototype.clearRect=function(t,e,n,r){this._context.clearRect(t,e,n,r)},t.prototype.clip=function(){this._context.clip()},t.prototype.closePath=function(){this._context.closePath()},t.prototype.createImageData=function(t,e){var n=arguments;return 2===n.length?this._context.createImageData(t,e):1===n.length?this._context.createImageData(t):void 0},t.prototype.createLinearGradient=function(t,e,n,r){return this._context.createLinearGradient(t,e,n,r)},t.prototype.createPattern=function(t,e){return this._context.createPattern(t,e)},t.prototype.createRadialGradient=function(t,e,n,r,i,o){return this._context.createRadialGradient(t,e,n,r,i,o)},t.prototype.drawImage=function(t,e,n,r,i,o,a,s,c){var h=arguments,u=this._context;3===h.length?u.drawImage(t,e,n):5===h.length?u.drawImage(t,e,n,r,i):9===h.length&&u.drawImage(t,e,n,r,i,o,a,s,c)},t.prototype.ellipse=function(t,e,n,r,i,o,a,s){this._context.ellipse(t,e,n,r,i,o,a,s)},t.prototype.isPointInPath=function(t,e){return this._context.isPointInPath(t,e)},t.prototype.fill=function(){this._context.fill()},t.prototype.fillRect=function(t,e,n,r){this._context.fillRect(t,e,n,r)},t.prototype.strokeRect=function(t,e,n,r){this._context.strokeRect(t,e,n,r)},t.prototype.fillText=function(t,e,n){this._context.fillText(t,e,n)},t.prototype.measureText=function(t){return this._context.measureText(t)},t.prototype.getImageData=function(t,e,n,r){return this._context.getImageData(t,e,n,r)},t.prototype.lineTo=function(t,e){this._context.lineTo(t,e)},t.prototype.moveTo=function(t,e){this._context.moveTo(t,e)},t.prototype.rect=function(t,e,n,r){this._context.rect(t,e,n,r)},t.prototype.putImageData=function(t,e,n){this._context.putImageData(t,e,n)},t.prototype.quadraticCurveTo=function(t,e,n,r){this._context.quadraticCurveTo(t,e,n,r)},t.prototype.restore=function(){this._context.restore()},t.prototype.rotate=function(t){this._context.rotate(t)},t.prototype.save=function(){this._context.save()},t.prototype.scale=function(t,e){this._context.scale(t,e)},t.prototype.setLineDash=function(t){this._context.setLineDash?this._context.setLineDash(t):"mozDash"in this._context?this._context["mozDash"]=t:"webkitLineDash"in this._context&&(this._context["webkitLineDash"]=t)},t.prototype.getLineDash=function(){return this._context.getLineDash()},t.prototype.setTransform=function(t,e,n,r,i,o){this._context.setTransform(t,e,n,r,i,o)},t.prototype.stroke=function(){this._context.stroke()},t.prototype.strokeText=function(t,e,n,r){this._context.strokeText(t,e,n,r)},t.prototype.transform=function(t,e,n,r,i,o){this._context.transform(t,e,n,r,i,o)},t.prototype.translate=function(t,e){this._context.translate(t,e)},t.prototype._enableTrace=function(){var t,e,n=this,r=p.length,o=i.Util._simplifyArray,a=this.setAttr,s=function(t){var r,i=n[t];n[t]=function(){return e=o(Array.prototype.slice.call(arguments,0)),r=i.apply(n,arguments),n._trace({method:t,args:e}),r}};for(t=0;t1?arguments[1]:void 0)}}),o(a)},c742:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("4546");e.Contrast=function(t){var e,n=Math.pow((this.contrast()+100)/100,2),r=t.data,i=r.length,o=150,a=150,s=150;for(e=0;e255?255:o,a=a<0?0:a>255?255:a,s=s<0?0:s>255?255:s,r[e]=o,r[e+1]=a,r[e+2]=s},r.Factory.addGetterSetter(i.Node,"contrast",0,o.getNumberValidator(),r.Factory.afterSetFilter)},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),i=n("fc6a"),o=n("4d64").indexOf,a=n("d012");t.exports=function(t,e){var n,s=i(t),c=0,h=[];for(n in s)!r(a,n)&&r(s,n)&&h.push(n);while(e.length>c)r(s,n=e[c++])&&(~o(h,n)||h.push(n));return h}},cb29:function(t,e,n){var r=n("23e7"),i=n("81d5"),o=n("44d2");r({target:"Array",proto:!0},{fill:i}),o("fill")},cc12:function(t,e,n){var r=n("da84"),i=n("861d"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},cca6:function(t,e,n){var r=n("23e7"),i=n("60da");r({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},cdf9:function(t,e,n){var r=n("825a"),i=n("861d"),o=n("f069");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),a=n.resolve;return a(e),n.promise}},ce4e:function(t,e,n){var r=n("da84"),i=n("9112");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},cf29:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Grayscale=function(t){var e,n,r=t.data,i=r.length;for(e=0;ed.x?-1:1,g=this.findOne(".top-left").y()>d.y?-1:1;e=r*this.cos*p,n=r*this.sin*g,this.findOne(".top-left").x(d.x-e),this.findOne(".top-left").y(d.y-n)}}else if("top-center"===this._movingAnchorName)this.findOne(".top-left").y(i.y());else if("top-right"===this._movingAnchorName){if(u){d=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".bottom-left").x(),y:this.findOne(".bottom-left").y()};r=Math.sqrt(Math.pow(i.x()-d.x,2)+Math.pow(d.y-i.y(),2));p=this.findOne(".top-right").x()d.y?-1:1;e=r*this.cos*p,n=r*this.sin*g,this.findOne(".top-right").x(d.x+e),this.findOne(".top-right").y(d.y-n)}var v=i.position();this.findOne(".top-left").y(v.y),this.findOne(".bottom-right").x(v.x)}else if("middle-left"===this._movingAnchorName)this.findOne(".top-left").x(i.x());else if("middle-right"===this._movingAnchorName)this.findOne(".bottom-right").x(i.x());else if("bottom-left"===this._movingAnchorName){if(u){d=f?{x:this.width()/2,y:this.height()/2}:{x:this.findOne(".top-right").x(),y:this.findOne(".top-right").y()};r=Math.sqrt(Math.pow(d.x-i.x(),2)+Math.pow(i.y()-d.y,2));p=d.x=0){var c=s.point({x:2*-this.padding(),y:0});if(t.x+=c.x,t.y+=c.y,t.width+=2*this.padding(),this._movingAnchorName=this._movingAnchorName.replace("left","right"),this._anchorDragOffset.x-=c.x,this._anchorDragOffset.y-=c.y,!a)return void this.update()}else if(this._movingAnchorName&&t.width<0&&this._movingAnchorName.indexOf("right")>=0){c=s.point({x:2*this.padding(),y:0});if(this._movingAnchorName=this._movingAnchorName.replace("right","left"),this._anchorDragOffset.x-=c.x,this._anchorDragOffset.y-=c.y,t.width+=2*this.padding(),!a)return void this.update()}if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("top")>=0){c=s.point({x:0,y:2*-this.padding()});if(t.x+=c.x,t.y+=c.y,this._movingAnchorName=this._movingAnchorName.replace("top","bottom"),this._anchorDragOffset.x-=c.x,this._anchorDragOffset.y-=c.y,t.height+=2*this.padding(),!a)return void this.update()}else if(this._movingAnchorName&&t.height<0&&this._movingAnchorName.indexOf("bottom")>=0){c=s.point({x:0,y:2*this.padding()});if(this._movingAnchorName=this._movingAnchorName.replace("bottom","top"),this._anchorDragOffset.x-=c.x,this._anchorDragOffset.y-=c.y,t.height+=2*this.padding(),!a)return void this.update()}this._nodes.forEach((function(i){var o=n.__getNodeShape(i,0),a=T(o,r,t);n._fitNodeInto(i,a,e)})),this.rotation(o.Util._getRotation(t.rotation)),this._resetTransformCache(),this.update(),this.getLayer().batchDraw()}},e.prototype._fitNodeInto=function(t,e,n){var r=t.getClientRect({skipTransform:!0,skipShadow:!0,skipStroke:this.ignoreStroke()}),i=t.getParent().getAbsoluteTransform().copy();i.invert();var a=i.point({x:e.x,y:e.y}),s=t.getParent().getAbsoluteScale();if(e.x=a.x,e.y=a.y,e.width/=s.x,e.height/=s.y,this.boundBoxFunc()){var c=this.__getNodeShape(t,t.rotation(),t.getParent()),h=this.boundBoxFunc()(c,e,t);h?e=h:o.Util.warn("boundBoxFunc returned falsy. You should return new bound rect from it!")}var u=l.Konva.getAngle(t.getParent().getAbsoluteRotation());t.rotation(o.Util._getRotation(e.rotation-u));s=t.getParent().getAbsoluteScale();var f=r.width?e.width/r.width:1,d=r.height?e.height/r.height:1,p=l.Konva.getAngle(t.rotation()),g=r.x*f-t.offsetX()*f,v=r.y*d-t.offsetY()*d;t.setAttrs({scaleX:f,scaleY:d,x:e.x-(g*Math.cos(p)+v*Math.sin(-p)),y:e.y-(v*Math.cos(p)+g*Math.sin(p))}),this._fire("transform",{evt:n,target:t}),t._fire("transform",{evt:n,target:t})},e.prototype.forceUpdate=function(){this._resetTransformCache(),this.update()},e.prototype.update=function(){var t=this,e=this._getNodeRect();this.rotation(o.Util._getRotation(e.rotation));var n=e.width,r=e.height,i=this.enabledAnchors(),a=this.resizeEnabled(),s=this.padding(),c=this.anchorSize();this.find("._anchor").each((function(e){return e.setAttrs({width:c,height:c,offsetX:c/2,offsetY:c/2,stroke:t.anchorStroke(),strokeWidth:t.anchorStrokeWidth(),fill:t.anchorFill(),cornerRadius:t.anchorCornerRadius()})})),this.findOne(".top-left").setAttrs({x:0,y:0,offsetX:c/2+s,offsetY:c/2+s,visible:a&&i.indexOf("top-left")>=0}),this.findOne(".top-center").setAttrs({x:n/2,y:0,offsetY:c/2+s,visible:a&&i.indexOf("top-center")>=0}),this.findOne(".top-right").setAttrs({x:n,y:0,offsetX:c/2-s,offsetY:c/2+s,visible:a&&i.indexOf("top-right")>=0}),this.findOne(".middle-left").setAttrs({x:0,y:r/2,offsetX:c/2+s,visible:a&&i.indexOf("middle-left")>=0}),this.findOne(".middle-right").setAttrs({x:n,y:r/2,offsetX:c/2-s,visible:a&&i.indexOf("middle-right")>=0}),this.findOne(".bottom-left").setAttrs({x:0,y:r,offsetX:c/2+s,offsetY:c/2-s,visible:a&&i.indexOf("bottom-left")>=0}),this.findOne(".bottom-center").setAttrs({x:n/2,y:r,offsetY:c/2-s,visible:a&&i.indexOf("bottom-center")>=0}),this.findOne(".bottom-right").setAttrs({x:n,y:r,offsetX:c/2-s,offsetY:c/2-s,visible:a&&i.indexOf("bottom-right")>=0}),this.findOne(".rotater").setAttrs({x:n/2,y:-this.rotateAnchorOffset()*o.Util._sign(r)-s,visible:this.rotateEnabled()}),this.findOne(".back").setAttrs({width:n,height:r,visible:this.borderEnabled(),stroke:this.borderStroke(),strokeWidth:this.borderStrokeWidth(),dash:this.borderDash(),x:0,y:0})},e.prototype.isTransforming=function(){return this._transforming},e.prototype.stopTransform=function(){if(this._transforming){this._removeEvents();var t=this.findOne("."+this._movingAnchorName);t&&t.stopDrag()}},e.prototype.destroy=function(){return this.getStage()&&this._cursorChange&&(this.getStage().content.style.cursor=""),u.Group.prototype.destroy.call(this),this.detach(),this._removeEvents(),this},e.prototype.toObject=function(){return s.Node.prototype.toObject.call(this)},e}(u.Group);function N(t){return t instanceof Array||o.Util.warn("enabledAnchors value should be an array"),t instanceof Array&&t.forEach((function(t){-1===w.indexOf(t)&&o.Util.warn("Unknown anchor name: "+t+". Available names are: "+w.join(", "))})),t||[]}e.Transformer=F,F.prototype.className="Transformer",d._registerNode(F),a.Factory.addGetterSetter(F,"enabledAnchors",w,N),a.Factory.addGetterSetter(F,"resizeEnabled",!0),a.Factory.addGetterSetter(F,"anchorSize",10,f.getNumberValidator()),a.Factory.addGetterSetter(F,"rotateEnabled",!0),a.Factory.addGetterSetter(F,"rotationSnaps",[]),a.Factory.addGetterSetter(F,"rotateAnchorOffset",50,f.getNumberValidator()),a.Factory.addGetterSetter(F,"rotationSnapTolerance",5,f.getNumberValidator()),a.Factory.addGetterSetter(F,"borderEnabled",!0),a.Factory.addGetterSetter(F,"anchorStroke","rgb(0, 161, 255)"),a.Factory.addGetterSetter(F,"anchorStrokeWidth",1,f.getNumberValidator()),a.Factory.addGetterSetter(F,"anchorFill","white"),a.Factory.addGetterSetter(F,"anchorCornerRadius",0,f.getNumberValidator()),a.Factory.addGetterSetter(F,"borderStroke","rgb(0, 161, 255)"),a.Factory.addGetterSetter(F,"borderStrokeWidth",1,f.getNumberValidator()),a.Factory.addGetterSetter(F,"borderDash"),a.Factory.addGetterSetter(F,"keepRatio",!0),a.Factory.addGetterSetter(F,"centeredScaling",!1),a.Factory.addGetterSetter(F,"ignoreStroke",!1),a.Factory.addGetterSetter(F,"padding",0,f.getNumberValidator()),a.Factory.addGetterSetter(F,"node"),a.Factory.addGetterSetter(F,"nodes"),a.Factory.addGetterSetter(F,"boundBoxFunc"),a.Factory.addGetterSetter(F,"shouldOverdrawWholeArea",!1),a.Factory.backCompat(F,{lineEnabled:"borderEnabled",rotateHandlerOffset:"rotateAnchorOffset",enabledHandlers:"enabledAnchors"}),o.Collection.mapMethods(F)},d6af:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("ea61"),a=n("4971"),s=n("f0b4"),c=n("f655"),h=function(t){function e(e){var n=t.call(this,e)||this;return n.canvas=new c.SceneCanvas,n._waitingForDraw=!1,n.on("visibleChange",n._checkVisibility),n._checkVisibility(),n.on("imageSmoothingEnabledChange",n._setSmoothEnabled),n._setSmoothEnabled(),n}return r(e,t),e.prototype.createPNGStream=function(){var t=this.canvas._canvas;return t.createPNGStream()},e.prototype.getCanvas=function(){return this.canvas},e.prototype.getHitCanvas=function(){return this.hitCanvas},e.prototype.getContext=function(){return this.getCanvas().getContext()},e.prototype.clear=function(t){return this.getContext().clear(t),this},e.prototype.setZIndex=function(e){t.prototype.setZIndex.call(this,e);var n=this.getStage();return n&&(n.content.removeChild(this.getCanvas()._canvas),e0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);var n=t.indexOf("trident/");if(n>0){var r=t.indexOf("rv:");return parseInt(t.substring(r+3,t.indexOf(".",r)),10)}var i=t.indexOf("edge/");return i>0&&parseInt(t.substring(i+5,t.indexOf(".",i)),10)};e._parseUA=function(t){var e=t.toLowerCase(),n=/(chrome)[ /]([\w.]+)/.exec(e)||/(webkit)[ /]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ /]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[],r=!!t.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i),o=!!t.match(/IEMobile/i);return{browser:n[1]||"",version:n[2]||"0",isIE:i(e),mobile:r,ieMobile:o}},e.glob="undefined"!==typeof t?t:"undefined"!==typeof window?window:"undefined"!==typeof WorkerGlobalScope?self:{},e.Konva={_global:e.glob,version:"5.0.3",isBrowser:r(),isUnminified:/param/.test(function(t){}.toString()),dblClickWindow:400,getAngle:function(t){return e.Konva.angleDeg?t*n:t},enableTrace:!1,_pointerEventsEnabled:!1,hitOnDragEnabled:!1,captureTouchEventsEnabled:!1,listenClickTap:!1,inDblClickWindow:!1,pixelRatio:void 0,dragDistance:3,angleDeg:!0,showWarnings:!0,dragButtons:[0,1],isDragging:function(){return e.Konva["DD"].isDragging},isDragReady:function(){return!!e.Konva["DD"].node},UA:e._parseUA(e.glob.navigator&&e.glob.navigator.userAgent||""),document:e.glob.document,_injectGlobal:function(t){e.glob.Konva=t},_parseUA:e._parseUA},e._NODES_REGISTRY={},e._registerNode=function(t){e._NODES_REGISTRY[t.prototype.getClassName()]=t,e.Konva[t.prototype.getClassName()]=t}}).call(this,n("c8ba"))},da04:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("f35c"),c=n("4546"),h=n("d777"),u=["fontFamily","fontSize","fontStyle","padding","lineHeight","text","width"],l="Change.konva",f="none",d="up",p="right",g="down",v="left",y=u.length,m=function(t){function e(e){var n=t.call(this,e)||this;return n.on("add.konva",(function(t){this._addListeners(t.child),this._sync()})),n}return r(e,t),e.prototype.getText=function(){return this.find("Text")[0]},e.prototype.getTag=function(){return this.find("Tag")[0]},e.prototype._addListeners=function(t){var e,n=this,r=function(){n._sync()};for(e=0;el)n=i(r,e=h[l++]),void 0!==n&&c(u,e,n);return u}})},ddb0:function(t,e,n){var r=n("da84"),i=n("fdbc"),o=n("e260"),a=n("9112"),s=n("b622"),c=s("iterator"),h=s("toStringTag"),u=o.values;for(var l in i){var f=r[l],d=f&&f.prototype;if(d){if(d[c]!==u)try{a(d,c,u)}catch(g){d[c]=u}if(d[h]||a(d,h,l),i[l])for(var p in o)if(d[p]!==o[p])try{a(d,p,o[p])}catch(g){d[p]=o[p]}}}},df75:function(t,e,n){var r=n("ca84"),i=n("7839");t.exports=Object.keys||function(t){return r(t,i)}},df93:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("d777"),i=n("9cb8");e.DD={get isDragging(){var t=!1;return e.DD._dragElements.forEach((function(e){"dragging"===e.dragStatus&&(t=!0)})),t},justDragged:!1,get node(){var t;return e.DD._dragElements.forEach((function(e){t=e.node})),t},_dragElements:new Map,_drag:function(t){e.DD._dragElements.forEach((function(e,n){var r=e.node,o=r.getStage();o.setPointersPositions(t),void 0===e.pointerId&&(e.pointerId=i.Util._getFirstPointerId(t));var a=o._changedPointerPositions.find((function(t){return t.id===e.pointerId}));if(a){if("dragging"!==e.dragStatus){var s=r.dragDistance(),c=Math.max(Math.abs(a.x-e.startPointerPos.x),Math.abs(a.y-e.startPointerPos.y));if(c=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},e2cc:function(t,e,n){var r=n("6eeb");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e3af:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var i=n("9cb8"),o=n("f0b4"),a=n("fce6"),s=n("4546"),c=n("d777"),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype._sceneFunc=function(t){var e=this.innerRadius(),n=this.outerRadius(),r=this.numPoints();t.beginPath(),t.moveTo(0,0-n);for(var i=1;i<2*r;i++){var o=i%2===0?n:e,a=o*Math.sin(i*Math.PI/r),s=-1*o*Math.cos(i*Math.PI/r);t.lineTo(a,s)}t.closePath(),t.fillStrokeShape(this)},e.prototype.getWidth=function(){return 2*this.outerRadius()},e.prototype.getHeight=function(){return 2*this.outerRadius()},e.prototype.setWidth=function(t){this.outerRadius(t/2)},e.prototype.setHeight=function(t){this.outerRadius(t/2)},e}(a.Shape);e.Star=h,h.prototype.className="Star",h.prototype._centroid=!0,h.prototype._attrsAffectingSize=["innerRadius","outerRadius"],c._registerNode(h),o.Factory.addGetterSetter(h,"numPoints",5,s.getNumberValidator()),o.Factory.addGetterSetter(h,"innerRadius",0,s.getNumberValidator()),o.Factory.addGetterSetter(h,"outerRadius",0,s.getNumberValidator()),i.Collection.mapMethods(h)},e439:function(t,e,n){var r=n("23e7"),i=n("d039"),o=n("fc6a"),a=n("06cf").f,s=n("83ab"),c=i((function(){a(1)})),h=!s||c;r({target:"Object",stat:!0,forced:h,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},e4b0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("f0b4"),i=n("4971"),o=n("9cb8"),a=n("4546");e.Emboss=function(t){var e=10*this.embossStrength(),n=255*this.embossWhiteLevel(),r=this.embossDirection(),i=this.embossBlend(),a=0,s=0,c=t.data,h=t.width,u=t.height,l=4*h,f=u;switch(r){case"top-left":a=-1,s=-1;break;case"top":a=-1,s=0;break;case"top-right":a=-1,s=1;break;case"right":a=0,s=1;break;case"bottom-right":a=1,s=1;break;case"bottom":a=1,s=0;break;case"bottom-left":a=1,s=-1;break;case"left":a=0,s=-1;break;default:o.Util.error("Unknown emboss direction: "+r)}do{var d=(f-1)*l,p=a;f+p<1&&(p=0),f+p>u&&(p=0);var g=(f-1+p)*h*4,v=h;do{var y=d+4*(v-1),m=s;v+m<1&&(m=0),v+m>h&&(m=0);var _=g+4*(v-1+m),b=c[y]-c[_],w=c[y+1]-c[_+1],x=c[y+2]-c[_+2],S=b,C=S>0?S:-S,P=w>0?w:-w,k=x>0?x:-x;if(P>C&&(S=w),k>C&&(S=x),S*=e,i){var O=c[y]+S,A=c[y+1]+S,T=c[y+2]+S;c[y]=O>255?255:O<0?0:O,c[y+1]=A>255?255:A<0?0:A,c[y+2]=T>255?255:T<0?0:T}else{var M=n-S;M<0?M=0:M>255&&(M=255),c[y]=c[y+1]=c[y+2]=M}}while(--v)}while(--f)},r.Factory.addGetterSetter(i.Node,"embossStrength",.5,a.getNumberValidator(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(i.Node,"embossWhiteLevel",.5,a.getNumberValidator(),r.Factory.afterSetFilter),r.Factory.addGetterSetter(i.Node,"embossDirection","top-left",null,r.Factory.afterSetFilter),r.Factory.addGetterSetter(i.Node,"embossBlend",!1,null,r.Factory.afterSetFilter)},e538:function(t,e,n){var r=n("b622");e.f=r},e667:function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},e6cf:function(t,e,n){"use strict";var r,i,o,a,s=n("23e7"),c=n("c430"),h=n("da84"),u=n("d066"),l=n("fea9"),f=n("6eeb"),d=n("e2cc"),p=n("d2bb"),g=n("d44e"),v=n("2626"),y=n("861d"),m=n("1c0b"),_=n("19aa"),b=n("8925"),w=n("2266"),x=n("1c7e"),S=n("4840"),C=n("2cf4").set,P=n("b575"),k=n("cdf9"),O=n("44de"),A=n("f069"),T=n("e667"),M=n("69f3"),F=n("94ca"),N=n("b622"),L=n("6069"),D=n("605d"),E=n("2d00"),I=N("species"),j="Promise",G=M.get,R=M.set,$=M.getterFor(j),U=l&&l.prototype,V=l,H=U,B=h.TypeError,W=h.document,z=h.process,K=A.f,Y=K,X=!!(W&&W.createEvent&&h.dispatchEvent),q="function"==typeof PromiseRejectionEvent,Z="unhandledrejection",J="rejectionhandled",Q=0,tt=1,et=2,nt=1,rt=2,it=!1,ot=F(j,(function(){var t=b(V)!==String(V);if(!t&&66===E)return!0;if(c&&!H["finally"])return!0;if(E>=51&&/native code/.test(V))return!1;var e=new V((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))},r=e.constructor={};return r[I]=n,it=e.then((function(){}))instanceof n,!it||!t&&L&&!q})),at=ot||!x((function(t){V.all(t)["catch"]((function(){}))})),st=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},ct=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;P((function(){var r=t.value,i=t.state==tt,o=0;while(n.length>o){var a,s,c,h=n[o++],u=i?h.ok:h.fail,l=h.resolve,f=h.reject,d=h.domain;try{u?(i||(t.rejection===rt&&ft(t),t.rejection=nt),!0===u?a=r:(d&&d.enter(),a=u(r),d&&(d.exit(),c=!0)),a===h.promise?f(B("Promise-chain cycle")):(s=st(a))?s.call(a,l,f):l(a)):f(r)}catch(p){d&&!c&&d.exit(),f(p)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&ut(t)}))}},ht=function(t,e,n){var r,i;X?(r=W.createEvent("Event"),r.promise=e,r.reason=n,r.initEvent(t,!1,!0),h.dispatchEvent(r)):r={promise:e,reason:n},!q&&(i=h["on"+t])?i(r):t===Z&&O("Unhandled promise rejection",n)},ut=function(t){C.call(h,(function(){var e,n=t.facade,r=t.value,i=lt(t);if(i&&(e=T((function(){D?z.emit("unhandledRejection",r,n):ht(Z,n,r)})),t.rejection=D||lt(t)?rt:nt,e.error))throw e.value}))},lt=function(t){return t.rejection!==nt&&!t.parent},ft=function(t){C.call(h,(function(){var e=t.facade;D?z.emit("rejectionHandled",e):ht(J,e,t.value)}))},dt=function(t,e,n){return function(r){t(e,r,n)}},pt=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=et,ct(t,!0))},gt=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw B("Promise can't be resolved itself");var r=st(e);r?P((function(){var n={done:!1};try{r.call(e,dt(gt,n,t),dt(pt,n,t))}catch(i){pt(n,i,t)}})):(t.value=e,t.state=tt,ct(t,!1))}catch(i){pt({done:!1},i,t)}}};if(ot&&(V=function(t){_(this,V,j),m(t),r.call(this);var e=G(this);try{t(dt(gt,e),dt(pt,e))}catch(n){pt(e,n)}},H=V.prototype,r=function(t){R(this,{type:j,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:Q,value:void 0})},r.prototype=d(H,{then:function(t,e){var n=$(this),r=K(S(this,V));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=D?z.domain:void 0,n.parent=!0,n.reactions.push(r),n.state!=Q&&ct(n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=G(t);this.promise=t,this.resolve=dt(gt,e),this.reject=dt(pt,e)},A.f=K=function(t){return t===V||t===o?new i(t):Y(t)},!c&&"function"==typeof l&&U!==Object.prototype)){a=U.then,it||(f(U,"then",(function(t,e){var n=this;return new V((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),f(U,"catch",H["catch"],{unsafe:!0}));try{delete U.constructor}catch(vt){}p&&p(U,H)}s({global:!0,wrap:!0,forced:ot},{Promise:V}),g(V,j,!1,!0),v(j),o=u(j),s({target:j,stat:!0,forced:ot},{reject:function(t){var e=K(this);return e.reject.call(void 0,t),e.promise}}),s({target:j,stat:!0,forced:c||ot},{resolve:function(t){return k(c&&this===o?V:this,t)}}),s({target:j,stat:!0,forced:at},{all:function(t){var e=this,n=K(e),r=n.resolve,i=n.reject,o=T((function(){var n=m(e.resolve),o=[],a=0,s=1;w(t,(function(t){var c=a++,h=!1;o.push(void 0),s++,n.call(e,t).then((function(t){h||(h=!0,o[c]=t,--s||r(o))}),i)})),--s||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=K(e),r=n.reject,i=T((function(){var i=m(e.resolve);w(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},e893:function(t,e,n){var r=n("5135"),i=n("56ef"),o=n("06cf"),a=n("9bf2");t.exports=function(t,e){for(var n=i(e),s=a.f,c=o.f,h=0;h0},e.prototype.removeChildren=function(){for(var t,e=0;e1){for(var n=0;n0?e[0]:void 0},e.prototype._generalFind=function(t,e){var n=[];return this._descendants((function(r){var i=r._isMatch(t);return i&&n.push(r),!(!i||!e)})),i.Collection.toCollection(n)},e.prototype._descendants=function(t){for(var e=!1,n=0;n-1&&e.stages.splice(r,1),this},n.prototype.getPointerPosition=function(){var t=this._pointerPositions[0]||this._changedPointerPositions[0];return t?{x:t.x,y:t.y}:(i.Util.warn(ot),null)},n.prototype._getPointerById=function(t){return this._pointerPositions.find((function(e){return e.id===t}))},n.prototype.getPointersPositions=function(){return this._pointerPositions},n.prototype.getStage=function(){return this},n.prototype.getContent=function(){return this.content},n.prototype._toKonvaCanvas=function(t){t=t||{};var e=t.x||0,n=t.y||0,r=new c.SceneCanvas({width:t.width||this.width(),height:t.height||this.height(),pixelRatio:t.pixelRatio||1}),i=r.getContext()._context,o=this.children;return(e||n)&&i.translate(-1*e,-1*n),o.each((function(r){if(r.isVisible()){var o=r._toKonvaCanvas(t);i.drawImage(o._canvas,e,n,o.getWidth()/o.getPixelRatio(),o.getHeight()/o.getPixelRatio())}})),r},n.prototype.getIntersection=function(t,e){if(!t)return null;var n,r,i=this.children,o=i.length,a=o-1;for(n=a;n>=0;n--)if(r=i[n].getIntersection(t,e),r)return r;return null},n.prototype._resizeDOM=function(){var t=this.width(),e=this.height();this.content&&(this.content.style.width=t+p,this.content.style.height=e+p),this.bufferCanvas.setSize(t,e),this.bufferHitCanvas.setSize(t,e),this.children.each((function(n){n.setSize({width:t,height:e}),n.draw()}))},n.prototype.add=function(e){if(arguments.length>1){for(var n=0;ntt&&i.Util.warn("The stage has "+r+" layers. Recommended maximum number of layers is 3-5. Adding more layers into the stage may drop the performance. Rethink your tree structure, you can use Konva.Group."),e.setSize({width:this.width(),height:this.height()}),e.draw(),s.Konva.isBrowser&&this.content.appendChild(e.canvas._canvas),this},n.prototype.getParent=function(){return null},n.prototype.getLayer=function(){return null},n.prototype.hasPointerCapture=function(t){return l.hasPointerCapture(t,this)},n.prototype.setPointerCapture=function(t){l.setPointerCapture(t,this)},n.prototype.releaseCapture=function(t){l.releaseCapture(t,this)},n.prototype.getLayers=function(){return this.getChildren()},n.prototype._bindContentEvents=function(){if(s.Konva.isBrowser)for(var t=0;t0?t:[t]:[],this.layers=e,this},t.prototype.getLayers=function(){return this.layers},t.prototype.addLayer=function(t){var e,n=this.layers,r=n.length;for(e=0;e4){e=this.getTensionPoints(),n=e.length,r=s?0:4,s||t.quadraticCurveTo(e[0],e[1],e[2],e[3]);while(r0},n.prototype.destroy=function(){return s.Node.prototype.destroy.call(this),delete e.shapes[this.colorKey],delete this.colorKey,this},n.prototype._useBufferCanvas=function(t){return!(t&&!this.hasShadow()||!this.perfectDrawEnabled()||1===this.getAbsoluteOpacity()||!this.hasFill()||!this.hasStroke()||!this.getStage())},n.prototype.setStrokeHitEnabled=function(t){o.Util.warn("strokeHitEnabled property is deprecated. Please use hitStrokeWidth instead."),t?this.hitStrokeWidth("auto"):this.hitStrokeWidth(0)},n.prototype.getStrokeHitEnabled=function(){return 0!==this.hitStrokeWidth()},n.prototype.getSelfRect=function(){var t=this.size();return{x:this._centroid?-t.width/2:0,y:this._centroid?-t.height/2:0,width:t.width,height:t.height}},n.prototype.getClientRect=function(t){t=t||{};var e=t.skipTransform,n=t.relativeTo,r=this.getSelfRect(),i=!t.skipStroke&&this.hasStroke(),o=i&&this.strokeWidth()||0,a=r.width+o,s=r.height+o,c=!t.skipShadow&&this.hasShadow(),h=c?this.shadowOffsetX():0,u=c?this.shadowOffsetY():0,l=a+Math.abs(h),f=s+Math.abs(u),d=c&&this.shadowBlur()||0,p=l+2*d,g=f+2*d,v=0;Math.round(o/2)!==o/2&&(v=1);var y={width:p+v,height:g+v,x:-Math.round(o/2+d)+Math.min(h,0)+r.x,y:-Math.round(o/2+d)+Math.min(u,0)+r.y};return e?y:this._transformedRect(y,n)},n.prototype.drawScene=function(t,e,n,r){var i,o,a,s=this.getLayer(),c=t||s.getCanvas(),h=c.getContext(),u=this._getCanvasCache(),l=this.sceneFunc(),f=this.hasShadow(),d=this.hasStroke();if(!this.isVisible()&&!n)return this;if(u)return h.save(),s._applyTransform(this,h,e),this._drawCachedSceneCanvas(h),h.restore(),this;if(!l)return this;if(h.save(),this._useBufferCanvas(n)&&!r){if(i=this.getStage(),o=i.bufferCanvas,a=o.getContext(),a.clear(),a.save(),a._applyLineJoin(this),!n)if(s)s._applyTransform(this,a,e);else{var p=this.getAbsoluteTransform(e).getMatrix();h.transform(p[0],p[1],p[2],p[3],p[4],p[5])}l.call(this,a,this),a.restore();var g=o.pixelRatio;f&&!c.hitCanvas?(h.save(),h._applyShadow(this),h._applyOpacity(this),h._applyGlobalCompositeOperation(this),h.drawImage(o._canvas,0,0,o.width/g,o.height/g),h.restore()):(h._applyOpacity(this),h._applyGlobalCompositeOperation(this),h.drawImage(o._canvas,0,0,o.width/g,o.height/g))}else{if(h._applyLineJoin(this),!n)if(s)s._applyTransform(this,h,e);else{var v=this.getAbsoluteTransform(e).getMatrix();h.transform(v[0],v[1],v[2],v[3],v[4],v[5])}f&&d&&!c.hitCanvas?(h.save(),n||(h._applyOpacity(this),h._applyGlobalCompositeOperation(this)),h._applyShadow(this),l.call(this,h,this),h.restore(),this.hasFill()&&this.shadowForStrokeEnabled()&&l.call(this,h,this)):f&&!c.hitCanvas?(h.save(),n||(h._applyOpacity(this),h._applyGlobalCompositeOperation(this)),h._applyShadow(this),l.call(this,h,this),h.restore()):(n||(h._applyOpacity(this),h._applyGlobalCompositeOperation(this)),l.call(this,h,this))}return h.restore(),this},n.prototype.drawHit=function(t,e,n){var r=this.getLayer(),i=t||r.hitCanvas,a=i&&i.getContext(),s=this.hitFunc()||this.sceneFunc(),c=this._getCanvasCache(),h=c&&c.hit;if(this.colorKey||(console.log(this),o.Util.warn("Looks like your canvas has a destroyed shape in it. Do not reuse shape after you destroyed it. See the shape in logs above. If you want to reuse shape you should call remove() instead of destroy()")),!this.shouldDrawHit()&&!n)return this;if(h)return a.save(),r._applyTransform(this,a,e),this._drawCachedHitCanvas(a),a.restore(),this;if(!s)return this;if(a.save(),a._applyLineJoin(this),!n)if(r)r._applyTransform(this,a,e);else{var u=this.getAbsoluteTransform(e).getMatrix();a.transform(u[0],u[1],u[2],u[3],u[4],u[5])}return s.call(this,a,this),a.restore(),this},n.prototype.drawHitFromCache=function(t){void 0===t&&(t=0);var e,n,r,i,a,s,c=this._getCanvasCache(),h=this._getCachedSceneCanvas(),u=c.hit,l=u.getContext(),f=u.getWidth(),d=u.getHeight();l.clear(),l.drawImage(h._canvas,0,0,f,d);try{for(e=l.getImageData(0,0,f,d),n=e.data,r=n.length,i=o.Util._hexToRgb(this.colorKey),a=0;at?(n[a]=i.r,n[a+1]=i.g,n[a+2]=i.b,n[a+3]=255):n[a+3]=0;l.putImageData(e,0,0)}catch(p){o.Util.error("Unable to draw hit graph from cached scene canvas. "+p.message)}return this},n.prototype.hasPointerCapture=function(t){return u.hasPointerCapture(t,this)},n.prototype.setPointerCapture=function(t){u.setPointerCapture(t,this)},n.prototype.releaseCapture=function(t){u.releaseCapture(t,this)},n}(s.Node);e.Shape=k,k.prototype._fillFunc=y,k.prototype._strokeFunc=m,k.prototype._fillFuncHit=_,k.prototype._strokeFuncHit=b,k.prototype._centroid=!1,k.prototype.nodeType="Shape",h._registerNode(k),a.Factory.addGetterSetter(k,"stroke",void 0,c.getStringValidator()),a.Factory.addGetterSetter(k,"strokeWidth",2,c.getNumberValidator()),a.Factory.addGetterSetter(k,"hitStrokeWidth","auto",c.getNumberOrAutoValidator()),a.Factory.addGetterSetter(k,"strokeHitEnabled",!0,c.getBooleanValidator()),a.Factory.addGetterSetter(k,"perfectDrawEnabled",!0,c.getBooleanValidator()),a.Factory.addGetterSetter(k,"shadowForStrokeEnabled",!0,c.getBooleanValidator()),a.Factory.addGetterSetter(k,"lineJoin"),a.Factory.addGetterSetter(k,"lineCap"),a.Factory.addGetterSetter(k,"sceneFunc"),a.Factory.addGetterSetter(k,"hitFunc"),a.Factory.addGetterSetter(k,"dash"),a.Factory.addGetterSetter(k,"dashOffset",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"shadowColor",void 0,c.getStringValidator()),a.Factory.addGetterSetter(k,"shadowBlur",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"shadowOpacity",1,c.getNumberValidator()),a.Factory.addComponentsGetterSetter(k,"shadowOffset",["x","y"]),a.Factory.addGetterSetter(k,"shadowOffsetX",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"shadowOffsetY",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"fillPatternImage"),a.Factory.addGetterSetter(k,"fill",void 0,c.getStringValidator()),a.Factory.addGetterSetter(k,"fillPatternX",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"fillPatternY",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"fillLinearGradientColorStops"),a.Factory.addGetterSetter(k,"strokeLinearGradientColorStops"),a.Factory.addGetterSetter(k,"fillRadialGradientStartRadius",0),a.Factory.addGetterSetter(k,"fillRadialGradientEndRadius",0),a.Factory.addGetterSetter(k,"fillRadialGradientColorStops"),a.Factory.addGetterSetter(k,"fillPatternRepeat","repeat"),a.Factory.addGetterSetter(k,"fillEnabled",!0),a.Factory.addGetterSetter(k,"strokeEnabled",!0),a.Factory.addGetterSetter(k,"shadowEnabled",!0),a.Factory.addGetterSetter(k,"dashEnabled",!0),a.Factory.addGetterSetter(k,"strokeScaleEnabled",!0),a.Factory.addGetterSetter(k,"fillPriority","color"),a.Factory.addComponentsGetterSetter(k,"fillPatternOffset",["x","y"]),a.Factory.addGetterSetter(k,"fillPatternOffsetX",0,c.getNumberValidator()),a.Factory.addGetterSetter(k,"fillPatternOffsetY",0,c.getNumberValidator()),a.Factory.addComponentsGetterSetter(k,"fillPatternScale",["x","y"]),a.Factory.addGetterSetter(k,"fillPatternScaleX",1,c.getNumberValidator()),a.Factory.addGetterSetter(k,"fillPatternScaleY",1,c.getNumberValidator()),a.Factory.addComponentsGetterSetter(k,"fillLinearGradientStartPoint",["x","y"]),a.Factory.addComponentsGetterSetter(k,"strokeLinearGradientStartPoint",["x","y"]),a.Factory.addGetterSetter(k,"fillLinearGradientStartPointX",0),a.Factory.addGetterSetter(k,"strokeLinearGradientStartPointX",0),a.Factory.addGetterSetter(k,"fillLinearGradientStartPointY",0),a.Factory.addGetterSetter(k,"strokeLinearGradientStartPointY",0),a.Factory.addComponentsGetterSetter(k,"fillLinearGradientEndPoint",["x","y"]),a.Factory.addComponentsGetterSetter(k,"strokeLinearGradientEndPoint",["x","y"]),a.Factory.addGetterSetter(k,"fillLinearGradientEndPointX",0),a.Factory.addGetterSetter(k,"strokeLinearGradientEndPointX",0),a.Factory.addGetterSetter(k,"fillLinearGradientEndPointY",0),a.Factory.addGetterSetter(k,"strokeLinearGradientEndPointY",0),a.Factory.addComponentsGetterSetter(k,"fillRadialGradientStartPoint",["x","y"]),a.Factory.addGetterSetter(k,"fillRadialGradientStartPointX",0),a.Factory.addGetterSetter(k,"fillRadialGradientStartPointY",0),a.Factory.addComponentsGetterSetter(k,"fillRadialGradientEndPoint",["x","y"]),a.Factory.addGetterSetter(k,"fillRadialGradientEndPointX",0),a.Factory.addGetterSetter(k,"fillRadialGradientEndPointY",0),a.Factory.addGetterSetter(k,"fillPatternRotation",0),a.Factory.backCompat(k,{dashArray:"dash",getDashArray:"getDash",setDashArray:"getDash",drawFunc:"sceneFunc",getDrawFunc:"getSceneFunc",setDrawFunc:"setSceneFunc",drawHitFunc:"hitFunc",getDrawHitFunc:"getHitFunc",setDrawHitFunc:"setHitFunc"}),o.Collection.mapMethods(k)},fd15:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n("36da"),i=n("8603"),o=n("1bd8"),a=n("1f21"),s=n("383f"),c=n("229a"),h=n("da04"),u=n("f709"),l=n("8c18"),f=n("5d5a"),d=n("26c8"),p=n("bf11"),g=n("a34e"),v=n("e3af"),y=n("5414"),m=n("2a01"),_=n("d488"),b=n("96ee"),w=n("bdee"),x=n("6b7e"),S=n("c742"),C=n("e4b0"),P=n("bcb1"),k=n("cf29"),O=n("926b"),A=n("461e"),T=n("89c1"),M=n("1c49"),F=n("9470"),N=n("bbce"),L=n("405a"),D=n("2013"),E=n("8e84"),I=n("b33b"),j=n("769d"),G=n("7cc1"),R=n("122f");e.Konva=r.Konva.Util._assign(r.Konva,{Arc:i.Arc,Arrow:o.Arrow,Circle:a.Circle,Ellipse:s.Ellipse,Image:c.Image,Label:h.Label,Tag:h.Tag,Line:u.Line,Path:l.Path,Rect:f.Rect,RegularPolygon:d.RegularPolygon,Ring:p.Ring,Sprite:g.Sprite,Star:v.Star,Text:y.Text,TextPath:m.TextPath,Transformer:_.Transformer,Wedge:b.Wedge,Filters:{Blur:w.Blur,Brighten:x.Brighten,Contrast:S.Contrast,Emboss:C.Emboss,Enhance:P.Enhance,Grayscale:k.Grayscale,HSL:O.HSL,HSV:A.HSV,Invert:T.Invert,Kaleidoscope:M.Kaleidoscope,Mask:F.Mask,Noise:N.Noise,Pixelate:L.Pixelate,Posterize:D.Posterize,RGB:E.RGB,RGBA:I.RGBA,Sepia:j.Sepia,Solarize:G.Solarize,Threshold:R.Threshold}})},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,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},fea9:function(t,e,n){var r=n("da84");t.exports=r.Promise}}]); //# sourceMappingURL=picture-annotation-chunk-vendors.min.js.map