t.cols&&(o.x=t.cols-o.w),o.x<0&&(o.x=0,o.w=t.cols),o.static)while(_(n,o))o.y++;else n.push(o)}return e}function m(e,t){for(var n=0,i=e.length;ni;"number"===typeof n&&(t.x=n),"number"===typeof i&&(t.y=i),t.moved=!0;var c=w(e);l&&(c=c.reverse());var u=g(c,t);if(o&&u.length)return t.x=a,t.y=s,t.moved=!1,e;for(var d=0,p=u.length;df.y&&t.y-f.y>f.h/4||(e=f.static?y(e,f,t,r):y(e,t,f,r)))}return e}function y(e,t,n,i){var r=!1;if(i){var o={x:n.x,y:n.y,w:n.w,h:n.h,i:"-1"};if(o.y=Math.max(t.y-n.h,0),!_(e,o))return v(e,n,void 0,o.y,r)}return v(e,n,void 0,n.y+1,r)}function S(e,t,n,i){var r="translate3d("+t+"px,"+e+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:i+"px",position:"absolute"}}function E(e,t,n,i){var r="translate3d("+-1*t+"px,"+e+"px, 0)";return{transform:r,WebkitTransform:r,MozTransform:r,msTransform:r,OTransform:r,width:n+"px",height:i+"px",position:"absolute"}}function x(e,t,n,i){return{top:e+"px",left:t+"px",width:n+"px",height:i+"px",position:"absolute"}}function C(e,t,n,i){return{top:e+"px",right:t+"px",width:n+"px",height:i+"px",position:"absolute"}}function w(e){return[].concat(e).sort((function(e,t){return e.y>t.y||e.y===t.y&&e.x>t.x?1:-1}))}function T(e,t){t=t||"Layout";var n=["x","y","w","h"];if(!Array.isArray(e))throw new Error(t+" must be an array!");for(var i=0,r=e.length;ithis.cols?(this.innerX=0,this.innerW=this.w>this.cols?this.cols:this.w):(this.innerX=this.x,this.innerW=this.w);var e,t=this.calcPosition(this.innerX,this.innerY,this.innerW,this.innerH);this.isDragging&&(t.top=this.dragging.top,this.renderRtl?t.right=this.dragging.left:t.left=this.dragging.left),this.isResizing&&(t.width=this.resizing.width,t.height=this.resizing.height),e=this.useCssTransforms?this.renderRtl?E(t.top,t.right,t.width,t.height):S(t.top,t.left,t.width,t.height):this.renderRtl?C(t.top,t.right,t.width,t.height):x(t.top,t.left,t.width,t.height),this.style=e},emitContainerResized:function(){for(var e={},t=0,n=["width","height"];tthis.maxW&&(n.w=this.maxW),n.hthis.maxH&&(n.h=this.maxH),n.h<1&&(n.h=1),n.w<1&&(n.w=1),this.lastW=i,this.lastH=r,this.innerW===n.w&&this.innerH===n.h||this.$emit("resize",this.i,n.h,n.w,o.height,o.width),"resizeend"!==e.type||this.previousW===this.innerW&&this.previousH===this.innerH||this.$emit("resized",this.i,n.h,n.w,o.height,o.width),this.eventBus.$emit("resizeEvent",e.type,this.i,this.innerX,this.innerY,n.h,n.w)}}},handleDrag:function(e){if(!this.static&&!this.isResizing){var t=O(e);if(null!==t){var n,i=t.x,r=t.y,o={top:0,left:0};switch(e.type){case"dragstart":this.previousX=this.innerX,this.previousY=this.innerY;var a=e.target.offsetParent.getBoundingClientRect(),s=e.target.getBoundingClientRect();this.renderRtl?o.left=-1*(s.right-a.right):o.left=s.left-a.left,o.top=s.top-a.top,this.dragging=o,this.isDragging=!0;break;case"dragend":if(!this.isDragging)return;var l=e.target.offsetParent.getBoundingClientRect(),c=e.target.getBoundingClientRect();this.renderRtl?o.left=-1*(c.right-l.right):o.left=c.left-l.left,o.top=c.top-l.top,this.dragging=null,this.isDragging=!1;break;case"dragmove":var u=R(this.lastX,this.lastY,i,r);this.renderRtl?o.left=this.dragging.left-u.deltaX:o.left=this.dragging.left+u.deltaX,o.top=this.dragging.top+u.deltaY,this.dragging=o;break}n=(this.renderRtl,this.calcXY(o.top,o.left)),this.lastX=i,this.lastY=r,this.innerX===n.x&&this.innerY===n.y||this.$emit("move",this.i,n.x,n.y),"dragend"!==e.type||this.previousX===this.innerX&&this.previousY===this.innerY||this.$emit("moved",this.i,n.x,n.y),this.eventBus.$emit("dragEvent",e.type,this.i,n.x,n.y,this.innerH,this.innerW)}}},calcPosition:function(e,t,n,i){var r,o=this.calcColWidth();return r=this.renderRtl?{right:Math.round(o*e+(e+1)*this.margin[0]),top:Math.round(this.rowHeight*t+(t+1)*this.margin[1]),width:n===1/0?n:Math.round(o*n+Math.max(0,n-1)*this.margin[0]),height:i===1/0?i:Math.round(this.rowHeight*i+Math.max(0,i-1)*this.margin[1])}:{left:Math.round(o*e+(e+1)*this.margin[0]),top:Math.round(this.rowHeight*t+(t+1)*this.margin[1]),width:n===1/0?n:Math.round(o*n+Math.max(0,n-1)*this.margin[0]),height:i===1/0?i:Math.round(this.rowHeight*i+Math.max(0,i-1)*this.margin[1])},r},calcXY:function(e,t){var n=this.calcColWidth(),i=Math.round((t-this.margin[0])/(n+this.margin[0])),r=Math.round((e-this.margin[1])/(this.rowHeight+this.margin[1]));return i=Math.max(Math.min(i,this.cols-this.innerW),0),r=Math.max(Math.min(r,this.maxRows-this.innerH),0),{x:i,y:r}},calcColWidth:function(){var e=(this.containerWidth-this.margin[0]*(this.cols+1))/this.cols;return e},calcWH:function(e,t){var n=this.calcColWidth(),i=Math.round((t+this.margin[0])/(n+this.margin[0])),r=Math.round((e+this.margin[1])/(this.rowHeight+this.margin[1]));return i=Math.max(Math.min(i,this.cols-this.innerX),0),r=Math.max(Math.min(r,this.maxRows-this.innerY),0),{w:i,h:r}},updateWidth:function(e,t){this.containerWidth=e,void 0!==t&&null!==t&&(this.cols=t)},compact:function(){this.createStyle()},tryMakeDraggable:function(){var e=this;if(null!==this.interactObj&&void 0!==this.interactObj||(this.interactObj=F(this.$refs.item)),this.draggable&&!this.static){var t={ignoreFrom:this.dragIgnoreFrom,allowFrom:this.dragAllowFrom};this.interactObj.draggable(t),this.dragEventSet||(this.dragEventSet=!0,this.interactObj.on("dragstart dragmove dragend",(function(t){e.handleDrag(t)})))}else this.interactObj.draggable({enabled:!1})},tryMakeResizable:function(){var e=this;if(null!==this.interactObj&&void 0!==this.interactObj||(this.interactObj=F(this.$refs.item)),this.resizable&&!this.static){var t=this.calcPosition(0,0,this.maxW,this.maxH),n=this.calcPosition(0,0,this.minW,this.minH),i={preserveAspectRatio:!0,edges:{left:!1,right:"."+this.resizableHandleClass,bottom:"."+this.resizableHandleClass,top:!1},ignoreFrom:this.resizeIgnoreFrom,restrictSize:{min:{height:n.height,width:n.width},max:{height:t.height,width:t.width}}};this.interactObj.resizable(i),this.resizeEventSet||(this.resizeEventSet=!0,this.interactObj.on("resizestart resizemove resizeend",(function(t){e.handleResize(t)})))}else this.interactObj.resizable({enabled:!1})},autoSize:function(){this.previousW=this.innerW,this.previousH=this.innerH;var e=this.$slots.default[0].elm.getBoundingClientRect(),t=this.calcWH(e.height,e.width);t.wthis.maxW&&(t.w=this.maxW),t.hthis.maxH&&(t.h=this.maxH),t.h<1&&(t.h=1),t.w<1&&(t.w=1),this.innerW===t.w&&this.innerH===t.h||this.$emit("resize",this.i,t.h,t.w,e.height,e.width),this.previousW===t.w&&this.previousH===t.h||(this.$emit("resized",this.i,t.h,t.w,e.height,e.width),this.eventBus.$emit("resizeEvent","resizeend",this.i,this.innerX,this.innerY,t.h,t.w))}}},U=B;n("5ed4");function z(e,t,n,i,r,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}var G=z(U,a,s,!1,null,null,null),$=G.exports,V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"item",staticClass:"vue-grid-layout",style:e.mergedStyle},[e._t("default"),n("grid-item",{directives:[{name:"show",rawName:"v-show",value:e.isDragging,expression:"isDragging"}],staticClass:"vue-grid-placeholder",attrs:{x:e.placeholder.x,y:e.placeholder.y,w:e.placeholder.w,h:e.placeholder.h,i:e.placeholder.i}})],2)},j=[],H=(n("8e6e"),n("fca0"),n("85f2")),Y=n.n(H);function W(e,t,n){return t in e?Y()(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){for(var n=X(e),i=n[0],r=1,o=n.length;re[a]&&(i=a)}return i}function K(e,t){if(!t[e])throw new Error("ResponsiveGridLayout: `cols` entry for breakpoint "+e+" is missing!");return t[e]}function Q(e,t,n,i,r,o,a){if(t[i])return c(t[i]);for(var s=e,l=X(n),u=l.slice(l.indexOf(i)),d=0,f=u.length;d0&&(this.layout.length>this.originalLayout.length?this.originalLayout=this.originalLayout.concat(e):this.originalLayout=this.originalLayout.filter((function(t){return!e.some((function(e){return t.i===e.i}))}))),this.lastLayoutLength=this.layout.length,this.initResponsiveFeatures()}p(this.layout,this.verticalCompact),this.eventBus.$emit("updateWidth",this.width),this.updateHeight()}},updateHeight:function(){this.mergedStyle={height:this.containerHeight()}},onWindowResize:function(){null!==this.$refs&&null!==this.$refs.item&&void 0!==this.$refs.item&&(this.width=this.$refs.item.offsetWidth),this.eventBus.$emit("resizeEvent")},containerHeight:function(){if(this.autoSize)return l(this.layout)*(this.rowHeight+this.margin[1])+this.margin[1]+"px"},dragEvent:function(e,t,n,i,r,o){var a=m(this.layout,t);void 0!==a&&null!==a||(a={x:0,y:0}),"dragmove"===e||"dragstart"===e?(this.placeholder.i=t,this.placeholder.x=a.x,this.placeholder.y=a.y,this.placeholder.w=o,this.placeholder.h=r,this.$nextTick((function(){this.isDragging=!0})),this.eventBus.$emit("updateWidth",this.width)):this.$nextTick((function(){this.isDragging=!1})),this.layout=v(this.layout,a,n,i,!0,this.preventCollision),p(this.layout,this.verticalCompact),this.eventBus.$emit("compact"),this.updateHeight(),"dragend"===e&&this.$emit("layout-updated",this.layout)},resizeEvent:function(e,t,n,i,r,o){var a,s=m(this.layout,t);if(void 0!==s&&null!==s||(s={h:0,w:0}),this.preventCollision){var l=g(this.layout,J({},s,{w:o,h:r})).filter((function(e){return e.i!==s.i}));if(a=l.length>0,a){var c=1/0,u=1/0;l.forEach((function(e){e.x>s.x&&(c=Math.min(c,e.x)),e.y>s.y&&(u=Math.min(u,e.y))})),Number.isFinite(c)&&(s.w=c-s.x),Number.isFinite(u)&&(s.h=u-s.y)}}a||(s.w=o,s.h=r),"resizestart"===e||"resizemove"===e?(this.placeholder.i=t,this.placeholder.x=n,this.placeholder.y=i,this.placeholder.w=s.w,this.placeholder.h=s.h,this.$nextTick((function(){this.isDragging=!0})),this.eventBus.$emit("updateWidth",this.width)):this.$nextTick((function(){this.isDragging=!1})),this.responsive&&this.responsiveGridLayout(),p(this.layout,this.verticalCompact),this.eventBus.$emit("compact"),this.updateHeight(),"resizeend"===e&&this.$emit("layout-updated",this.layout)},responsiveGridLayout:function(){var e=q(this.breakpoints,this.width),t=K(e,this.cols);null==this.lastBreakpoint||this.layouts[this.lastBreakpoint]||(this.layouts[this.lastBreakpoint]=c(this.layout));var n=Q(this.originalLayout,this.layouts,this.breakpoints,e,this.lastBreakpoint,t,this.verticalCompact);this.layouts[e]=n,this.$emit("update:layout",n),this.lastBreakpoint=e,this.eventBus.$emit("setColNum",K(e,this.cols))},initResponsiveFeatures:function(){this.layouts={}},findDifference:function(e,t){var n=e.filter((function(e){return!t.some((function(t){return e.i===t.i}))})),i=t.filter((function(t){return!e.some((function(e){return t.i===e.i}))}));return n.concat(i)}}},ne=te,ie=(n("e279"),z(ne,V,j,!1,null,null,null)),re=ie.exports,oe={GridLayout:re,GridItem:$};Object.keys(oe).forEach((function(e){o.a.component(e,oe[e])}));var ae=oe;n.d(t,"GridLayout",(function(){return re})),n.d(t,"GridItem",(function(){return $}));t["default"]=ae},fb3a:function(e,t,n){(function(t){e.exports=t()})((function(){var e=function(e){var t;return function(n){return t||e(t={exports:{},parent:n},t.exports),t.exports}},t=e((function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scope=t.ActionName=void 0;var i=h(tn),r=p(d),o=p(Tn),a=p(Rn),s=p($n),l=p(oi),c=p(wi),u=p(n({}));function p(e){return e&&e.__esModule?e:{default:e}}function f(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return f=function(){return e},e}function h(e){if(e&&e.__esModule)return e;var t=f();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function m(e){return m="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function _(e,t){return!t||"object"!==m(t)&&"function"!==typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t,n){return b="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=v(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}},b(e,t,n||e)}function v(e,t){while(!Object.prototype.hasOwnProperty.call(e,t))if(e=y(e),null===e)break;return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function S(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}function E(e,t){return E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},E(e,t)}function x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n=0;e--){var i=n.interactions.list[e];i.interactable===this&&(i.stop(),n.interactions.signals.fire("destroy",{interaction:i}),i.destroy(),n.interactions.list.length>2&&n.interactions.list.splice(e,1))}n.interactables.signals.fire("unset",{interactable:this})}},{key:"_defaults",get:function(){return n.defaults}}]),t}(s["default"])}return w(e,[{key:"init",value:function(e){return D(this,e)}},{key:"pluginIsInstalled",value:function(e){return this._pluginMap[e.id]||-1!==this._plugins.indexOf(e)}},{key:"usePlugin",value:function(e,t){return this.pluginIsInstalled(e)?this:(e.id&&(this._pluginMap[e.id]=e),e.install(this,t),this._plugins.push(e),this)}},{key:"addDocument",value:function(e,t){if(-1!==this.getDocIndex(e))return!1;var n=O.getWindow(e);t=t?i.extend({},t):{},this.documents.push({doc:e,options:t}),A.documents.push(e),e!==this.document&&A.add(n,"unload",this.onWindowUnload),this.signals.fire("add-document",{doc:e,window:n,scope:this,options:t})}},{key:"removeDocument",value:function(e){var t=this.getDocIndex(e),n=O.getWindow(e),i=this.documents[t].options;A.remove(n,"unload",this.onWindowUnload),this.documents.splice(t,1),A.documents.splice(t,1),this.signals.fire("remove-document",{doc:e,window:n,scope:this,options:i})}},{key:"getDocIndex",value:function(e){for(var t=0;tthis.pointerMoveTolerance);var s={pointer:e,pointerIndex:this.getPointerIndex(e),event:t,eventTarget:n,dx:i,dy:r,duplicate:a,interaction:this};a||(o.pointer.setCoordDeltas(this.coords.delta,this.coords.prev,this.coords.cur),o.pointer.setCoordVelocity(this.coords.velocity,this.coords.delta)),this._signals.fire("move",s),a||(this.interacting()&&this.move(s),this.pointerWasMoved&&o.pointer.copyCoords(this.coords.prev,this.coords.cur))}},{key:"move",value:function(e){e=o.extend({pointer:this._latestPointer.pointer,event:this._latestPointer.event,eventTarget:this._latestPointer.eventTarget,interaction:this},e||{}),e.phase=a.EventPhase.Move,this._doPhase(e)}},{key:"pointerUp",value:function(e,t,n,i){var r=this.getPointerIndex(e);-1===r&&(r=this.updatePointer(e,t,n,!1)),this._signals.fire(/cancel$/i.test(t.type)?"cancel":"up",{pointer:e,pointerIndex:r,event:t,eventTarget:n,curEventTarget:i,interaction:this}),this.simulation||this.end(t),this.pointerIsDown=!1,this.removePointer(e,t)}},{key:"documentBlur",value:function(e){this.end(e),this._signals.fire("blur",{event:e,interaction:this})}},{key:"end",value:function(e){var t;this._ending=!0,e=e||this._latestPointer.event,this.interacting()&&(t=this._doPhase({event:e,interaction:this,phase:a.EventPhase.End})),this._ending=!1,!0===t&&this.stop()}},{key:"currentAction",value:function(){return this._interacting?this.prepared.name:null}},{key:"interacting",value:function(){return this._interacting}},{key:"stop",value:function(){this._signals.fire("stop",{interaction:this}),this.interactable=this.element=null,this._interacting=!1,this._stopped=!0,this.prepared.name=this.prevEvent=null}},{key:"getPointerIndex",value:function(e){var t=o.pointer.getPointerId(e);return"mouse"===this.pointerType||"pen"===this.pointerType?this.pointers.length-1:o.arr.findIndex(this.pointers,(function(e){return e.id===t}))}},{key:"getPointerInfo",value:function(e){return this.pointers[this.getPointerIndex(e)]}},{key:"updatePointer",value:function(e,t,n,i){var r=o.pointer.getPointerId(e),a=this.getPointerIndex(e),l=this.pointers[a];return i=!1!==i&&(i||/(down|start)$/i.test(t.type)),l?l.pointer=e:(l=new s["default"](r,e,t,null,null),a=this.pointers.length,this.pointers.push(l)),i&&(this.pointerIsDown=!0,this.interacting()||(o.pointer.setCoords(this.coords.start,this.pointers.map((function(e){return e.pointer})),this._now()),o.pointer.copyCoords(this.coords.cur,this.coords.start),o.pointer.copyCoords(this.coords.prev,this.coords.start),o.pointer.pointerExtend(this.downPointer,e),this.downEvent=t,l.downTime=this.coords.cur.timeStamp,l.downTarget=n,this.pointerWasMoved=!1)),this._updateLatestPointer(e,t,n),this._signals.fire("update-pointer",{pointer:e,event:t,eventTarget:n,down:i,pointerInfo:l,pointerIndex:a,interaction:this}),a}},{key:"removePointer",value:function(e,t){var n=this.getPointerIndex(e);if(-1!==n){var i=this.pointers[n];this._signals.fire("remove-pointer",{pointer:e,event:t,pointerIndex:n,pointerInfo:i,interaction:this}),this.pointers.splice(n,1)}}},{key:"_updateLatestPointer",value:function(e,t,n){this._latestPointer.pointer=e,this._latestPointer.event=t,this._latestPointer.eventTarget=n}},{key:"destroy",value:function(){this._latestPointer.pointer=null,this._latestPointer.event=null,this._latestPointer.eventTarget=null}},{key:"_createPreparedEvent",value:function(e,t,n,i){var r=this.prepared.name;return new a["default"](this,e,r,t,this.element,null,n,i)}},{key:"_fireEvent",value:function(e){this.interactable.fire(e),(!this.prevEvent||e.timeStamp>=this.prevEvent.timeStamp)&&(this.prevEvent=e)}},{key:"_doPhase",value:function(e){var t=e.event,n=e.phase,i=e.preEnd,r=e.type,o=this._signals.fire("before-action-".concat(n),e);if(!1===o)return!1;var a=e.iEvent=this._createPreparedEvent(t,n,i,r),s=this.rect;if(s){var l=this.edges||this.prepared.edges||{left:!0,right:!0,top:!0,bottom:!0};l.top&&(s.top+=a.delta.y),l.bottom&&(s.bottom+=a.delta.y),l.left&&(s.left+=a.delta.x),l.right&&(s.right+=a.delta.x),s.width=s.right-s.left,s.height=s.bottom-s.top}return this._signals.fire("action-".concat(n),e),this._fireEvent(a),this._signals.fire("after-action-".concat(n),e),!0}},{key:"_now",value:function(){return Date.now()}},{key:"pointerMoveTolerance",get:function(){return 1}}]),e}();n.Interaction=m;var _=m;n["default"]=_})),r={};function o(e,t){return-1!==e.indexOf(t)}function a(e,t){return e.splice(e.indexOf(t),1)}function s(e,t){for(var n=0;n=f&&(r=a,o=t)}else r=a,o=t}else r=a,o=t}return o}function ue(e,t,n){while(J.element(e)){if(se(e,t))return!0;if(e=ae(e),e===n)return se(e,t)}return!1}function de(e){return e instanceof Z["default"].SVGElementInstance?e.correspondingUseElement:e}function pe(e){return e=e||ee["default"].window,{x:e.scrollX||e.document.documentElement.scrollLeft,y:e.scrollY||e.document.documentElement.scrollTop}}function fe(e){var t=e instanceof Z["default"].SVGElement?e.getBoundingClientRect():e.getClientRects()[0];return t&&{left:t.left,right:t.right,top:t.top,bottom:t.bottom,width:t.width||t.right-t.left,height:t.height||t.bottom-t.top}}function he(e){var t=fe(e);if(!X["default"].isIOS7&&t){var n=pe(ee["default"].getWindow(e));t.left+=n.x,t.right+=n.x,t.top+=n.y,t.bottom+=n.y}return t}function me(e){var t=[];while(e)t.push(e),e=ae(e);return t}function _e(e){return!!J.string(e)&&(Z["default"].document.querySelector(e),!0)}var ge={};Object.defineProperty(ge,"__esModule",{value:!0}),ge["default"]=Ee;var be=Se(r),ve=Se(w);function ye(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ye=function(){return e},e}function Se(e){if(e&&e.__esModule)return e;var t=ye();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function Ee(e){var t={};for(var n in e){var i=e[n];ve.plainObject(i)?t[n]=Ee(i):ve.array(i)?t[n]=be.from(i):t[n]=i}return t}var xe={};function Ce(e,t){for(var n in t){var i=Ce.prefixedPropREs,r=!1;for(var o in i)if(0===n.indexOf(o)&&i[o].test(n)){r=!0;break}r||"function"===typeof t[n]||(e[n]=t[n])}return e}Object.defineProperty(xe,"__esModule",{value:!0}),xe["default"]=void 0,Ce.prefixedPropREs={webkit:/(Movement[XY]|Radius[XY]|RotationAngle|Force)$/,moz:/(Pressure)$/};var we=Ce;xe["default"]=we;var Te={};Object.defineProperty(Te,"__esModule",{value:!0}),Te["default"]=void 0;var Oe=function(e,t){return Math.sqrt(e*e+t*t)};Te["default"]=Oe;var Ne={};Object.defineProperty(Ne,"__esModule",{value:!0}),Ne["default"]=void 0;var Re=Fe(z),Ie=Fe(d),Ae=Le(Q),ke=Fe(Te),De=Le(w),Me=Fe(xe);function Pe(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Pe=function(){return e},e}function Le(e){if(e&&e.__esModule)return e;var t=Pe();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function Fe(e){return e&&e.__esModule?e:{default:e}}var Be={copyCoords:function(e,t){e.page=e.page||{},e.page.x=t.page.x,e.page.y=t.page.y,e.client=e.client||{},e.client.x=t.client.x,e.client.y=t.client.y,e.timeStamp=t.timeStamp},setCoordDeltas:function(e,t,n){e.page.x=n.page.x-t.page.x,e.page.y=n.page.y-t.page.y,e.client.x=n.client.x-t.client.x,e.client.y=n.client.y-t.client.y,e.timeStamp=n.timeStamp-t.timeStamp},setCoordVelocity:function(e,t){var n=Math.max(t.timeStamp/1e3,.001);e.page.x=t.page.x/n,e.page.y=t.page.y/n,e.client.x=t.client.x/n,e.client.y=t.client.y/n,e.timeStamp=n},isNativePointer:function(e){return e instanceof Ie["default"].Event||e instanceof Ie["default"].Touch},getXY:function(e,t,n){return n=n||{},e=e||"page",n.x=t[e+"X"],n.y=t[e+"Y"],n},getPageXY:function(e,t){return t=t||{x:0,y:0},Re["default"].isOperaMobile&&Be.isNativePointer(e)?(Be.getXY("screen",e,t),t.x+=window.scrollX,t.y+=window.scrollY):Be.getXY("page",e,t),t},getClientXY:function(e,t){return t=t||{},Re["default"].isOperaMobile&&Be.isNativePointer(e)?Be.getXY("screen",e,t):Be.getXY("client",e,t),t},getPointerId:function(e){return De.number(e.pointerId)?e.pointerId:e.identifier},setCoords:function(e,t,n){var i=t.length>1?Be.pointerAverage(t):t[0],r={};Be.getPageXY(i,r),e.page.x=r.x,e.page.y=r.y,Be.getClientXY(i,r),e.client.x=r.x,e.client.y=r.y,e.timeStamp=n},pointerExtend:Me["default"],getTouchPair:function(e){var t=[];return De.array(e)?(t[0]=e[0],t[1]=e[1]):"touchend"===e.type?1===e.touches.length?(t[0]=e.touches[0],t[1]=e.changedTouches[0]):0===e.touches.length&&(t[0]=e.changedTouches[0],t[1]=e.changedTouches[1]):(t[0]=e.touches[0],t[1]=e.touches[1]),t},pointerAverage:function(e){for(var t={pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0},n=0;n1))return null;var t=Be.getTouchPair(e),n=Math.min(t[0].pageX,t[1].pageX),i=Math.min(t[0].pageY,t[1].pageY),r=Math.max(t[0].pageX,t[1].pageX),o=Math.max(t[0].pageY,t[1].pageY);return{x:n,y:i,left:n,top:i,right:r,bottom:o,width:r-n,height:o-i}},touchDistance:function(e,t){var n=t+"X",i=t+"Y",r=Be.getTouchPair(e),o=r[0][n]-r[1][n],a=r[0][i]-r[1][i];return(0,ke["default"])(o,a)},touchAngle:function(e,t){var n=t+"X",i=t+"Y",r=Be.getTouchPair(e),o=r[1][n]-r[0][n],a=r[1][i]-r[0][i],s=180*Math.atan2(a,o)/Math.PI;return s},getPointerType:function(e){return De.string(e.pointerType)?e.pointerType:De.number(e.pointerType)?[void 0,void 0,"touch","pen","mouse"][e.pointerType]:/touch/.test(e.type)||e instanceof Ie["default"].Touch?"touch":"mouse"},getEventTargets:function(e){var t=De.func(e.composedPath)?e.composedPath():e.path;return[Ae.getActualElement(t?t[0]:e.target),Ae.getActualElement(e.currentTarget)]},newCoords:function(){return{page:{x:0,y:0},client:{x:0,y:0},timeStamp:0}},coordsToEvent:function(e){var t={coords:e,get page(){return this.coords.page},get client(){return this.coords.client},get timeStamp(){return this.coords.timeStamp},get pageX(){return this.coords.page.x},get pageY(){return this.coords.page.y},get clientX(){return this.coords.client.x},get clientY(){return this.coords.client.y},get pointerId(){return this.coords.pointerId},get target(){return this.coords.target},get type(){return this.coords.type},get pointerType(){return this.coords.pointerType},get buttons(){return this.coords.buttons}};return t}},Ue=Be;Ne["default"]=Ue;var ze={};Object.defineProperty(ze,"__esModule",{value:!0}),ze["default"]=ze.FakeEvent=void 0;var Ge=We(Q),$e=We(w),Ve=He(xe),je=He(Ne);function He(e){return e&&e.__esModule?e:{default:e}}function Ye(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ye=function(){return e},e}function We(e){if(e&&e.__esModule)return e;var t=Ye();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ke(e,t){for(var n=0;n=0;c--)if(u.selectors[c]===e&&u.contexts[c]===t)break;-1===c&&(c=u.selectors.length,u.selectors.push(e),u.contexts.push(t),u.listeners.push([])),u.listeners[c].push([i,!!o.capture,o.passive])}function lt(e,t,n,i,r){var o,a=dt(r),s=it[n],l=!1;if(s)for(o=s.selectors.length-1;o>=0;o--)if(s.selectors[o]===e&&s.contexts[o]===t){for(var c=s.listeners[o],u=c.length-1;u>=0;u--){var d=Xe(c[u],3),p=d[0],f=d[1],h=d[2];if(p===i&&f===!!a.capture&&h===a.passive){c.splice(u,1),c.length||(s.selectors.splice(o,1),s.contexts.splice(o,1),s.listeners.splice(o,1),at(t,n,ct),at(t,n,ut,!0),s.selectors.length||(it[n]=null)),l=!0;break}}if(l)break}}function ct(e,t){var n=dt(t),i=new pt(e),r=it[e.type],o=je["default"].getEventTargets(e),a=Xe(o,1),s=a[0],l=s;while($e.element(l)){for(var c=0;c150)return null;var t=180*Math.atan2(e.prevEvent.velocityY,e.prevEvent.velocityX)/Math.PI,n=22.5;t<0&&(t+=360);var i=135-n<=t&&t<225+n,r=225-n<=t&&t<315+n,o=!i&&(315-n<=t||t<45+n),a=!r&&45-n<=t&&t<135+n;return{up:r,down:a,left:i,right:o,angle:t,speed:e.prevEvent.speed,velocity:{x:e.prevEvent.velocityX,y:e.prevEvent.velocityY}}}},{key:"preventDefault",value:function(){}},{key:"stopImmediatePropagation",value:function(){this.immediatePropagationStopped=this.propagationStopped=!0}},{key:"stopPropagation",value:function(){this.propagationStopped=!0}},{key:"pageX",get:function(){return this.page.x},set:function(e){this.page.x=e}},{key:"pageY",get:function(){return this.page.y},set:function(e){this.page.y=e}},{key:"clientX",get:function(){return this.client.x},set:function(e){this.client.x=e}},{key:"clientY",get:function(){return this.client.y},set:function(e){this.client.y=e}},{key:"dx",get:function(){return this.delta.x},set:function(e){this.delta.x=e}},{key:"dy",get:function(){return this.delta.y},set:function(e){this.delta.y=e}},{key:"velocityX",get:function(){return this.velocity.x},set:function(e){this.velocity.x=e}},{key:"velocityY",get:function(){return this.velocity.y},set:function(e){this.velocity.y=e}}]),t}(Ii["default"]);wi.InteractEvent=$i;var Vi=$i;wi["default"]=Vi;var ji={};function Hi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(ji,"__esModule",{value:!0}),ji["default"]=ji.PointerInfo=void 0;var Yi=function e(t,n,i,r,o){Hi(this,e),this.id=t,this.pointer=n,this.event=i,this.downTime=r,this.downTarget=o};ji.PointerInfo=Yi;var Wi=Yi;ji["default"]=Wi;var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi["default"]=void 0;var Ki=Xi(Q);function Qi(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Qi=function(){return e},e}function Xi(e){if(e&&e.__esModule)return e;var t=Qi();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}var Zi={methodOrder:["simulationResume","mouseOrPen","hasPointer","idle"],search:function(e){for(var t=0;t=2)continue;if(!o.interacting()&&t===o.pointerType)return o}return null}};function Ji(e,t){return e.pointers.some((function(e){var n=e.id;return n===t}))}var er=Zi;qi["default"]=er;var tr={};Object.defineProperty(tr,"__esModule",{value:!0}),tr["default"]=void 0;var nr=t({}),ir=ar(r),rr=ar(w);function or(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return or=function(){return e},e}function ar(e){if(e&&e.__esModule)return e;var t=or();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function sr(e){var t=e.actions,n=e.Interactable,i=e.interactions,r=e.defaults;i.signals.on("before-action-move",lr),i.signals.on("action-resume",lr),i.signals.on("action-move",cr),n.prototype.draggable=dr.draggable,t[nr.ActionName.Drag]=dr,t.names.push(nr.ActionName.Drag),ir.merge(t.eventTypes,["dragstart","dragmove","draginertiastart","dragresume","dragend"]),t.methodDict.drag="draggable",r.actions.drag=dr.defaults}function lr(e){var t=e.interaction;if("drag"===t.prepared.name){var n=t.prepared.axis;"x"===n?(t.coords.cur.page.y=t.coords.start.page.y,t.coords.cur.client.y=t.coords.start.client.y,t.coords.velocity.client.y=0,t.coords.velocity.page.y=0):"y"===n&&(t.coords.cur.page.x=t.coords.start.page.x,t.coords.cur.client.x=t.coords.start.client.x,t.coords.velocity.client.x=0,t.coords.velocity.page.x=0)}}function cr(e){var t=e.iEvent,n=e.interaction;if("drag"===n.prepared.name){var i=n.prepared.axis;if("x"===i||"y"===i){var r="x"===i?"y":"x";t.page[r]=n.coords.start.page[r],t.client[r]=n.coords.start.client[r],t.delta[r]=0}}}nr.ActionName.Drag="drag";var ur=function(e){return rr.object(e)?(this.options.drag.enabled=!1!==e.enabled,this.setPerAction("drag",e),this.setOnEvents("drag",e),/^(xy|x|y|start)$/.test(e.lockAxis)&&(this.options.drag.lockAxis=e.lockAxis),/^(xy|x|y)$/.test(e.startAxis)&&(this.options.drag.startAxis=e.startAxis),this):rr.bool(e)?(this.options.drag.enabled=e,this):this.options.drag},dr={id:"actions/drag",install:sr,draggable:ur,beforeMove:lr,move:cr,defaults:{startAxis:"xy",lockAxis:"xy"},checker:function(e,t,n){var i=n.options.drag;return i.enabled?{name:"drag",axis:"start"===i.lockAxis?i.startAxis:i.lockAxis}:null},getCursor:function(){return"move"}},pr=dr;tr["default"]=pr;var fr={};Object.defineProperty(fr,"__esModule",{value:!0}),fr["default"]=void 0;var hr=br(vi),mr=gr(r);function _r(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return _r=function(){return e},e}function gr(e){if(e&&e.__esModule)return e;var t=_r();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function br(e){return e&&e.__esModule?e:{default:e}}function vr(e){return vr="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vr(e)}function yr(e){return xr(e)||Er(e)||Sr()}function Sr(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function Er(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function xr(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);ta.left&&u.xa.top&&u.y=a.left&&h<=a.right&&m>=a.top&&m<=a.bottom}if(f&&Pr.is.number(l)){var _=Math.max(0,Math.min(a.right,f.right)-Math.max(a.left,f.left))*Math.max(0,Math.min(a.bottom,f.bottom)-Math.max(a.top,f.top)),g=_/(f.width*f.height);s=g>=l}return e.options.drop.checker&&(s=e.options.drop.checker(t,n,s,e,o,i,r)),s}var Xr={id:"actions/drop",install:Gr,getActiveDrops:jr,getDrop:Hr,getDropEvents:Yr,fireDropEvents:Wr,defaults:{enabled:!1,accept:null,overlap:"pointer"}},Zr=Xr;Mr["default"]=Zr;var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0}),Jr["default"]=void 0;var eo=oo(wi),to=t({}),no=ro(tn);function io(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return io=function(){return e},e}function ro(e){if(e&&e.__esModule)return e;var t=io();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function oo(e){return e&&e.__esModule?e:{default:e}}function ao(e){var t=e.actions,n=e.Interactable,i=e.interactions,r=e.defaults;n.prototype.gesturable=function(e){return no.is.object(e)?(this.options.gesture.enabled=!1!==e.enabled,this.setPerAction("gesture",e),this.setOnEvents("gesture",e),this):no.is.bool(e)?(this.options.gesture.enabled=e,this):this.options.gesture},i.signals.on("action-start",lo),i.signals.on("action-move",lo),i.signals.on("action-end",lo),i.signals.on("new",(function(e){var t=e.interaction;t.gesture={angle:0,distance:0,scale:1,startAngle:0,startDistance:0}})),t[to.ActionName.Gesture]=so,t.names.push(to.ActionName.Gesture),no.arr.merge(t.eventTypes,["gesturestart","gesturemove","gestureend"]),t.methodDict.gesture="gesturable",r.actions.gesture=so.defaults}to.ActionName.Gesture="gesture";var so={id:"actions/gesture",install:ao,defaults:{},checker:function(e,t,n,i,r){return r.pointers.length>=2?{name:"gesture"}:null},getCursor:function(){return""}};function lo(e){var t=e.interaction,n=e.iEvent,i=e.event,r=e.phase;if("gesture"===t.prepared.name){var o=t.pointers.map((function(e){return e.pointer})),a="start"===r,s="end"===r,l=t.interactable.options.deltaSource;if(n.touches=[o[0],o[1]],a)n.distance=no.pointer.touchDistance(o,l),n.box=no.pointer.touchBBox(o),n.scale=1,n.ds=0,n.angle=no.pointer.touchAngle(o,l),n.da=0,t.gesture.startDistance=n.distance,t.gesture.startAngle=n.angle;else if(s||i instanceof eo["default"]){var c=t.prevEvent;n.distance=c.distance,n.box=c.box,n.scale=c.scale,n.ds=0,n.angle=c.angle,n.da=0}else n.distance=no.pointer.touchDistance(o,l),n.box=no.pointer.touchBBox(o),n.scale=n.distance/t.gesture.startDistance,n.angle=no.pointer.touchAngle(o,l),n.ds=n.scale-t.gesture.scale,n.da=n.angle-t.gesture.angle;t.gesture.distance=n.distance,t.gesture.angle=n.angle,no.is.number(n.scale)&&n.scale!==1/0&&!isNaN(n.scale)&&(t.gesture.scale=n.scale)}}var co=so;Jr["default"]=co;var uo={};Object.defineProperty(uo,"__esModule",{value:!0}),uo["default"]=void 0;var po=t({}),fo=vo(r),ho=vo(Q),mo=go(mt),_o=vo(w);function go(e){return e&&e.__esModule?e:{default:e}}function bo(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return bo=function(){return e},e}function vo(e){if(e&&e.__esModule)return e;var t=bo();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function yo(e){var t=e.actions,n=e.browser,i=e.Interactable,r=e.interactions,o=e.defaults;r.signals.on("new",(function(e){e.resizeAxes="xy"})),r.signals.on("action-start",wo),r.signals.on("action-move",To),r.signals.on("action-end",Oo),r.signals.on("action-start",No),r.signals.on("action-move",No),So.cursors=Co(n),So.defaultMargin=n.supportsTouch||n.supportsPointerEvent?20:10,i.prototype.resizable=function(t){return Eo(this,t,e)},t[po.ActionName.Resize]=So,t.names.push(po.ActionName.Resize),fo.merge(t.eventTypes,["resizestart","resizemove","resizeinertiastart","resizeresume","resizeend"]),t.methodDict.resize="resizable",o.actions.resize=So.defaults}po.ActionName.Resize="resize";var So={id:"actions/resize",install:yo,defaults:{square:!1,preserveAspectRatio:!1,axis:"xy",margin:NaN,edges:null,invert:"none"},checker:function(e,t,n,i,r,o){if(!o)return null;var a=(0,mo["default"])({},r.coords.cur.page),s=n.options;if(s.resize.enabled){var l=s.resize,c={left:!1,right:!1,top:!1,bottom:!1};if(_o.object(l.edges)){for(var u in c)c[u]=xo(u,l.edges[u],a,r._latestPointer.eventTarget,i,o,l.margin||this.defaultMargin);if(c.left=c.left&&!c.right,c.top=c.top&&!c.bottom,c.left||c.right||c.top||c.bottom)return{name:"resize",edges:c}}else{var d="y"!==s.resize.axis&&a.x>o.right-this.defaultMargin,p="x"!==s.resize.axis&&a.y>o.bottom-this.defaultMargin;if(d||p)return{name:"resize",axes:(d?"x":"")+(p?"y":"")}}}return null},cursors:null,getCursor:function(e){var t=e.edges,n=e.axis,i=e.name,r=So.cursors,o=null;if(n)o=r[i+n];else if(t){for(var a="",s=["top","bottom","left","right"],l=0;l=0?o.left:o.right)+a;if("top"===e)return n.y<(l>=0?o.top:o.bottom)+a;if("right"===e)return n.x>(s>=0?o.right:o.left)-a;if("bottom"===e)return n.y>(l>=0?o.bottom:o.top)-a}return!!_o.element(i)&&(_o.element(t)?t===i:ho.matchesUpTo(i,t,r))}function Co(e){return e.isIe9?{x:"e-resize",y:"s-resize",xy:"se-resize",top:"n-resize",left:"w-resize",bottom:"s-resize",right:"e-resize",topleft:"se-resize",bottomright:"se-resize",topright:"ne-resize",bottomleft:"ne-resize"}:{x:"ew-resize",y:"ns-resize",xy:"nwse-resize",top:"ns-resize",left:"ew-resize",bottom:"ns-resize",right:"ew-resize",topleft:"nwse-resize",bottomright:"nwse-resize",topright:"nesw-resize",bottomleft:"nesw-resize"}}function wo(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var i=(0,mo["default"])({},n.rect),r=n.interactable.options.resize;if(r.square||r.preserveAspectRatio){var o=(0,mo["default"])({},n.prepared.edges);o.top=o.top||o.left&&!o.bottom,o.left=o.left||o.top&&!o.right,o.bottom=o.bottom||o.right&&!o.top,o.right=o.right||o.bottom&&!o.left,n.prepared._linkedEdges=o}else n.prepared._linkedEdges=null;r.preserveAspectRatio&&(n.resizeStartAspectRatio=i.width/i.height),n.resizeRects={start:i,current:{left:i.left,right:i.right,top:i.top,bottom:i.bottom},inverted:(0,mo["default"])({},i),previous:(0,mo["default"])({},i),delta:{left:0,right:0,width:0,top:0,bottom:0,height:0}},t.edges=n.prepared.edges,t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta}}function To(e){var t=e.iEvent,n=e.interaction;if("resize"===n.prepared.name&&n.prepared.edges){var i,r=n.interactable.options.resize,o=r.invert,a="reposition"===o||"negate"===o,s=n.prepared.edges,l=n.resizeRects.start,c=n.resizeRects.current,u=n.resizeRects.inverted,d=n.resizeRects.delta,p=(0,mo["default"])(n.resizeRects.previous,u),f=s,h=(0,mo["default"])({},t.delta);if(r.preserveAspectRatio||r.square){var m=r.preserveAspectRatio?n.resizeStartAspectRatio:1;s=n.prepared._linkedEdges,f.left&&f.bottom||f.right&&f.top?h.y=-h.x/m:f.left||f.right?h.y=h.x/m:(f.top||f.bottom)&&(h.x=h.y*m)}if(s.top&&(c.top+=h.y),s.bottom&&(c.bottom+=h.y),s.left&&(c.left+=h.x),s.right&&(c.right+=h.x),a){if((0,mo["default"])(u,c),"reposition"===o)u.top>u.bottom&&(i=u.top,u.top=u.bottom,u.bottom=i),u.left>u.right&&(i=u.left,u.left=u.right,u.right=i)}else u.top=Math.min(c.top,l.bottom),u.bottom=Math.max(c.bottom,l.top),u.left=Math.min(c.left,l.right),u.right=Math.max(c.right,l.left);for(var _ in u.width=u.right-u.left,u.height=u.bottom-u.top,u)d[_]=u[_]-p[_];t.edges=n.prepared.edges,t.rect=u,t.deltaRect=d}}function Oo(e){var t=e.iEvent,n=e.interaction;"resize"===n.prepared.name&&n.prepared.edges&&(t.edges=n.prepared.edges,t.rect=n.resizeRects.inverted,t.deltaRect=n.resizeRects.delta)}function No(e){var t=e.iEvent,n=e.interaction,i=e.action;if(i===po.ActionName.Resize&&n.resizeAxes){var r=n.interactable.options;r.resize.square?("y"===n.resizeAxes?t.delta.x=t.delta.y:t.delta.y=t.delta.x,t.axes="xy"):(t.axes=n.resizeAxes,"x"===n.resizeAxes?t.delta.y=0:"y"===n.resizeAxes&&(t.delta.x=0))}}var Ro=So;uo["default"]=Ro;var Io={};Object.defineProperty(Io,"__esModule",{value:!0}),Io.install=Lo,Object.defineProperty(Io,"drag",{enumerable:!0,get:function(){return Ao["default"]}}),Object.defineProperty(Io,"drop",{enumerable:!0,get:function(){return ko["default"]}}),Object.defineProperty(Io,"gesture",{enumerable:!0,get:function(){return Do["default"]}}),Object.defineProperty(Io,"resize",{enumerable:!0,get:function(){return Mo["default"]}}),Io.id=void 0;var Ao=Po(tr),ko=Po(Mr),Do=Po(Jr),Mo=Po(uo);function Po(e){return e&&e.__esModule?e:{default:e}}function Lo(e){e.usePlugin(Do["default"]),e.usePlugin(Mo["default"]),e.usePlugin(Ao["default"]),e.usePlugin(ko["default"])}var Fo="actions";Io.id=Fo;var Bo={};Object.defineProperty(Bo,"__esModule",{value:!0}),Bo.getContainer=Wo,Bo.getScroll=qo,Bo.getScrollSize=Ko,Bo.getScrollSizeDelta=Qo,Bo["default"]=void 0;var Uo=jo(Q),zo=jo(w),Go=$o(Vt);function $o(e){return e&&e.__esModule?e:{default:e}}function Vo(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Vo=function(){return e},e}function jo(e){if(e&&e.__esModule)return e;var t=Vo();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function Ho(e){var t=e.interactions,n=e.defaults,i=e.actions;e.autoScroll=Yo,Yo.now=function(){return e.now()},t.signals.on("new",(function(e){var t=e.interaction;t.autoScroll=null})),t.signals.on("destroy",(function(e){var t=e.interaction;t.autoScroll=null,Yo.stop(),Yo.interaction&&(Yo.interaction=null)})),t.signals.on("stop",Yo.stop),t.signals.on("action-move",(function(e){return Yo.onInteractionMove(e)})),i.eventTypes.push("autoscroll"),n.perAction.autoScroll=Yo.defaults}var Yo={defaults:{enabled:!1,margin:60,container:null,speed:300},now:Date.now,interaction:null,i:null,x:0,y:0,isScrolling:!1,prevTime:0,margin:0,speed:0,start:function(e){Yo.isScrolling=!0,Go["default"].cancel(Yo.i),e.autoScroll=Yo,Yo.interaction=e,Yo.prevTime=Yo.now(),Yo.i=Go["default"].request(Yo.scroll)},stop:function(){Yo.isScrolling=!1,Yo.interaction&&(Yo.interaction.autoScroll=null),Go["default"].cancel(Yo.i)},scroll:function(){var e=Yo.interaction,t=e.interactable,n=e.element,i=t.options[Yo.interaction.prepared.name].autoScroll,r=Wo(i.container,t,n),o=Yo.now(),a=(o-Yo.prevTime)/1e3,s=i.speed*a;if(s>=1){var l={x:Yo.x*s,y:Yo.y*s};if(l.x||l.y){var c=qo(r);zo.window(r)?r.scrollBy(l.x,l.y):r&&(r.scrollLeft+=l.x,r.scrollTop+=l.y);var u=qo(r),d={x:u.x-c.x,y:u.y-c.y};(d.x||d.y)&&t.fire({type:"autoscroll",target:n,interactable:t,delta:d,interaction:e,container:r})}Yo.prevTime=o}Yo.isScrolling&&(Go["default"].cancel(Yo.i),Yo.i=Go["default"].request(Yo.scroll))},check:function(e,t){var n=e.options;return n[t].autoScroll&&n[t].autoScroll.enabled},onInteractionMove:function(e){var t=e.interaction,n=e.pointer;if(t.interacting()&&Yo.check(t.interactable,t.prepared.name))if(t.simulation)Yo.x=Yo.y=0;else{var i,r,o,a,s=t.interactable,l=t.element,c=s.options[t.prepared.name].autoScroll,u=Wo(c.container,s,l);if(zo.window(u))a=n.clientXu.innerWidth-Yo.margin,o=n.clientY>u.innerHeight-Yo.margin;else{var d=Uo.getElementClientRect(u);a=n.clientXd.right-Yo.margin,o=n.clientY>d.bottom-Yo.margin}Yo.x=r?1:a?-1:0,Yo.y=o?1:i?-1:0,Yo.isScrolling||(Yo.margin=c.margin,Yo.speed=c.speed,Yo.start(t))}}};function Wo(e,t,n){return(zo.string(e)?(0,gt.getStringOptionResult)(e,t,n):e)||(0,b.getWindow)(n)}function qo(e){return zo.window(e)&&(e=window.document.body),{x:e.scrollLeft,y:e.scrollTop}}function Ko(e){return zo.window(e)&&(e=window.document.body),{x:e.scrollWidth,y:e.scrollHeight}}function Qo(e,t){var n=e.interaction,i=e.element,r=n&&n.interactable.options[n.prepared.name].autoScroll;if(!r||!r.enabled)return t(),{x:0,y:0};var o=Wo(r.container,n.interactable,i),a=qo(o);t();var s=qo(o);return{x:s.x-a.x,y:s.y-a.y}}var Xo={id:"auto-scroll",install:Ho};Bo["default"]=Xo;var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0}),Zo["default"]=void 0;var Jo=ta(w);function ea(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return ea=function(){return e},e}function ta(e){if(e&&e.__esModule)return e;var t=ea();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function na(e){var t=e.Interactable,n=e.actions;t.prototype.getAction=ia,t.prototype.ignoreFrom=(0,tn.warnOnce)((function(e){return this._backCompatOption("ignoreFrom",e)}),"Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue})."),t.prototype.allowFrom=(0,tn.warnOnce)((function(e){return this._backCompatOption("allowFrom",e)}),"Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue})."),t.prototype.actionChecker=aa,t.prototype.styleCursor=oa,t.prototype.defaultActionChecker=function(e,t,i,r){return ra(this,e,t,i,r,n)}}function ia(e,t,n,i){var r=this.defaultActionChecker(e,t,n,i);return this.options.actionChecker?this.options.actionChecker(e,t,r,this,i,n):r}function ra(e,t,n,i,r,o){for(var a=e.getRect(r),s=n.buttons||{0:1,1:4,3:8,4:16}[n.button],l=null,c=0;c=s)return!1;if(f.interactable===e){if(c+=h===n.name?1:0,c>=o)return!1;if(f.element===t&&(u++,h===n.name&&u>=a))return!1}}}return s>0}function ya(e,t){return ca.is.number(e)?(t.autoStart.maxInteractions=e,this):t.autoStart.maxInteractions}function Sa(e,t,n){n.autoStart.cursorElement&&(n.autoStart.cursorElement.style.cursor=""),e.ownerDocument.documentElement.style.cursor=t,e.style.cursor=t,n.autoStart.cursorElement=t?e:null}function Ea(e,t){var n=e.interactable,i=e.element,r=e.prepared;if("mouse"===e.pointerType&&n&&n.options.styleCursor){var o="";if(r.name){var a=n.options[r.name].cursorChecker;o=ca.is.func(a)?a(r,n,i,e._interacting):t.actions[r.name].getCursor(r)}Sa(e.element,o||"",t)}}var xa={id:"auto-start/base",install:ha,maxInteractions:ya,withinInteractionLimit:va,validateAction:ma};la["default"]=xa;var Ca={};Object.defineProperty(Ca,"__esModule",{value:!0}),Ca["default"]=void 0;var wa=t({}),Ta=Ia(w),Oa=Na(la);function Na(e){return e&&e.__esModule?e:{default:e}}function Ra(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ra=function(){return e},e}function Ia(e){if(e&&e.__esModule)return e;var t=Ra();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function Aa(e){function t(e,t){if(!t)return!1;var n=t.options[wa.ActionName.Drag].startAxis;return"xy"===e||"xy"===n||n===e}e.autoStart.signals.on("before-start",(function(n){var i=n.interaction,r=n.eventTarget,o=n.dx,a=n.dy;if("drag"===i.prepared.name){var s=Math.abs(o),l=Math.abs(a),c=i.interactable.options.drag,u=c.startAxis,d=s>l?"x":s0&&(t.autoStartHoldTimer=setTimeout((function(){t.start(t.prepared,t.interactable,t.element)}),n))})),n.signals.on("move",(function(e){var t=e.interaction,n=e.duplicate;t.pointerWasMoved&&!n&&clearTimeout(t.autoStartHoldTimer)})),t.signals.on("before-start",(function(e){var t=e.interaction,n=Fa(t);n>0&&(t.prepared.name=null)}))}function Fa(e){var t=e.prepared&&e.prepared.name;if(!t)return null;var n=e.interactable.options;return n[t].hold||n[t].delay}var Ba={id:"auto-start/hold",install:La,getHoldDuration:Fa};Da["default"]=Ba;var Ua={};Object.defineProperty(Ua,"__esModule",{value:!0}),Ua.install=ja,Object.defineProperty(Ua,"autoStart",{enumerable:!0,get:function(){return za["default"]}}),Object.defineProperty(Ua,"dragAxis",{enumerable:!0,get:function(){return Ga["default"]}}),Object.defineProperty(Ua,"hold",{enumerable:!0,get:function(){return $a["default"]}}),Ua.id=void 0;var za=Va(la),Ga=Va(Ca),$a=Va(Da);function Va(e){return e&&e.__esModule?e:{default:e}}function ja(e){e.usePlugin(za["default"]),e.usePlugin($a["default"]),e.usePlugin(Ga["default"])}var Ha="auto-start";Ua.id=Ha;var Ya={};Object.defineProperty(Ya,"__esModule",{value:!0}),Ya.install=ts,Ya["default"]=void 0;var Wa=Xa(ze),qa=Qa(w);function Ka(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return Ka=function(){return e},e}function Qa(e){if(e&&e.__esModule)return e;var t=Ka();if(t&&t.has(e))return t.get(e);var n={};if(null!=e){var i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=i?Object.getOwnPropertyDescriptor(e,r):null;o&&(o.get||o.set)?Object.defineProperty(n,r,o):n[r]=e[r]}}return n["default"]=e,t&&t.set(e,n),n}function Xa(e){return e&&e.__esModule?e:{default:e}}function Za(e){return/^(always|never|auto)$/.test(e)?(this.options.preventDefault=e,this):qa.bool(e)?(this.options.preventDefault=e?"always":"never",this):this.options.preventDefault}function Ja(e,t,n){var i=e.options.preventDefault;if("never"!==i)if("always"!==i){if(Wa["default"].supportsPassive&&/^touch(start|move)$/.test(n.type)){var r=(0,b.getWindow)(n.target).document,o=t.getDocOptions(r);if(!o||!o.events||!1!==o.events.passive)return}/^(mouse|pointer|touch)*(down|start)/i.test(n.type)||qa.element(n.target)&&(0,Q.matchesSelector)(n.target,"input,select,textarea,[contenteditable=true],[contenteditable=true] *")||n.preventDefault()}else n.preventDefault()}function es(e){var t=e.interaction,n=e.event;t.interactable&&t.interactable.checkAndPreventDefault(n)}function ts(e){var t=e.Interactable;t.prototype.preventDefault=Za,t.prototype.checkAndPreventDefault=function(t){return Ja(this,e,t)};for(var n=["down","move","up","cancel"],i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.logger,i=e.interactions,r=e.Interactable,o=e.defaults;n=n||console,i.signals.on("action-start",(function(e){for(var t=e.interaction,i=0;is.minSpeed&&u>s.endSpeed,h={interaction:n,pageCoords:n.coords.cur.page,states:p&&n.modifiers.states.map((function(e){return Qs.extend({},e)})),preEnd:!0,prevCoords:null,requireEndOnly:null,phase:wi.EventPhase.InertiaStart};return p&&!f&&(h.prevCoords=n.modifiers.result?n.modifiers.result.coords:n.prevEvent.page,h.requireEndOnly=!1,a=Ks["default"].setAll(h),a.changed&&(d=!0)),f||d?(Qs.pointer.copyCoords(o.upCoords,n.coords.cur),(0,Ks.setCoords)(h),n.pointers[0].pointer=o.startEvent=new t.InteractEvent(n,i,n.prepared.name,wi.EventPhase.InertiaStart,n.element),(0,Ks.restoreCoords)(h),o.t0=l,o.active=!0,o.allowResume=s.allowResume,n.simulation=o,n.interactable.fire(o.startEvent),f?(o.vx0=n.coords.velocity.client.x,o.vy0=n.coords.velocity.client.y,o.v0=u,ol(n,o),Qs.extend(h.pageCoords,n.coords.cur.page),h.pageCoords.x+=o.xe,h.pageCoords.y+=o.ye,h.prevCoords=null,h.requireEndOnly=!0,a=Ks["default"].setAll(h),o.modifiedXe+=a.delta.x,o.modifiedYe+=a.delta.y,o.timeout=Xs["default"].request((function(){return al(n)}))):(o.smoothEnd=!0,o.xe=a.delta.x,o.ye=a.delta.y,o.sx=o.sy=0,o.timeout=Xs["default"].request((function(){return sl(n)}))),!1):null}function rl(e){var t=e.interaction,n=t.inertia;n.active&&(Xs["default"].cancel(n.timeout),n.active=!1,t.simulation=null)}function ol(e,t){var n=cl(e),i=n.resistance,r=-Math.log(n.endSpeed/t.v0)/i;t.x0=e.prevEvent.page.x,t.y0=e.prevEvent.page.y,t.t0=t.startEvent.timeStamp/1e3,t.sx=t.sy=0,t.modifiedXe=t.xe=(t.vx0-r)/i,t.modifiedYe=t.ye=(t.vy0-r)/i,t.te=r,t.lambda_v0=i/t.v0,t.one_ve_v0=1-n.endSpeed/t.v0}function al(e){ll(e),Qs.pointer.setCoordDeltas(e.coords.delta,e.coords.prev,e.coords.cur),Qs.pointer.setCoordVelocity(e.coords.velocity,e.coords.delta);var t=e.inertia,n=cl(e),i=n.resistance,r=e._now()/1e3-t.t0;if(r"}]}}},"7c71":function(e,t){e.exports=function(e){var t="Int Float String Bool Dynamic Void Array ";return{aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+t,built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:"\\W}"}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ \t]*",end:"[^A-Za-z0-9_ \t\\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ \t]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE]}],illegal:/<\//}}},"7cff":function(e,t){e.exports=function(e){var t=e.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10}),n={className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0};return{aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:n.begin,end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}},"7d6d":function(e,t){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function i(e,t,i){return n.hasOwnProperty(t)?i*e.dpr:i}e.exports=i},"7d9d":function(e,t){e.exports=function(e){var t={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na","built-in":"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},n={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/\=[lgenxc]=/},{begin:/\$/}]},r={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},o={begin:"/",end:"/",keywords:t,contains:[r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},a={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[r,o,{className:"comment",begin:/([ ]*[a-z0-9*=?@>\\<:\-,()$\[\]_.{}!+%^]+)+/,relevance:0}]};return{aliases:["gms"],case_insensitive:!0,keywords:t,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,a]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[a]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},n,i]},e.C_NUMBER_MODE,i]}}},"7e63":function(e,t,n){var i=n("4e08"),r=(i.__DEV__,n("6d8b")),o=r.each,a=r.filter,s=r.map,l=r.isArray,c=r.indexOf,u=r.isObject,d=r.isString,p=r.createHashMap,f=r.assert,h=r.clone,m=r.merge,_=r.extend,g=r.mixin,b=n("e0d3"),v=n("4319"),y=n("6cb7"),S=n("8971"),E=n("e47b"),x=n("0f99"),C=x.resetSourceDefaulter,w="\0_ec_inner",T=v.extend({init:function(e,t,n,i){n=n||{},this.option=null,this._theme=new v(n),this._optionManager=i},setOption:function(e,t){f(!(w in e),"please use chart.getOption()"),this._optionManager.setOption(e,t),this.resetOption(null)},resetOption:function(e){var t=!1,n=this._optionManager;if(!e||"recreate"===e){var i=n.mountOption("recreate"===e);this.option&&"recreate"!==e?(this.restoreData(),this.mergeOption(i)):R.call(this,i),t=!0}if("timeline"!==e&&"media"!==e||this.restoreData(),!e||"recreate"===e||"timeline"===e){var r=n.getTimelineOption(this);r&&(this.mergeOption(r),t=!0)}if(!e||"recreate"===e||"media"===e){var a=n.getMediaOption(this,this._api);a.length&&o(a,(function(e){this.mergeOption(e,t=!0)}),this)}return t},mergeOption:function(e){var t=this.option,n=this._componentsMap,i=[];function r(i,r){var a=b.normalizeToArray(e[i]),s=b.mappingToExists(n.get(i),a);b.makeIdAndName(s),o(s,(function(e,t){var n=e.option;u(n)&&(e.keyInfo.mainType=i,e.keyInfo.subType=A(i,n,e.exist))}));var l=I(n,r);t[i]=[],n.set(i,[]),o(s,(function(e,r){var o=e.exist,a=e.option;if(f(u(a)||o,"Empty component definition"),a){var s=y.getClass(i,e.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=e.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var c=_({dependentModels:l,componentIndex:r},e.keyInfo);o=new s(a,this,this,c),_(o,c),o.init(a,this,this,c),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(i)[r]=o,t[i][r]=o.option}),this),"series"===i&&k(this,n.get("series"))}C(this),o(e,(function(e,n){null!=e&&(y.hasClass(n)?n&&i.push(n):t[n]=null==t[n]?h(e):m(t[n],e,!0))})),y.topologicalTravel(i,y.getAllClassMainTypes(),r,this),this._seriesIndicesMap=p(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var e=h(this.option);return o(e,(function(t,n){if(y.hasClass(n)){t=b.normalizeToArray(t);for(var i=t.length-1;i>=0;i--)b.isIdInner(t[i])&&t.splice(i,1);e[n]=t}})),delete e[w],e},getTheme:function(){return this._theme},getComponent:function(e,t){var n=this._componentsMap.get(e);if(n)return n[t||0]},queryComponents:function(e){var t=e.mainType;if(!t)return[];var n,i=e.index,r=e.id,o=e.name,u=this._componentsMap.get(t);if(!u||!u.length)return[];if(null!=i)l(i)||(i=[i]),n=a(s(i,(function(e){return u[e]})),(function(e){return!!e}));else if(null!=r){var d=l(r);n=a(u,(function(e){return d&&c(r,e.id)>=0||!d&&e.id===r}))}else if(null!=o){var p=l(o);n=a(u,(function(e){return p&&c(o,e.name)>=0||!p&&e.name===o}))}else n=u.slice();return D(n,e)},findComponents:function(e){var t=e.query,n=e.mainType,i=o(t),r=i?this.queryComponents(i):this._componentsMap.get(n);return s(D(r,e));function o(e){var t=n+"Index",i=n+"Id",r=n+"Name";return!e||null==e[t]&&null==e[i]&&null==e[r]?null:{mainType:n,index:e[t],id:e[i],name:e[r]}}function s(t){return e.filter?a(t,e.filter):t}},eachComponent:function(e,t,n){var i=this._componentsMap;if("function"===typeof e)n=t,t=e,i.each((function(e,i){o(e,(function(e,r){t.call(n,i,e,r)}))}));else if(d(e))o(i.get(e),t,n);else if(u(e)){var r=this.findComponents(e);o(r,t,n)}},getSeriesByName:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.name===e}))},getSeriesByIndex:function(e){return this._componentsMap.get("series")[e]},getSeriesByType:function(e){var t=this._componentsMap.get("series");return a(t,(function(t){return t.subType===e}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(e,t){M(this),o(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];e.call(t,i,n)}),this)},eachRawSeries:function(e,t){o(this._componentsMap.get("series"),e,t)},eachSeriesByType:function(e,t,n){M(this),o(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===e&&t.call(n,r,i)}),this)},eachRawSeriesByType:function(e,t,n){return o(this.getSeriesByType(e),t,n)},isSeriesFiltered:function(e){return M(this),null==this._seriesIndicesMap.get(e.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(e,t){M(this);var n=a(this._componentsMap.get("series"),e,t);k(this,n)},restoreData:function(e){var t=this._componentsMap;k(this,t.get("series"));var n=[];t.each((function(e,t){n.push(t)})),y.topologicalTravel(n,y.getAllClassMainTypes(),(function(n,i){o(t.get(n),(function(t){("series"!==n||!O(t,e))&&t.restoreData()}))}))}});function O(e,t){if(t){var n=t.seiresIndex,i=t.seriesId,r=t.seriesName;return null!=n&&e.componentIndex!==n||null!=i&&e.id!==i||null!=r&&e.name!==r}}function N(e,t){var n=e.color&&!e.colorLayer;o(t,(function(t,i){"colorLayer"===i&&n||y.hasClass(i)||("object"===typeof t?e[i]=e[i]?m(e[i],t,!1):h(t):null==e[i]&&(e[i]=t))}))}function R(e){e=e,this.option={},this.option[w]=1,this._componentsMap=p({series:[]}),this._seriesIndices,this._seriesIndicesMap,N(e,this._theme.option),m(e,S,!1),this.mergeOption(e)}function I(e,t){l(t)||(t=t?[t]:[]);var n={};return o(t,(function(t){n[t]=(e.get(t)||[]).slice()})),n}function A(e,t,n){var i=t.type?t.type:n?n.subType:y.determineSubType(e,t);return i}function k(e,t){e._seriesIndicesMap=p(e._seriesIndices=s(t,(function(e){return e.componentIndex}))||[])}function D(e,t){return t.hasOwnProperty("subType")?a(e,(function(e){return e.subType===t.subType})):e}function M(e){}g(T,E);var P=T;e.exports=P},"7f4d":function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,n=arguments.length;t/}]}}},"80f0":function(e,t){function n(e){return e}function i(e,t,i,r,o){this._old=e,this._new=t,this._oldKeyGetter=i||n,this._newKeyGetter=r||n,this.context=o}function r(e,t,n,i,r){for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var h=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=h(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var i=e[t];t&&i&&n.forEach((function(n){e[n+t]=i}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),_=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*,end:/>\s*>/,subLanguage:"xml"}]}}},"82cb":function(e,t){e.exports=function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",n={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",literal:"true false nil"},i={className:"doctag",begin:"@[A-Za-z]+"},r={begin:"#<",end:">"},o=[e.COMMENT("#","$",{contains:[i]}),e.COMMENT("^\\=begin","^\\=end",{contains:[i],relevance:10}),e.COMMENT("^__END__","\\n$")],a={className:"subst",begin:"#\\{",end:"}",keywords:n},s={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/},{begin:/<<[-~]?'?(\w+)(?:.|\n)*?\n\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},{begin:/\w+/,endSameAsBegin:!0,contains:[e.BACKSLASH_ESCAPE,a]}]}]},l={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:n},c=[s,r,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{begin:"<\\s*",contains:[{begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(o)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),l].concat(o)},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[s,{begin:t}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{className:"params",begin:/\|/,end:/\|/,keywords:n},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[r,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(o),relevance:0}].concat(o);a.contains=c,l.contains=c;var u="[>?]>",d="[\\w#]+\\(\\w+\\):\\d+:\\d+>",p="(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>",f=[{begin:/^\s*=>/,starts:{end:"$",contains:c}},{className:"meta",begin:"^("+u+"|"+d+"|"+p+")",starts:{end:"$",contains:c}}];return{aliases:["rb","gemspec","podspec","thor","irb"],keywords:n,illegal:/\/\*/,contains:o.concat(f).concat(c)}}},"82eb":function(e,t){var n={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},i=9;t.ContextCachedBy=n,t.WILL_BE_RESTORED=i},"82f9":function(e,t,n){var i=n("6d8b"),r=n("76a5");function o(e){this._zr=e.getZr(),this._show=!1,this._hideTimeout}o.prototype={constructor:o,_enterable:!0,update:function(){},show:function(e){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(e,t,n){this.el&&this._zr.remove(this.el);var i={},o=e,a="{marker",s="|}",l=o.indexOf(a);while(l>=0){var c=o.indexOf(s),u=o.substr(l+a.length,c-l-a.length);u.indexOf("sub")>-1?i["marker"+u]={textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:t[u],textOffset:[3,0]}:i["marker"+u]={textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:t[u]},o=o.substr(c+1),l=o.indexOf("{marker")}this.el=new r({style:{rich:i,text:e,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var d=this;this.el.on("mouseover",(function(){d._enterable&&(clearTimeout(d._hideTimeout),d._show=!0),d._inContent=!0})),this.el.on("mouseout",(function(){d._enterable&&d._show&&d.hideLater(d._hideDelay),d._inContent=!1}))},setEnterable:function(e){this._enterable=e},getSize:function(){var e=this.el.getBoundingRect();return[e.width,e.height]},moveTo:function(e,t){this.el&&this.el.attr("position",[e,t])},hide:function(){this.el&&this.el.hide(),this._show=!1},hideLater:function(e){!this._show||this._inContent&&this._enterable||(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(i.bind(this.hide,this),e)):this.hide())},isShow:function(){return this._show},getOuterSize:function(){var e=this.getSize();return{width:e[0],height:e[1]}}};var a=o;e.exports=a},"843e":function(e,t,n){var i=n("6d8b"),r=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function o(e){i.each(r,(function(t){this[t]=i.bind(e[t],e)}),this)}var a=o;e.exports=a},"845f":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=117)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var l,c="function"===typeof e?e.options:e;if(t&&(c.render=t,c.staticRenderFns=n,c._compiled=!0),i&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},c._ssrRegister=l):r&&(l=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),l)if(c.functional){c._injectStyles=l;var u=c.render;c.render=function(e,t){return l.call(t),u(e,t)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:c}}n.d(t,"a",(function(){return i}))},117:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},r=[];i._withStripped=!0;var o={name:"ElButtonGroup"},a=o,s=n(0),l=Object(s["a"])(a,i,r,!1,null,null,null);l.options.__file="packages/button/src/button-group.vue";var c=l.exports;c.install=function(e){e.component(c.name,c)};t["default"]=c}})},"84ce":function(e,t,n){var i=n("6d8b"),r=i.each,o=i.map,a=n("3842"),s=a.linearMap,l=a.getPixelPrecision,c=a.round,u=n("e073"),d=u.createAxisTicks,p=u.createAxisLabels,f=u.calculateCategoryInterval,h=[0,1],m=function(e,t,n){this.dim=e,this.scale=t,this._extent=n||[0,0],this.inverse=!1,this.onBand=!1};function _(e,t){var n=e[1]-e[0],i=t,r=n/i/2;e[0]+=r,e[1]-=r}function g(e,t,n,i){var o=t.length;if(e.onBand&&!n&&o){var a,s,l=e.getExtent();if(1===o)t[0].coord=l[0],a=t[1]={coord:l[0]};else{var u=t[o-1].tickValue-t[0].tickValue,d=(t[o-1].coord-t[0].coord)/u;r(t,(function(e){e.coord-=d/2}));var p=e.scale.getExtent();s=1+p[1]-t[o-1].tickValue,a={coord:t[o-1].coord+d*s},t.push(a)}var f=l[0]>l[1];h(t[0].coord,l[0])&&(i?t[0].coord=l[0]:t.shift()),i&&h(l[0],t[0].coord)&&t.unshift({coord:l[0]}),h(l[1],a.coord)&&(i?a.coord=l[1]:t.pop()),i&&h(a.coord,l[1])&&t.push({coord:l[1]})}function h(e,t){return e=c(e),t=c(t),f?e>t:e=n&&e<=i},containData:function(e){return this.contain(this.dataToCoord(e))},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(e){return l(e||this.scale.getExtent(),this._extent)},setExtent:function(e,t){var n=this._extent;n[0]=e,n[1]=t},dataToCoord:function(e,t){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&"ordinal"===i.type&&(n=n.slice(),_(n,i.count())),s(e,h,n,t)},coordToData:function(e,t){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),_(n,i.count()));var r=s(e,n,h,t);return this.scale.scale(r)},pointToData:function(e,t){},getTicksCoords:function(e){e=e||{};var t=e.tickModel||this.getTickModel(),n=d(this,t),i=n.ticks,r=o(i,(function(e){return{coord:this.dataToCoord(e),tickValue:e}}),this),a=t.get("alignWithLabel");return g(this,r,a,e.clamp),r},getViewLabels:function(){return p(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var e=this._extent,t=this.scale.getExtent(),n=t[1]-t[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}};var b=m;e.exports=b},"84d5":function(e,t,n){var i=n("3eba"),r=n("6d8b"),o=n("4319"),a=n("e0d3"),s=a.isNameSpecified,l=n("29a8"),c=l.legend.selector,u={all:{type:"all",title:r.clone(c.all)},inverse:{type:"inverse",title:r.clone(c.inverse)}},d=i.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},mergeOption:function(e){d.superCall(this,"mergeOption",e),this._updateSelector(e)},_updateSelector:function(e){var t=e.selector;!0===t&&(t=e.selector=["all","inverse"]),r.isArray(t)&&r.each(t,(function(e,n){r.isString(e)&&(e={type:e}),t[n]=r.merge(e,u[e.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},defaultOption:{zlevel:0,z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",itemStyle:{borderWidth:0},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:" sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}}}),p=d;e.exports=p},"84ec":function(e,t){var n=Math.log(2);function i(e,t,r,o,a,s){var l=o+"-"+a,c=e.length;if(s.hasOwnProperty(l))return s[l];if(1===t){var u=Math.round(Math.log((1<l)i.f(e,n=a[l++],t[n]);return e}},"862d":function(e,t,n){var i=n("6d8b"),r=i.createHashMap,o=i.each,a=i.isString,s=i.defaults,l=i.extend,c=i.isObject,u=i.clone,d=n("e0d3"),p=d.normalizeToArray,f=n("0f99"),h=f.guessOrdinal,m=n("ec6f"),_=n("2f45"),g=_.OTHER_DIMENSIONS;function b(e,t,n){m.isInstance(t)||(t=m.seriesDataToSource(t)),n=n||{},e=(e||[]).slice();for(var i=(n.dimsDef||[]).slice(),d=r(n.encodeDef),f=r(),_=r(),b=[],S=v(t,e,i,n.dimCount),E=0;E